Re: sitemap and {session:locale} for i18n?

2003-02-27 Thread Enke, Michael
Stephane Amaudruz wrote: > > First,a s you are using input module, you must ensure that they are declared > in your Cocoon.xconf. > > Second the session input module allows you to access session properties, > such as creationTime, id, lastAccessedTime and so on. > > I think that if you want to a

sitemap and {session:locale} for i18n?

2003-02-25 Thread Enke, Michael
Hello, I need some help with one issue concerning sitemap configuration: I have this which is working well: Somewhere earlier I created a session and LocaleAction is configured to save the locale in the session. This is working. Now I want to translate my abc.xml without the LocaleAc

Re: request:get-remote-user doesn't work?

2001-09-03 Thread Enke Michael
l variable > will be set. > > Ryan > > ----- Original Message - > From: "Enke Michael" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, September 03, 2001 3:39 AM > Subject: request:get-remote-user doesn't work? > > > Hi! >

Re: Protecting your XSP Code.

2001-09-03 Thread Enke Michael
I am also very interested in this topic. Michael Gerard Maas wrote: > > Hi all, > > I've a critical problem. We've been developing a product based on > Cocoon1.8.x/XSP and Xforms for a while. Now, the time has come to > deliver the first (beta) version to a potential customer for testing. > Ne

request:get-remote-user doesn't work?

2001-09-03 Thread Enke Michael
Hi! I try to use (from the request logicsheet) the get-remote-user tag. But it returns always null (get-remote-address works well). I tried it with Netscape 4.77 and konqueror under Linux and with MSIE5 under Windows98. I use tomcat 3.2.3 and cocoon2 from dev snapshot from middle of august. Did an

Q: DB-password clear text?

2001-08-28 Thread Enke Michael
Hi! Is there a possibility or would it be easy to implement to have the DB password encrypted in some kind (in *.xsp or cocoon.xconf)? This doesn't mean a state of the art encryption (too complicated!?), but only that not everybody can have direct access to the database. Regards, Michael ---

Q: restricted access possible?

2001-08-28 Thread Enke Michael
Hi, is it possible to restrict the access to a cocoon site or parts of the site by the IP address of the originating request? E.g. as parameter to sitemap.xmap? Regards, Michael - Please check that your question has not already

Re: how to view the generated xml ?

2001-08-27 Thread Enke Michael
Andrei Bejenaru wrote: > > I would like to check the XML generated from a XSP. How can I do it? Comment out the tag in the sitemap. Depending on which browser you use you must view the source, that's the xml. Michael - Please

Re: [C2] Webapp directory for development...

2001-08-27 Thread Enke Michael
Per Kreipke wrote: > ... > 1. I could start with the entire contents of the WAR. But I'm wondering if > the minimum set is: > > - sitemap.xmap (and only the necessary portions of it) > - cocoon.xconf (leave as is) > - WEB-INF/web.xml (no changes) > - WEB-INF/lib (leave as is or modify according d

Re: separation of content and logic

2001-08-24 Thread Enke Michael
This is great. Thank you. I'll try it during weekend ;-) Michael Max Larsson wrote: > > Hi, > > well here is my solution, which is completly serverside. > Thus no javascript is needed. > > First some description to the attached files. > > menu.sql contains the sql command for postgresql 7.1.

Re: [c2] Q: connect to postgresql

2001-08-23 Thread Enke Michael
Did you start the postmaster before starting tomcat? (or other engine) Useful for debugging is WEB-INF/logs/cocoon.log Michael Christoph Kliemt wrote: > > Hi! > > Problem : I'm not able to make connections to a postgresql-db > (unmodified samples) > (cocoon from cvs, branch cocoon_20_branch

Q: separation of content and logic

2001-08-22 Thread Enke Michael
Hi! Everywhere in the Cocoon docs I lern that it is the best to separate the content from the logic. Ok. Now I want to generate a Menuestructure from database entries in the way a filebrowser works, expand an entry on mouseclick, on the second mouseclick collapse them (html links). My first gues

Re: Need help with session:set-attribute

2001-08-22 Thread Enke Michael
k session.xsl in cocoon.jar: > > > > XSPRequestHelper.setSessionAttribute(objectModel, > String.valueOf(), > > ); > > > > Note: there is ";" after setSessionAttribute. If your copy does not have one - it's >time t

Re: Need help with session:set-attribute

2001-08-22 Thread Enke Michael
) this.characters("\n "); XSPRequestHelper.invalidateSession(objectModel); ... Michael Vadim Gritsenko wrote: > > Try > name="fruit">"apple" > > Vadim > > > -Original Message- > > From: Enke Michael [m

Need help with session:set-attribute

2001-08-22 Thread Enke Michael
Hello again, I need some help with the session-logicsheet. I try to set an attribute in a session but I get always a compilation error. Here is my xsp: http://apache.org/xsp"; xmlns:session="http://apache.org/xsp/session/2.0"; > apple I create a session, try to set an attribute

Re: AW: session-invalidator and back-button?

2001-08-16 Thread Enke Michael
konqueror is ignoring both ;-( Jörn Heid wrote: > > As I know there are two meta-tags. > The one with expires and another with nocache. > > Perhaps it works if you are using both. > > JOERN_HEID > ... - Please check that your

Re: session-invalidator and back-button?

2001-08-16 Thread Enke Michael
; > --- "Morrison, John" <[EMAIL PROTECTED]> > wrote: > If you use the javascript:location.replace (I > > *think* that's what its > > called) I don't *believe* that the new page is added > > to the history... > > > > > -Original

Re: session-invalidator and back-button?

2001-08-16 Thread Enke Michael
he Back history, > which is local to a browser window, cannot be access with permission. > > Hope that this helps, > Adrian > > - Original Message - > From: Enke Michael <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, August 16, 2001 1

session-invalidator and back-button?

2001-08-16 Thread Enke Michael
Hi, I tryed the web-application demo from cocoon2 where a login and logout can be performed. But after logout if I press the back button of my browser I get back into protected area without authorization. How can this be avoided? Michael --

Re: esql and UnsupportedEncodingException - patch proposal

2001-08-09 Thread Enke Michael
Arnaud Bienvenu wrote: > > Oops, I found Michael's patch has a drawback : if you apply it and then you > do not use the encoding attribute (i.e. ), then you have > an error : > Exception java.io.UnsupportedEncodingException is never thrown in the body > of the corresponding try statement. > > So

Re: esql and UnsupportedEncodingException - patch proposal

2001-08-09 Thread Enke Michael
Hi, on tuesday I posted this patch to cocoon-dev, seems to be equivalent with yours: Hi, I'd like to use but for the encoding we have to catch java.io.UnsupportedEncodingException These exception is not catched yet.

Re: strange Language Exception

2001-08-02 Thread Enke Michael
Thank you very much for the explanation and solution of my problem! Michael Vadim Gritsenko wrote: > ... > And here is the solution: > can not be used this way when it immediately netsted in , > and this is done so to enable interoperability with other stylesheets. An example of > correct usage

Re: strange Language Exception

2001-08-01 Thread Enke Michael
Vadim Gritsenko wrote: > > Send your test_error_xsp.java which is found under Cocoon's work directory. > > Vadim > > > -Original Message----- > > From: Enke Michael [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, August 01, 2001 5:10 AM > > To

Re: strange Language Exception

2001-08-01 Thread Enke Michael
This happened with Cocoon0730041508 Regards, Michael Vadim Gritsenko wrote: > > Do you have this problem with latest CVS version? > > I think that this is already fixed in CVS. > > Thanks, > Vadim > > > -Original Message- > > From: Enke Michael

xsp: strange Language Exception

2001-07-31 Thread Enke Michael
Hi folks, I have a question which I cann't answer myself and maybe it is an error I have found? Lock at this few lines: http://apache.org/xsp"; xmlns:i18n="http://apache.org/cocoon/i18n/2.0"; encoding="UTF-8" > String result = "_d"; if(resu

Re: future plans? Made it partly now!

2001-07-31 Thread Enke Michael
Hi Konstantin, hi Marcus, thank you for your response. I have added some lines of code to I18nTransformer.java and tested: ok. It is attached to this mail. May be you (and others) find it useful and it will find the way into the release. That is the first time I contribute somthing, so I don't kno

i18n: future plans?

2001-07-30 Thread Enke Michael
Hi, does anybody knows if i18n will be extended in the future or has some undocumented features? I have some needs and I wonder that I'm the first one (?) who think and ask about this: 1) I need more control over e.g. I need a parameter to specify DateFormat.SHORT, MEDIUM, LONG or FULL. 2) I w

Re: [c2][patch] RE: ESQL : No, my problem isn't with mutual exclusivity

2001-07-30 Thread Enke Michael
Torsten Curdt wrote: > Have a closer look - it is not a resultset. it's the > result of the resultset.execute(). Oh yes, my miss. > Could you grab the current version from CVS and send me your > esql page and output. Up to know I cannot reproduce your problems... Hi Torsten, I got the snapshot

Re: [c2][patch] RE: ESQL : No, my problem isn't with mutual exclusivity

2001-07-28 Thread Enke Michael
Actually I use the esql.xsl coming with the Cocoon-2.0b2, 1.4.2.5 2001/07/24 11:37:57 but I inserted at line 532 the else brunch which you have posted. Maybe the lines 521-523 are the problem because "esql:no-resluts" will be called after each last row. >From line 504 it looks like this: if

Re: [c2][patch] RE: ESQL : No, my problem isn't with mutual exclusivity

2001-07-27 Thread Enke Michael
Hi Thorsten, I followed the discussion about esql:no-results In the beta1 release it was ok, if no rows the no-results content was in the tree, otherwise not. But now it is inverted. With beta2 also after applying your patch to esql.xsl I get the content of no-results if the query returns results