Newbie: html:link with action taken from bean

2005-09-14 Thread Wojciech Ciesielski
Hi there, I am quite new to JSP and struts. So - as I suppose - quite lame question ;-) In order to implement bread crumbs feature I have a collection bean, containing simple PathElement objects in request scope. Each PathElement contains two attributes: - titleKey (for resource key

Re: Newbie: html:link with action taken from bean

2005-09-14 Thread Wendy Smoak
From: Wojciech Ciesielski [EMAIL PROTECTED] In order to implement bread crumbs feature I have a collection bean, You might want to take a look at Struts Layout, it already has support for breadcrumbs: http://struts.application-servers.com/doc/tags/crumbs.html -- Wendy Smoak

Re: Newbie: html:link with action taken from bean

2005-09-14 Thread Kishore Senji
Define a scripting variable with the actionUrl and use that in your html:link/ like so logic:iterate id=element name=PATH_ELEMENTS bean:define id=actionbean:write name=element property=actionUri//bean:define html:link action=%=action%bean:message name=element property=titleKey//html:link

RE: Newbie: html:link with action taken from bean

2005-09-14 Thread Wojciech Ciesielski
Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]