Authentication - passing user info to non-protected match?

2004-07-13 Thread Derek Hohls
I know its poissible to pass authentication info to a protected match: But how do I pass the same session-context in a normal, unprotected match, this:

Authentication - protecting a pipeline?

2004-07-13 Thread Derek Hohls
I know its possible to protect a document by checking for a valid login... But is it possible to protect an entire pipeline in the same way... and how can one handle redirects in this instance (assumin

Re: namespaces in output html tag

2004-07-13 Thread Derek Hohls
Also check the Cocoon mail archives; the exclude-result-prefixes does not always work and you may need to add a namespace-stripping stylesheet as an extra transform step in your pipeline - this *always* works Derek >>> [EMAIL PROTECTED] 2004/07/13 09:58:24 PM >>> Kirk Storer wrote: > I use

RE: XSLT Transformation and namespaces issue

2004-07-13 Thread Conal Tuohy
Hi Nick I don't know what your problem is, but maybe there's something wrong with your XSLT? The XSLT you posted is not a complete stylesheet - perhaps you could post it? Or at least, the start of it? PS Interesting to see people using Topic Maps with Cocoon!

XSLT Transformation and namespaces issue

2004-07-13 Thread Nick
Hi everybody, I experienced a very strange behavior of XSLT transformations when trying to prepare an XUpdate query. In particular, such a transformation would not keep the name spaces for XUpdate tags. The set up is the following: I have a remove eXist 1.0 db installed. It is perfectly accessi

ActionEvent Handling Query

2004-07-13 Thread Scott Yeadon
Hello, I've been playing with action events, however they do not appear to work as advertised. I have defined an action in my form definition as follows: Load Metadata I also have an action listener as follows (cut-down version): public class LoadMetadataActionLis

Re: AW: unescaping xml in XSP-page

2004-07-13 Thread Philippe Guillard
Sorry for my last email. works fine,the String passed was not well formed XML, that is, there was no root element... Phil On Tue, 2004-07-13 at 18:38, Philippe Guillard wrote: > Hi > > In can't unescape XML in my XSP page, even after looking this mail > response. > for me gives this error >

Re: Printing pages from Cocoon-like sites

2004-07-13 Thread David Crossley
Russell Geraghty wrote: > Sorry, list - should have pressed the 'get mail' button before sending > the last message :-[ , didn't realise that forrest were onto it. > > The offer still stands however. Come on over to Forrest. We can always use more help. http://forrest.apache.org/ -- David Cros

Re: How to access Session/Request object inside Transformer class

2004-07-13 Thread Java Developer
Hi Joerg, Thanks for the link, for the time being I have switched off the caching for the generator. --- Joerg Heinicke <[EMAIL PROTECTED]> wrote: > On 13.07.2004 23:58, Java Developer wrote: > > > Hey Joerg, > > Thanks for your suggestion, I got rid of saving images for > displaying > > in m

RE: SOAP Server?

2004-07-13 Thread Conal Tuohy
Brent Johnson wrote: > I've already got it reading the request and running an XSL > transformation as a test and it works great! The next step though.. > which I'm sure will be a pain.. is trying to figure out how I can run > some arbitrary Java code to attempt to process this request. > > For e

Re: How to access Session/Request object inside Transformer class

2004-07-13 Thread Joerg Heinicke
On 13.07.2004 23:58, Java Developer wrote: Hey Joerg, Thanks for your suggestion, I got rid of saving images for displaying in my webapp. Got another problem with extractor..and after searching in the mailing list i found this link http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=10819320331708

Re: How to access Session/Request object inside Transformer class

2004-07-13 Thread Java Developer
Hey Joerg, Thanks for your suggestion, I got rid of saving images for displaying in my webapp. Got another problem with extractor..and after searching in the mailing list i found this link http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=108193203317087&w=2 I m also facing the same problem wi

Re: SOAP Server?

2004-07-13 Thread Brent Johnson
This has helped greatly! I hadn't really had a need to use the stream generator.. just before reading your email I was thinking to myself "now how am I going to inject this soap request into the pipeline?" I've already got it reading the request and running an XSL transformation as a test and it

Re: SOAP Server?

2004-07-13 Thread Scott Schwab
Hi Brent, I am in a similar situation, I have some simple SOAP methods, which are currently handled in a separate AXIS webapp, that I am moving into Cocoon. So far I have been successful at reading a soap request using the flowing flow Get the SOAP request into the stream, using the stream gene

Re: SOAP Server?

2004-07-13 Thread Brent Johnson
Aha! I think I ran across this link a while back. I'll definitely bookmark it and give it a good read. It just seems to make more sense to use Cocoon to handle the SOAP requests since my application already uses Cocoon for its web interface.. rather than taking up more resources by create an Apa

Re: SOAP Server?

2004-07-13 Thread Tony Collen
Brent Johnson wrote: Has anyone implemented a SOAP server with (or alongside) Cocoon? I was looking into Apache's SOAP implementation and it requires an app server. Since my WebGate app already uses an internal Jetty server.. it looks like I have 2 options: 1) Figure out how to get Servlets work

SOAP Server?

2004-07-13 Thread Brent Johnson
Has anyone implemented a SOAP server with (or alongside) Cocoon? I was looking into Apache's SOAP implementation and it requires an app server. Since my WebGate app already uses an internal Jetty server.. it looks like I have 2 options: 1) Figure out how to get Servlets working alongside Cocoon

Re: updating documents problems - eXist and cocoon

2004-07-13 Thread Bruce Robertson
Quoting "Rui Alberto L. Gonçalves" <[EMAIL PROTECTED]>: > Hi all, > > I've passed two days trying to figure out a solution to my > problem..so, I'm posting this message in the hope that someone > here could come up with an idea... > > I'm using cocoon+eXist and using XQueryGenerator to perform >

Re: namespaces in output html tag

2004-07-13 Thread J.Pietschmann
Kirk Storer wrote: I use various namespace declarations in my xslt, ... As a result, cocoon includes all of the namespaces within the html tag of the output xhtml as follows: ... How can I prevent cocoon from including the namespaces the the output html tag? Use exclude-result-prefixes, see http:

updating documents problems - eXist and cocoon

2004-07-13 Thread Rui Alberto L.
Hi all, I've passed two days trying to figure out a solution to my problem..so, I'm posting this message in the hope that someone here could come up with an idea... I'm using cocoon+eXist and using XQueryGenerator to perform all the required operations in the database. The problem is: I need per

Re: Printing pages from Cocoon-like sites

2004-07-13 Thread Russell Geraghty
Sorry, list - should have pressed the 'get mail' button before sending the last message :-[ , didn't realise that forrest were onto it. The offer still stands however. Russell - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Link Livesites: Cocoon 2.1

2004-07-13 Thread Tony Collen
Schultz, Gary - COMM wrote: The Wisconsin Department of Commerce (http://commerce.wi.gov) has rolled out a new web site powered by Cocoon 2.1.4. We have significantly improved the site's construction, moving away from static HTML on an IIS web server. The home page is still static HTML served from

Re: Printing pages from Cocoon-like sites

2004-07-13 Thread Russell Geraghty
Derek Hohls wrote: I assume that a number of the sites that have a Cocoon "look and feel" are created the same way (- Forrest?). It has always "bugged" me that, when visiting these sites, I cannot just click on the print button on my browser and create a well-laid out page directly on my printe

namespaces in output html tag

2004-07-13 Thread Kirk Storer
I use various namespace declarations in my xslt, as follows: http://www.w3.org/1999/XSL/Transform"; xmlns:sql="http://apache.org/cocoon/SQL/2.0"; xmlns:xhtml="http://www.w3.org/1999/xhtml"; xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"; xmlns:dc="http://purl.org/dc/eleme

Re: Link Livesites: Cocoon 2.1

2004-07-13 Thread Tony Collen
Schultz, Gary - COMM wrote: Cocoon is excellent. Keep up the good work. We have a few more agencies that have shown an interest in Cocoon web publishing. Awesome.. let me know if you find anyone near Minnesota looking to do Cocoon stuff ;) Tony

Link Livesites: Cocoon 2.1

2004-07-13 Thread Schultz, Gary - COMM
The Wisconsin Department of Commerce (http://commerce.wi.gov) has rolled out a new web site powered by Cocoon 2.1.4. We have significantly improved the site's construction, moving away from static HTML on an IIS web server. The home page is still static HTML served from Apache. The remainder of th

Re: Printing pages from Cocoon-like sites

2004-07-13 Thread Bruno Dumon
On Tue, 2004-07-13 at 16:48, Derek Hohls wrote: > "The cocoon site has something similar"? > > Oh, please point me to it. Simply use the print or print preview function of your browser: you should see the left menu is removed, which usually is the biggest annoyance when printing. This is done usi

Pb with uploaded file name

2004-07-13 Thread zze-e-photo FRAS E ext FTRD/DMI/REN
Hi, When I upload a file with a name that contains an accent (bébé.jpg for example), I get in my upload directory a filename with accents replaced with ? char. What do I have to change to get the right filename with accents ? Thanks a lot, Eddy -

Re: Printing pages from Cocoon-like sites

2004-07-13 Thread Derek Hohls
"The cocoon site has something similar"? Oh, please point me to it. Thanks Derek >>> [EMAIL PROTECTED] 2004/07/13 04:42:20 PM >>> On Tue, 2004-07-13 at 11:24, Derek Hohls wrote: > No, I wasn't aware of navigation issues... > can you explain this one further? I meant it as a positive thing: wh

Re: Printing pages from Cocoon-like sites

2004-07-13 Thread Bruno Dumon
On Tue, 2004-07-13 at 11:24, Derek Hohls wrote: > No, I wasn't aware of navigation issues... > can you explain this one further? I meant it as a positive thing: when printing, the left navigation area isn't printed, so the pages are quite printable. > > For example, when I am at this site: > h

nested view not working

2004-07-13 Thread Jorg Heymans
Hi, I have defined a label called "request" on the requestgenerator definition in my sitemap. Here is how the sitemap is constructed . cocoon:/request maps to Now when calling localhost:8080/logo1?cocoon-view=request my view is

Re: AW: unescaping xml in XSP-page

2004-07-13 Thread Philippe Guillard
Hi In can't unescape XML in my XSP page, even after looking this mail response. for me gives this error org.xml.sax.SAXParseException: Content is not allowed in prolog. _xml contains actually 'hello' I use xmlns:util="http://apache.org/xsp/util/2.0"; Somebody any idea ? Regards, Phil On Wed

Servlet JavaIoException

2004-07-13 Thread Andrea Massimiliani
Hi, I write this java servlet: public class HelloXML extends HttpServlet {    public void doGet(HttpServletRequest request,  HttpServletResponse response)    throws IOException, ServletException    {       PrintWriter out = response.getWriter();     out.println(

Re: Printing pages from Cocoon-like sites

2004-07-13 Thread Derek Hohls
No, I wasn't aware of navigation issues... can you explain this one further? For example, when I am at this site: http://www.westciv.com/style_master/academy/hands_on_tutorial/index.html and press the print button on my browser (Opera or IE6), I get a neat print-only version popping out (using

Re: Question about OdmgImplementation

2004-07-13 Thread Johnson
It's solved:> Because the OJB.Properties is changed from db-ojb1.0rc7 it had a new factory ImplementationClass=org.apache.ojb.odmg.ImplementationImpl But cocoon's had not change Just use the OJB.Properties from db-ojb-1.0.0 to replace the cocoon's. tks Armin Waibel <[EMAIL PROTECTED]> Best Regar

Re: Printing pages from Cocoon-like sites

2004-07-13 Thread Bruno Dumon
On Tue, 2004-07-13 at 08:42, Derek Hohls wrote: > I assume that a number of the sites that have > a Cocoon "look and feel" are created the same > way (- Forrest?). It has always "bugged" me > that, when visiting these sites, I cannot just click > on the print button on my browser and create a >

WIKI - action=print ?

2004-07-13 Thread Derek Hohls
Is it possible to configure the Wiki options so that a page title appears before the page text in the printable version? Thanks Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their su

Re: Transforming a JXTemplate BEFORE running it through the jx generator?

2004-07-13 Thread Derek Hohls
Not sure why you need the JXTemplate transformer here? http://cocoon.apache.org/2.1/userdocs/forms/templatetransformer.html I think the original reply pointing out the grammar error should have solved the problem. OTOH, the JXTemplate Generator is very useful and documented in: http://cocoon.apa

Re: Printing pages from Cocoon-like sites

2004-07-13 Thread Derek Hohls
David Excellent news! Wow, you guys are working harder than I thought ;-)) Derek PS For the interested reader... the "older browsers" excuse is one of those myths that has been holding back the web from making substantial progress... there are much bigger issues at stake here - see: http://

Re: Transforming a JXTemplate BEFORE running it through the jx generator?

2004-07-13 Thread Thomas Kjeldahl Nilsson
Thanks. Using the jxtemplateTransformer was, of course, exactly what I needed. I do find it strange, however, that this is mentioned nowhere in the cocoon documentation -> Transformers? regards, ThomasN Upayavira wrote: Ugo Cei wrote: Thomas Kjeldahl Nilsson wrote: Make

Re: Question about OdmgImplementation

2004-07-13 Thread Johnson
Hi! I Found if use db-ojb1.0rc7 had the same problem Best Regards Johnson - Original Message - From: "Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 13, 2004 1:56 PM Subject: Question about OdmgImplementation > Hi! > > I use odmg to connect postgres since coco

Re: Printing pages from Cocoon-like sites

2004-07-13 Thread David Crossley
Derek Hohls wrote: > I assume that a number of the sites that have > a Cocoon "look and feel" are created the same > way (- Forrest?). It has always "bugged" me > that, when visiting these sites, I cannot just click > on the print button on my browser and create a > well-laid out page directly