Tiles sub applications

2002-05-02 Thread Ian Tomey


Hi all,

Got a problem trying to move our app over to using tiles and its
probably specifically related to sub applications.

In this simple case, we have the default app and a sub app called
refdata. In the refdata config we have something along these lines:

action path=/showAScheme type=.
  forward name=success redirect=false path=refdata.refdata /
/action

action path=/showAllSchemes type=.
  forward name=success redirect=false path=/tree.jsp /
/action

and the tile def:

definition name=refdata.refdata extends=site.mainLayout
  put name=body   value=/refdata/showScheme.jsp /
  put name=left   value=/refdata/showAllSchemes.do /
/definition

Now, when we do http://localhost/testapp/refdata/showAScheme.do the
showScheme.jsp displays, but the /refdata/showAllSchemes.do fails with
an invalid request. However, if I place

  put name=left   value=/applicationList.do /

in the tiledef then the application list action in the default app
works fine.

Obviously tiles is working in default app space. Anybody got a patch or
workaround for this problem?
Ian


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




Re: Tiles sub-applications?

2002-03-22 Thread Cedric Dumoulin


  Hello,

  Tiles doesn't support sub applications yet, as defined in struts1.1.
  Actually, there is only one definition factory for all sub application. However, it 
is already possible to have several definitions files, but definitions should have 
different names.

  I will provide sub application support, as well as struts plugin asap (hope in less 
than 2 weeks)

Cedric

Ian Tomey wrote:

 Hi all,

 been reading about tiles in struts 1.1-b1 and just wondering if it supports sub 
applications when using definitions? we would need it to support a number of 
definitons files , one for each sub application

 Cheers
 Ian

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


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




Tiles sub-applications?

2002-03-21 Thread Ian Tomey


Hi all,

been reading about tiles in struts 1.1-b1 and just wondering if it supports sub 
applications when using definitions? we would need it to support a number of 
definitons files , one for each sub application

Cheers
Ian


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