Hi Nithin,
It looks like you just need to change the value of the name attribute in 
your <stripes:text/> to username. You shouldn't prepend "actionBean." 
because that is implied.

Aaron


On 04/26/2010 06:12 AM, Nithin wrote:
> Hi,
> I am a first time user of stripes, hence been
> facing some issues.
>
> I have the following setup.
> Stripes 1.5.3
>
> A login page which on successful login goes
> to user details page.
> Note both login and userdetails are on the
>   same page/same form separated by a<div>  tag.
> Based on the login info i either enable/disable
>   the div tag.
>
> Now I am testing this feature by disabling
>   javascript.
>
> What I am seeing is that stripes:text tag
> does not render the value attribute of a the<input>  tag.
>
> Basically I put
> <stripes:text.... value="${actionBean.username}">
>
> When it is rendered, all I get is a text field which
> is blank. I checked that the actionBean.username is
> populated and if I use a normal html
>   <input... value="">, it works fine.
>
> In the generated html, I see that stripes:text
>   tag does not generate the value attribute.
> This also effects stripes:select and stripes:hidden.
>   However stripes:password works fine!
>
> Note: All this is seen only when the javascript
>   is disable. When it is enabled, no issues at all.
>
> Has any one  come across this issue?
>
> Any help would be greatly appreciated.
>
> -Regards
> Nithin
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>    


------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to