Directory zip error

2004-05-16 Thread moinuddin.ahmed
Title: Message Hi, I am trying to zip a directory and all the content of the directory   I have a directory structure as follows:   C:\Directory   |   |-- dirA   |FileA.text   |FileB.text   |-- dirB   |--FileRootA.txt   |--FileRootB.tx

RE: Cocoon Books

2004-05-16 Thread Derek Hohls
Well, not to pour cold water on that approach - it *can* work - but the best articles are usually "driven" by a single author. I'd be happy to help edit and raise issues of clarification etc - but some *one* needs to start the process... >>> [EMAIL PROTECTED] 2004/05/15 04:02:42 AM >>> Derek Ho

Re: Getting additional user's information from session object (authentication framework problem)

2004-05-16 Thread Jan Hoskens
I'm using the authentication framework too, but to get something from the session, I use session-fw:   xmlns:xsp-session-fw=http://apache.org/xsp/session-fw/1.0   String roleFrag = ; DocumentFragment nameFragment = (DocumentFragment);   String name = new String(); for(int i = 0; i< nameFragme

RE: Cocoon Books

2004-05-16 Thread Matthew Langham
> > I'm disappointed to hear that the tech-book market still > offers so little buck for all the bang you have to put into > it. At one time I'd thought about writing a book on Cocoon, You can count on it taking 1 year to write a book in your spare time (i.e. you still work full-time). This me

Re: String replacement within the sitemap?

2004-05-16 Thread Upayavira
Joerg Heinicke wrote: On 16.05.2004 17:09, Upayavira wrote: http://cocoon.apache.org/2.1/userdocs/concepts/modules.html Some of the input modules are JXPath-enabled, so you can use XPath expressions to access values (see Input Modules sample for details). The following example demonstrates the us

the  problem.

2004-05-16 Thread leon tian
hi,   there are always "Â" on the my transformed pages because of " ". how can i get rid of them? i use XHTML serializer. any help will be most appreciated;)     Leon Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now

Query wrt rows returned from a database???

2004-05-16 Thread Sam
Hi List... I can retreive rows from a MySQL database with no problems, only that the rows returned have no newline character, ie the SQL transformer ignores or escapes (I am not sure) the newline characters and I get rows fetched from the database as one single line. Now how do I keep the newl

RE: Problem with losing session context 'authentication' - looking fo r workaround or bugfix

2004-05-16 Thread Antonio Gallardo
[EMAIL PROTECTED] dijo: > Antonio, > > You're the greatest! Thanks for bearing with me. > > I've looked this over, compared it to the version you sent in a different > mail (and found no significant differences) and finally found the problem > in > the sitemap: > > > >value=

Re: String replacement within the sitemap?

2004-05-16 Thread Joerg Heinicke
On 16.05.2004 17:09, Upayavira wrote: http://cocoon.apache.org/2.1/userdocs/concepts/modules.html Some of the input modules are JXPath-enabled, so you can use XPath expressions to access values (see Input Modules sample for details). The following example demonstrates the use of XPath function wi

RE: Problem with losing session context 'authentication' - lookin g fo r workaround or bugfix

2004-05-16 Thread H . vanderLinden
ARGH, now please tell me what's wrong: When I select a "public" pipeline when I'm logged out, it goes through "protect", notices that I'm not logged in, so it displays the login form. I log in, the user/password is checked and success == true. I should then be redirected to the original page (see

RE: Aggregator Bug?

2004-05-16 Thread David Leangen
To sum up all the other threads on the issue... This nice "feature" magically disappears after you use any transformer. So you don't need to worry about it. > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] > Sent: May 16, 2004 19:37 > To: [EMAIL

RE: Getting additional user's information from session object (au thentication framework problem)

2004-05-16 Thread H . vanderLinden
Title: Message Hi,   I'm not a guru on the authentication framework, but two things sprang to mind:   1. IIRC the authentication context is "fixed", i.e. it can only contain the information you wrote below. Please reread the documentation and do correct me if I'm wrong.   2.   AFAIK

RE: Problem with losing session context 'authentication' - lookin g fo r workaround or bugfix

2004-05-16 Thread H . vanderLinden
Hi Antonio, > > > uri="cocoon:raw:/authenticate"/> > > Change to: > > > (I guess your authentication uri is in the root of your webapp). Um, no, it's in this one. As I said before (somewhere) I use the default cocoon root sitemap.xmap, nothing added

RE: Problem with losing session context 'authentication' - lookin g fo r workaround or bugfix

2004-05-16 Thread H . vanderLinden
Antonio, You're the greatest! Thanks for bearing with me. I've looked this over, compared it to the version you sent in a different mail (and found no significant differences) and finally found the problem in the sitemap: [*]

Getting additional user's information from session object (authentication framework problem)

2004-05-16 Thread Mariusz Wojcik
Hi I'd like to keep in session some additional information about users. My sunrise-user.xml file looks like this:   *sunrise_user.xml ** cocoon   cocoon   cocoon   hello12   **   I

Re: String replacement within the sitemap?

2004-05-16 Thread Upayavira
Joerg Heinicke wrote: On 15.05.2004 17:37, Jorg Heymans wrote: AFAIK some of the XSLT functions work in the sitemap too, probably through JXPath. *If* translate() works it will look like: value="{translate({1}, '_', ' ')" Maybe it needs a namespace prefix for the correct input module. Baffled aga

Re: No images in FOP block?

2004-05-16 Thread Lincoln Mitchell
A mistake on my part - works fine. Thx for replying, Linc - Original Message - From: "Joerg Heinicke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 15, 2004 11:09 PM Subject: Re: No images in FOP block? > On 15.05.2004 16:31, Lincoln Mitchell wrote: > > > Hi all, > >

Re: Aggregator Bug?

2004-05-16 Thread Jorg Heymans
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105169303607664&w=2 [EMAIL PROTECTED] wrote: I found that aggregating with an xhtml file puts a ">" before it when there is a doctype declaration in the file. So, the following sitemap with a simple xhtml file like t

Aggregator Bug?

2004-05-16 Thread [EMAIL PROTECTED]
I found that aggregating with an xhtml file puts a ">" before it when there is a doctype declaration in the file. So, the following sitemap with a simple xhtml file like this http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml";>

RE: Problem with losing session context 'authentication' - looking fo r workaround or bugfix

2004-05-16 Thread Antonio Gallardo
[EMAIL PROTECTED] dijo: > Hi Antonio, > > I'll answer all questions here, and add the relevant code below (since > it's > an enormous lot of code). The "getObject()" function is something I get > from > my backend. It goes too far to explain it or to add the code (also a lot). > I'll add the releva

RE: Problem with losing session context 'authentication' - looking fo r workaround or bugfix

2004-05-16 Thread Antonio Gallardo
[EMAIL PROTECTED] dijo: > [2] = login.js The above file look quite old. The new implementation works. I am using for months: http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.1/src/blocks/authentication-fw/samples/flow/sample.js?content-type=text%2Fplain&rev=1.5 Best Regards, Antonio Gallar

RE: Problem with losing session context 'authentication' - looking fo r workaround or bugfix

2004-05-16 Thread Antonio Gallardo
Hi Helma! I don't forgot to this task! As promised, I found the time and started to checking the code :-D I have the posted code in my computer. I just left the code that was interesting to me: [2] login.js > cocoon.load("resource://org/apache/cocoon/webapps/authentication/flow/javasc > ript/aut

HELP! question about selector.

2004-05-16 Thread leon tian
hi,   i use a 'form' to pass some parameters to a 'action' which i match in a pipeline. the action can be 'redirect-to' another page based on one of the parameters. now i wanna use different transformers for different pages based on the parameters. my sitemap: