Re: Weird, weird, weird problem!

2004-09-18 Thread Upayavira
David Crossley wrote: Mark Lundquist wrote: OK... this is weird! My Cocoon app uses ImageReader, and the images weren't displaying. It turns out the call to com.sun.image.codec.jpeg.JPEGImageDecoder.decodeAsBufferedImage() in ImageReader.processStream() crashes the JVM! It crashes hard,

Re: Mime-type on serializers

2004-09-18 Thread Jorg Heymans
Luigi Bai wrote: Hi, I've got a XML database with images of various sorts of mime-types (jpeg, gif, png, etc) stored in text() nodes as Base64. I have a trivial Base64Serializer that reconstitutes them on the way out. However, I think I'm stuck with a mime-type problem. It seems I have to have

Re: Mime-type on serializers

2004-09-18 Thread Sylvain Wallez
Jorg Heymans wrote: Luigi Bai wrote: Hi, I've got a XML database with images of various sorts of mime-types (jpeg, gif, png, etc) stored in text() nodes as Base64. I have a trivial Base64Serializer that reconstitutes them on the way out. However, I think I'm stuck with a mime-type problem. It

Re: Mime-type on serializers

2004-09-18 Thread Jorg Heymans
Sylvain, why didn't you tell me this 10 months ago when i asked this very same question ;-) However if you really only in the serializer can detect what you're streaming back then this is no good either. Thanks for the insight! Jorg Sylvain Wallez wrote: Jorg Heymans wrote: Luigi Bai wrote:

xmldb traansform

2004-09-18 Thread Andres Taborda
Hi list, I have the followg description of sitemap map:match pattern=estructura4 !-- Validamos los datos -- map:act type=session-validator map:parameter name=descriptor value=context://misx/descriptors/params.xml/ map:parameter name=validate value=usuario,clave/ !-- generamos el contenido --

[quite OT] XML editor

2004-09-18 Thread fabrizio picca
you, cocoon users, can suggest me a good free xml editor ? thank you and sorry for the off-topic question, -- copyright - fabpicca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [quite OT] XML editor

2004-09-18 Thread javascript
fabrizio picca wrote: you, cocoon users, can suggest me a good free xml editor ? thank you and sorry for the off-topic question, Cooktop http://xmlcooktop.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: (SOLVED)Re: Portal: Desperately seeking autehtication/ID from Java code

2004-09-18 Thread Dirk-Willem van Gulik
On Fri, 17 Sep 2004, Steinar Rune Eriksen wrote: OK, I solved it. I also had to wrap the pipeline into a auth-protect block, as well as using the following to get the component manager public String getUserId() throws Exception{

Re: (SOLVED)Re: Portal: Desperately seeking autehtication/ID from Java code

2004-09-18 Thread Jorg Heymans
http://wiki.apache.org/cocoon/AuthFWWithFlow Dirk-Willem van Gulik wrote: On Fri, 17 Sep 2004, Steinar Rune Eriksen wrote: OK, I solved it. I also had to wrap the pipeline into a auth-protect block, as well as using the following to get the component manager public String getUserId()

Re: Mime-type on serializers

2004-09-18 Thread Sylvain Wallez
Jorg Heymans wrote: Sylvain, why didn't you tell me this 10 months ago when i asked this very same question ;-) Well, I don't always follow cocoon-users and certainly missed your question. Sorry for that :-/ However if you really only in the serializer can detect what you're streaming back

Re: Mime-type on serializers

2004-09-18 Thread Jorg Heymans
Well, I don't always follow cocoon-users and certainly missed your question. Sorry for that :-/ No problem at all :-) But now that I have your attention (hehe), could you comment on http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109518153119296w=2 perhaps? It seems like a standard feature of

RE: [quite OT] XML editor

2004-09-18 Thread Hugo Burm
1) The Home Edition of XMLSpy is free. www.altova.com. Windows-only. 2) I modified Jaxe (http://sourceforge.net/projects/jaxe/) into a java webstart application so you can use it as a downloadable client side editor in combination with Cocoon (see the Wiki page). Hugo -Original Message-

Re: [quite OT] XML editor

2004-09-18 Thread fabrizio picca
thank you very much! On Sat, 18 Sep 2004 14:18:13 +0200, Hugo Burm [EMAIL PROTECTED] wrote: 1) The Home Edition of XMLSpy is free. www.altova.com. Windows-only. 2) I modified Jaxe (http://sourceforge.net/projects/jaxe/) into a java webstart application so you can use it as a downloadable

duplicate attribute problem

2004-09-18 Thread fabrizio picca
after this pipeline : map:generate src=docs/do-login.xml/ map:transform src=stylesheets/do-login.xsl map:parameter name=use-request-parameters value=true/

Re: duplicate attribute problem

2004-09-18 Thread fabrizio picca
this is the xsl in charge of doing the query ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:param name=name/ xsl:param name=pwd/ xsl:template match=authentication user xmlns:sql=http://apache.org/cocoon/SQL/2.0; execute-query

Re: Mime-type on serializers

2004-09-18 Thread Luigi Bai
On Sat, 18 Sep 2004, Sylvain Wallez wrote: Jorg Heymans wrote: However if you really only in the serializer can detect what you're streaming back then this is no good either. That's right, for the simple reason that the content-type header must be send to the client before the beginning of the

Re: Mime-type on serializers

2004-09-18 Thread Jorg Heymans
snip/ From what I understand, your target bean that is bound to the form has a style property of type Object[], right? well first it was String[] but yes, it's Object[] now. Since a multivaluefield has a value of type Object[] also, why don't you simply use fb:value? did that, it works, i'm

Binding a multivaluefield on a bean property (was Re: Mime-type on serializers)

2004-09-18 Thread Sylvain Wallez
Jorg Heymans wrote: snip/ From what I understand, your target bean that is bound to the form has a style property of type Object[], right? well first it was String[] but yes, it's Object[] now. I had a quick look at the code: multivalue field effectively builds its value as an Object[], i.e.

Re: Mime-type on serializers

2004-09-18 Thread Sylvain Wallez
Luigi Bai wrote: On Sat, 18 Sep 2004, Sylvain Wallez wrote: Jorg Heymans wrote: However if you really only in the serializer can detect what you're streaming back then this is no good either. That's right, for the simple reason that the content-type header must be send to the client before the

desperate help on authentication framework and mysql connection

2004-09-18 Thread fabrizio picca
can someone provide me some exemples of authentication Framework with Mysql db connection? please , i'm desperate in trying to solve my problem... -- copyright - fabpicca - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: desperate help on authentication framework and mysql connection

2004-09-18 Thread g[R]eK
. Hi fabrizio! . Saturday, September 18, 2004, 6:22:43 PM, you wrote: fp can someone provide me some exemples of authentication Framework with fp Mysql db connection? please , i'm desperate in trying to solve my fp problem... sitemap: handler

Re: desperate help on authentication framework and mysql connection

2004-09-18 Thread fabrizio picca
could you please post also the authentication pipeline? thanks a lot. On Sat, 18 Sep 2004 18:43:53 +0200, g[R]eK [EMAIL PROTECTED] wrote: . Hi fabrizio! . Saturday, September 18, 2004, 6:22:43 PM, you wrote: fp can someone provide me some exemples of authentication Framework with fp

Re[2]: desperate help on authentication framework and mysql connection

2004-09-18 Thread g[R]eK
. Hi fabrizio! . Saturday, September 18, 2004, 7:05:06 PM, you wrote: fp could you please post also the authentication pipeline? I guess you asked for protected pipeline? map:match pattern=*/**.html map:act type=auth-protect

Re: Re[2]: desperate help on authentication framework and mysql connection

2004-09-18 Thread fabrizio picca
ehm no, sorry i mean the authentication resource thant one that start like this: map:match pattern=authenticate On Sat, 18 Sep 2004 19:10:44 +0200, g[R]eK [EMAIL PROTECTED] wrote: . Hi fabrizio! . Saturday, September 18, 2004, 7:05:06 PM, you wrote: fp could you please post also the

Re[4]: desperate help on authentication framework and mysql connection

2004-09-18 Thread g[R]eK
. Hi fabrizio! . Saturday, September 18, 2004, 7:12:52 PM, you wrote: fp ehm no, sorry i mean the authentication resource fp thant one that start like this: fp map:match pattern=authenticate Oh, I sent it already :-) Look for it after handler configuration... -- Best regards . g[R]eK

Re: Re[4]: desperate help on authentication framework and mysql connection

2004-09-18 Thread fabrizio picca
ok sorry, i didn't saw it...thanks a lot On Sat, 18 Sep 2004 19:18:30 +0200, g[R]eK [EMAIL PROTECTED] wrote: . Hi fabrizio! . Saturday, September 18, 2004, 7:12:52 PM, you wrote: fp ehm no, sorry i mean the authentication resource fp thant one that start like this: fp map:match

Re: Re[4]: desperate help on authentication framework and mysql connection

2004-09-18 Thread fabrizio picca
i've tried modifying to get something like the example you gave me, but i have still problems with parameters. the statement sql:substitute-value sql:name=username/ is susbstituted with an empty string .the same for password. On Sat, 18 Sep 2004 19:19:26 +0200, fabrizio picca [EMAIL

Re: [quite OT] XML editor

2004-09-18 Thread Antonio Gallardo
fabrizio picca dijo: you, cocoon users, can suggest me a good free xml editor ? I use jedit - http://www.jedit.org/ jEdit is not good only for XML. It has bult-in syntax highlighting support for more than 80 languages including javascript, java, XSLT, and others. Best Regards, Antonio

how does one use JDO to run ALTER TABLE sql command?

2004-09-18 Thread Paul Joseph
Hi, My colleague and I are trying to use jdo to do an alter table command. There don't seem to be any examples showing how this is done and we are having a bit of a tough time. The logs show that the right statement is being executed. However, the following error is received:

Re: how does one use JDO to run ALTER TABLE sql command?

2004-09-18 Thread Tony Collen
Paul Joseph wrote: Hi, My colleague and I are trying to use jdo to do an alter table command. There don't seem to be any examples showing how this is done and we are having a bit of a tough time. This isn't the list for it. Best to ask on the JDO lists. Regards, Tony

Re: [quite OT] XML editor

2004-09-18 Thread David Crossley
Antonio Gallardo wrote: fabrizio picca dijo: you, cocoon users, can suggest me a good free xml editor ? I use jedit - http://www.jedit.org/ jEdit is not good only for XML. It has bult-in syntax highlighting support for more than 80 languages including javascript, java, XSLT, and others.