RE: html-el:link and logic-el:iterate and tiles --- Just a simple question.
Thanks that was what I was missing... I ended up with: html-el:link page=${item.link} jsp:getProperty name=item property=value//html-el:link Last questions is the jsp:getProperty needed? I was hoping to find a html-el:link / implementation that Produced Aproduced text/A.. Is that possible? Second question is how do I test for the last instance of item within the iterate tag? Thanks for all the insight as all ways, Jeff Born. -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 2:06 AM To: Struts Users Mailing List Subject: RE: html-el:link and logic-el:iterate and tiles --- Just a simple question. I would check to see if items.footer an attribute in some scope and it has a collection bound to it. Also, the id=item: item is an instance of the current iteration not a string. In the link paramName=item should be item.someMethod ( ) that returns a string. and i suspect that paramProperty=value might be something like paramProperty=item.value which calls the getValue ( ) method on instance. I hope this helps Ray Madigan -Original Message- From: Jeff Born [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 7:49 PM To: 'Struts Users Mailing List' Subject: html-el:link and logic-el:iterate and tiles --- Just a simple question. I would like the html-el:link to produce A href=%=request.getContextPath()%jsp:getProperty name=item property=link/jsp:getProperty name=item property=value/A I would like in to work with the iterate tag. But so far I am not getting it to work. logic-el:iterate id=item name=items.footer type=org.apache.struts.tiles.beans.MenuItem td html-el:link paramName=item paramProperty=value/ /td /logic-el:iterate Any insight would be greatly appreciated, Jeff Born - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
html-el:link and logic-el:iterate and tiles --- Just a simple question.
I would like the html-el:link to produce A href=%=request.getContextPath()%jsp:getProperty name=item property=link/jsp:getProperty name=item property=value/A I would like in to work with the iterate tag. But so far I am not getting it to work. logic-el:iterate id=item name=items.footer type=org.apache.struts.tiles.beans.MenuItem td html-el:link paramName=item paramProperty=value/ /td /logic-el:iterate Any insight would be greatly appreciated, Jeff Born - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: html-el:link and logic-el:iterate and tiles --- Just a simple question.
I would check to see if items.footer an attribute in some scope and it has a collection bound to it. Also, the id=item: item is an instance of the current iteration not a string. In the link paramName=item should be item.someMethod ( ) that returns a string. and i suspect that paramProperty=value might be something like paramProperty=item.value which calls the getValue ( ) method on instance. I hope this helps Ray Madigan -Original Message- From: Jeff Born [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 7:49 PM To: 'Struts Users Mailing List' Subject: html-el:link and logic-el:iterate and tiles --- Just a simple question. I would like the html-el:link to produce A href=%=request.getContextPath()%jsp:getProperty name=item property=link/jsp:getProperty name=item property=value/A I would like in to work with the iterate tag. But so far I am not getting it to work. logic-el:iterate id=item name=items.footer type=org.apache.struts.tiles.beans.MenuItem td html-el:link paramName=item paramProperty=value/ /td /logic-el:iterate Any insight would be greatly appreciated, Jeff Born - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]