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
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):
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
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
with a
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 to extend
in 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]
We are investigating using Cocoon for our next
-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 protocol in
/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
-Original Message-
From: Geissel, Adrian [mailto:[EMAIL
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
I hit a redirection limit when I try to use your technique:
map:match pattern=*/**.html
map:act type=resource-exists src={2}_{1}.html
map:generate src={../2}_{../1}.html/
map:serialize type=xml/
/map:act
map:generate src={2}.html/
map:serialize
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: Customization
I hit a redirection
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: '[EMAIL PROTECTED]'
Subject: RE: Customization
-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 first
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 works
14 matches
Mail list logo