IllegalStateException in EncodingSerializer

2004-09-26 Thread Andreas Hartmann
Hi Cocoon devs, I get an IllegalStateException in the console when using the components.serializers.XHTMLSerializer: java.lang.IllegalStateException at org.apache.cocoon.components.serializers.EncodingSerializer.recycle(EncodingSerializer.java:123) at

Re: IllegalStateException in EncodingSerializer

2004-09-26 Thread Andreas Hartmann
Andreas Hartmann wrote: Hi Cocoon devs, I get an IllegalStateException in the console when using the components.serializers.XHTMLSerializer: java.lang.IllegalStateException at org.apache.cocoon.components.serializers.EncodingSerializer.recycle(EncodingSerializer.java:123) at

Re: Block deployer - first draft in SVN

2004-09-26 Thread Reinhard Poetz
Pier Fumagalli wrote: I don't understand the Block interface: public interface Block { public InputStream getInputStream() throws IOException; public RemoteBlock getRemoteBlock(); } Why does it expose an InputStream??? Hmm, I wrote this a long time ago and haven't had reached the point

generating view content basing on CForms widget values

2004-09-26 Thread Leszek Gawron
Hi, I came up with a use case that I have no way of doing with CForms. I'd like to make some adjustments to the view according to widget values. Examples: - render date widgets red when date is in the past - render the table row containing messages for user bold when message has not been read

Re: generating view content basing on CForms widget values

2004-09-26 Thread Michal Stochmialek
On Sun, Sep 26, 2004 at 12:55:52PM +0200, Leszek Gawron wrote: Hi, I came up with a use case that I have no way of doing with CForms. I'd like to make some adjustments to the view according to widget values. Examples: - render date widgets red when date is in the past - render the table

Re: template.jx - up to date?

2004-09-26 Thread Sylvain Wallez
Michal Stochmialek wrote: Hello, Could you tell me what's the status of template.jx? Can I use it with v1 Form.js? v2? For a first look (and first tests) it can be used with v1: e.i. in macro form-template is: jx:set var=context_widget_ value=#{.}/ but should be: jx:set var=context_widget_

Re: template.jx - up to date?

2004-09-26 Thread Michal Stochmialek
On Sun, Sep 26, 2004 at 02:06:41PM +0200, Sylvain Wallez wrote: template.jx in its current state is designed to work speciffically with v2/Forms.js, as the relies on the fact that v2/Form.js publishes the form itself as the view's context object. I personally don't like this behaviour, as

Re: template.jx - up to date?

2004-09-26 Thread Sylvain Wallez
Michal Stochmialek wrote: On Sun, Sep 26, 2004 at 02:06:41PM +0200, Sylvain Wallez wrote: template.jx in its current state is designed to work speciffically with v2/Forms.js, as the relies on the fact that v2/Form.js publishes the form itself as the view's context object. I personally don't

Re: generating view content basing on CForms widget values

2004-09-26 Thread Sylvain Wallez
Michal Stochmialek wrote: On Sun, Sep 26, 2004 at 12:55:52PM +0200, Leszek Gawron wrote: Hi, I came up with a use case that I have no way of doing with CForms. I'd like to make some adjustments to the view according to widget values. Examples: - render date widgets red when date is in the past

Bug report for Cocoon 2 [2004/09/26]

2004-09-26 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

Re: [Fwd: Help I can't get xpatch to work :(]

2004-09-26 Thread JD Daniels
oddly enough, digging through the wiki and copy/pasting samples got it to work (although I do not understand why) I changed my buildfile to this: target name=patch echoPatching ${cocoon.patch.target} .../echo xpatch file=${cocoon.patch.target} srcdir=${project.patch.dir}/conf

Re: template.jx - up to date?

2004-09-26 Thread Leszek Gawron
Sylvain Wallez wrote: template.jx in its current state is designed to work speciffically with v2/Forms.js, as the relies on the fact that v2/Form.js publishes the form itself as the view's context object. I personally don't like this behaviour, as it prevents passing other data than the form

Re: template.jx - up to date?

2004-09-26 Thread Sylvain Wallez
Leszek Gawron wrote: Sylvain Wallez wrote: template.jx in its current state is designed to work speciffically with v2/Forms.js, as the relies on the fact that v2/Form.js publishes the form itself as the view's context object. I personally don't like this behaviour, as it prevents passing other

[ANN] www.nouvo.ch runs on Cocoon!

2004-09-26 Thread Bertrand Delacretaz
Hi Cocooners, You've not heard much from me lately because I was sooo busy, but we made it: since Saturday http://www.nouvo.ch/, as well as the mobile WAP version at http://wap.nouvo.ch, runs on Cocoon (warning: it's all in French ;-). The site was ready at 5PM Saturday, in time for the

DO NOT REPLY [Bug 24741] - util:get-sitemap-parameter/ returns nothing when used in a generator nested within an action

2004-09-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=24741. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 24741] - XSP: util:get-sitemap-parameter/ returns nothing when used in a generator nested within an action

2004-09-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=24741. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23939] - document('relative-URI') seems to resolve wrongly depending on request-URI (SourceResolver?)

2004-09-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=23939. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 30372] - The daylight time cause error when timezone is CST

2004-09-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30372. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.