You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by fea jabi <zy...@hotmail.com> on 2006/07/05 21:36:47 UTC

html:text

In a table in one of the columns there are <html:text>

is it required that each input item has a corresponding form-bean property?


by using the below does it take all the user entered values in the column??

Each row is an object and sessionScope.Form.hrs is the list of these 
objects.

<display:table name="sessionScope.Form.hrs" id="rows" 
requestURI="PrepareAction.do" >
........................
.....................
<display:column titleKey="lbl.hrs">
        <c:if test="${rows.hrs != null}">
               <html:text name="rows" property="hrs" 
errorStyleClass="errormsg"/>
         </c:if>
</display:column>
</display:table>

Thanks.

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: html:text

Posted by Monkeyden <mo...@gmail.com>.
Who can tell by this documentation?  How can both "if any" [corresponding
bean property] and [Required] both be true?

 Name of this input field, and the name of the corresponding bean property
if value is not specified. The corresponding bean property *(if any)* must
be of type String. *[Required]* [RT Expr]



On 7/5/06, fea jabi <zy...@hotmail.com> wrote:
>
> In a table in one of the columns there are <html:text>
>
> is it required that each input item has a corresponding form-bean
> property?
>
>
> by using the below does it take all the user entered values in the
> column??
>
> Each row is an object and sessionScope.Form.hrs is the list of these
> objects.
>
> <display:table name="sessionScope.Form.hrs" id="rows"
> requestURI="PrepareAction.do" >
> ........................
> .....................
> <display:column titleKey="lbl.hrs">
>        <c:if test="${rows.hrs != null}">
>               <html:text name="rows" property="hrs"
> errorStyleClass="errormsg"/>
>         </c:if>
> </display:column>
> </display:table>
>
> Thanks.
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>