Re: Authentication - passing user info to non-protected match?

2004-07-15 Thread Derek Hohls
Olivier Good to know there is a solution... would you mind providing me with an example of (a) how the variable(s) info is stored using SessionPropagatorAction (b) how that inf can be passed as a parameter in the sitemap? Thanks Derek >>> [EMAIL PROTECTED] 2004/07/15 05:24:22 PM >>> Hi Derek,

Re: Accessing global config values in sitemap through flow scripts

2004-07-15 Thread Tony Edwards
Hi Kranga, If you look in the slide sample's flow, its opening stanza has some code that extracts the globals form the sitemap, to wit: //Obtain reference to the global section of the sitemap: var global = cocoon.getComponent(InputModule.ROLE + "Selector").select("global"); //get global values f

Re: correct url - wrong page

2004-07-15 Thread Tony Collen
Schultz, Gary - COMM wrote: It is difficult to provide the URL they enter and the URL of the wrong page the end up on. As soon as the problem arises, we need to clear the cache to remedy the problem. Therefore I can't keep an example on the server long enough to demonstrate. The other problem I h

RE: correct url - wrong page

2004-07-15 Thread Schultz, Gary - COMM
It is difficult to provide the URL they enter and the URL of the wrong page the end up on. As soon as the problem arises, we need to clear the cache to remedy the problem. Therefore I can't keep an example on the server long enough to demonstrate. The other problem I have is that I can't recreate

Re: Flow Tutorial and JX Naming Conventions

2004-07-15 Thread Brent Johnson
> Hmm, I bet you could come up with some sort of Avalon component > wrapper for Axis (there could already be one and I just don't know > about it), and then you could pass the request body to the component > for processing. I haven't used Axis at all though, so this is just me > spouting out ideas

Re: Flow Tutorial and JX Naming Conventions

2004-07-15 Thread Scott Schwab
Tony Collen wrote: Brent Johnson wrote: I don't think it matters as long as you're consistent. Remember, the sendPageAndWait() call triggers a *pipeline* request, not a file request. I could be wrong, but the sitemap in the tutorial might be setup to generate on *.jx: ... Sorry - I meant

CForms: Books and Authors

2004-07-15 Thread Alan
I'm using Cocoon + Hibernate to good effect. The standard controls are very impressive. How does one handle the books and authors problem in CForms? The problem is that you are adding a book to a database and you want to choose from an existing list of authors, adding an author

Re: Flow Tutorial and JX Naming Conventions

2004-07-15 Thread Tony Collen
Brent Johnson wrote: I don't think it matters as long as you're consistent. Remember, the sendPageAndWait() call triggers a *pipeline* request, not a file request. I could be wrong, but the sitemap in the tutorial might be setup to generate on *.jx: ... Sorry - I meant to say pipeline req

Re: Flow Tutorial and JX Naming Conventions

2004-07-15 Thread Brent Johnson
> I don't think it matters as long as you're consistent. Remember, the > sendPageAndWait() call triggers a *pipeline* request, not a file > request. I could be wrong, but the sitemap in the tutorial might be > setup to generate on *.jx: > > > > ... > > Sorry - I meant to say pipeline

Re: Flow Tutorial and JX Naming Conventions

2004-07-15 Thread Tony Collen
Brent Johnson wrote: After finally giving up on XSP since its pretty much deprecated in Cocoon anyways.. I decided to try control flow. I dont like server side Javascript.. but hey.. continuation ROCKS I must say. The flow tutorial (both on cocoon.apache.org and distributed with cocoon 2.1.5) appa

Flow Tutorial and JX Naming Conventions

2004-07-15 Thread Brent Johnson
After finally giving up on XSP since its pretty much deprecated in Cocoon anyways.. I decided to try control flow. I dont like server side Javascript.. but hey.. continuation ROCKS I must say. The flow tutorial (both on cocoon.apache.org and distributed with cocoon 2.1.5) apparently has a typo in

Re: Authentication - passing user info to non-protected match?

2004-07-15 Thread Olivier Billard
Hi Derek, The user informations are given by the "auth-protect" action. So you can't access these infos the same way without using the action. A workaround is to store these infos in session with the SessionPropagatorAction, just after a successfull login. That's what I'm doing and it works fine.

Re: correct url - wrong page

2004-07-15 Thread Jorg Heymans
Hi, - What version of cocoon? - Are you doing any caching yourself? (ie wrote custom components that implement one of the cocoon caching interfaces) Jorg Schultz, Gary - COMM wrote: We are having a problem with Cocoon based web site http://commerce.wi.gov in which are users go to one URL but they

Re: CForms, binding with repeater, new element overwrites old element

2004-07-15 Thread Nicole Hochleiter
> [...] > > So there are three possible sources of trouble: > > 1. fd:field vs. fd:output > > 2. (duplicate) binding for id and implicit direction="both" > > 3. addUser method > > > > Joerg > > > Now I changed the the line in ... for id to direction="save" and it > works fine. ) > > Thanks a l

RE: correct url - wrong page

2004-07-15 Thread Sal Mangano
It may help if you provide the URL they enter and the URL of the wrong page the end up on. > -Original Message- > From: Schultz, Gary - COMM [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 8:50 AM > To: [EMAIL PROTECTED] > Subject: correct url - wrong page > > > We are havin

different content as awaited

2004-07-15 Thread Roberts Pakalns
Hello! We have a website, based on Cocoon. It generates html and pdf content. Sometimes when I update a page, the html links, which point to this page, show a fully different page! Why is that so? What could be the problem? After restarting Tomcat everything works fine. Thanks, Roberts ---

Accessing global config values in sitemap through flow scripts

2004-07-15 Thread kranga
Can someone help?? > How can I access values defined in the section from a > flow script and from jx-templates? > > Thanks > K > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROT

Re: OGC WMS + WFS Geographic Generators

2004-07-15 Thread Jorg Heymans
my plan at the moment was to hack a solution to see the WFS query from the user go through Cocoon and back again as just plain XML to get an idea of how it works. I have had a look at Geotools and I will definitely be using part of that :-) I have written a few generators, i might do a quick pr

Re: OGC WMS + WFS Geographic Generators

2004-07-15 Thread Jorg Heymans
I mean, since Jorg Heymans seems to be willing to contribute, and I'm looking forward to a relatively quiet August (don't know about David Crossley's schedule though), we may collectively design a solution under the Geoid umbrella. I would be willing to chip in here and there yes Luca - are you

Re: OGC WMS + WFS Geographic Generators

2004-07-15 Thread Luca Morandini
Norman Barker wrote: I am open to any design ideas, collaboration efforts for Geoid. I guess we can keep using the mailing list, or are we suppposed to take this to private email? Well, Geoid has (thanks to the folks at CocoonDev) its own mailing list: may you subscribe to it ? Jorg, what about

Re: OGC WMS + WFS Geographic Generators

2004-07-15 Thread Norman Barker
Luca Morandini wrote: Norman Barker wrote: Luca Morandini wrote: I will get Geoid from CVS, and contribute to that (I might need some help making my code suitable for the pedigree of an Apache project though :-) ). Do you mind terribly a bit of co-ordination ? I mean, since Jorg Heymans seems to

Re: OGC WMS + WFS Geographic Generators

2004-07-15 Thread Luca Morandini
Norman Barker wrote: Luca Morandini wrote: I will get Geoid from CVS, and contribute to that (I might need some help making my code suitable for the pedigree of an Apache project though :-) ). Do you mind terribly a bit of co-ordination ? I mean, since Jorg Heymans seems to be willing to contribut

Re: OGC WMS + WFS Geographic Generators

2004-07-15 Thread Norman Barker
Luca Morandini wrote: Jorg Heymans wrote: PS yes extending abstractgenerator seems like the thing to do. But have a look at geoid first, maybe they have added a more GIS like abstraction to the generator. ( a generic GISGenerator base class would indeed be nice) Non need to look: we didn't buil

Re: Form in xsl

2004-07-15 Thread Andrea Massimiliani
>   > I had already written this code, but it was not working! (avevo già scritto questo codice, ma non funzionava) >Anyway, this is not a Cocoon-specific question, this is a XSL-T >question that would be better asked on a XSL-T list like >http://www.mulberrytech.com/xsl/xsl-list/

Re: FOPSerializer

2004-07-15 Thread Tina Gey
> Ok, found out, that the exist library includes an > cocoon.jar file which misses the FOPSerialization > class. Now I try to get an complete cocoon.jar file. > Does anybody know if you can get an precompiled jar > file or if I have to compile cocoon myself? OK, now the next problem occurs. I have

Re: FOPSerializer

2004-07-15 Thread Tina Gey
> Ok, found out, that the exist library includes an > cocoon.jar file which misses the FOPSerialization > class. Now I try to get an complete cocoon.jar file. > Does anybody know if you can get an precompiled jar > file or if I have to compile cocoon myself? OK, now the next problem occurs. I have

woody (cforms) questions?

2004-07-15 Thread Joose Vettenranta
Hi, question 1: i tested samples in 2.1.3. (the woody block) and I noticed, that it didn't work well with javascript turned off (like error messages didn't show up). Is this a failure of example or woody or does this have to be implented by hand? question 2: is woody (cforms) implemented so, th

Re: OGC WMS + WFS Geographic Generators

2004-07-15 Thread Luca Morandini
Jorg Heymans wrote: PS yes extending abstractgenerator seems like the thing to do. But have a look at geoid first, maybe they have added a more GIS like abstraction to the generator. ( a generic GISGenerator base class would indeed be nice) Non need to look: we didn't build a GISGemerator ;) We'v