struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fea jabi" <>
Subject FW: html:text
Date Thu, 06 Jul 2006 12:50:17 GMT
can somene help me with this please?

how to do validation in validator.xml

        <form name="Form">
            <field property="hrs" depends="integer,validwhen">
                <msg name="integer" key="lbl.notvalidnumber"/>
                <msg name="validwhen" key="lbl.notvalidnumber"/>
                    <var-value>(*this* >= 0)</var-value>

Where hrs is the attribute in the row object of the table. Even when I enter 
string value in the text field I see no error messages.

>From: "fea jabi" <>
>Reply-To: "Struts Users Mailing List" <>
>Subject: html:text
>Date: Wed, 05 Jul 2006 15:36:47 -0400
>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 
><display:table name="sessionScope.Form.hrs" id="rows" 
>requestURI="" >
><display:column titleKey="lbl.hrs">
>        <c:if test="${rows.hrs != null}">
>               <html:text name="rows" property="hrs" 
>         </c:if>
>Donít just search. Find. Check out the new MSN Search! 
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Express yourself instantly with MSN Messenger! Download today - it's FREE!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message