Re: Problem with empty values

2009-09-09 Thread Mileidys Gonzalez Prieto
ok, thank you!!! Dale Newfield wrote: Mileidys Gonzalez Prieto wrote: ${relation.address[st.index].extraInfo} This sets a value in a map that goes along with the valuestack. value="%{value}" maxlength="20" size="15"> This is not how you fetch that value. use %{#value} to get the val

Re: Problem with empty values

2009-09-08 Thread Dale Newfield
Mileidys Gonzalez Prieto wrote: ${relation.address[st.index].extraInfo} This sets a value in a map that goes along with the valuestack. maxlength="20" size="15"> This is not how you fetch that value. use %{#value} to get the value set with s:set. -Dale -

Re: Problem with empty values

2009-09-07 Thread Musachy Barroso
> The problem comes when the value is an empty string, then struts2 replace > the empty value and keeps the name of the object. Not sure what you mean here. musachy -- "Hey you! Would you help me to carry the stone?" Pink Floyd ---

Problem with empty values

2009-09-07 Thread Mileidys Gonzalez Prieto
Hi I have a problem creating my screens with struts2. Im using a tag textfield like that: ${relation.address[st.index].extraInfo} maxlength="20" size="15"> I can't use key for keeping the value. The problem comes when the value is an empty string, then struts2 replace the emp