RE: problem with maverick

"Schnitzer, Jeff" <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
You could create an XSL configTransform which takes the command name and adds it to the controller node as a <param> element.  Would that be sufficient?

Otherwise we could always add a method to the controller context which will return that information.

Jeff Schnitzer
[email protected]

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]
> Sent: Tuesday, May 13, 2003 3:11 AM
> To: mav-user
> Subject: [Mav-user] problem with maverick
> 
> In the program maverick.xml, I have this instruction with a class Java :
> ConstPageSiteEnt
> 
> <command name="entreprise">
>   <controller class="fr.emanation.web.controllers.ConstPageSiteEnt"/>
> 
>             <view name="OKConnect">
>                 <transform path="OKConnect.xsl"/>
>                 <transform path="modeleSite.xsl"/>
>             </view>
> 
>             <view name="ErreurConnect">
>                 <transform path="ErreurConnect.xsl"/>
>                 <transform path="modeleSite.xsl"/>
>             </view>
> </command>
> 
> Can I have in the class Java the value of the command name
> For example,
> in the class ConstPageSiteEnt, I want to use the value entreprise of the
> command name
> thanks
> 
> ********** SPECIAL ADSL **********
> L'ADSL à partir de 15,95 EUR/mois et le modem ADSL offert ?  C'est en
> exclusivité chez Tiscali !
> Pour profiter de cette offre, cliquez ici:
> http://register.tiscali.fr/adsl/
> Offre soumise à conditions.
> 
> 
> 
> 
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
> 
> [INVALID FOOTER]



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

[INVALID FOOTER]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.