Re: From 2.1 to 2.2, the migration. Now what?!

2008-06-02 Thread Zbigniew Bomert OP
Andrew Madu pisze: Hi, I have a requirement for the following serializers in my cocoon project 1. swf 2. svg2jpeg 3. svg2png For svg you need: dependency groupIdorg.apache.cocoon/groupId artifactIdcocoon-batik-impl/artifactId version1.0.0/version

Re: Cocoon 2.2 resources outside of a Block

2008-05-31 Thread Zbigniew Bomert OP
Grzegorz pisze: Your resources should be always (or almost always) stored in a block. For RAD purposes we have created special helper plug-in[1] for Maven. Hi Grzegorz, consider a simple case. My application is working well, deployed in tomcat; I don't need maven plugin for RAD anymore. Now,

Re: Image Reader not showing heavy image

2007-08-08 Thread Zbigniew Bomert OP
Bhavya Sharma pisze: Hi All i am facing a problem while resizing the image through image reader , if the size of the image is bigger than 500kb then it does not show the image it just show the complete path instead of the image , plz help me out . -- Thanks Bhavya Sharma Maybe try to start

ajax reload form

2007-04-02 Thread Zbigniew Bomert OP
Hi, maybe someone could help. I'd like to reload cform with new data using ajax. The initial loading of the form is quite long. After that updating widget's states with ajax goes fast and great, much faster than with simple continuation. Is it possible to reload the whole form with new data,

Re: SetterAction (Session)

2006-10-30 Thread Zbigniew Bomert OP
Merico Raffaele napisaƂ(a): Dear Community In the API java doc of cocoon 2.1.9 there is a class org.apache.cocoon.acting.SetterAction. I tried to use it in various ways but I never got the usage that I need. And that is: a) I would like to read a part of the URL (i.e. skin name, not as

Re: About cocoon map:act

2006-07-18 Thread Zbigniew Bomert OP
Do you mean howto access url parameters in the pipeline? Using InputModule (see: http://wiki.apache.org/cocoon/InputModules), e.g. Zhu Di wrote: hello all, I get some trouble when try to transmit parameter to map:act when I call a URL, like

Re: Handling sendmail transformer errors/exception

2006-07-17 Thread Zbigniew Bomert OP
Ard Schrijvers wrote: Hi , We are using sendmail transformer for email generation. This is working fine, but we want to handle the exceptions that are generated by sendmail transformer. As I understand sendmail transformer results in an xml file which describes that status of the email

Re: How to return xml from a flowscript?

2006-01-05 Thread Zbigniew Bomert OP
Jonas Lundberg wrote: The xquery stores the XML file in eXist. (...) You can store xml in eXist from flowscript, without using xquery, as described in: http://wiki.apache.org/cocoon/CformsExistAndFlow Zbigniew Bomert - To

Re: authentication-fw and session

2005-12-08 Thread Zbigniew Bomert OP
Resource selected in redirect-to is called together with a parameter resource containing path to the resource requested by user. Depending on this parameter you can process the request laiter in different pipelines. Zbigniew Peter Sparkes wrote: Hi, / /I am using the authentication

Re: Amend XML File

2005-11-17 Thread Zbigniew Bomert OP
Peter Sparkes wrote: Hi, I wish to allow authorised users to amend files on the server using forms. I have working the authentication and the CForm displaying the old data. However I can't get the amended data that I extract from the CForms to amend the XML file on the server. Did you

Re: How to send parameters to a URL via http?

2005-10-25 Thread Zbigniew Bomert OP
Brian Burridge wrote: Problem is, I want to send all requests to this url, with any and all request params. I won't know what they are in advance to hard code them in the sitemap. Is there a way to get the xml from the RequestGenerator and send that as a param? map:generate

Re: POST Generator or Transformer?

2005-10-19 Thread Zbigniew Bomert OP
Stewart, Gary wrote: Had a look at the documentation but I'm probably just missing something. Is there a transformer (or generator) that can send a HTTP Post request to another server and generate a stream from the returned results? I figured that since that's kinda the format that SOAP requests

Re: Passing Session XML as Parameter

2005-07-29 Thread Zbigniew Bomert OP
Look at: http://wiki.apache.org/cocoon/ModuleSource and http://wiki.apache.org/cocoon/InputModules zb Stewart, Gary wrote: Hi there, Sorry to keep bugging people with really simple queries I just couldn't find the appropriate documentation on dealing with sessions from the site map (quite

Re: AW: two generators in one pipeline

2005-07-21 Thread Zbigniew Bomert OP
If you really don't want to change xslts, then you can try flow script. Send request matching **/*.coc to flowscript. In script generate and transform the first document with processPipelineTo() and save it to a file. Then transform second document and send it to the client with sendPage(). But

Re: Well Formed HTML as template

2005-07-16 Thread Zbigniew Bomert OP
Gustavo Nalle Fernandes wrote: Hi cocooners, Does cocoon offers thru one of its generators the possiblity to use a well formed HTML instrumented with valid htmls tags in order to generate a dynamic page, similar to tapestry template mechanism?

Re: Injecting a String XML document into a pipeline

2005-06-04 Thread Zbigniew Bomert OP
Why not simply: 1. flow cocoon.sendPage(mypipeline, {myxml: mystring}) 2. jxtemplate data ${myxml} /data 3. sitemap map:generate type=jx src=insertxml.jx/ Or more general: cocoon.request.setAttribute(myxml, mystring); cocoon.sendPage(mypipeline); template:

Re: Injecting a String XML document into a pipeline

2005-06-04 Thread Zbigniew Bomert OP
(Packages.org.apache.cocoon.components.flow.util.PipelineUtil); var result = pipelineUtil.processToDOM(uri, viewData); cocoon.disposeObject(pipelineUtil); return result; } myxml contains dom xml. zb Jorg Heymans wrote: Zbigniew Bomert OP wrote: data ${myxml} /data Are you sure this works when myxml contains xml tags ? Surely