Re: Customization (ResourceSelectorAction?)

2003-05-29 Thread Bertrand Delacretaz
Le Mercredi, 28 mai 2003, à 13:37 Europe/Zurich, Geoff Howard a écrit : ...What about the chain input module? Is is certainly similar in concept to what I suggest, but how would you test for existence of files/resources dynamically with this module? -Bertrand

Re: Customization (ResourceSelectorAction?)

2003-05-29 Thread Geoff Howard
At 04:56 AM 5/28/2003, you wrote: Le Mercredi, 28 mai 2003, à 09:28 Europe/Zurich, Mato Mira, Fernando a écrit : ...There is a fallback mechanism whereby when the framework looks for some page foo the following search will be performed (say the user has Spanish in his preferences): foo_hisproduct_s

RE: Customization

2003-05-28 Thread Mato Mira, Fernando
I am trying to set a session variable to the value of a match variable (the customization name) and I am finding some difficulties: 1. There's no way to set a session variable from the sitemap. So I use XSP instead of a raw XHTML to set the variable there. I now need to pass a parameter to the XS

RE: Customization

2003-05-28 Thread Mato Mira, Fernando
> From: Geissel, Adrian [mailto:[EMAIL PROTECTED] > On comment - I tend to use the 'defaulting' matcher in an > internal-only > pipeline and always get it to return XML (ie > map:serialize/@type='xml' ), > and then the puplic matcher has a generate/serialize pair, > rather than a > reader. It

RE: Customization

2003-05-28 Thread Mato Mira, Fernando
> -Original Message- > From: Geissel, Adrian [mailto:[EMAIL PROTECTED] > Unsure of the content of your login.xhtml file - check that it is well > formed. It looks well-formed (see below). > What happens if you call-up content/login.xhtml from your > browser (ie. go > straight to the fir

RE: Customization

2003-05-28 Thread Geissel, Adrian
rialize pair, rather than a reader. What happens if you call-up content/login.xhtml from your browser (ie. go straight to the first matcher)? /Adrian > -Original Message- > From: Mato Mira, Fernando [mailto:[EMAIL PROTECTED] > Sent: Wednesday 28 May 2003 14:19 > To: &

RE: Customization

2003-05-28 Thread Mato Mira, Fernando
OK. The previous was bogus. But now I get a real error with: This doesn't work: It gives an XML Parsing Error: mismatched tag. Expected: when it reaches the tag of the file. The same file works here:

RE: Customization

2003-05-28 Thread Mato Mira, Fernando
Please ignore the previous post. Sorry. -- Fernando D. Mato Mira [EMAIL PROTECTED] > -Original Message- > From: Mato Mira, Fernando [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 28, 2003 1:54 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Cust

RE: Customization

2003-05-28 Thread Mato Mira, Fernando
I hit a redirection limit when I try to use your technique:

Re: Customization (ResourceSelectorAction?)

2003-05-28 Thread Bertrand Delacretaz
Le Mercredi, 28 mai 2003, à 09:28 Europe/Zurich, Mato Mira, Fernando a écrit : ...There is a fallback mechanism whereby when the framework looks for some page foo the following search will be performed (say the user has Spanish in his preferences): foo_hisproduct_sp.html foo_hisproduct_en.html

RE: Customization

2003-05-28 Thread Geissel, Adrian
amed apache/lnf_cocoon.xsl, defaulting to apache/lnf.xsl. /Adrian > -Original Message- > From: Mato Mira, Fernando [mailto:[EMAIL PROTECTED] > Sent: Wednesday 28 May 2003 10:41 > To: '[EMAIL PROTECTED]' > Subject: RE: Customization > > > > -Origin

RE: Customization

2003-05-28 Thread Mato Mira, Fernando
> -Original Message- > From: Geissel, Adrian [mailto:[EMAIL PROTECTED] > > How about using something like the following pipeline matcher > along with the > resource exists action > [solution elided] > It also works well in for selecting stylesheets when combined with the > cocoon protoc

RE: Customization

2003-05-28 Thread Geissel, Adrian
map:transform/@src /Adrian > -Original Message- > From: Mato Mira, Fernando [mailto:[EMAIL PROTECTED] > Sent: Wednesday 28 May 2003 10:24 > To: '[EMAIL PROTECTED]' > Subject: RE: Customization > > > > From: Matthew Langham [mailto:[EMAIL PROTECTED]

RE: Customization

2003-05-28 Thread Mato Mira, Fernando
> From: Matthew Langham [mailto:[EMAIL PROTECTED] > > > We are investigating using Cocoon for our next generation > product. The > > internationalization stuff, > > OK we can handle with the I18n Transformer. But what about the > > customization? I'd like to start a discussion > > for ideas on how

RE: Customization

2003-05-28 Thread Matthew Langham
> We are investigating using Cocoon for our next generation product. The > internationalization stuff, > OK we can handle with the I18n Transformer. But what about the > customization? I'd like to start a discussion > for ideas on how to extend Cocoon to be able to do this in order > to come up > w