label is not an input field, just some text.
if you really want to do this i guess you could use a hidden formfield 
that you populate in the onclick before subimtting the form

Ken wrote:
> Thanks a lot for the info.  I want to do this. I have 10
> <stripes:label name="car" onclick="this.form.submit();>Ken</stripes:label ">
> <stripes:label name="car" onclick="this.form.submit();>JOE</stripes:label>
>  And on my bean I do 
> String s = context.getRequest.getParameter("car");
> I even check 
> Enumeration em = context.getRequest.getparameters
> and view all of the parameters. 
> The problem is the "car" paramater is always null when i try to get it from 
> the
> request and there isnt even a paramater called car.  Why is that because if i
> put a stripes:text tag in there it shows up.
> Can someone give me a solution to this.Thanks
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to