Re: indetation in the serializers

2004-07-08 Thread Joerg Heinicke
On 08.07.2004 14:45, Lionel Crine wrote: I all, I'd like to serialize my document without indentation so I define my xml serializer : map:serializer logger=sitemap.serializer.xml mime-type=text/xml name=xml src=org.apache.cocoon.serialization.XMLSerializer encodingUTF-8/encoding

Re: Disabling cookies

2004-07-08 Thread Joerg Heinicke
On 08.07.2004 13:20, Oro smith wrote: Is it possible to disable cookies in cocoon? How is this done? This is a servlet container issue, not Cocoon. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [WIKI] configuration tweaks

2004-07-07 Thread Joerg Heinicke
Something completely different: Can the subject be made readable at http://marc.theaimsgroup.com/?t=10834263912r=1w=4 ?? This mean not using ISO, but US ASCII. Joerg On 07.07.2004 09:20, David Crossley wrote: I just switched on the bang_meta option. So if you do not like the way that Moin

Re: Minimal jar loading - block/jar list?

2004-07-07 Thread Joerg Heinicke
On 07.07.2004 22:42, Christian Rosenberger wrote: I have a question regarding the jars in WEB-INF/lib. Is there a list, which jars are needed by which block? I know the minimal webapp wiki documentation, but it isn't helpful regarding which jars I have to use and which jars I could remove.

Re: [CForm]Cocoon form sample doesn't work

2004-07-06 Thread Joerg Heinicke
On 06.07.2004 09:35, Christina wrote: Just tried the cocoonform sample http://localhost/samples/blocks/forms/form1 and http://localhost/samples/blocks/forms/form1.flow both of them doesn't work. There is always error on the altbirthdate widget, the error message is invalid date format.

Re: Linotype licence

2004-07-06 Thread Joerg Heinicke
On 06.07.2004 05:34, Lincoln Mitchell wrote: I am customising the Linotye sample block. It now looks nothing like it but still using 80% of the code. Can I offered this as a content management solution to a client? The info at http://www.apache.org/foundation/licence-FAQ.html seems to give This is

Re: cforms : retrieve multiplevaluefield

2004-07-06 Thread Joerg Heinicke
On 06.07.2004 11:23, Stephane Delort wrote: Hi, I am trying to get my cforms multipleValueFields. I tried to get the values of the user's selected fields. Thus, I really don't know how to do this since the getValue() of the multiplevaluefield widget return an objetc. This object is an array but I

Re: Antwort: Re: cforms : retrieve multiplevaluefield

2004-07-06 Thread Joerg Heinicke
On 06.07.2004 12:00, Stephane Delort wrote: My datatype is String for both MVF. I would have writen something like : // this is ok cocoon.request.setAttribute(myForm, form.getWidget()); var reqAttf = cocoon.request.getAttribute(myForm); Don't know what you are trying here. You simply set a request

Re: CForms, binding with repeater, new element overwrites old element

2004-07-06 Thread Joerg Heinicke
On 06.07.2004 17:21, Nicole Hochleiter wrote: In stepping through org.apache.cocoon.forms.binding.RepeaterJXPathBinding public void doSave(Widget frmModel, JXPathContext jxpc) throws BindingException I got the impression, that my new added element overwrites an existing one. I'm working with

Re: excell tags

2004-07-06 Thread Joerg Heinicke
On 06.07.2004 21:41, Carl-Otto Kjellkvist wrote: I'm trying to make an excel sheet and i can't find any goodreferences over the functions/tags that I can use in my xsl-file. So I wonder if someone has some url's thatcan be at help!? It's the Gnumeric file format as described at

Re: CformsHibernateAndFlow Sample attachments

2004-07-05 Thread Joerg Heinicke
On 05.07.2004 10:43, Robin Wyles wrote: Hi... I need to download the attachment on the http://wiki.apache.org/cocoon/CformsHibernateAndFlow wiki page. It seems that a lot of the attachments have gone missing since the wiki migrated. Can anyone send me this file? At the end of the page there is

Re: New wiki - impressions?

2004-07-05 Thread Joerg Heinicke
On 05.07.2004 12:25, Derek Hohls wrote: The numbering of sections is very artificial; what is wrong with large fonts for higher level heading and and smaller ones for lower levels. The numbering is ok, it probably must only be fixed on most pages. I have it done for example at

Re: pipeline to read an xml file from an xsp

2004-07-05 Thread Joerg Heinicke
On 05.07.2004 11:38, Matthieu Richard-Molard wrote: Hello! I tried this code snippet, but it just gave me the uri instead of the source cocoon:/view-source?filename=.xsp I think my pipeline is wrong: map:match pattern=req1 map:generate src=req1.xsp / Missing: type=serverpages, otherwise

Re: WebServiceProxyGenerator and links parsing / rewriting

2004-07-05 Thread Joerg Heinicke
On 05.07.2004 11:49, Thierry BARUSTA wrote: Hi! I'm very new to Cocoon (2.1) and I don't know really where an how to post my question. I have to create a proxy with Cocoon that will forward HTTP requests to an other server which will answer in XML. This XML will be then transformed into xhtml.

Re: Show/Hide Widgets

2004-07-05 Thread Joerg Heinicke
On 05.07.2004 12:35, Vilya Harvey wrote: The solution (hoping that Tim also reads it): The implicite cases are really hard to understand, especially as there is fb:case and ft:case, but no fd:case. The fd:struct I use also has effect on the template and binding (I have to add them there too to

Re: New wiki - impressions?

2004-07-05 Thread Joerg Heinicke
On 05.07.2004 13:37, Derek Hohls wrote: I am not sure what you mean by this must be done by hand for the page uploads... By adding attachment:attachment.zip you can link attachments from with in the page. But this links must be added by hand. Joerg

Re: CForms:: Widget Date datatype on-change-value problem

2004-07-05 Thread Joerg Heinicke
On 05.07.2004 18:16, oceatoon wrote: Hi everyone an on-change-value on a Date type widget has no action when the date is changed in the JS date selector. It only sends the submit if the date is manually inserted and followed by a click outside the textarea (just like a field widget). How can I

Re: reloading context in javaflow

2004-07-05 Thread Joerg Heinicke
On 05.07.2004 22:34, johan coens wrote: Where to set the CompilingClassLoader? Specify it in the cocoon.xconf won't work. Is there any doc about this? Unfortunately I can not answer all questions. I have not used the CompilingClassLoader until now. I know that you must specify the src dir for

Re: Show/Hide Widgets

2004-07-05 Thread Joerg Heinicke
On 05.07.2004 21:12, Tim Larson wrote: I agree that leaving out fd:case was a mistake, but I am not sure how to make it better without breaking existing forms. If we add and require fd:case it would be clearer and help avoid errors and misunderstandings, but it would break any forms that are

Re: Exiting flowscript

2004-07-04 Thread Joerg Heinicke
On 04.07.2004 10:12, Colin Paul Adams wrote: How can I get out of the flowscript, and go to another cocoon URL? I tried coccon.sendPage, and within that pipeline, used a : map:redirect-to uri=cocoon:/calendar.html/ This worked for displaying the initial page, but the URL of the page is wrong (it

Re: [cforms] Editing existing list of uploads

2004-07-03 Thread Joerg Heinicke
This thread on users list was about implementing the setValue() method on the upload widget. The use case is - as the subject says - editing existing list of uploads. The complete thread can be found at http://thread.gmane.org/gmane.text.xml.cocoon.user/38910. What has been the reason for not

Re: Caching of generated XSP

2004-07-03 Thread Joerg Heinicke
On 02.07.2004 06:05, Scott Payne wrote: I'm taking up a thread about caching of generated XSPs started at http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=107880112301284w=2. I've ported the patches in http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26725 to the 2.1.5 source but we still seem

Re: Multipage forms and XML binding

2004-07-03 Thread Joerg Heinicke
On 02.07.2004 14:03, Karim ALKHADER wrote: I'm using Cocoon 2.1.5, I tried CForm and XMLBinding and this allows really powerfull things. The problem I'm facing with is when I want to create an XML document from several forms. I did it having one form defintion file, several form template files and

Re: Binding a CForm to a database

2004-07-03 Thread Joerg Heinicke
On 02.07.2004 16:28, Colin Paul Adams wrote: Joerg On 02.07.2004 15:45, Colin Paul Adams wrote: Having explored the CForms binding to an XML file sufficiently, I now want to have the data on a database instead. Does this mean I have to bind to a bean, and have logic in the bean

Re: CForms Binding to XML file sample

2004-07-03 Thread Joerg Heinicke
On 03.07.2004 10:48, Colin Paul Adams wrote: Joerg I would not see the behaviour of the binding as a problem, Joerg only the result of having not unique ids. I think that was Joerg let out with intent. It's up to you to do it either after Joerg form processing or in the binding

Re: JspGenerator doesn't work from flow but does otherwise...

2004-07-03 Thread Joerg Heinicke
On 02.07.2004 17:01, Terry Brick wrote: Weird problem. I have a small test JSP that I'm accessing using JspGenerator. It works fine if I hit it straight from the browser (with a URL that matches pipeline in my sitemap) but it fails if I call the exact same thing from my flow script using

Re: OJB Sample sitemap error(?)

2004-07-03 Thread Joerg Heinicke
On 03.07.2004 15:22, Steve Schwarz wrote: Hi I just went to use the 2.1.5 OJB sample and it looks like there are three paths wrong in the sitemap. At least for my build of the standalone there is no samples/forms only samples/blocks/forms If someone could verify if I'm right or wrong I can

Re: CForms Binding to XML file sample

2004-07-03 Thread Joerg Heinicke
On 03.07.2004 17:00, Colin Paul Adams wrote: I'm trying to do this, but I'm running into real problems. The Mozilla javascript console shows nothing. This is server side javascript, it can not end in Mozilla js console. fb:javascript id=id path=count(preceding::sibling[local-name() =

Re: [cforms] Editing existing list of uploads

2004-07-03 Thread Joerg Heinicke
On 03.07.2004 16:22, g[R]eK wrote: JH This thread on users list was about implementing the setValue() method JH on the upload widget. The use case is - as the subject says - editing JH existing list of uploads. The complete thread can be found at JH

Re: CForms Binding to XML file sample

2004-07-03 Thread Joerg Heinicke
On 03.07.2004 18:16, Colin Paul Adams wrote: Joerg That's indeed difficult. Only help is the usage of print(). But where does the output go to? To the console. There is also a logging function IIRC, something like log() or cocoon.log(). This would probably go to flow.log. Joerg

Re: How to access Session/Request object inside Transformer class

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 08:28, Robin Wyles wrote: Hi, I may be looking at this too simplistically, or missing part of your problem, but it appears to me that you are trying to achieve all this in one pipeline, when two would be easier. 1st pipeline: 1. Generate the xml 2. Transform using xsl 3. Serialize

Re: JspGenerator doesn't work from flow but does otherwise...

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 07:01, Terry Brick wrote: Cocoon 2.1.5 Tomcat 5.0 Weird problem. I have a small test JSP that I'm accessing using JspGenerator. It works fine if I hit it straight from the browser (with a URL that matches pipeline in my sitemap) but it fails if I call the exact same thing from my

Re: Validation of time fields in CForms

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 07:56, Colin Paul Adams wrote: I have the following in my form definition file: fd:field id=start-time fd:labelStart time/fd:label fd:datatype base=date fd:convertor datatype=date variant=time type=formatting fd:patterns

Re: Why Cocoon Stops processing all Requests URI the moment one of them has an exception

2004-07-02 Thread Joerg Heinicke
First, please avoid cross-posting. On 02.07.2004 11:16, Arnab Sengupta wrote: I have a Cocoon pipeline that takes a huge xml as input. The stucture of xml is: Root Message !--- Other elements inside it -- /Message Message !--- Other elements inside it -- /Message Message !--- Other elements

Re: Binding a CForm to a database

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 15:45, Colin Paul Adams wrote: Having explored the CForms binding to an XML file sufficiently, I now want to have the data on a database instead. Does this mean I have to bind to a bean, and have logic in the bean update the database? Or are there other options? There is no binding

Re: Schema2CocoonForms example at CocoonWiki

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 18:39, Niels van Kampenhout wrote: I have put together a small example that demonstrates how a Cocoon Form can be generated from an XML schema. See http://wiki.apache.org/cocoon/Schema2CocoonForms for more info. (Note: As I find the new Cocoon Wiki a bit confusing, the page might be

Re: Show/Hide Widgets

2004-07-02 Thread Joerg Heinicke
Vilya Harvey vilya at lineone.net writes: This means validation is caused by them though it should not? http://cocoon.apache.org/2.1/userdocs/forms/widget_submit.html Yes. It also means that execution is resumed in the flowscript that sent the page, if the validation passes. I've

Re: CForms Binding to XML file sample

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 11:31, Colin Paul Adams wrote: It seems to me there is something seriously wrong with the binding to xml file sample. If I add a new row to the table at the bottom, I get the following XML output: ... Note that the id field for the new row is an empty attribute. This is no good - if

Re: Binding a CForm to a database

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 20:31, Colin Paul Adams wrote: Joerg == Joerg Heinicke [EMAIL PROTECTED] writes: Joerg heard that someone bound the form to an XML database like Joerg xindice. This is the same as for binding to an XML file, Joerg you only need another source. It seems that xindice

Re: Trouble referencing buttons

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 21:40, Anton Andreev wrote: I have an xsl sheet tied to xml by pipeline. The trouble that i'm having is i can't reference buttons in xsl inside the flow to get them to do different things on click. For example, one button on click event should add items to xml and other one delete

Re: Multiple HTML page output

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 09:30, Lincoln Mitchell wrote: Hi all, I have a web site generated by cocoon but need to have cocoon output all HTML as files to a directory. These resulting files will then be but on the server (unfortunately Cocoon cannot be used on this server). I have tracked down this tutorial:

Re: developers list

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 14:00, Colin Paul Adams wrote: I am not seeing appear (after a few hours) a message that I posted this morning to the developers list. I am seeing other messages appear on the list. Does anyone know if there is a problem with the list? Dirk I'am seeing your

Re: error.log

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 15:42, Oro smith wrote: This is the error seen in error.log when a link is clicked. Can someone throw light on this and suggest a possible solution please? thanks in advance. ERROR (2004-07-01) 18:27.34:243 [sitemap.action.mail] (/mail/mail/logout.wml) PoolThread-4/MailAction:

Re: pipeline to read an xml file from an xsp

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 15:47, Matthieu Richard-Molard wrote: I'm trying to write a pipeline in order to get data from an XML to XSP: I specified sql requests in xml and i want the user to choose between them through an XSP page Perhaps I could hard-code the file access in Java but that would be

Re: fd:upload unexpected behaviour

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 18:00, Peter Velychko wrote: Hello users, I've found some unexpected behaviour for me when using fd:upload/. When one uploads some file with forbidden content type validation error arises for the widget. The result view contains error messages. When the form contains also other

Re: Styling fi:field widgets for times

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 21:42, Colin Paul Adams wrote: fd:field id=start-time fd:labelStart time/fd:label fd:datatype base=date fd:convertor datatype=date variant=time type=formatting/ /fd:datatype /fd:field With a binding of: fb:value id=start-time

Re: DHTML drop down menus in Frames

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 01:01, Craig Christophersen wrote: I just read that thread and I don't believe it is the same. Reason being that the menus drop down into the lower frame fine without the lower frame being a pipeline. Using IE6 SP1. I will mess with the IFrame idea. I wonder how IE should determine

Re: [cforms] Editing existing list of uploads

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 09:05, g[R]eK wrote: Question is: Why upload widget doesn't have setValue method, and if it's justified how can I solve my problem? JH What for do you need setValue()? IMO it makes no sense, where do you JH want to know from server side at what place the file is stored client JH

Re: Show/Hide Widgets

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 11:13, oceatoon wrote: Just a thought, would it be difficult and wouldn't it be interesting to implement a visible=true/false attribute on the widgets definition (just like the required=true/false) ? That's not an issue of the form definition, but the form styling, so it is done

Re: Show/Hide Widgets

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 10:37, oceatoon wrote: Hello everyone Thanks for the answers, and the paths to solutions I went through Tim Larson's explanation, and GUI model that really give great ground for dynamic implementation, but also come with a certain complexity that I beleive would take me more time

Re: fd:upload unexpected behaviour

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 20:55, Peter Velychko wrote: But try the sample with two upload widgets that are not required (see example below). fd:form xmlns:fd=http://apache.org/cocoon/forms/1.0#definition; xmlns:i18n=http://apache.org/cocoon/i18n/2.1; fd:widgets fd:field id=user required=true

Re: reloading context in javaflow

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 23:18, johan coens wrote: Hello, When will reloading context in javaflow work. It's a really pain in the ass to develop without reloading feature enabled. I now need to restart tomcat everytime i change a class, or is there a better way? Can you try the CompilingClassloader? Joerg

Re: How to access Session/Request object inside Transformer class

2004-07-01 Thread Joerg Heinicke
On 02.07.2004 00:17, Java Developer wrote: Hi All, I am writing a webbapp which generates charts inside a dynamically generated html page using cocoon and fins block. My problem is I m looking for a simpler way so that, in a pipeline, I should be able to : 1. Generate the xml //Done ..not a

Re: error with Window.open() in Cocoon

2004-07-01 Thread Joerg Heinicke
On 01.07.2004 21:59, Leona Slepetis wrote: I have a problem with Cocoon 2.1 that someone may have seen before. I am trying to launch a window containing a pdf file, using the JavaScript Window.open() method. When I run this, I get an IE error saying that the site can't be found. If I use the same

Re: AW: HSSF Serializer: Back To The gmr:PrintInformation Problem

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 09:37, Skladovs, Victor wrote: Hallo, Joerg! Thanx for the reply. I think I've fixed this bug. I've wrote patches for the elements paper, orientation and grid. It works fine in our firm, but I'd like to test it by our customer as well. Very good, looking forward for your patch. I'd

Re: Show/Hide Widgets

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 11:00, Vilya Harvey wrote: This is possible using the union widget. I did it myself on Friday. The resources I used were http://wiki.cocoondev.org/Wiki.jsp?page=TimLarson and the form model GUI sample, but the latter one is really complex. Ask further questions if you need -

Re: How to include forms transformer in cocoon.war?

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 11:15, Colin Paul Adams wrote: In my local.blocks.properties, I have excluded all the unstable blocks except forms. In my local.build.properties, I have excluded samples. Now, when I test this build, with a sitemap pipeline entry including an entry: map:transform type=forms/ this

Re: Mismatch between form model and template

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 15:28, Derek Hohls wrote: Hi all I got stuck for quite a while on a really simple problem... not sure how to avoid this for future. In my form model I have: fd:field id=testName required=true fd:labelAny name/fd:label fd:datatype base=string/ /fd:field

Re: problem choosing transform-src dynamically

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 12:40, Armaz Mellati wrote: I have big trouble deciding transform-src on runtime based on some value I get from an action and xsp. The point is, by the time I enter the match I don't know what the filename is. I need to extract it from my database. As you see I have tried to use

Re: Where i can find summary of question and answer to help other's not ask the same question

2004-06-30 Thread Joerg Heinicke
Are you subscribed to the mailing list? If not you can also read the threads in different mail archives (http://cocoon.apache.org/community/mail-archives.html) or at gmane.org (http://news.gmane.org/gmane.text.xml.cocoon.user). Joerg On 30.06.2004 12:18, andi wrote: Dear all, Where i can find

Re: Show/Hide Widgets

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 12:05, Vilya Harvey wrote: Have you (or anyone else) noticed a bug with action widgets inside a union? The behaviour I'm seeing is that they always cause the form to be submitted, rather than just updated. It's annoying because I'm trying to create a popup detail area which

Re: Where on earth is the forms JS function used in examples?

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 17:34, Terry Brick wrote: Maybe somebody can try to answer this one. In... samples\blocks\forms\forms\sitemap.xmap ...there is... map:call function=forms Doesn't this typically mean there should be a Javascript function called forms?? I've looked EVERYWHERE. I finally gave up and

Re: Validating XML in pipeline?

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 02:27, Joel McConaughy wrote: I would like to validate XML within the pipeline before running it through a set of stylesheets. Rooting thru the archives, I found a couple of references to a custom action that validates against a DTD. Is there a way to do this without resorting

Re: XSLTTransformer with a different source

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 16:00, Marius Oancea wrote: Hi, I have a web application that partly uses cocoon. [ANOTHER APP]I have a xslt that is applied during a pipe. Now, in a servlet i have the XSLT extracted from a database. I put this bytearray into request. [COCOON] I can create a custom

Re: error with Window.open() in Cocoon

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 21:17, Leona Slepetis wrote: I have a problem with Cocoon 2.1 that someone may have seen before. I am trying to launch a window containing a pdf file, using the JavaScript Window.open() method. When I run this, I get an IE error saying that the site can't be found. If I use the

Re: DHTML drop down menus in Frames

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 17:57, Craig Christophersen wrote: I am having trouble getting DHTML drop down menus to display across frames. My toolbar frame is html. However I would like it to drop down into the frame beneath, which is a frame with a pipeline as its source. My code works fine without cocoon the

Re: [cforms] Editing existing list of uploads

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 16:04, g[R]eK wrote: . Hi users! . Quick description: In db there are some records that include file (blob) and some info about it. I want to build form that will make possible editing info about each file, and if it's needed upload new binary data and of course

Re: pipeline to read an xml file from an xsp

2004-06-30 Thread Joerg Heinicke
On 30.06.2004 15:47, Matthieu Richard-Molard wrote: I'm trying to write a pipeline in order to get data from an XML to XSP: I specified sql requests in xml and i want the user to choose between them through an XSP page Perhaps I could hard-code the file access in Java but that would be cheating

Re: Cocoon 2.1.5 incompatibilities with TEI Stylesheets

2004-06-30 Thread Joerg Heinicke
On 29.06.2004 17:18, Nick wrote: I am trying to transform a TEI document into HTML and PDF documents using native XSL style sheets from http://www.tei-c.org/Stylesheets/teixsl.html http://www.tei-c.org/. These style sheets are composed of one main (teihtml.xsl) that uses xsl:include and

Re: Use Cocoon as a rapid development tool??

2004-06-29 Thread Joerg Heinicke
On 25.06.2004 14:51, Ugo Cei wrote: to it... do you not end up with lots and lots of different Cocoon projects, and lots of Cocoon instances on the server, in the way you do it? I usually strive for self-contained projects. Ideally, if a new developer joins our team, all he should have to do is:

Re: CForms data-binding to XML question

2004-06-29 Thread Joerg Heinicke
On 27.06.2004 14:46, Colin Paul Adams wrote: So I started by writing the binding definition. I took the XML Binding sample as a model (using just the repeater bit at the bottom of the page). I shall eventually want to do the date as an aggregate I guess, but for starters I'll just do it as a text

Re: Show/Hide Widgets

2004-06-29 Thread Joerg Heinicke
On 27.06.2004 15:21, oceatoon wrote: Hi everyone I would like to be able to show/hide widgets according to certain events (Ex: in the Car Selector sample in the Forms block, I would like to show the car type widget only once the make has been choosen). Does anybody know how this is possible, do I

Re: UTF-8 and Encoding Problems

2004-06-29 Thread Joerg Heinicke
On 27.06.2004 22:28, Christopher Painter-Wakefield wrote: I'm not familiar with that setting. Where does it live? http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/webapp/WEB-INF/web.xml?annotate=1.19#350 Joerg Joerg Heinicke [EMAIL PROTECTED] Are you using Tomcat? If you do some searches

Re: Cocoon Error in jboss-4DR4

2004-06-29 Thread Joerg Heinicke
On 28.06.2004 10:16, andi wrote: Dear all i just experiment to implement cocoon.war in jboss the configuration like this cocoon-2.1.5\build\webapp i copy all in that directory to jboss_home\server\default\deploy\cocoon.war cocoon.war is directory i get the error message when i try to If you

Re: [OT]Re: mime type

2004-06-29 Thread Joerg Heinicke
On 29.06.2004 06:49, Oro smith wrote: dear defe, Nice to hear you are single :)...good luck too. But that is sent by the mail service provider and not by me. my question was only: Is there any way to specify the mime type of the response header in the XSP ?? Yes, as you have access to the

Re: Quick JXTemplate question

2004-06-29 Thread Joerg Heinicke
On 28.06.2004 09:45, Derek Hohls wrote: If I need to access variables, created in flow, from a JXTemplate page that is NOT called by the flowscript itself. how can I do that? (Do I need to create a session at the start of the flowscript, or is there some other, better way?) If these variables

Re: HSSF Serializer: Back To The gmr:PrintInformation Problem

2004-06-29 Thread Joerg Heinicke
On 28.06.2004 10:14, Skladovs, Victor wrote: I would like actually to solve this problem and to try to write a patch. The problem is, that I've never done it before and don't know what should I start with. Apart from that, I don't have enough time to concentrate myself only on this problem.

Re: How to compile XSP yourself (automated builds)?

2004-06-29 Thread Joerg Heinicke
On 28.06.2004 10:08, Marcial Rosales wrote: Thanks Joerg, I am still working on Cocoon 2.0.4. I think CLI is only available for 2.1. There is also a CLI available for 2.0.4, but it is as far not so good as the one for 2.1. Upayvira can tell you more on this.

Re: Excel-Sheets as Templates

2004-06-29 Thread Joerg Heinicke
On 28.06.2004 22:26, cocoon user wrote: Hi everyone, I need to read in Excel templates on request, fill the data from text file in certain cells and deliver the sheet to the clients browser. Any suggestions? I guess you need the new ExcelGenerator not even committed to CVS:

Re: fd:repeater-action

2004-06-29 Thread Joerg Heinicke
On 29.06.2004 18:52, Peter Velychko wrote: Hello Johnson, Thank you for your reply. Could you please describe your advice? And requirements are the following: - default (and minimal) qty of rows in repeater is 1 - user is able to add new row to repeater - user is able to remove any of repeater's

Re: CForm - Disabling buttons from flow scripts

2004-06-29 Thread Joerg Heinicke
On 29.06.2004 11:51, [EMAIL PROTECTED] wrote: Hi, I have a requirement where I need to disable buttons in cocoon form based on some user access rights. I am using Cocoon form and I am checking the access permissions in the flow script. I tried searching how to do this, but could not get much of

Re: POPUALTING SELECTIONLISTS INA REPEATER FROM FLOW

2004-06-27 Thread Joerg Heinicke
On 27.06.2004 01:03, ayana joseph wrote: Hi all, I am trying to access the selection list value in woody form,in a repeater widget, from flowscript.My code for the above is :- widvalue = form.getWidget(name); However the widvalue returned is null. Please correct me where am i wrong. Ayana. This

Re: Modifying pipeline at request time?

2004-06-27 Thread Joerg Heinicke
many different pipelines, one for each document type, and reusing the common parts via resources is much cleaner. Joerg At 6/26/2004 08:17 AM, Joerg Heinicke wrote: I would like to be able to dynamically generate and/or modify a pipeline at request time, so that I can create an aggregated

Re: Problem with cocoon 2.1.5, tomcat 5.0.9 on Mac OS X 10.3 with Java 1.4.2_03

2004-06-26 Thread Joerg Heinicke
On 26.06.2004 10:47, Ugo Cei wrote: I have downloaded cocoon 2.1.5 and tomcat 5.0.9, ensured I extracted cocoon 2.1.5 using gnutar (so I believe file names have not been mangled in some way), built the cocoon war, placed it in tomcat's webapps folder ... all seems to go well until using a

Re: Tomcat won't expand cocoon.war

2004-06-26 Thread Joerg Heinicke
On 26.06.2004 06:17, Colin Paul Adams wrote: Joerg Building a WAR, deploying it in webapps Joerg dir and solving the endorsed libs problem should be Joerg sufficient for every Tomcat version. What's this problem then. I can't see it mentioned in install.txt. I don't know. I never came

Re: XSP Error handling with SAX line column numbers

2004-06-26 Thread Joerg Heinicke
On 15.06.2004 16:00, Nigel Whitaker wrote: My problem is that I cannot get at the line/column number details in saxerror.xslt because the notifier generator at this point has converted everything to CDATA (I added a logging transformer after the notifying generator), so that the SAXParseException

Re: trouble with request.setCharacterEncoding('UTF-8')

2004-06-26 Thread Joerg Heinicke
On 16.06.2004 13:30, Helmut Ackermann wrote: I have a jsp-page that creates a html-form everything UTF-8 encoded. Now I want to read the request parameter (send with method post) UTF-8 encoded, but it seems that the paramters fetched within the jsp and some helper java classes will always use the

Re: How to compile XSP yourself (automated builds)?

2004-06-26 Thread Joerg Heinicke
On 17.06.2004 18:10, Marcial Rosales wrote: I have tried to generate a small piece of code that allow me to compile the XSP pages outside Cocoon runtime. I intend to compile all the xsp files during each build so that we can guarantee that everything is fine. Maybe it's better to try the CLI and

Re: merging to webapps

2004-06-26 Thread Joerg Heinicke
On 18.06.2004 15:17, Jasper Michalczik wrote: Hello, I currently have to webapps running which are exactly the same. I've put them in to different folders in the webapp folder of Tomcat. Now I experienced some severe performance losses when running a third or fourth application which are again

Re: Access to bizdata in Cocoon Forms HTML template

2004-06-26 Thread Joerg Heinicke
On 18.06.2004 20:37, [EMAIL PROTECTED] wrote: Hi all, Is it possible to access bizdata in a Cocoon Forms template? Specifically I have a java object available to me in my FlowScript which ahs a method getHtmlColor() which returns a string suiable for specifying a color in HTML. I would like

Re: SqlTransformer = Excption with Jboss

2004-06-26 Thread Joerg Heinicke
On 21.06.2004 23:45, Oscar Picasso wrote: I've installed cocoon-2.1.5 on a newly installed Jboss-3.2.4. I've tried to use the SqlTransformer example in samples/blocks but I get the following Exception: org.apache.cocoon.ProcessingException: Failed to execute pipeline.:

Re: get-sitemap-parameter in JSP ?

2004-06-26 Thread Joerg Heinicke
On 22.06.2004 17:43, Philippe Guillard wrote: Is there a way to get a sitemap parameter from a JSP page(JSP block), equivalent of the XSP util:get-sitemap-parameter name=xxx/ with xmlns:util=http://apache.org/xsp/util/2.0; ? I guess not as JSP is to loosely coupled. You probably can only rely on

Re: Lets Not Go Big Game Hunting!

2004-06-26 Thread Joerg Heinicke
On 23.06.2004 17:03, [EMAIL PROTECTED] wrote: A very large part of learning Cocoon is like eating an elephant (love the metaphore!) is due to documentation. Not long big documents, not books, but little pieces :) A paragraph per block, tops. Most, if not all, stuff outside the Cocoon core relates

Re: Can I queue http requests in Cocoon 2.1.5 standalone?

2004-06-26 Thread Joerg Heinicke
On 23.06.2004 14:30, Thorbjørn Ravn Andersen wrote: I have a situation where I want to use vanilla Cocoon with a few extra classes to render XSL-FO to an untraditional format, which I have working with the Jetty included. What I need to do now, is to limit the number of concurrent requests to

Re: RegExp Transformer?

2004-06-26 Thread Joerg Heinicke
On 23.06.2004 17:23, Jonathan Linczak wrote: Hi all, New to this list, so go easy on me... :) I'm looking for something like a regular expression transformer. Here's the quick situation: I'm coming from the Lenya mailing list, and I found that one of the editors, Kupu, somehow erroneously

Re: UTF-8 and Encoding Problems

2004-06-26 Thread Joerg Heinicke
On 23.06.2004 23:44, Christopher Painter-Wakefield wrote: Are you using Tomcat? If you do some searches, you'll probably turn up other postings on this topic. I can't remember all the ins outs, but supposedly the browsers incorrectly supply encoding information in their requests to Tomcat (ours

Re: Woody

2004-06-26 Thread Joerg Heinicke
On 24.06.2004 16:56, u16929 wrote: Hello. I have a problem with wi:groups. I'm using a quite similar form like the example form1 of woody. But there is the problem with validating the form. There is a wi:group which contains two more wi:groups(labels). In both groups there are different and equal

Re: Modifying pipeline at request time?

2004-06-26 Thread Joerg Heinicke
On 25.06.2004 17:35, Jeff Jones wrote: I would like to be able to dynamically generate and/or modify a pipeline at request time, so that I can create an aggregated response using one or more sub-documents, to be chosen based on the request. I'd also like to be able to choose, at the same time,

Re: Using JSPGenerator as template engine for flow?

2004-06-26 Thread Joerg Heinicke
On 26.06.2004 10:44, Stephan Coboos wrote: Hello, has someone ever used JSPGenerator as underlying template engine instead of JXTemplate? Is it possible to use it with flow? When not, what modifications are to do, to use JSPGenerator with flow? Reason: I need taglibs but the cocoon taglibs not

Re: get-sitemap-parameter in JSP ?

2004-06-26 Thread Joerg Heinicke
On 26.06.2004 15:00, Philippe Guillard wrote: Thanks a lot! In my case is use JSP in portal (cachingURI coplet), links like a href=page2?a=1page2/a is transformed in action=xevent=y, so the query-string is: a=1?copletid=app-test-1cocoon-portal-action=1cocoon-portal-event=21 and if i rely on the

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