Hi
I ve added in cocoon.xconf:
<component-instance
class="org.apache.cocoon.components.modules.input.JXPathMetaModule"
logger="core.modules.input" name="jxpath">
<input-module name="session-attr"/>
<parameter>user</parameter>
</component-instance>
and in pipeline i used: {jxpath:userName}
This works, but looks weird imo
isn't there a easier way to do that?
"Leszek Gawron" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ilja Smoli wrote:
> > Hi
> > Thanks for reply..
> > {session-attr:lala} works fine
> > But next problem is if there is an Object in session like User bean i
cannot
> > get its' properties using
> > {session-attr: user.userName}
> > How can I achieve this?
> have a look at:
>
>
http://cocoon.apache.org/2.0/apidocs/org/apache/cocoon/components/modules/input/JXPathMetaModule.html
>
> --
> Leszek Gawron [EMAIL PROTECTED]
> Project Manager MobileBox sp. z o.o.
> +48 (61) 855 06 67 http://www.mobilebox.pl
> mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]