Re: link with dynamic page attribute

2001-09-26 Thread chiji nwankwo
Hi, Im in a bit of dilema, I understand Ted's last statement. But what I don't understand is what I should do if the parameters which are used by the html:link (forward) tag are generated on the fly. I can't hard code all the forwards in my config file because I don't know how may

Re: link with dynamic page attribute

2001-09-26 Thread Will Jaynes
=operationActivityId paramName=activity paramProperty=id/ Will - Original Message - From: chiji nwankwo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 7:24 AM Subject: Re: link with dynamic page attribute Hi, Im in a bit of dilema, I understand Ted's

link with dynamic page attribute

2001-09-24 Thread Antonio Lourinho
Hi, i'm new to Struts and i'm already working on a project that takes advantage of it. The problem is: i'm trying to put a link, and the page attribute depends upon the value of a bean defined by an iterate tag. something like: html:link

Re: link with dynamic page attribute

2001-09-24 Thread Matt Raible
You cannot next tags as you are trying to do. My advice would be to make a forward in your struts-config.xml file that is: forward name=editServiceReport path=/ServiceReport.do?operation=delete / Then in your jsp page, you can code your link using a regular a href tag: a href=html:rewrite

RE: link with dynamic page attribute

2001-09-24 Thread Martin, Margaret
name = requestParamMapBean/ Hope this helps - Margaret Martin -Original Message- From: Antonio Lourinho [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 11:00 AM To: [EMAIL PROTECTED] Subject: link with dynamic page attribute Hi, i'm new to Struts and i'm already working

Re: link with dynamic page attribute

2001-09-24 Thread Ted Husted
Nesting custom tags that way is not allowed by the specification. The html:link tag has special properties for assembling hyperlinks from other beans. It can also accept a map when multiple parameters are needed. http://jakarta.apache.org/struts/struts-html.html#link Personally, I avoid