Dale Newfield schrieb:
Kropp, Henning wrote:
I figured it out. I used s:set/ for this. Thanks.
s:iterator value=model.list
s:set name=value
s:property /
/s:set
custom:tag attr=${value} / /s:iterator
That will only work if the value you're trying to pass is a
Kropp, Henning wrote:
I must add that s:set printed out the string as well. I am not quit sure
if its supposed to, but it did.
I glossed over this--I wouldn't use s:set here, but rather c:set.
Neither one should print the value (are you sure you didn't do that for
debugging inside your
Thank you Dale!
Dale Newfield schrieb:
Kropp, Henning wrote:
I must add that s:set printed out the string as well. I am not quit
sure if its supposed to, but it did.
I glossed over this--I wouldn't use s:set here, but rather c:set.
Neither one should print the value (are you sure you didn't
Hi,
I figured it out. I used s:set/ for this. Thanks.
s:iterator value=model.list
s:set name=value
s:property /
/s:set
custom:tag attr=${value} /
/s:iterator
regards
Kropp, Henning schrieb:
Hi List,
I am new to struts2. I iterate over a list of strings.
Kropp, Henning wrote:
I figured it out. I used s:set/ for this. Thanks.
s:iterator value=model.list
s:set name=value
s:property /
/s:set
custom:tag attr=${value} / /s:iterator
That will only work if the value you're trying to pass is a string.
It might also
5 matches
Mail list logo