Re: dinamically add href into html:link

2003-08-31 Thread Jiri Chaloupka
Thanks, I used html-el and it works. what is the better to use, use c:url or html-el:link? Or it is equivalent here? And one more queestion: I have object with application persistency (over all sessions), and for session I call some method to set some parameter and get another object (array

Re: dinamically add href into html:link

2003-08-31 Thread Mark Lowe
opps... c:url value=${menuItem.link} c:out value=${menuItem.name} / /c:url is better On Sunday, August 31, 2003, at 05:02 PM, Mark Lowe wrote: The ideal way would be something like this. c:url url=${menuItem.link} c:out var=${menuItem.name}/ /c:url Cheers Mark On Sunday,

Re: dinamically add href into html:link

2003-08-31 Thread Mark Lowe
The ideal way would be something like this. c:url url=${menuItem.link} c:out var=${menuItem.name}/ /c:url Cheers Mark On Sunday, August 31, 2003, at 04:27 PM, Yann Cébron wrote: how I can do something as this: html:link action=${menuItem.link} c:out value=${menuItem.name} / ? Use the

Re: dinamically add href into html:link

2003-08-31 Thread Vic Cekvenich
Are you able to use JSTL? I use JSTL for that. Jiri Chaloupka wrote: Hallo, how I can do something as this: html:link action=${menuItem.link} c:out value=${menuItem.name} / ? I tried page (in manual I read that it canbe created dynamicaly, but it does not), action, href... it is still generated

Re: dinamically add href into html:link

2003-08-31 Thread Yann Cébron
how I can do something as this: html:link action=${menuItem.link} c:out value=${menuItem.name} / ? Use the EL-tags (look in the contrib/struts-el directory of the Struts 1.1 distribution), e.g. html-el:link action=${menuItem.link} .. .. /html-el:link HTH, Yann

RE: dinamically add href into html:link

2003-08-31 Thread Carlos Sánchez
: Re: dinamically add href into html:link Thanks, I used html-el and it works. what is the better to use, use c:url or html-el:link? Or it is equivalent here? And one more queestion: I have object with application persistency (over all sessions), and for session I call some method

Re: dinamically add href into html:link

2003-08-31 Thread Mark Lowe
- De: Jiri Chaloupka [mailto:[EMAIL PROTECTED] Enviado el: domingo, 31 de agosto de 2003 18:36 Para: Struts Users Mailing List Asunto: Re: dinamically add href into html:link Thanks, I used html-el and it works. what is the better to use, use c:url or html-el:link? Or it is equivalent here? And one

Re: dinamically add href into html:link

2003-08-31 Thread Jiri Chaloupka
OK, thanks for your view. Maybe it will be better to rewrite it, until there is not much code... Jiri Mark Lowe wrote: If you've the choice use JSTL.. If you're using the expression language then use that. I like using the standard struts tags but that because there's no el. and after