On Wed, 2004-06-09 at 12:21 -0600, Matt Raible wrote:
> I don't believe anyone has done what you're looking for - but I'm 
> willing to help.  Do you have any idea of what the syntax might look 
> like in the action class?

Not shure about the generic syntax.

The specific need we have is to define a definition for each jsp file,
with some additional parameters, to automatically have the jsp put into
a containing layout template, and to associate the jsp with a
highlighted menu item in that template.

Most of these defaults to some value.

Mark's suggestion would work, eg:

@struts.tiles-definition name="editOrder"
        path="/WEB-INF/jsp/issues/editOrder.jsp"
        extends="foo.layout"

would turn into 

<definition extends="foo.layout" name="editOrder">
    <put name="body" value="/WEB-INF/jsp/issues/editOrder.jsp"></put>
</definition>

But I'd also like to add a generic parameter, which should be added to
the definition as:

    <put name="menu1" value="issues"></put>

Should this maybe be with an additional tag?


-- 
Torgeir Veimo <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to