Hi,
I am using an xsp and I would set a default value to a session attribute, the value should be from i18n text I tried something like:
<xsp:logic> <xsp-session:set-attribute name="docLabel"><i18n:text>menu.doclabel.empty</i18n:text></xsp-session:set-attribute> </xsp:logic>
It doesn't work because (May be !) the i18n transformer is after the xsp generator in the sitemap.
Indeed. The value is tried to be put into the session before the i18n transformer came into play.
I have few ideas how to solve that but I don't like it, so if you have an advice concerning this issue I would read it with interest.
I wonder why you want to store something in the session that you already have in an i18n catalogue? Could you not simply reuse the i18n key and add an i18n transformer to the pipeline whenever you access this session attribute at the moment?
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
