You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Giovani Salvador <gi...@via-rs.net> on 2003/11/05 00:18:17 UTC

html:text - Only ActionForm

Hi all.....
Does the html:text tag work only with action form? For example, can an action class put an object in the request and the html:text tag obtain this object and its properties or this tag only works in conjunction with action form?

Thanks in advance

Giovani Salvador
Procergs


Re: html:text - Only ActionForm

Posted by Giovani Salvador <gi...@via-rs.net>.
Thanks David...i know it´s my friend :)
I really did not see that.

Giovani Salvador
Procergs

----- Original Message -----
From: "David Friedman" <hu...@ix.netcom.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, November 04, 2003 9:36 PM
Subject: RE: html:text - Only ActionForm


> It works with beans in you have imported into your JSP page using the
> 'name=""' attribute.
>
> name The attribute name of the bean whose properties are consulted when
> rendering the current value of this input field. If not specified, the
bean
> associated with the form tag we are nested within is utilized. (RT EXPR)
>
> See: http://jakarta.apache.org/struts/userGuide/struts-html.html#text
>
> Remember, Documentation is your friend. :)
>
> Regards,
> David
>
> -----Original Message-----
> From: Giovani Salvador [mailto:giovani.salvador@via-rs.net]
> Sent: Tuesday, November 04, 2003 6:18 PM
> To: struts-user@jakarta.apache.org
> Subject: html:text - Only ActionForm
>
>
> Hi all.....
> Does the html:text tag work only with action form? For example, can an
> action class put an object in the request and the html:text tag obtain
this
> object and its properties or this tag only works in conjunction with
action
> form?
>
> Thanks in advance
>
> Giovani Salvador
> Procergs
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: html:text - Only ActionForm

Posted by David Friedman <hu...@ix.netcom.com>.
It works with beans in you have imported into your JSP page using the
'name=""' attribute.

name The attribute name of the bean whose properties are consulted when
rendering the current value of this input field. If not specified, the bean
associated with the form tag we are nested within is utilized. (RT EXPR)

See: http://jakarta.apache.org/struts/userGuide/struts-html.html#text

Remember, Documentation is your friend. :)

Regards,
David

-----Original Message-----
From: Giovani Salvador [mailto:giovani.salvador@via-rs.net]
Sent: Tuesday, November 04, 2003 6:18 PM
To: struts-user@jakarta.apache.org
Subject: html:text - Only ActionForm


Hi all.....
Does the html:text tag work only with action form? For example, can an
action class put an object in the request and the html:text tag obtain this
object and its properties or this tag only works in conjunction with action
form?

Thanks in advance

Giovani Salvador
Procergs



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org