You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mike Whittaker <mi...@ntlworld.com> on 2003/06/04 21:57:54 UTC

RE: RE: how to put a in a href=""

>By the way, is there any other way to put a bean property in a "value"
>attribute of an input of a HTML form?
>I mean, supposing that I have a "orgview" bean, is there a better way to do
>this (which of course doesn't work):
>
><html:text property="id" value="<bean:write name="orgview"
>property="id"/>"/>
>
>in order to put the orgview's "id" property value in the "value"
>attribute of
>the html:text tag?
>Must I put a <bean:define> tag before and then use a scriplet inside the
>"value" attribute? This is tiresome if if I have several HTML
>inputs in a form...
>

Total guess, but this might be what you want:

<html:test property="myParam" name="orgview" value="id" />

--
Mike W.


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