Re: using cocoon 2.1 in the long-term, security concerns

2021-07-31 Thread Leszek Gawron
briel Gruber wrote: > Hi Leszak, > > > > Yeah, a release would be nice – Fix version 2.2.1 was stated in this > ticket https://issues.apache.org/jira/browse/COCOON-2347 > > > > But was never released though… > > Cheers, > > Gabriel > > > > *From: *

Re: using cocoon 2.1 in the long-term, security concerns

2021-07-30 Thread Leszek Gawron
I am sorry for not reading the thread to the last message. Maybe a release then? On Tue, Jul 20, 2021 at 12:39 PM Gabriel Gruber wrote: > Hi Vincent, > > > > We at Workflow are also still using Cocoon 2.2 as part of our main product > and are running it with Java 11 and Tomcat 9 on Windows and

Re: using cocoon 2.1 in the long-term, security concerns

2021-07-30 Thread Leszek Gawron
On Mon, Jul 19, 2021 at 2:27 PM Cédric Damioli wrote: > Hi, > > Not only Tomcat, but each and every dependency your particular project > uses. > As of today, Cocoon 2.1 works well in a Java 11+/Tomcat 9+ environment, > with all dependencies upgraded. > > Cocoon 2.1.13 itself contained a fix for

Re: thought I had fixe it

2011-10-26 Thread Leszek Gawron
years old. I advise to check the source code of ContinuationsManagerImpl lg -- Leszek Gawronhttp://lgawron.posterous.com - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

Re: thought I had fixe it

2011-10-25 Thread Leszek Gawron
On 2011-10-25 11:09, Paul Joseph wrote: Would appreciate a code review of the same to make sure things are handled correctly, memory wise. My code review says: do not do business logic in flowscript. Move ALL of this code quoted into java classes. -- Leszek Gawron

Re: thought I had fixe it

2011-10-25 Thread Leszek Gawron
it // sqle.printStackTrace(); throw new MyRuntimeDataAcessException( unable to fetch data, sqle ); } finally { if ( broker != null ) broker.close(); } } -- Leszek Gawron http://www.mobilebox.pl/krs.html CTO at MobileBox S.A

Re: thought I had fixe it

2011-10-24 Thread Leszek Gawron
a subsequent memory snapshot - compare both snapshots: there should be NO significant memory consumption difference. HTH lg -- Leszek Gawronhttp://lgawron.posterous.com - To unsubscribe, e

Re: thought I had fixe it

2011-10-24 Thread Leszek Gawron
On 2011-10-24 19:17, Jasha Joachimsthal wrote: On 24 October 2011 18:55, Leszek Gawron lgaw...@apache.org mailto:lgaw...@apache.org wrote: Hello, @Jasha: advising a user to limit the amount of data usually does not work. :) You can tell the user his search query has a result

Re: thought I had fixe it

2011-10-24 Thread Leszek Gawron
map:match pattern=*.do map:call function={1}/ /map:match /map:pipeline lg -- Leszek Gawron http://www.mobilebox.pl/krs.html CTO at MobileBox S.A

Re: thought I had fixe it

2011-10-24 Thread Leszek Gawron
a subsequent memory snapshot - compare both snapshots: there should be NO significant memory consumption difference. HTH lg -- Leszek Gawron http://www.mobilebox.pl/krs.html CTO at MobileBox S.A

Re: thought I had fixe it

2011-10-24 Thread Leszek Gawron
map:match pattern=*.do map:call function={1}/ /map:match /map:pipeline lg -- Leszek Gawronhttp://lgawron.posterous.com

Re: Long delay for Newsgroup Messages

2008-07-04 Thread Leszek Gawron
after the moderator accepts it. -- Leszek Gawron http://www.mobilebox.pl/krs.html CTO at MobileBox Ltd. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: global variable in C2.2

2007-10-12 Thread Leszek Gawron
gives access to properties, that is possible) - xsl style sheet pass it from sitemap as you usually did - own component use ${foo} in your applicationContext.xml that defines the component - .. ?? Thanks for your time. -- Leszek Gawron http://www.mobilebox.pl

Re: counter in jx:foreach

2007-10-08 Thread Leszek Gawron
=counter value=${Packages.com.mycompany.Incrementer()}/ jx:forEach var=item items=${list} jx:set var=ignore value=${counter.inc()}/ ${item} : ${counter.get()}br/ /jx:forEach /page -- Leszek Gawron http://www.mobilebox.pl/krs.html CTO at MobileBox Ltd

Re: [Cocoon 2.2, Hibernate 3] Conflict in ehcache

2007-10-05 Thread Leszek Gawron
for maven dependency resolution. -- Leszek Gawron http://www.mobilebox.pl/krs.html CTO at MobileBox Ltd. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: parameters in chained transforms

2007-02-08 Thread Leszek Gawron
Tobia wrote: By the way, can I access Cocoon's objects (request, session...) through an xslt/xpath extension? That would be useful. That would not be a good idea - you break pipeline caching. You are probably better off using input modules to pass those values via sitemap parameters -- Leszek

Re: Preventing ambiguous imports in flowscript

2007-02-08 Thread Leszek Gawron
, it will work. see the bug I reported: https://bugzilla.mozilla.org/show_bug.cgi?id=350580 -- Leszek GawronCTO at MobileBox Ltd. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: manager.lookup fails without exception

2007-02-08 Thread Leszek Gawron
and after the line above, I see the first message in the log files, but not the second. No error messages occur in the logs. It is impossible that servlet container goes HTTP 500 without any exception. You are probably missing one. You should check both container logs and cocoon logs. -- Leszek

Re: Free for use: SaveFilesTransformer

2006-09-19 Thread Leszek Gawron
attribute that can be used to capture also binary streams and save them to disk. Comments are welcome.. Can I ask why we need a simplified SourceWritingTransformer? -- Leszek Gawron, IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http

Creating a mavenized cocoon application

2006-09-07 Thread Leszek Gawron
/2006/09/creating_a_mavenized_cocoon_ap.html -- Leszek Gawron http://ouzo.squash.eu.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Accessing a cocoon SourceResolver from another servlet ?

2006-09-07 Thread Leszek Gawron
an internal cocoon component in 2.1.x. -- Leszek Gawron, 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: Caching problems

2006-08-23 Thread Leszek Gawron
. Thanks in advance Using a caching pipeline does not neccessary mean anything will be cached. It all depends on generators and transformers you use. Please post your pipeline code. -- Leszek Gawron, IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: Weird Javascript error in continuations

2006-08-03 Thread Leszek Gawron
place in official documentation. -- 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: Bring xml in better shape

2006-08-01 Thread Leszek Gawron
=./ /xsl:attribute /xsl:for-each xsl:apply-templates/ /xsl:element /xsl:template /xsl:stylesheet -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855

Re: Need help with HTMLArea in Cforms

2006-04-18 Thread Leszek Gawron
of handler for every htmlarea in the form. -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Stopping Jetty (was: Organizing own project in cocoon?)

2006-03-04 Thread Leszek Gawron
[EMAIL PROTECTED] wrote: If Jetty is started with with cocoon:run, how is it stopped afterwards? simple ctrl+c will suffice - shutdown hooks are respected as long as you do not hold the combination. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: problem running consecutive transformers

2006-03-04 Thread Leszek Gawron
- I can assure you your transformer is not skipped. What does it do? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48

Re: [FLOW] sendPageAndWait continuation storage

2006-03-04 Thread Leszek Gawron
: [EMAIL PROTECTED] -- 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: namespaces in root element of xsp generated page

2006-03-04 Thread Leszek Gawron
additional java code can be added under xsp:page/xsp:logic. This _might_ help. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile

Re: Generating a dynamic form from flow?

2006-03-04 Thread Leszek Gawron
\model_foo (The system cannot find the file specified) In other words: the flow is not looking in the sitemap to see where the form file is being created... How do I resolve this? Thanks Derek -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: Generating a dynamic form from flow?

2006-03-04 Thread Leszek Gawron
that handles the flowscript (which probably is what you want in 90% of cases) -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl

Re: XSLT-Cinclude Transformer do not work

2006-03-04 Thread Leszek Gawron
transformer and serialize the output to xml, save this xml file and give it as input to cinclude it works. Some how this pipelining xslt and cinclude transformers do not work in conjuction. The problem probably is in document.xsl. Please post it's code. -- Leszek Gawron

Re: [FLOW] sendPageAndWait continuation storage

2006-03-04 Thread Leszek Gawron
(result.pdf, {pdf: output.getOutputContent()}); } what about: var kont = cocoon.sendPageAndWait( data ); var output = client.renderForm ( kont.id + .kont ); ? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp

Re: How to set the items variable dynamically in JXTemplate

2005-12-14 Thread Leszek Gawron
object for items parameter using concatenation of other strings? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501

Re: jx syntax question

2005-11-14 Thread Leszek Gawron
Merico Raffaele wrote: Hi Cocooners Does anybody knows the right syntax to the following JavaScript function call within a JXTemplate. jx:set var=ignored ${cocoon.session.getAttribute(stringToSAX)( value, cocoon.consumer, ignoreRoot )} /jx:set 2.1.x or trunk? -- Leszek Gawron

Re: AW: xmlize in jx and 'NOT_FOUND is not a function'

2005-11-14 Thread Leszek Gawron
just contains a simple jx:out value=${xmlizableWspResult}/ More elegant, isn't it ... many thanks for your support ... Raffaele even more elegant in trunk: jx:out value=${xmlString} xmlize=true/ -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: Pipeline has already been processed for this request

2005-10-14 Thread Leszek Gawron
sendPageAndWait suspends the script, and that all other continue execution. So check your control structures to see if sendPage is called twice for a single request. you should also check if your application is throwing any exceptions you are silently catching - it was a common cause for me. -- Leszek

Re: Linking/including mutiple flowscript files

2005-10-14 Thread Leszek Gawron
in appropriate places? you can use cocoon.load( scriptUri ) in your main script e.g.: cocoon.load(resource://org/apache/cocoon/forms/flow/javascript/Form.js); I have a feeling there are some caching issues with this approach. -- Leszek Gawron [EMAIL PROTECTED

Re: Log4j - logging request uri

2005-10-13 Thread Leszek Gawron
you can implement. YOu can tie the implementation to a sitemap. I think with these interfaces, it's possible to implement the pattern. Rocks !. Another thing that can be taken off web.xml. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: Cocoon-2.1.7:Session objects not getting destroyed after using auth-logout action

2005-10-13 Thread Leszek Gawron
to use cinclude transformer not-cache mode. don't know if anyone uses the same design to create dynamic pages,but thought it might help others. if you feel that's useful - please wikify it. It's much simpler to find information there. -- Leszek Gawron [EMAIL

Re: Flow - passing data to sitemap

2005-10-13 Thread Leszek Gawron
=org.apache.cocoon.components.modules.input.FlowAttributeModule/ taken from current 2.1.x -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl

Re: RequestParameterExistsSelector

2005-10-13 Thread Leszek Gawron
-otherwise construct. why do you need when/when/otherwise syntax if the result of request parameter exists action/selection has only two states: either exists or not? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox

Re: Is Flow suitable for high throughput apps?

2005-10-12 Thread Leszek Gawron
David Legg wrote: Leszek Gawron wrote: If you fear rhino based flowscript might not be performant enough and all you need are stateless operations - use apples block. Thanks. I've never bothered to look at the apples block. The 'alternative' to cforms label always frightened me off

Re: Log4j - logging request uri

2005-10-12 Thread Leszek Gawron
you can set set/remove the log4j diagnostic context with req.getRequestURI(). That's useful! And should be wikified IMO :) Can I implement a OpenSessionInView pattern with this? -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: [EMAIL PROTECTED]

2005-10-12 Thread Leszek Gawron
Vasily Panov wrote: [EMAIL PROTECTED] you should e-mail that address and not [EMAIL PROTECTED] -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http

Re: Log4j - logging request uri

2005-10-11 Thread Leszek Gawron
/bla) Not found -- 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: Is Flow suitable for high throughput apps?

2005-10-11 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: Generate from global Flow variable

2005-10-08 Thread Leszek Gawron
to use SendMailTransformer you could also use PipelineUtil.processToStream to make cocoon render your attachment and send the mail yourself with a custom code but that's another story :) -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: (SOLVED) handle-errors losing HTTP Session?

2005-10-02 Thread Leszek Gawron
invoked from flow and standalone. This has been changed in trunk. -- 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: Cocoon forms query with cocoon 2.1.7

2005-09-23 Thread Leszek Gawron
mean the syntax? cocoon.sendPageAndWait( view.jx, { data: myBean }, function() { myBean = null; }, 3600 ); -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o

Re: Cocoon Hangs with OpenSessionInViewFilter

2005-09-07 Thread Leszek Gawron
C3P0? Anyway, adding a c3p0.properties as I mentioned below and trying some tuning didn't help at all. Exactly. You're NOT using c3p0 then. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06

Re: HTML embedded in XML

2005-09-04 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: calendar z-order bug #30040

2005-08-17 Thread Leszek Gawron
); /script /xsl:template /xsl:template You can override the xsl:template match=head mode=forms-calendar behavior totally if you remove xsl:apply-imports/. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z

Re: java out of memory with OBJECT/quicktime movie

2005-08-17 Thread Leszek Gawron
requesting a particular byte range it is cached in memory before serializing to client - I realized that after studying the code. This is not the most efficient approach there is. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: Content Manager with Cocoon

2005-08-12 Thread Leszek Gawron
daisy could fulfill your needs. The docs say one of the main goals was separation of presentation from the repository itself. Daisy also has an extensive API for repository management. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: Action: How to get Request in initialize()?

2005-08-12 Thread Leszek Gawron
. The only place you'll get is act() simply because all other methods are not invoked in request context. Only during act() the request is known. initialize() and service() are called when the component is being set up (basically when server starts although this is not that simple). -- Leszek Gawron

Re: CForms: quick question on server-side validation

2005-08-10 Thread Leszek Gawron
map:script src=flow/main.js/ /map:flow in sitemap.xmap -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl

Re: SOLVED: CForms: quick question on server-side validation

2005-08-10 Thread Leszek Gawron
to true. does your form rendering pipepine has map:transform type=i18n/ ? do you have a message catalogue defined? -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: jxtemplate - using static methods

2005-08-10 Thread Leszek Gawron
('test')} -- 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: can't get XSP page output to encode as UTF-8

2005-08-10 Thread Leszek Gawron
... this will not be a problem while transforming. your serializer is set to iso-8859-1. Declare your xml serializer like this: map:serializer logger=sitemap.serializer.xml mime-type=text/xml name=xml src=org.apache.cocoon.serialization.XMLSerializer encodingUTF-8/encoding /map:serializer -- Leszek Gawron

Re: Flow and JXTemplate - How to get an xml-stream inside Flow

2005-08-10 Thread Leszek Gawron
(document); Is there already a function in Flow (like my imaginary function 'getMyStream') which can get a xml-stream? var pipelineUtil = cocoon.createObject(Packages.org.apache.cocoon.components.flow.util.PipelineUtil); var document = pipelineUtil.processToDOM(myPipe, {myData: myData}); -- Leszek

Re: Binding framework changing value before update.

2005-08-09 Thread Leszek Gawron
need it. A better option is to setup a new jakarta project: commons-crypto or commons-security. ;-) It rings my bell that commons-codec provides such functionality. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox

Re: Binding framework changing value before update.

2005-08-09 Thread Leszek Gawron
Leszek Gawron wrote: Antonio Gallardo wrote: Here is another interesting link: http://jakarta.apache.org/turbine/fulcrum/fulcrum-crypto/ Note there is md5 and sha1 algorithm. Sha1 is better it provides a 160-bit sum. ;-) I am wondering if cocoon need to borrow this code from fulcrum. I

Re: JXTemplate - calling static functions

2005-08-09 Thread Leszek Gawron
. It looks in page template object model for variable named org. When not found it just returns null. -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67

Re: CForms: quick question on server-side validation

2005-08-09 Thread Leszek Gawron
).setValidationError( new ValidationError( username.taken, true ) ); for i18n-enabled form. HTH -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http

Re: Avalon Components

2005-08-08 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: cache policy

2005-08-06 Thread Leszek Gawron
no difference if the browser requests a fresh copy or not. Is there a command to specifically invalidate a pipeline or document cache after the cron job has updated the directory? you could have a look at eventcache block. It should probably fulfill your needs. -- Leszek Gawron

Re: flowscript action just like xsp-action

2005-08-03 Thread Leszek Gawron
Christoph Hermann wrote: Hello, is there something like an flowscript action? i.e. just like the xsp-action? no there is not. the ability to call a flowscript function that does not sendPage has been blocked long time ago. -- Leszek Gawron [EMAIL

Re: expected behaviour: global vars in flowscript

2005-08-03 Thread Leszek Gawron
It means: 1. you invoke the controller 2. the controller performs business logic and prepares data for view 3. with cocoon.sendPage you call your view In your case it is all pretty mixed up. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: RequestURI in aggregation page

2005-08-03 Thread Leszek Gawron
src=cocoon:/news2/ /map:aggregate map:transform src=style.xsl/ map:serialize/ /map:match I do not remember if you should use {1} or {../1}. Just try it. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z

Re: expected behaviour: global vars in flowscript

2005-08-03 Thread Leszek Gawron
Berin Loritsch wrote: Leszek Gawron wrote: If you are trying to apply MVC here you're failing. You should not be calling pages/displayHome.xsp but some displayHome flowscript function. The flowscript function prepares the bean and does cocoon.sendPage( pages/displayHome ) which is matched

Re: expected behaviour: global vars in flowscript

2005-08-03 Thread Leszek Gawron
Leszek Gawron wrote: Berin Loritsch wrote: Leszek Gawron wrote: If you are trying to apply MVC here you're failing. You should not be calling pages/displayHome.xsp but some displayHome flowscript function. The flowscript function prepares the bean and does cocoon.sendPage( pages

Re: RequestURI in aggregation page

2005-08-03 Thread Leszek Gawron
${cocoon.parameters.getParameter( uri )} (you may want to check the syntax - it may differ in 2.1 and in cocoon trunk due to some refactorings) 2) apply a stylesheet to your base file and parametrize it the same way I did at 1) -- Leszek Gawron [EMAIL PROTECTED

Re: CForms - adding style to labels

2005-08-03 Thread Leszek Gawron
instance. -- 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: +48 (61) 853 29 65

Re: Problem starting cocoon webapp in Jetty

2005-07-05 Thread Leszek Gawron
olver.init(Lorg/apache/xml/resolver/CatalogManager;)V at org.apache.excalibur.xml.DefaultEntityResolver.init(DefaultEntityRe solver.java:62) Those problems usually smell like wrong handling of endorsed libs. http://wiki.apache.org/cocoon/EndorsedLibsProblem -- Leszek Gawron

Re: Problem starting cocoon webapp in Jetty

2005-07-05 Thread Leszek Gawron
=false/ jvmarg value=-Dorg.apache.commons.logging.simplelog.showShortLogname=false/ arg value=etc/main.xml/ arg value=etc/admin.xml/ /java /target cheers -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: sitemap conditions handling

2005-07-05 Thread Leszek Gawron
-success tags. -- 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: Forms and JXTemplate

2005-07-02 Thread Leszek Gawron
/org/apache/cocoon/generation/VelocityGenerator.html EVERY cocoon generator has to produce a well formed markup. VelocityGenerator is not an exception. -- Leszek Gawron MobileBox [EMAIL PROTECTED] http

Re: JX template syntax

2005-06-13 Thread Leszek Gawron
can create new objects in jxtemplate (I don't think so.). Whenever I had the need for it I wrote a static initializer. Yes you can: jx:set var=myObject value=${Packages.org.myproject.MyClass()}/ -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: About AJAX

2005-05-30 Thread Leszek Gawron
Johnson wrote: Hi! I Download a night build cocoon-2.1_20050529221237.tar.gz and I can't find any AJAX in it. browse cforms samples. this build can't build with jdk 1.5 too some 2.1.7 feature changed back. which are those? -- Leszek Gawron [EMAIL

Re: Pipeline XPath Input module

2005-05-29 Thread Leszek Gawron
. AFAIK you need DOM to evaluate XPath - you do not have such here. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501

Re: [cforms] AJAX support?

2005-05-27 Thread Leszek Gawron
Antonio Gallardo wrote: On Jue, 26 de Mayo de 2005, 14:22, Leszek Gawron dijo: Reinhard Poetz wrote: Nacho Jimenez wrote: Hi all, I've read a couple of messages from Sylvain telling he's added AJAX support for CForms. I'd like to try it, does anyone know in which cocoon version

Re: [cforms] AJAX support?

2005-05-26 Thread Leszek Gawron
in order to make it work? Ajax support is only in trunk and BRANCH_2.1.X in svn available. latest 2.1.x also has it. -- Leszek Gawron [EMAIL PROTECTED] Project ManagerMobileBox sp. z o.o. +48 (61) 855 06 67

Re: byte[] display

2005-05-20 Thread Leszek Gawron
to convert byte[] to var in js or something ? Convert it to string in your flowscript -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl

Re: Pipeline global-variables in separate file

2005-05-20 Thread Leszek Gawron
configuration? use some input module for that (xml file input module for example) instead of global sitemap variable. -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: Display a CForm Repeater in JXTemplate

2005-05-18 Thread Leszek Gawron
Nicolas Maisonneuve wrote: Sorry to not be clear.. :) i would like access to the repeater rows and for each row print all the widget values in JX ? take a look at forms samples that use JXTG to generate form content. These are the ones that use jx-macrox.xml file. -- Leszek Gawron

Re: Accessing session attribute using JXTransformer

2005-05-16 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: Display a CForm Repeater in JXTemplate

2005-05-16 Thread Leszek Gawron
tried jx:out value=${model.field[0].name}/ or maybe something like jx:out value=#{model.getRow(0).getChild(name).value}/ does it work ? do you need to access a static path like ${model.field[0].name} or would you rather have access to current repeater row? -- Leszek Gawron

Re: Display a CForm Repeater in JXTemplate

2005-05-16 Thread Leszek Gawron
Nicolas Maisonneuve wrote: On 5/16/05, Leszek Gawron [EMAIL PROTECTED] wrote: oceatoon wrote: Nicolas Maisonneuve wrote: In pratice I would like transform the data of the form , so I use JX as the generator of the pipeline where the data are injected. My first step is just to display the results

Re: how to relese the memory from FOP

2005-05-11 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: Creating Java objects in JX templates with JEXL?

2005-05-10 Thread Leszek Gawron
Jochen Kuhnle wrote: Leszek Gawron [EMAIL PROTECTED] wrote on 09.04.2005 08:06:53: Mark Lundquist wrote: jx:set var=map value=${java.util.HashMap()}/ jx:set var=myBean value=${Packages.com.mycompany.MyBean(1,2)}/ Hmm, the JXTemplateGenerator from Cocoon 2.1.8-dev evaluates these expressions

Re: tasklist example : indent and unindent actions ?

2005-05-10 Thread Leszek Gawron
? What you need is probably a tree widget and not a repeater widget. Unfortunatelly for you there is no tree widget for now - Sylvain Wallez has proposed this only a few days from now on -dev list. You'll probably gonna have to wait a little bit for the implementation to come. -- Leszek Gawron

Re: cocoon under tomcat

2005-05-10 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: flowscript - how to replace in real java

2005-05-10 Thread Leszek Gawron
(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE); petStore = appCtx.getBean(petStoreService); return petStore; } ... Has someone any hints how to realize that. what is exactly you want to achieve? -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: [Cocoon 2.2] NPE when starting cocoon on localhost:8888

2005-04-23 Thread Leszek Gawron
if everything works for you and maybe try out some new features (not much of them from user's point of view though). I did an svn up right now and the error if diferent than yours. (Or maybe because we use a diferent set of blocks). -- Leszek Gawron

Re: Best Cocoon Resources

2005-04-19 Thread Leszek Gawron
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] lol ... yes it is [eBook] Cocoon - Building XML Applications.pdf ... Why you say that ? Bad book ? book good. you - pirate - BAD! :) -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: Best Cocoon Resources

2005-04-19 Thread Leszek Gawron
Sebastien Arbogast wrote: Anyway this book is from 2002. Do you think it's really up-to-date ? Depends on what you mean up to date. Everything in that book is just ok - the only thing is some new blocks emerged that turned cocoon into a powerful application framework. -- Leszek Gawron

Re: Problems creating a drop down selection box

2005-04-16 Thread Leszek Gawron
file. -- 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: ComponentSelector could not find the component for hint [xslt-saxon] (key [xslt-saxon])

2005-04-15 Thread Leszek Gawron
name=transformer-factory value=com.icl.saxon.TransformerFactoryImpl/ /component +-- -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http

Re: Problems creating a drop down selection box

2005-04-15 Thread Leszek Gawron
getting an empty selection box. What am I missing here? I'll try to post you a working example. It would be easier for you to detect differences than for me to debug your code. I hope I have some time tonight. -- Leszek Gawron [EMAIL PROTECTED] IT Manager

  1   2   3   >