Re: NPE in JXTemplate

2005-05-10 Thread Leszek Gawron
Reinhard Poetz wrote: Leszek Gawron wrote: fixed. thanks for reporting. thanks for fixing it! in the meantime I found another problem :-( in http://localhost:/samples/blocks/forms/form2simpleXML.flow when I want to show the form as XML: java.lang.NullPointerException

Re: NPE in JXTemplate

2005-05-10 Thread Leszek Gawron
Leszek Gawron wrote: Reinhard Poetz wrote: Leszek Gawron wrote: fixed. thanks for reporting. thanks for fixing it! in the meantime I found another problem :-( in http://localhost:/samples/blocks/forms/form2simpleXML.flow when I want to show the form as XML: java.lang.NullPointerException

Re: NPE in JXTemplate

2005-05-10 Thread Leszek Gawron
Leszek Gawron wrote: I am not able to diagnose it properly. Sylvain, could you help? removing RedundantNamespacesFilter from: public void performGeneration(Event startEvent, Event endEvent) throws SAXException { XMLConsumer consumer = new AttributeAwareXMLConsumerImpl( new

Re: Continuation invalidation strategy

2005-05-10 Thread Leszek Gawron
Vadim Gritsenko wrote: Leszek Gawron wrote: Vadim Gritsenko wrote: If you want to tinker with ContinuationsManagerImpl, take a look at: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=111323704203839 Strange I missed that post .. Unsynchronized access to WebContinuationsHolder from

Re: Continuation invalidation strategy

2005-05-10 Thread Leszek Gawron
to be checked by interpreter or we remove the envelope object and keep only the parent axis of the actual continuations. summing up: we have to keep whole continuation tree, right? -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: svn commit: r169469 - /cocoon/trunk/status.xml

2005-05-10 Thread Leszek Gawron
=${macroName}/gt;/code Vadim oops.. sorry for that. fixing ASAP -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812

Re: svn commit: r169169 - in /cocoon/blocks/unsupported/template/trunk: java/org/apache/cocoon/template/jxtg/JXTemplateGenerator

2005-05-10 Thread Leszek Gawron
accept all objects. See also [1]. Vadim [1] http://cocoon.apache.org/2.1/installing/updating.html#Store Thanks for clarifying. Nice to know I'm not that crazy after all :) -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox

Re: Continuation invalidation strategy

2005-05-10 Thread Leszek Gawron
Peter Hunsberger wrote: On 5/10/05, Leszek Gawron [EMAIL PROTECTED] wrote: Vadim Gritsenko wrote: Leszek Gawron wrote: Vadim Gritsenko wrote: If you want to tinker with ContinuationsManagerImpl, take a look at: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=111323704203839 Strange I missed

Re: svn commit: r169477 - /cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/system/System.java

2005-05-10 Thread Leszek Gawron
@@ /* - * Copyright 1999-2004 The Apache Software Foundation. + * Copyright 1999-2005 The Apache Software Foundation. Do we replace that manually? I just checked - there's an awful lot of files that have 2004 date. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: Continuation invalidation strategy

2005-05-10 Thread Leszek Gawron
Peter Hunsberger wrote: On 5/10/05, Leszek Gawron [EMAIL PROTECTED] wrote: Peter Hunsberger wrote: On 5/10/05, Leszek Gawron [EMAIL PROTECTED] wrote: Vadim Gritsenko wrote: Leszek Gawron wrote: Vadim Gritsenko wrote: If you want to tinker with ContinuationsManagerImpl, take a look at: http

#{$cocoon/request/request/protocol}

2005-05-10 Thread Leszek Gawron
/protocol} and it works. What should I do to make it work? Do we go with FOM_RequestJXPathBeanInfo and provide our own introspector? What do we really need FOM_Request for if the API has been unrestricted? -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: #{$cocoon/request/request/protocol}

2005-05-10 Thread Leszek Gawron
Vadim Gritsenko wrote: Leszek Gawron wrote: I know now why #{$cocoon/request/protocol} does not work for JXPath in JXTG. [assuming that we are talking here about Cocoon 2.2 template block] Thing is FOM_Request is not JXPath friendly. JXPath is querying for all FOM_Request properties and finds

Re: #{$cocoon/request/request/protocol}

2005-05-10 Thread Leszek Gawron
Leszek Gawron wrote: Vadim Gritsenko wrote: Leszek Gawron wrote: I know now why #{$cocoon/request/protocol} does not work for JXPath in JXTG. [assuming that we are talking here about Cocoon 2.2 template block] Thing is FOM_Request is not JXPath friendly. JXPath is querying for all FOM_Request

Re: svn commit: r169169 - in /cocoon/blocks/unsupported/template/trunk: java/org/apache/cocoon/template/jxtg/JXTemplateGenerator

2005-05-09 Thread Leszek Gawron
implementation. I think I have to switch to transient store because at least for now jxtg template is not serializable. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: svn commit: r169169 - in /cocoon/blocks/unsupported/template/trunk: java/org/apache/cocoon/template/jxtg/JXTemplateGenerator

2005-05-09 Thread Leszek Gawron
(DefaultScriptManager.java:110) at org.apache.cocoon.template.jxtg.script.DefaultScriptManager.resolveTemplate(DefaultScriptManager.java:61) at org.apache.cocoon.template.jxtg.JXTemplateGenerator.setup(JXTemplateGenerator.java:102) fixed. thanks for reporting. -- Leszek Gawron

Re: Infinite loop in new JXTG with CForms samples

2005-05-06 Thread Leszek Gawron
at it? no problem -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax: +48 (61) 853 29

Re: Infinite loop in new JXTG with CForms samples

2005-05-06 Thread Leszek Gawron
Leszek Gawron wrote: Sylvain Wallez wrote: Hi all, The new JXTG based on the template block breaks the form samples that used it, going into what seem an infinite loop. Don't have much time now to dig myself into the code, and reinstalled locally the old version, but can one of the knowledged

Re: Infinite loop in new JXTG with CForms samples

2005-05-06 Thread Leszek Gawron
Sylvain Wallez wrote: Leszek Gawron wrote: Leszek Gawron wrote: Sylvain Wallez wrote: Hi all, The new JXTG based on the template block breaks the form samples that used it, going into what seem an infinite loop. Don't have much time now to dig myself into the code, and reinstalled locally

Re: Nobody replied in users groups!

2005-05-06 Thread Leszek Gawron
am not into WSPG but it seems that your remote host does not send Content-Length header. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http

Re: Infinite loop in new JXTG with CForms samples

2005-05-06 Thread Leszek Gawron
Leszek Gawron wrote: Sylvain Wallez wrote: Leszek Gawron wrote: Leszek Gawron wrote: Sylvain Wallez wrote: Hi all, The new JXTG based on the template block breaks the form samples that used it, going into what seem an infinite loop. Don't have much time now to dig myself into the code

Re: Infinite loop in new JXTG with CForms samples

2005-05-06 Thread Leszek Gawron
Leszek Gawron wrote: Leszek Gawron wrote: Sylvain Wallez wrote: Leszek Gawron wrote: Leszek Gawron wrote: Sylvain Wallez wrote: Hi all, The new JXTG based on the template block breaks the form samples that used it, going into what seem an infinite loop. Don't have much time now to dig myself

Re: Flow Input Modules and sitemap global variable ??

2005-05-06 Thread Leszek Gawron
idea. What are you trying to achieve? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812

Re: CForms: Ajax goodies

2005-05-06 Thread Leszek Gawron
exception: Permission denied to get property HTMLDivElement.parentNode. I am not aware of any security constraints configured in my browser (I have all constraints disabled). -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: [VOTE] Removing author tags

2005-05-03 Thread Leszek Gawron
) -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

Re: Continuation invalidation strategy

2005-05-02 Thread Leszek Gawron
the implementation. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax: +48 (61) 853

Re: Continuation invalidation strategy

2005-05-02 Thread Leszek Gawron
Reinhard Poetz wrote: Leszek Gawron wrote: Reinhard Poetz wrote: Today I've had a look at continuation invalidation. I found following code fragment in the ContinuationManagerImpl: // REVISIT: This places only the leaf nodes in the expirations Sorted Set. // do we really want to do

Re: Continuation invalidation strategy

2005-05-02 Thread Leszek Gawron
Vadim Gritsenko wrote: Leszek Gawron wrote: Reinhard Poetz wrote: If I'm right I think of making the ContinuationsManagerImpl inheritable (currently some protected methods and constructors prevent this) so that the expiration strategy can be overriden. comments? objections? No problem here

Re: Continuation invalidation strategy

2005-05-02 Thread Leszek Gawron
Sylvain Wallez wrote: Reinhard Poetz wrote: Leszek Gawron wrote: Reinhard Poetz wrote: Today I've had a look at continuation invalidation. I found following code fragment in the ContinuationManagerImpl: // REVISIT: This places only the leaf nodes in the expirations Sorted Set. // do we really

Re: [PROPOSAL] Download of jars with Maven ant tasks

2005-04-26 Thread Leszek Gawron
are a problem - this license stuff sucks so badly *g* In order to create a mock you have to copy a specific class interface that someone designed. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61

error.log

2005-04-26 Thread Leszek Gawron
creating a single cocoon.log is a good idea. Still it was very good to have a separate error.log. It is really annoying to search the file for ERROR string. Is anybody against reintroducing error.log? -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: svn commit: r164581 - /cocoon/trunk/src/webapp/WEB-INF/logkit.xconf

2005-04-26 Thread Leszek Gawron
say rootThrowable instead of throwable ? I think its ok. The default is rootThrowable. It is verbose but if you want something even more verbose use %{throwable} which will print full stacktrace chain. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: svn commit: r164568 - /cocoon/trunk/src/webapp/WEB-INF/logkit.xconf

2005-04-25 Thread Leszek Gawron
%{throwable}/format-- rootThrowable probably is better; and can you please update documentation (comments above this line) as well? ok -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: svn commit: r164568 - /cocoon/trunk/src/webapp/WEB-INF/logkit.xconf

2005-04-25 Thread Leszek Gawron
%{throwable}/format-- rootThrowable probably is better; and can you please update documentation (comments above this line) as well? what is the difference between rootThrowable and throwable? Does the first one support chained exceptions or is it something else? -- Leszek Gawron

Context.javaToJS nagging

2005-04-25 Thread Leszek Gawron
or Scriptable instance. Please check your code for missig Context.javaToJS() call. Shouldn't we wrap every component in cocoon.getComponent()? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: [PROPOSAL] Download of jars with Maven ant tasks

2005-04-25 Thread Leszek Gawron
-tasks.html Do I get it right that I do not need maven installed to use it? Just a single JAR file? That would be lovely. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: [PROPOSAL] Download of jars with Maven ant tasks

2005-04-25 Thread Leszek Gawron
downloaded and installed archives to./quote So in order to be totally safe we could introduce cocoon specific jar repository. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: [vote result] Switching to refactored JXTG

2005-04-23 Thread Leszek Gawron
, it will be part of block.xml IIUC. * We start with the split into JXTG and CTemplate, as soon as there is a need for it. That is when we need some back incompatible change or when we have introduced enough new stuff. /Daniel -- Leszek Gawron [EMAIL PROTECTED

Re: svn commit: r164418 - in /cocoon/trunk: blocks.properties gump.xml src/java/org/apache/cocoon/environment/TemplateObjectModelHelper.java src/java/org/apache/cocoon/generation/JXTemplateGenerator.java src/java/org/apache/cocoon/transformation/JXTemplateTransformer.java src/webapp/sitemap.xmap

2005-04-23 Thread Leszek Gawron
althouth selected). -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax: +48 (61) 853

jx:attribute

2005-04-19 Thread Leszek Gawron
. -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

Re: JXTG further development

2005-04-19 Thread Leszek Gawron
Leszek Gawron wrote: - make jx:import evaluated while parsing and not at runtime. After reviewing the code I think there is no need for that. This is the current procedure: Parsing: 1. Store expression that will resolve to script uri at runtime Execution: 2. Resolve script uri value 3. Get script

Re: [vote] Switching to refactored JXTG

2005-04-16 Thread Leszek Gawron
yet. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65

Re: [lepido] squatting Cocoon's wiki

2005-04-16 Thread Leszek Gawron
for this on the Cocoon wiki. That will hopefully allow more Cocoon users to provide feedback on what they expect from a Cocoon IDE. So, what do you think? +1 of course -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox

Re: StreamGenerator loses form character encoding information

2005-04-16 Thread Leszek Gawron
likkyy/surname -url-encoded utf-8 message the server receives: %3Csurname%3E%C3%96%C3%B6li%C3%A4+l%C3%A4ikkyy%3C%2Fsurname%3E -what we get: surnameli likkyy/surname Regards Juho please reopen the bug with the information you provided here. -- Leszek Gawron

Re: Transparent and automatic AJAX support for CForms

2005-04-16 Thread Leszek Gawron
nothing. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65

Re: Transparent and automatic AJAX support for CForms

2005-04-16 Thread Leszek Gawron
Sylvain Wallez wrote: Leszek Gawron wrote: Ben Pope wrote: Sylvain Wallez wrote: Hi all, I've been thinking for a few weeks to add AJAX support to CForms. Ajax is the current buzzword in the blogosphere since Google maps [1] started and the folks at Adaptivepath found this name

Re: [vote] Switching to refactored JXTG

2005-04-16 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: Gregor J. Rothfuss wrote: Daniel Fagerstrom wrote: Please cast your votes: [X ] Let's switch to the refactored JXTG in trunk! [ ] It can wait. [ X] Mark the Template block core. [ ] I suggest ... i also just noticed that the old JXTemplateGenerator

Re: [vote] Switching to refactored JXTG

2005-04-16 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: snip/ We have discussed configurable and unified environment (object model) handling: http://marc.theaimsgroup.com/?t=11096309164r=1w=2, which would mean that you can decide what you want JXTG to depend on, e.g

Re: SVN HEAD: logkit.xconf error

2005-04-15 Thread Leszek Gawron
of logkit.xconf, did a clean build and the error was gone. Reading the commit comments, could it be that the file was intended for trunk and accidentally ended up in HEAD? Trunk works for me. Did you do a full update? Along with new logkit.xconf you should've received new build.properties. -- Leszek Gawron

docs@cocoon down?

2005-04-15 Thread Leszek Gawron
I did not get any e-mails since Author: vgritsenko Date: Thu Apr 7 09:36:32 2005 New Revision: 160419 URL: http://svn.apache.org/viewcvs?view=revrev=160419 -- Leszek Gawron MobileBox [EMAIL PROTECTED] http

Re: [RT] Sitemap Listeners

2005-04-15 Thread Leszek Gawron
interface LeaveSitemapEventListener extends SitemapListener { void leftSitemap(LeaveSitemapEvent event); } is left sitemap fired after the request has been processed? I mean can I implement open session in view pattern using your listener? -- Leszek Gawron

Re: [RT] Sitemap Listeners

2005-04-15 Thread Leszek Gawron
to close the session in the listener (and not open), right? exactly -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501

Re: svn commit: r159493 - cocoon/trunk/src/webapp/WEB-INF/logkit.xconf

2005-04-14 Thread Leszek Gawron
level? -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

Re: svn commit: r159493 - cocoon/trunk/src/webapp/WEB-INF/logkit.xconf

2005-04-14 Thread Leszek Gawron
Carsten Ziegeler wrote: Vadim Gritsenko wrote: Leszek Gawron wrote: [EMAIL PROTECTED] wrote: - appendtrue/append + appendfalse/append wouldn't it be better to append data by default? No. For production config, you want append=true, and rotation (type=unique). For development config

Re: svn commit: r159493 - cocoon/trunk/src/webapp/WEB-INF/logkit.xconf

2005-04-14 Thread Leszek Gawron
Carsten Ziegeler wrote: Leszek Gawron wrote: With 2.2 we can make it configurable using properties; so you can overwrite the value on startup. Carsten how ? :) With Cocoon 2.2 you can provide a cocoon-settings.properties file in the context directory of Cocoon and specify any property

Re: svn commit: r161263 - in cocoon/trunk/src/java/org/apache/cocoon: generation/JXTemplateGenerator.java xml/NamespaceSupport.java xml/RedundantNamespacesFilter.java

2005-04-14 Thread Leszek Gawron
myself for JXTG events but I see this one is much more complicated. I'll revert my local changes and apply this code. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: svn commit: r161263 - in cocoon/trunk/src/java/org/apache/cocoon: generation/JXTemplateGenerator.java xml/NamespaceSupport.java xml/RedundantNamespacesFilter.java

2005-04-14 Thread Leszek Gawron
;) http://svn.apache.org/viewcvs.cgi/cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/JXTemplateGenerator.java?view=markup /Daniel -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z

Re: svn commit: r161175 - cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/log/CocoonLogFormatter.java

2005-04-13 Thread Leszek Gawron
a little bit funny :). It's a stupid hack I know. -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

Re: svn commit: r161175 - cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/log/CocoonLogFormatter.java

2005-04-13 Thread Leszek Gawron
Vadim Gritsenko wrote: Leszek Gawron wrote: Vadim Gritsenko wrote: [EMAIL PROTECTED] wrote: Extend CocoonLogFormatter with the ability to log request query string prepended with '?' character. Nice! I don't get one thing though: why you are adding '?' in the code when you can easily have

JXTG further development

2005-04-13 Thread Leszek Gawron
it's important for me to have your opinion now. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812

Re: xsp depending on session-fw?

2005-04-13 Thread Leszek Gawron
on the session-fw ...or did I miss something? is there a logicsheet for session-fw ? -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

Re: [vote] Switching to refactored JXTG

2005-04-13 Thread Leszek Gawron
it back compatible [ ] Add new things to JXTG and allow back in compatibilities -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

[jxtg] imports and namespaces

2005-04-12 Thread Leszek Gawron
It seems there is a bug that affects jxtg scripts that use jx:import -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

Re: [jxtg] imports and namespaces

2005-04-12 Thread Leszek Gawron
Leszek Gawron wrote: It seems there is a bug that affects jxtg scripts that use jx:import sh** I thought I cancelled that. Should go to drafts. Never mind. You can reproduce the bug like this: ?xml version=1.0 encoding=UTF-8? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; map:views

Re: Spring Flow has continuations

2005-04-11 Thread Leszek Gawron
Don Brown wrote: The continuation support is only in Java and then in the flow declaration, not Java action-type code. Geert has a good writeup - http://rifers.org/blogs/gbevin Don On Apr 11, 2005 11:21 AM, Leszek Gawron [EMAIL PROTECTED] wrote: Tony Collen wrote: Looks like Spring Web Flow has

Re: [Ann/RFC] Virtual Sitemap Components

2005-04-11 Thread Leszek Gawron
-in-svg.xsl/ map:transform type=i18n/ map:serialize type=svg2jpg/ /map:match I might be stupid but how are your examples parametrized? Should be there {1} somewhere? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp

Re: [VOTE] Alfred Nathaniel as committer

2005-04-09 Thread Leszek Gawron
Bertrand Delacretaz wrote: Dear community, +1 -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

JIRA

2005-04-01 Thread Leszek Gawron
Have I missed the discussion about possible moving to JIRA? If not is there anything in favour/against it? I would personally love to see cocoon use JIRA. Bugzilla does not look user friendly to me. -- Leszek Gawron MobileBox [EMAIL PROTECTED

Re: JX generates weird NameSpace???

2005-03-27 Thread Leszek Gawron
as it can be? -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

Re: svn commit: r156143 - cocoon/trunk/src/java/org/apache/cocoon/generation/JXTemplateGenerator.java cocoon/trunk/status.xml

2005-03-26 Thread Leszek Gawron
Vadim Gritsenko wrote: Leszek Gawron wrote: Sorry for such a long delay. I had been busy lately. Vadim Gritsenko wrote: Also, private static cache map should go in favor of the store component. Otherwise, larger site might simply run out of memory 'cause JXTemplateGenerator ate all of it. I'm

Re: JX generates weird NameSpace???

2005-03-25 Thread Leszek Gawron
done this ? I haven't really touched any core generators (no need :-) but it's never to late Thanks for the help It shouldn't be that difficult to fix. Should we track all namespace redefinitions? -- Leszek Gawron MobileBox [EMAIL PROTECTED

Re: svn commit: r156143 - cocoon/trunk/src/java/org/apache/cocoon/generation/JXTemplateGenerator.java cocoon/trunk/status.xml

2005-03-25 Thread Leszek Gawron
should I take into consideration when building a key for storing a compiled script? I know there are different stores in cocoon (transient/persistent). Which implementation can we use? -- Leszek Gawron MobileBox [EMAIL PROTECTED

Re: JX generates weird NameSpace???

2005-03-25 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: oceatoon wrote: snip/ Is this a difficult hack or have you done this ? I haven't really touched any core generators (no need :-) but it's never to late Thanks for the help It shouldn't be that difficult to fix. Should we track all namespace

Re: svn commit: r156143 - cocoon/trunk/src/java/org/apache/cocoon/generation/JXTemplateGenerator.java cocoon/trunk/status.xml

2005-03-09 Thread Leszek Gawron
)script reparsed JXTG.setup() finish() This is not a race condition between two JXTG.setup() but with JXTG.generate() in first thread and JXTG.setup() in second one. -- Leszek Gawron [EMAIL PROTECTED

Re: [Poll] JXTG vs. CForms

2005-02-27 Thread Leszek Gawron
this syntax drill down? Is it like JXPath in that regard? Ralph -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812

Re: [Poll] JXTG vs. CForms

2005-02-26 Thread Leszek Gawron
that new syntax sucks is the least of the problems. -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812

Re: [RT] CTemplate

2005-02-26 Thread Leszek Gawron
that CTemplate should be an ATL. But I prefer having a separate ATL generator. I need more experience from writing ATL templates before I'm convinced that it is the way to go for all templating needs. Cannot comment anything useful :) -- Leszek Gawron

Re: JXTG macro calling

2005-02-26 Thread Leszek Gawron
the parameters. A matter of taste. -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

Re: [Poll] JXTG vs. CForms

2005-02-26 Thread Leszek Gawron
Vadim Gritsenko wrote: Leszek Gawron wrote: snip/ Still there is one thing in trunk I do not like which breaks jxtg compatibility. It is the removal of wrappers around request, session etc. Because of that all users will be forced to change from ${cocoon.session.user.id

Re: [RT] CTemplate

2005-02-26 Thread Leszek Gawron
way or another, otherwise it's use will be limited to non caching pipelines only... Already working. Still I do not know if there is anyone else but me that has ever used it :) -- Leszek Gawron MobileBox [EMAIL PROTECTED

Re: [Poll] JXTG vs. CForms

2005-02-26 Thread Leszek Gawron
Carsten Ziegeler wrote: Leszek Gawron wrote: Still there is one thing in trunk I do not like which breaks jxtg compatibility. It is the removal of wrappers around request, session etc. Because of that all users will be forced to change from ${cocoon.session.user.id

Re: JXTG macro calling

2005-02-26 Thread Leszek Gawron
to StartParameterInstance -- jx:withParam name=param2 value=edc/ bodyhere/body /jx:call We cannot have two instructions bound to the same jx:param or we will again introduce dependencies in Parser. -- Leszek Gawron

Re: JXTG macro calling

2005-02-26 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: Glen Ezkovich wrote: On Feb 26, 2005, at 7:18 AM, Sylvain Wallez wrote: Another question: Do you think this syntax would be useful? jx:call macro=${macroName} p=bar content b=${2+3}/ /jx:call Do you mean the p param as attribute? Yes, it's useful

Re: svn commit: r155189 - in cocoon/trunk/src/blocks/template/java/org/apache/cocoon/template/jxtg: instruction/StartDefine.java script/Parser.java script/event/StartInstruction.java

2005-02-24 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: [EMAIL PROTECTED] wrote: Author: lgawron Date: Thu Feb 24 06:56:13 2005 New Revision: 155189 URL: http://svn.apache.org/viewcvs?view=revrev=155189 Log: every instruction is being notified of end of parsing. No more Parser dependency on StartDefine. We

Re: svn commit: r154841 - in cocoon/trunk/src: blocks/template/java/org/apache/cocoon/components/expression/jexl/JexlExpression.java blocks/template/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.java java/org/apache/cocoon/environment/TemplateObjectModelHelper.java

2005-02-23 Thread Leszek Gawron
(), startDTD.getPublicId(), startDTD.getSystemId()); } else if (ev instanceof StartEntity) { consumer.startEntity(((StartEntity) ev).getName()); // Instructions } ? -- Leszek Gawron [EMAIL PROTECTED] Project Manager

Re: svn commit: r154841 - in cocoon/trunk/src: blocks/template/java/org/apache/cocoon/components/expression/jexl/JexlExpression.java blocks/template/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.java java/org/apache/cocoon/environment/TemplateObjectModelHelper.java

2005-02-23 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: The main thing left to do in the invoker is to get rid of the code for handling macros in the StartElement part of execute. My idea there is to create a class that implements StartInstruction and contains all the macro

Re: svn commit: r154841 - in cocoon/trunk/src: blocks/template/java/org/apache/cocoon/components/expression/jexl/JexlExpression.java blocks/template/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.java java/org/apache/cocoon/environment/TemplateObjectModelHelper.java

2005-02-23 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: The main thing left to do in the invoker is to get rid of the code for handling macros in the StartElement part of execute. My idea

Re: [proposal] move cforms in core

2005-02-23 Thread Leszek Gawron
?) +1 3) rename jxtemplate as CTemplate and moving it in the core as well +1 for CTemplate but core block rather than core. Same here. Vadim and here :) -- Leszek Gawron MobileBox [EMAIL PROTECTED] http

Re: [VOTE] - Remove pizza.jar

2005-02-23 Thread Leszek Gawron
, we (as java developers) are slowly moving to java 1.5 and I don't see the need to have another compiler in the distro. Please cast your vote. +1 - never used it. -- Leszek Gawron MobileBox [EMAIL PROTECTED] http

Re: svn commit: r154841 - in cocoon/trunk/src: blocks/template/java/org/apache/cocoon/components/expression/jexl/JexlExpression.java blocks/template/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.java java/org/apache/cocoon/environment/TemplateObjectModelHelper.java

2005-02-22 Thread Leszek Gawron
. What is the proper way to share some global scope? 2. If I share a global scope can I put newPackages into it for good? It seems like it's not possible as NativeJavaPackage is bound to thread's classloader. Am I right? -- Leszek Gawron MobileBox

Re: svn commit: r154841 - in cocoon/trunk/src: blocks/template/java/org/apache/cocoon/components/expression/jexl/JexlExpression.java blocks/template/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.java java/org/apache/cocoon/environment/TemplateObjectModelHelper.java

2005-02-22 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: [EMAIL PROTECTED] wrote: snip/ Right now every test case for new jxtg passes. Cool! The problem is: do we want our template object model messed up like this? No ;) so I thought :) What about breaking out the Java package stuff to an addJavaPackages

Re: svn commit: r154841 - in cocoon/trunk/src: blocks/template/java/org/apache/cocoon/components/expression/jexl/JexlExpression.java blocks/template/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.java java/org/apache/cocoon/environment/TemplateObjectModelHelper.java

2005-02-22 Thread Leszek Gawron
between tags and jxtg engine itself. I'll try to create some outline how it might look but still I have hard time figuring it out to the very detail. -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61

Re: xsl:includes within includes stylesheets...

2005-02-22 Thread Leszek Gawron
it for production sites? It does not work only when you use cocoon: protocol in you xsl:include href attribute. See: http://issues.apache.org/bugzilla/show_bug.cgi?id=33603 -- Leszek Gawron MobileBox [EMAIL PROTECTED] http

Re: [Vote] Make doc-repos/2.2 doc-repos/portal-block official documentation repositories

2005-02-22 Thread Leszek Gawron
/CocoonDocumentationSystemSUMMARY and at http://wiki.apache.org/cocoon/22NewDocuments. Please cast your votes! +1 from me of course +1, the sooner the better -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl

rhino warning

2005-02-22 Thread Leszek Gawron
Context.javaToJS( fetchContext() ); } ? -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax

cocoon.session.property syntax

2005-02-22 Thread Leszek Gawron
')}/ jx:set var=ignored value=${radeox( value, cocoon.consumer )}/ /jx:macro Are we really going to make users fix all their flowscripts and template files? -- Leszek Gawron [EMAIL PROTECTED] Project Manager

JXTG: from flow vs directly from sitemap

2005-02-18 Thread Leszek Gawron
not work. map variable is not properly initialized. Could anybody comment? -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile

Re: JXTG: from flow vs directly from sitemap

2005-02-18 Thread Leszek Gawron
Ellis Pritchard wrote: Leszek Gawron wrote: Daniel and I have found out some strange behaviour concerning JEXL in Jxtg. Users started reporting this also: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=110867204019252w=2 The only thing we know is that the problems occur when the pipeline

Re: Sitemap problem... help! :-)

2005-01-30 Thread Leszek Gawron
is not enough as it is a resource path that would have to get parsed every time) - the flow interpreter bound to sitemap is being invoked with ready to go WebContinuation. -- Leszek Gawron [EMAIL PROTECTED] Project Manager

Re: SVN access

2005-01-27 Thread Leszek Gawron
/repos/asf/cocoon/branches/BRANCH_2_1_X or svn http://svn.apache.org/repos/asf/cocoon/trunk for 2.2 trunk -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67 http

Re: BugList of the old JX

2005-01-25 Thread Leszek Gawron
in bugzilla ? bugzilla is just fine for those cases. If there are plenty we can always create a common parent and put link to wiki. -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67

<    2   3   4   5   6   7   8   9   10   11   >