struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mileidys Gonzalez Prieto <>
Subject Problem with empty values
Date Mon, 07 Sep 2009 12:34:09 GMT

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
Address: Henck Arronstraat 16
Phone:(597) 424073  /  (597) 8810219
Fax: (597) 424093

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

View raw message