File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes Getting Checkbox value - DisplayTag library Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Getting Checkbox value - DisplayTag library" Watch "Getting Checkbox value - DisplayTag library" New topic
Author

Getting Checkbox value - DisplayTag library

Soumya Manjunath
Ranch Hand

Joined: Nov 28, 2007
Posts: 34
Hi Everyone,

I'm using Display Tag library to display a table in my JSP. I want to make a row editable if the
checkbox is checked. But I'm not able to extract the checkbox values using request.getParameterValues() (this method is returning null).

Somebody please guide me in the right direction.

Thanks,
Soumya.

Thanks & Regards,<br />Soumya.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41839
    
  63
The example web app that comes with DisplayTag has an example called "Posting forms (checkboxes)". Are you doing things exactly like they're used in that example?


Ping & DNS - my free Android networking tools app
Soumya Manjunath
Ranch Hand

Joined: Nov 28, 2007
Posts: 34
Thanks for the reply Ulf.

The example doesn't say as to how to extract the value in my Servlet. I would like to extract the selected checkbox value in my
servlet and and then display a particular column in that row as editable. Please find my code below and guide me in the right direction.


Looking forward for your input. Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41839
    
  63
I'd use a tool like the Firefox LiveHttpHeaders extension to examine what HTTP is actually sent to the server. It'll show you all parameters.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting Checkbox value - DisplayTag library