Re: svn commit: r231266 - in /cocoon/branches/BRANCH_2_1_X: ./ src/java/org/apache/cocoon/generation/ src/java/org/apache/cocoon/util/jxpath/ src/java/org/apache/cocoon/xml/ src/test/org/apache/cocoon

2005-08-11 Thread Leszek Gawron
to implement and got no idea how. -- 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: r231266 - in /cocoon/branches/BRANCH_2_1_X: ./ src/java/org/apache/cocoon/generation/ src/java/org/apache/cocoon/util/jxpath/ src/java/org/apache/cocoon/xml/ src/test/org/apache/cocoon/xml/

2005-08-11 Thread Leszek Gawron
Sylvain Wallez wrote: Leszek Gawron wrote: [EMAIL PROTECTED] wrote: Author: sylvain Date: Wed Aug 10 08:38:10 2005 New Revision: 231266 URL: http://svn.apache.org/viewcvs?rev=231266view=rev Log: Propagate namespace mappings in JXTemplate to JXPath expressions. Refactor and extend

Re: Locale Bug in CForm Form.java ?

2005-08-11 Thread Leszek Gawron
(); and implement determineLocale() with any logic you like. For cocoon samples: we should probably make use of LocaleAction. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: Locale Bug in CForm Form.java ?

2005-08-11 Thread Leszek Gawron
Thomas Lutz wrote: Leszek Gawron wrote: Thomas Lutz wrote: private Locale locale = Locale.getDefault(); It takes the default locale from the host, but shouldn't it take the locale set via the browser or the LocaleAction.java ? So the line should rather be something like: private Locale

Re: Proposal: Make defaults for text serializers UTF-8

2005-08-10 Thread Leszek Gawron
--this time with Cocoon. What do you propose? map:serializer name=text src=org.apache.cocoon.serialization.TextSerializer mime-type=text/plain logger=sitemap.serializer.text encodingutf-8/encoding /map:serializer This works just fine. Should we set this in main sitemap? -- Leszek Gawron

Re: Proposal: Make defaults for text serializers UTF-8

2005-08-10 Thread Leszek Gawron
Gregor J. Rothfuss wrote: Leszek Gawron wrote: Berin Loritsch wrote: Considering we have a very international user base, and the fact that more and more projects have to deal with international or special character, why not make the demo international friendly. In order to set encoding

Re: svn commit: r231243 - /cocoon/trunk/src/documentation/src/content/xdocs/c21-who/content_en.html

2005-08-10 Thread Leszek Gawron
(hepabolu.at.apache.org/li ^^ a typo here -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http

Re: XMLSerializer strips elements between start/endEntity events

2005-08-09 Thread Leszek Gawron
critical systems so we may hire my users as fast beta-testers :) -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501

Re: XMLSerializer strips elements between start/endEntity events

2005-08-08 Thread Leszek Gawron
serializer converts \t into - #09; which also drives me nuts... -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501

Re: [Fwd: expected behaviour: global vars in flowscript]

2005-08-03 Thread Leszek Gawron
if that helps. I have never had any problem with it (I am setting up a global spring context the same way). -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: [VOTE] Jorg Heymans as new committer

2005-07-31 Thread Leszek Gawron
Jorg Heymans, as a committer. Please cast your votes: here's my +1! :-) +1 and welcome! -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http

Re: [CForms] Creating an intermediate object in binding

2005-07-31 Thread Leszek Gawron
Ugo Cei wrote: Il giorno 29/lug/05, alle 16:34, Leszek Gawron ha scritto: There is one more thing that is awkward with binding: imagine you have a OR model with many-to-many relationship. Cforms will allow you to create a form with a selection list to define those relationships. But wait

Re: [CForms] Creating an intermediate object in binding

2005-07-29 Thread Leszek Gawron
of entities not entities themselves. Binding API does not give you access to service manager so you won't be able to lookup some dao and load the entity by its id. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z

Re: [VOTE] Give Heh Huang temporary and restricted commit privileges to our code repository

2005-07-27 Thread Leszek Gawron
/foundation/how-it-works.html#roles). Please cast your votes! +1 -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720

Re: [vote] Give Max Pfingsthorn temporary and restricted commit privileges to our code repository

2005-07-11 Thread Leszek Gawron
SVN code repository. +1 -- 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

Response interface

2005-07-04 Thread Leszek Gawron
range not satisfiable) ((HttpResponse)response).setStatus(416); if (getLogger().isDebugEnabled()) { getLogger().debug(malformed byte range header [ + String.valueOf(ranges) + ]); } } WDYT? -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: [QVOTE] Add getSitemapURIPrefix() to the Request

2005-06-24 Thread Leszek Gawron
we make the method name a little longer? It doesn't take quite all day to type this one in. ;-) + 1. I am long names maniac :) -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: JXT: non-lenient Jexl expressions?

2005-06-15 Thread Leszek Gawron
. -- 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: [VOTE] Consensus about documentation location

2005-06-13 Thread Leszek Gawron
be changed later. What for really? We will have whole content there (with metadata and comments). Why not make it default cocoon.apache.org? Every new cocoon release would get a static snapshot of online site. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: [VOTE] Consensus about documentation location

2005-06-13 Thread Leszek Gawron
for formal documents only and one that would include awaiting documents. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile

Re: svn commit: r189955 - in /cocoon: blocks/scratchpad/trunk/java/org/apache/cocoon/acting/ blocks/scratchpad/trunk/samples/ blocks/scratchpad/trunk/samples/flow-action/ trunk/src/java/org/apache/cocoon/components/treeprocessor/sitemap/

2005-06-10 Thread Leszek Gawron
do we add it at all? Some time ago we did not require flowscript to sendPage so people used it for actions. Now we introduce a hackish FlowAction to do what we've banned ourselves. Or am I wrong? -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: [Daisy/Docs] Styling conventions

2005-06-10 Thread Leszek Gawron
. OT: Suppose I'd like to review some documents that have not been published yet. Is there a special query for that? -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67

Re: CForms stabilization tasks (was Re: Marking cforms stable in 2.1.8)

2005-06-10 Thread Leszek Gawron
on this station so I cannot check. Is it still so? -- 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: [osgi] Initial code

2005-06-09 Thread Leszek Gawron
plan is to continue along whats outlined in http://marc.theaimsgroup.com/?t=11165964683r=1w=2. It would be more fun to work together on this, I would apprciate any involvement. How could I help? -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: CForms stabilization tasks (was Re: Marking cforms stable in 2.1.8)

2005-06-09 Thread Leszek Gawron
this sound? Fixable quite fast. Is there any official date that we aim to relase 2.1.8? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl

Re: [osgi] Initial code

2005-06-09 Thread Leszek Gawron
to be able to just svn update and then build.sh or whatever. what I had to do up till now: 1. copy bcel.lib to anthome/lib 2. modify bundles/cocoon/build.xml to setup other cocoon.trunk directory (Daniel uses cocoon.home/trunk) 3. same as 2) but for bundles/cocoon-testcase/build.xml -- Leszek

Re: [VOTE] Document Editors, and a new Committer

2005-06-09 Thread Leszek Gawron
: [ ] Helma Van Der Linden as a Cocoon committer +1 -- 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 stabilization tasks (was Re: Marking cforms stable in 2.1.8)

2005-06-09 Thread Leszek Gawron
nothing to the architecture and the existing components, but will lead to small changes in the configuration. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: [DAISY] Updated: First Steps

2005-06-09 Thread Leszek Gawron
= no changes Collections === no changes -- 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: [Docs] A structure for Getting Started

2005-06-09 Thread Leszek Gawron
be taken. To aid document reorganisation I think we should encourage a fairly fine-grained modularity, i.e. single topic pages. Wouldn't it be a good start to do a smart import of current xdocs into new documentation structure? -- Leszek Gawron [EMAIL

Re: [Docs] A structure for Getting Started

2005-06-09 Thread Leszek Gawron
is the easiest now and leave main documentation aside the whole effort will be incoherent. -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67 http

Re: svn commit: r180239 - /cocoon/trunk/lib/jars.xml

2005-06-06 Thread Leszek Gawron
/lib +homepagehttp://www.springframework.org//homepage /file /jars The description is invalid... -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: [Vote] Reduce dependencies to LogKit

2005-06-06 Thread Leszek Gawron
to run Cocoon without the logkit.jar. In a second vote we will vote about the default logging system. +1 -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: DO NOT REPLY [Bug 31676] - [PATCH] HolderAwareContinuationsManagerImpl

2005-06-03 Thread Leszek Gawron
||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-06-03 17:15 --- Isn't this implemented already? Yes it is. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855

Re: Google Summer of Code - projects and mentors wanted

2005-06-02 Thread Leszek Gawron
under wrong subthread: 1. we still have not touched the subject of attribute driven template language. it would nicely suit as a project that could be finished till the end of summer. 2. cforms reusable widget repository... -- Leszek Gawron [EMAIL PROTECTED

Re: Google Summer of Code - projects and mentors wanted

2005-06-02 Thread Leszek Gawron
that could be finished till the end of summer. -- 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: Google Summer of Code - projects and mentors wanted

2005-06-02 Thread Leszek Gawron
Reinhard Poetz wrote: Leszek Gawron wrote: 1. we still have not touched the subject of attribute driven template language. it would nicely suit as a project that could be finished till the end of summer. 2. cforms reusable widget repository... yes, I like both ideas! Who wants to mentor

Re: Logkit jvadocs

2005-06-01 Thread Leszek Gawron
to LogKit does *not* mean that our logging infrastructure for components (LogEnabled) will be removed as well. Apart from configuration it's totally transparent. Not that totally: we do not have a cocoon log formatter giving the same functionality as the logkit one. -- Leszek Gawron

Re: Logkit jvadocs

2005-06-01 Thread Leszek Gawron
. By the way: I like logkit.xconf much more that log4j xml configuration. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile

Re: CForms:Selection List generated Repeater ??

2005-05-30 Thread Leszek Gawron
is nothing without filtering capabilities so apart from knowing the 'window' position you have to pass also some filtering attributes to binding function. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o

[Fwd: jxpath and namespaces]

2005-05-29 Thread Leszek Gawron
: #{data/m:mods/...} Is there realy no mean to do it? It would be large limitation... I know, I can use local-name() function: #{data/*[local-name()='mods']/...} but with longer paths it's ... well, not elegant. Any suggestions? -- Leszek Gawron [EMAIL

Re: Location of cforms stylesheets

2005-05-26 Thread Leszek Gawron
. We should provide a detailed description what to do in order to customize some parts. (I do not know it myself and have also some modifications done). -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o

Other default cocoon resources (was: Location of cforms stylesheets)

2005-05-26 Thread Leszek Gawron
can have cocoon that consists of: - bunch of .jar files - web.xml which hardly changes - a set of .xconf and logkit files. It's a pity we cannot move .xconf files into jars. This way cocoon would be much more friendly for dependency resolution tools like maven. -- Leszek Gawron

Re: [RT] Block usage

2005-05-26 Thread Leszek Gawron
samples. Additionally we have to integrate Torsten's classloader to ease development and we need to work on block building and deploying. -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855

Re: Other default cocoon resources

2005-05-26 Thread Leszek Gawron
Reinhard Poetz wrote: Daniel Fagerstrom wrote: Leszek Gawron wrote: Reinhard Poetz wrote: Should we move the stylesheets I would help a lot to be able to deploy cocoon with no additional files at all. What do you say if we moved cocoon logo and default stylesheets (the ones styling

Re: svn commit: r169150 - /cocoon/trunk/src/java/org/apache/cocoon/environment/TemplateObjectModelHelper.java

2005-05-25 Thread Leszek Gawron
, ScriptableObject.getProperty( scope, java ) ); +objectModel.put( java, ScriptableObject.getProperty( getRootScope(), java ) ); } finally { Context.exit(); } -- Leszek Gawron [EMAIL PROTECTED] Project

Re: svn commit: r169150 - /cocoon/trunk/src/java/org/apache/cocoon/environment/TemplateObjectModelHelper.java

2005-05-25 Thread Leszek Gawron
we go like this then: Scriptable newScope = cx.newObject(sharedScope); newScope.setPrototype(sharedScope); newScope.setParentScope(null); taken from: http://www.mozilla.org/rhino/scopes.html -- Leszek Gawron [EMAIL PROTECTED] Project Manager

Re: [PlanetCocoon] 4 new ideas to discuss on Planet Cocoon

2005-05-24 Thread Leszek Gawron
the aliased edges in the letters a, b, o and c. This is causing a very blurry presentation when viewing in normal size. It rather looks like ClearType is on. I wonder who named that technology ClearType anyway -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: [RT] Releases

2005-05-23 Thread Leszek Gawron
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 29

Re: Streaming strings in JXTemplate

2005-05-22 Thread Leszek Gawron
if no SAXException occured previously. Right now parsing a not well formed xml fragment into view's SAX stream will destroy the view completely. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Leszek Gawron
useful page. If we are to make users read OSGi specification, then seek for help in external projects that are hardly documented we get the same problem in a fancy new outfit. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: Streaming strings in JXTemplate

2005-05-21 Thread Leszek Gawron
Vadim Gritsenko wrote: Ugo Cei wrote: Il giorno 12/mag/05, alle 14:08, Leszek Gawron ha scritto: what do we do with jx:out value=roottagbroken/mispelledtag/root parse=xml/ 1. generate SAX events - if value is invalid this breaks the whole view 2. parse to DOM, catch exceptions, use @lenient

Re: JXTemplate initialization in non-flowscript scenarios

2005-05-21 Thread Leszek Gawron
-- 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: Speed of jx-macros compared to FormsTransformer

2005-05-20 Thread Leszek Gawron
Vadim Gritsenko wrote: Can you re-test with latest template transformer - just to confirm that it did not got much slower after refactoring. a performance competition ? :)) -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: [Continuations] ConcurrentModificationException when invalidating on JBoss

2005-05-18 Thread Leszek Gawron
that this upgrade offered. We're running Cocoon 2.1.7 on JBoss 3.2.5 on Java 1.4.2 Vadim don't read this:) :This has already been fixed in trunk. Forgot to sync. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox

Re: Speed of jx-macros compared to FormsTransformer

2005-05-18 Thread Leszek Gawron
Vadim Gritsenko wrote: Daniel Fagerstrom wrote: Leszek Gawron wrote: but you make the invoker look up element's name in macro map for EVERY template element started. Costly as hell. JX instructions are resolved the same way but during parsing. We cannot do the same for macros because we do

Re: Speed of jx-macros compared to FormsTransformer

2005-05-18 Thread Leszek Gawron
. And we don't need any runtime mechanism anymore. I'll look into that. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48

Re: Speed of jx-macros compared to FormsTransformer

2005-05-18 Thread Leszek Gawron
=cformsDummy value=${cformsHelper.startForm(form, macro.arguments)}/ -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720

Re: Speed of jx-macros compared to FormsTransformer

2005-05-18 Thread Leszek Gawron
Sylvain Wallez wrote: What about using Rhino as the bean expression language in replacement of JEXL? That way, expressions would be consistent with what's written in flowscript. Could you give us some pointers? -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: [Continuations] ConcurrentModificationException when invalidating on JBoss

2005-05-18 Thread Leszek Gawron
Paul Crabtree wrote: I think you've got me right, and great news, thanks. As you say i'd like to patch my 2.1.7 instead of going with a snapshot so if you could send me that mail over i can make the change. Can you handle the patch from the diff link I gave in other post? -- Leszek Gawron

Re: [Continuations] ConcurrentModificationException when invalidating on JBoss

2005-05-18 Thread Leszek Gawron
direction for going about this please? what svn tools are you using? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501

Re: svn commit: r170733 - /cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/instruction/Set.java

2005-05-18 Thread Leszek Gawron
in jx:macros. This should also speed things up a little bit. Care to check it? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48

Re: svn commit: r170733 - /cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/instruction/Set.java

2005-05-18 Thread Leszek Gawron
Sylvain Wallez wrote: Leszek Gawron wrote: Reinhard Poetz wrote: Daniel or Leszek, could you review this please. (I have tried to run the Unit test suite but was overwhelmed by the output) Thanks! The fix looks correct. I found out now that jx:set is hacking ready. Instead of doing jx:set name

Re: [VOTE RESULTS] CForms instruction set for jxtg rendering vs. jx-macros.xml file

2005-05-17 Thread Leszek Gawron
Leszek Gawron wrote: I have refactored JXTG recently so now instructions like jx:for, jx:if are defined in separate file: src/block/template/java/org/apache/cocoon/template/template-instructions.xml Right now we are rendering forms in jxtg using a macro file which is kind of ugly IMO - see

Re: Speed of jx-macros compared to FormsTransformer

2005-05-17 Thread Leszek Gawron
;) We could always rewrite jx-macros.xml to Java which will fix performace problems for CForms (eliminating slow macro code and lots of reflection). Still there is no consensus about that issue and we still have a problem with other macros. WDYT? -- Leszek Gawron

CForms icons problem

2005-05-14 Thread Leszek Gawron
Am I the only one to have images coming from cocoon-forms-block.jar broken? They are ok in src folder but they aren't properly rendered by the browser. This is not the case of my browser because the same tool on src/ as on unpacked jar. -- Leszek Gawron

Re: code formatting issue

2005-05-12 Thread Leszek Gawron
Ralph Goers wrote: Leszek Gawron wrote: Sylvain Wallez wrote: Leszek Gawron wrote: is there a common line width to be kept? 78 characters in one line is hell of a readability problem and a little bit archaic. WDYT? +1, I use 150 :-) me too :) eclipse creates a total mess when formatting

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
about it long time ago. -- 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

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
Leszek Gawron wrote: Daniel Fagerstrom wrote: Reinhard Poetz wrote: Can it be that difficult to stream a string as SAX events in JXTemplate, or did I overlook a simpler solution? - implement your own streamer object with a toSAX method - pass a streamer object to JXTemplate - assign

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
Sylvain Wallez wrote: Leszek Gawron wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: Reinhard Poetz wrote: Can it be that difficult to stream a string as SAX events in JXTemplate, or did I overlook a simpler solution? - implement your own streamer object with a toSAX method - pass

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
Vadim Gritsenko wrote: Leszek Gawron wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: If you want to make it even simpler we could either have another instruction that parses strings to SAX, or have some attribute on jx:out for parsing the argument. jx:out value=${str} xmlize=true/ ? Almost

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
or silently omit. -- 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: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
Ugo Cei wrote: Il giorno 12/mag/05, alle 14:08, Leszek Gawron ha scritto: what do we do with jx:out value=roottagbroken/mispelledtag/root parse=xml/ 1. generate SAX events - if value is invalid this breaks the whole view 2. parse to DOM, catch exceptions, use @lenient to throw or silently omit

Re: [Vote] POJOfied Environment

2005-05-12 Thread Leszek Gawron
. -- 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: #{$cocoon/request/request/protocol}

2005-05-11 Thread Leszek Gawron
of the environment handling we would get rid of this problem, but that would introduce a rather severe back incompability. Any ideas? If you're asking for non-ugly ones - none.. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: Continuation invalidation strategy

2005-05-11 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: Peter Hunsberger wrote: On 5/10/05, Leszek Gawron [EMAIL PROTECTED] wrote: snip/ Still HashMap has no interface other than iterator to get it's

Externalizing JXTG tag configuration

2005-05-11 Thread Leszek Gawron
, Attributes attrs, Stack elementStack ) throws ProcessingException; } I could also start from putting the configuration into cocoon.xconf and then refactor if needed. -- Leszek Gawron

my quick question on irc

2005-05-11 Thread Leszek Gawron
ouzo a quick question ouzo does SitemapTestCase support .xconf inclusions in 2.2? ouzo just as standard cocoon.xconf does? If not I am probably going to try to implement this - I am a little bit fed up with syncing template.xconf with JXGeneratorTestCase.xtest -- Leszek Gawron

code formatting issue

2005-05-11 Thread Leszek Gawron
is there a common line width to be kept? 78 characters in one line is hell of a readability problem and a little bit archaic. WDYT? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

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

2005-05-11 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: snip/ The accessors do not solve the problem with $cocoon/request/requestAttribute or $cocoon/request/requestParameter (preferably $cocoon/request/attributes/someAttribute and $cocoon/request/parameters/someParameter) We

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

2005-05-11 Thread Leszek Gawron
Sylvain Wallez wrote: Daniel Fagerstrom wrote: Leszek Gawron wrote: Leszek Gawron wrote: Vadim Gritsenko wrote: snip/ Why FOM_Request is in jx in the first place? I understand why it is in old jxtg in Cocoon 2.1, but new version should be flow independent. The flow independence we talked

Re: Externalizing JXTG tag configuration

2005-05-11 Thread Leszek Gawron
Sylvain Wallez wrote: Leszek Gawron wrote: right now we have: registerInstruction(template, StartTemplate.class.getName()); registerInstruction(forEach, StartForEach.class.getName()); registerInstruction(if, StartIf.class.getName()); registerInstruction(choose, StartChoose.class.getName

Re: code formatting issue

2005-05-11 Thread Leszek Gawron
Sylvain Wallez wrote: Leszek Gawron wrote: is there a common line width to be kept? 78 characters in one line is hell of a readability problem and a little bit archaic. WDYT? +1, I use 150 :-) me too :) eclipse creates a total mess when formatting the code with 78 characters per line. Can we

Re: Externalizing JXTG tag configuration

2005-05-11 Thread Leszek Gawron
to implement StartInstruction.. -- 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

Re: my quick question on irc

2005-05-11 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: ouzo a quick question ouzo does SitemapTestCase support .xconf inclusions in 2.2? ouzo just as standard cocoon.xconf does? Yes it does, I tried to get it as similar to ordinary Cocoon execution as possible. You can take a look at how it is used

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

2005-05-11 Thread Leszek Gawron
this.request.getParameter(name); } } If you accidentally provide a getter for private final Request request; than you are able to do $cocoon/request/request/protocol and the properties are visible. It means that FOM_Request is not able to properly proxy Request interface to JXPath. -- Leszek Gawron

Context.javaToJS

2005-05-11 Thread Leszek Gawron
(), this.getServiceManager(), null,// configuration true); return org.mozilla.javascript.Context.javaToJS(obj, getParentScope()); } this fix stops Rhino nagging about naked java object sent to flowscript. Can I commit? -- Leszek Gawron [EMAIL PROTECTED

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

2005-05-11 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: snip/ Are you certain about that it doesn't work for properties? I can't test right now, but looking at http://svn.apache.org/viewcvs.cgi/cocoon/trunk/src/blocks/scratchpad/java/org/apache/cocoon/environment

Re: Externalizing JXTG tag configuration

2005-05-11 Thread Leszek Gawron
o.a.c.template.jxtg.instruction o.a.c.template.jxtg.script o.a.c.template.jxtg.script.event there is no single o.a.c.template.SomeClas WDYT? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: Externalizing JXTG tag configuration

2005-05-11 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: Ok, only the InstructionFactory is a component, that is better. Is there any point in leting the InstructionFactory be a component? Only the fact that I had to store the configuration somewhere and with cocoon.xconf I had

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

2005-05-11 Thread Leszek Gawron
? :-/ map:parameters ... -- 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: Externalizing JXTG tag configuration

2005-05-11 Thread Leszek Gawron
newjx-macros file, that will later replace the current one, or test carefully form samples before committing!! Of course. The main questions is still: am I allowed to? I'll start a quick vote because there are strong emotions around this. -- Leszek Gawron [EMAIL

[VOTE] CForms instruction set for jxtg rendering vs. jx-macros.xml file

2005-05-11 Thread Leszek Gawron
. CForms should be changed if current solution isn't right. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720

Re: [RT] POJOfied Environment

2005-05-11 Thread Leszek Gawron
. The inconsistency between what is available from flow, JEXL and JXPath is irritating. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl

Re: [RT] POJOfied Environment

2005-05-11 Thread Leszek Gawron
Leszek Gawron wrote: Daniel Fagerstrom wrote: In the current #{$cocoon/request/request/protocol} thread we (again) discuss problems with the environment access in JXTG. The problems comes from that we have copied part of the servlet api in our environment abstraction and that it contains

Re: [VOTE] CForms instruction set for jxtg rendering vs. jx-macros.xml file

2005-05-11 Thread Leszek Gawron
Upayavira wrote: Leszek Gawron wrote: I have refactored JXTG recently so now instructions like jx:for, jx:if are defined in separate file: src/block/template/java/org/apache/cocoon/template/template-instructions.xml Right now we are rendering forms in jxtg using a macro file which is kind

Re: [VOTE] CForms instruction set for jxtg rendering vs. jx-macros.xml file

2005-05-11 Thread Leszek Gawron
just for the record :) [+1] Yes go for it. [ ] It's a bad idea - leave jx-macros.xml untouched! [ ] It's not jx-macros.xml fault. CForms should be changed if current solution isn't right. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: Continuation invalidation strategy

2005-05-11 Thread Leszek Gawron
current functionality :) -- 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

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

2005-05-10 Thread Leszek Gawron
Vadim Gritsenko wrote: Leszek Gawron wrote: Reinhard Poetz wrote: [EMAIL PROTECTED] wrote: Author: lgawron Date: Sun May 8 14:23:28 2005 New Revision: 169169 URL: http://svn.apache.org/viewcvs?rev=169169view=rev Log: JXTG uses cocoon store Modified: cocoon/blocks/unsupported/template/trunk

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

2005-05-10 Thread Leszek Gawron
Sylvain Wallez wrote: Leszek Gawron wrote: Vadim Gritsenko wrote: Leszek Gawron wrote: Reinhard Poetz wrote: [EMAIL PROTECTED] wrote: Author: lgawron Date: Sun May 8 14:23:28 2005 New Revision: 169169 URL: http://svn.apache.org/viewcvs?rev=169169view=rev Log: JXTG uses cocoon store Modified

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