struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mileidys Gonzalez Prieto <mileidys.gonza...@i-frontier.net>
Subject Problem with empty values
Date Mon, 07 Sep 2009 12:34:09 GMT
Hi

I have a problem creating my screens with struts2. Im using a tag 
textfield like that:

        <s:set var="value">${relation.address[st.index].extraInfo}</s:set>
        <s:textfield name="relation.address.extraInfo" value="%{value}" 
maxlength="20" size="15"></s:textfield>

I can't use key for keeping the value.

The problem comes when the value is an empty string, then struts2 
replace the empty value and keeps the name of the object. I don't know 
if I need to configure something else on the application.

Please, some help,

Thank you

-- 
Mileidys González Prieto
Consultant
i-Frontier www.i-frontier.net 
Address: Henck Arronstraat 16
Phone:(597) 424073  /  (597) 8810219
Fax: (597) 424093
Email: mileidys.gonzalez@i-frontier.net


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


Mime
View raw message