Re: [struts] parameter to custom tag

2008-02-28 Thread Kropp, Henning
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

Re: [struts] parameter to custom tag

2008-02-28 Thread Dale Newfield
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

Re: [struts] parameter to custom tag

2008-02-28 Thread Kropp, Henning
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

Re: parameter to custom tag

2008-02-27 Thread Kropp, Henning
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.

Re: [struts] parameter to custom tag

2008-02-27 Thread Dale Newfield
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