You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andrew Thorell <dr...@gmail.com> on 2005/05/26 17:47:08 UTC
Redisplaying Information
I know <html:password> has a redisplay option. Is there any way to put
this functionality on <html:text> tags as well?
<html:password redisplay="false"/>
Any thoughts?
Andrew
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Redisplaying Information
Posted by David Johnson <ch...@gmail.com>.
I believe you can do this by setting the scope of the form bean associated
with the form containing your field to "session", which also means you need
to reset() it when you're done.
like this:
<action path="/SICAction"
name="sicForm"
scope="session"
input="page.portfolio"
type="com.company.struts.SICAction">
<forward name="success" path="/myPage.jsp" redirect="true" />
</action>
On 5/26/05, Andrew Thorell <dr...@gmail.com> wrote:
>
> I know <html:password> has a redisplay option. Is there any way to put
> this functionality on <html:text> tags as well?
>
> <html:password redisplay="false"/>
>
> Any thoughts?
>
> Andrew
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
-Dave
ChaChaNY@Gmail.com