Thanks again Cedric ;-) btw ... any idea when beta2 will be released ?
> -----Original Message----- > From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] > Sent: dinsdag 23 juli 2002 17:41 > To: Struts Users Mailing List > Subject: Re: how can I invoke a Tile Definition directly from the > browser > > > > There was a bug preventing the 'DefinitionDispatcherAction' > to work in > 1.1b1. It will be in 1.1b2. If you want to use it in 1.1b1, get 1.1b1 > sources, replace class 'DefinitionDispatcherAction' with the latest > version and recompile. > The simplest solution is to use a nightly build ;-) > > Cedric > > > > [EMAIL PROTECTED] wrote: > > >Just an extra question: > > > >I've tested the 'DefinitionDispatcherAction' using a nightly > build, and it > >worked great. > > > >However I didn't manage to get it working in our project, > which is using > >Struts 1.1b1 ... it just displays an empty page in the > browser (if I provide > >no parameter, I get the message "Definition dispatcher > action: can't get > >parameter 'def'". > >Can't this feature be used in 1.1b1 ??? Will it be in the > 1.1b2 release ? > > > >Thanks, > >Esther > > > >P.S. copying the jar files from the nightly build to our > project, fixes it, > >but I'd feel more comfortable to be working from a beta than > from a nightly > >build ;-) > > > > > > > > > >>-----Original Message----- > >>From: Esther Miranda Iglesias > >>Sent: vrijdag 19 juli 2002 16:21 > >>To: [EMAIL PROTECTED] > >>Subject: RE: how can I invoke a Tile Definition directly from the > >>browser > >> > >> > >>I've tried the DefinitionDispatcherAction and it works > beautifully ;-) > >> > >>Thanks, > >>Esther > >> > >> > >> > >>>-----Original Message----- > >>>From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] > >>>Sent: vrijdag 19 juli 2002 11:30 > >>>To: Struts Users Mailing List > >>>Subject: Re: how can I invoke a Tile Definition directly from the > >>>browser > >>> > >>> > >>> > >>> Hello, > >>> > >>> This is the way to go. Remember that Tiles definition's > names are > >>>logical names. They can't be used directly as URL. > >>> > >>> You can also use a struts action taking the definition's name as > >>>request parameter. The action then insert the requested > tiles. Such > >>>action already exist in Tiles sources > >>>(org.apache.struts.tiles.actions.DefinitionDispatcherAction.java) > >>> > >>> Cedric > >>> > >>>[EMAIL PROTECTED] wrote: > >>> > >>> > >>> > >>>>Hi, > >>>> > >>>>How can I invoke a Tile Definition directly from the browser? > >>>>This to minimize the number of JSP pages, and have them all > >>>> > >>>> > >>>defined in the > >>> > >>> > >>>>xml config file. > >>>> > >>>>In Prakash Malani's article 'UI Design with Tiles and Struts' > >>>>(http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilest > >>>> > >>>> > >>rut.html), > >> > >> > >>>based on Struts 1.0, is shown that you need to write a non > >>> > >>> > >>operational > >> > >> > >>>Action Class, that does nothing but direct you to a mapping > >>> > >>> > >>containing the > >> > >> > >>>Tile Definition. > >>> > >>>Is this still the way to go with Struts 1.1b1 ? Or are there > >>> > >>> > >>better ways of > >> > >> > >>>doing this ? > >>>Where could I find more info on this ? > >>> > >>>Thanks in advance, > >>> > >>>Esther > >>> > >>>-- > >>>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]> > >> > >>-- > >>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]> > > > > > > > > > > -- > 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]>

