Have you looked at Business Process Modeling for Struts
http://team.andromda.org/docs/andromda-bpm4struts-cartridge/
The bpm4struts Cartridge has ATTLISTS defined for the cartridge
http://sourceforge.net/mailarchive/forum.php?forum_id=28502&max_rows=25&style=nested&viewmonth=200404
HTH,
Martin-
----- Original Message ----- From: "Sanjay Sharma" <[EMAIL PROTECTED]>
To: "Martin Gainty" <[EMAIL PROTECTED]>
Cc: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, October 05, 2005 3:15 PM
Subject: Re: Tiles - dynamic attribute values with XML definitions


I am not sure how Spring is related to this particular issue. I am
using Spring as part of the application for model layer. My issue is
related to Tiles. How can I specify attribute values for XML defined
tiles at run time. It can be done for JSP defined Tiles but apparently
not for XML defined Tiles.

Sanjay

On 10/5/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
Sanjay-
Provided you would be willing to provide the parameters for creating your
bean (e.g. shared singleton or  per instance)
Have you look at implementing spring-beans?
http://www.springframework.org/docs/reference/springbeansdtd.html
Anyone else ?
Martin-


----- Original Message -----
From: "Sanjay Sharma" <[EMAIL PROTECTED]>
<snip>

Tiles allows us to specify attribute values at run time in a JSP
definition. For example, I can use the following

<tiles:put name="title" beanName="myBean" beanProperty="myProperty"/>

to specify title at runtime by setting the myProperty attribute of myBean.

However, I am using XML for defining tiles and would like to do the
equivalent of what I can do using JSP definition. The following
fragment in DTD only has name and value attributes, no beanName and
beanProperty. So how can I set values at runtime.

<snip>


--
Sanjay Sharma

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Sanjay Sharma

---------------------------------------------------------------------
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]

Reply via email to