Re: How to get the session attribute in bean

2008-10-23 Thread Johannes Hoechstaedter
See here: http://cocoon.apache.org/2.1/userdocs/flow/api.html#session asif_zzz schrieb: Hi Johannes, Please dont mistake me if the query are basic I'm setting a String value in session attribute cocoon.session.setAttribute(key,data); my scenario is get the above session value in bean

Re: How to get the session attribute in bean

2008-10-23 Thread Andre Juffer
Johannes Hoechstaedter wrote: See here: http://cocoon.apache.org/2.1/userdocs/flow/api.html#session I think what Aashik meant to ask is how to get to the session inside one his own java classes (bean), like: cocoon.session.setAttribute(key,data); Some bean (SomeBean.java): public class

Re: How to get the session attribute in bean

2008-10-23 Thread asif_zzz
Hi Andre, You are right. I can able to get the session object in flow.js like this cocoon.session.getAttribute(key); And i tried with form object,which i got in java bean class final Form form=event.getSourceWidget().getForm(); String test=form.getAttribute(key).toString(); What is the life

Re: How to get the session attribute in bean

2008-10-23 Thread Andre Juffer
I am now getting somewhat confused (as Johannes), as to what you intend to accomplish. From you last email, I don't see anything like accessing your session attribute in your Java class. You now accessing the form widget, which is not the same as accessing the session object. You need to get

Re: How to get the session attribute in bean

2008-10-23 Thread asif_zzz
Hi Andre , Ya i know that. Just i tried form attribute for a testing purpose only. My aim is to get the value from session. I cant understand what Johannes trying to say. But if we come to know,how to get (FOM) object ,then it is easier to get the session object. Rite?? Regards, Aashik. --

[C2.2] Display Block Information

2008-10-23 Thread Matthias Müller
Hi list, does someone have an idea how to access block information from within a xslt stylesheet / jx template / sitemap? my idea is to display the current version and the blocks name, description, etc. on a special about page. i know that there's the mvn site command, but for my concerns

Re: [C2.2] Display Block Information

2008-10-23 Thread Luca Morandini
Matthias Müller wrote: Hi list, does someone have an idea how to access block information from within a xslt stylesheet / jx template / sitemap? my idea is to display the current version and the blocks name, description, etc. on a special about page. Been there, no way to do that (well, not

Cocoon 2.2 tries to load saxon on Production-environment?

2008-10-23 Thread Edward Smit
Today I tried to deploy a Cocoon 2.2 app which is nothing more than a simple transform-processor on top of an existing webservice. It has been running fine on Tomcat on our Test-environment. Today I moved the app to an identical Production-environment. It first performed poor, than gave me an

Apache i18n problem

2008-10-23 Thread Justice Utete
Hi, I'm having a problem with cocoon i18n. I have a Generator which does some processing then generates XML. I also have some xls files which are basically for translation and the html styles. Mt problem is: When i use the deafault file generator, the pages are translated succesfully but when i

Re: Apache i18n problem

2008-10-23 Thread Mark Lundquist
On Oct 23, 2008, at 8:22 AM, Justice Utete wrote: Hi, I'm having a problem with cocoon i18n. I have a Generator which does some processing then generates XML. I also have some xls files which are basically for translation and the html styles. Mt problem is: When i use the deafault file