Re: processToDOM()?

2006-02-10 Thread gueye weuz
Merci bcp. J'ai pu résoudre le probléme. Votre aide m'a été précieuse. --- Sylvain Wallez [EMAIL PROTECTED] a écrit : gueye weuz wrote: J'ai essayé le bout de code mais il m'affiche null. J'ai vérifié directement sur le navigateur en appelant le pipeline avec la même valeur pour le

More Questions About Date

2006-02-10 Thread Stewart, Gary
Sorry to bother people I'm still getting up to speed with all this. I've been trying to use CForms with an existing application and I've got stuck in a few areas. I'm using the XML Binding stuff to create an XML document to be sent to another server. The first problem I've come across is that I

Cocoon Portal and browser back button problems

2006-02-10 Thread Angelo Immediata
Hi all. I'm using Cocoon 2.1.7 and it's portal block. My portal is configured for using PageLabels. I have seen that there is an incorrect functionality when the user clicks on the browser's back button; i think that this is due to the cocoon-portal-event number did anybody solved this

Re: dynamic tabs, dynamic forms

2006-02-10 Thread Simone Gianni
Hi Fernando, cocoon is actually able to do tabbed panels with dinamically generated forms inside, see cocoon forms for more dails. I'm working on a site which uses dynamic tabs where every tab represent a year, and contains a table with a number of elements in that year. You can add or delete

CForms: creating dynamic widgets

2006-02-10 Thread Andrew Le Quesne
Title: CForms: creating dynamic widgets Hi there, I am trying to generate a dynamic form template so I can create a list of questions that the user will answer from a set of questions stored in a database table. I am setting the definition file by using a pipeline -

CForms: textarea widget?

2006-02-10 Thread Fernando.Matomira
I am looking at the Cocoon User Guide, and I dont see how one can create a textarea widget. Thanks

Re: CForms: textarea widget?

2006-02-10 Thread Derek Hohls
ft:widget id=... fi:styling type=textarea/ or ft:widget id=... fi:styling type=htmlarea/ PS I have downloaded the entire Forms manual as a PDF; pretty helpful. [EMAIL PROTECTED] 2006/02/10 03:16:52 PM I am looking at the Cocoon User Guide, and I don't see how one can create a

RE: CForms: textarea widget?

2006-02-10 Thread Fernando.Matomira
Where is this PDF manual? Thanks -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 2:26 PM To: users@cocoon.apache.org Subject: Re: CForms: textarea widget? ft:widget id=... fi:styling type=textarea/ or ft:widget id=... fi:styling

Re: cookie usage in cocoon

2006-02-10 Thread Derek Hohls
See: http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html (section on CookieModule) Also: http://wiki.apache.org/cocoon/CookieSelector?highlight=%28cookie%29 [EMAIL PROTECTED] 2006/02/10 01:35:25 PM Can anyone help in providing any good idea of usage of cookie in cocoon?Any

RE: a suprise problem

2006-02-10 Thread Schultz, Gary - COMM
What version of OS and Java? I've had problems with Cocoon 2.1.8 and Java 5 (j2sdk 1.5.0_05 in my situation) in Windows 2000 Server and 2003 Server. I had to revert back to Java 1.4.2_xx (I'm running 1.4.2_10). The problem occurred regardless of the Java-Tomcat combination used (Java 5 - Tomcat

Re: i18n:attr translation

2006-02-10 Thread philguillard
Andrew Stevens wrote: From: philguillard [EMAIL PROTECTED] Date: Fri, 10 Feb 2006 01:39:17 +0800 Hi, What do you think about that ? img src=foo.png alt=translation.foo i18n:attr=alt/ I get a WARN I18nTransformer: Translation not found for attribute alt in element img Is that not the right

Re: Cocoon Portal and browser back button problems

2006-02-10 Thread Ralph Goers
Any page that has event ids in the url will potentially have problems with the back button. We have been changing the events where this happens but the work is not complete. What are the event ids you are seeing for? Angelo Immediata wrote: Hi all. I'm using Cocoon 2.1.7 and it's portal

Re: a suprise problem

2006-02-10 Thread Ralph Goers
What problems did you see? Did you open a Jira incident? Schultz, Gary - COMM wrote: What version of OS and Java? I've had problems with Cocoon 2.1.8 and Java 5 (j2sdk 1.5.0_05 in my situation) in Windows 2000 Server and 2003 Server. I had to revert back to Java 1.4.2_xx (I'm running

Re: Problems in rows deletion with repeater

2006-02-10 Thread Carlos Chávez
Simone Masoni wrote: Can anyone help me in finding a good sample with CForms, with repeater widget bound to a Collection inside a Bean? I've tried it using OJB PersistenceBroker, but it doesn't work, I can delete rows in repeater but then I don't know how to persist the deletion in the DB.

document() function entity resolution

2006-02-10 Thread Mike Holt
Greetings all, When a stylesheet executes the document() function, the target document appears to validated against the path contained in it's system identifier. Ideally, I'd like to force entity resolution against the public identifier but I suspect that this involves some configuration of

Re: Cocoon Portal and browser back button problems

2006-02-10 Thread philguillard
Hi Angelo, I had this trouble too. But i didn't solve it definitely. My opinion : - portal is not 100% ready for internet web site production because of this, since 99% of internet users use intensively using back and refresh buttons! (if you really insist on back and mostly refresh buttons i

back button problem with cForm groups

2006-02-10 Thread Marcel Rouwenhorst
Hi, We made a multipage cforms wizard. For the multiple pages we use groups which are activated and deactivated when a user clicks a previous/next button. This works fine except that when users use the browsers back button and click on a button of a client-sided cached page. (BTW this

Re: Removing and/or escaping apos' in XSL

2006-02-10 Thread Lars Huttar
philguillard wrote: I've found a way, maybe this could help for others ... xsl:variable name=apos select='apos;apos;'/ Only one apos; should be necessary there: xsl:variable name=apos select='apos;apos;'/ Another way to do it is xsl:variable name=apos'/xsl:variable Lars then anywhere

Re: Problems in rows deletion with repeater

2006-02-10 Thread Simone Masoni
Carlos Chávez ha scritto: Simone Masoni wrote: Can anyone help me in finding a good sample with CForms, with repeater widget bound to a Collection inside a Bean? I've tried it using OJB PersistenceBroker, but it doesn't work, I can delete rows in repeater but then I don't know how to

Re: back button problem with cForm groups

2006-02-10 Thread Archie Cowan
Use this kind of logic in your flow script.var finished = false; while(!finished) { try { form.showForm( mypipline ); form.save(initialObject); finished = true; } catch(e) { if(e instanceof Packages.java.lang.IllegalStateException) { form.lookupWidget(messages).addMessage( A server side session

Re: CForms: creating dynamic widgets

2006-02-10 Thread Robin Wyles
Andrew,From flow you can do...cocoon.load("resource://org/apache/cocoon/forms/flow/_javascript_/Form.js");...var questions = someMethodToGetQuestions();var model =  loadDOM("forms/application/definition.jxt ", {"questions": questions});var form = new

get URI inside flowscript

2006-02-10 Thread Brian Maddy
Does anyone know how to get your base URI from within flowscript? I am trying to do a cocoon.redirectTo(somePage), but it seems to be redirecting to the root directory of my webapp. I figure I could do something like: cocoon.redirectTo(/ + base_uri + somePage); Additionally, the following

Re: Cocoon Portal and browser back button problems

2006-02-10 Thread Carsten Ziegeler
philguillard wrote: Hi Angelo, I had this trouble too. But i didn't solve it definitely. My opinion : - portal is not 100% ready for internet web site production because of this, since 99% of internet users use intensively using back and refresh buttons! (if you really insist on back

Re: get URI inside flowscript

2006-02-10 Thread philguillard
I don't remember well, there should be cocoon.request.getServerName, and if you don't find for context and sitemapUri simply pass it as parameter from sitemap where it easy to get these values.. For your redirection try cocoon.redirectTo(http://www.google.com;, true) to make an external

Re: Problems in rows deletion with repeater

2006-02-10 Thread Carlos Chávez
Simone Masoni wrote: class-descriptor class=w4b.com.cassagest.db.Passiste table=PASSISTE ... collection-descriptor name=docassisteList element-class-ref=w4b.com.cassagest.db.Docassiste auto-update=true auto-delete=true proxy=false auto-retrieve=false

Cocoon scheduler

2006-02-10 Thread Borut Žagar [Email.si]
Hi. I have configured a CMT Job Store for Cocoon scheduler in cocoon.xconf to: store type=cmt delegate=org.quartz.impl.jdbcjobstore.PostgreSQLDelegate datasource provider=jndijava:/DefaultDS/datasource /store since I am using Container Managed Transactions (Jboss 4.0.3sp1, Cocoon 2.1.8).

Re: CForms: textarea widget?

2006-02-10 Thread Antonio Gallardo
[EMAIL PROTECTED] wrote: Where is this PDF manual? http://cocoon.zones.apache.org/daisy/books/ Best Regards, Antonio Gallardo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

pdf serializer

2006-02-10 Thread Mike Casey
Hi guys,I am currently trying to get the pdf serializer to work and am having a rather large amount of difficulty.My serializer in the sitemap is declared as the default map:serializer logger= sitemap.serializer.fo2pdf mime-type=application/pdf name=fo2pdf src=""> /map:serializerbecasue I am not

Re: pdf serializer

2006-02-10 Thread Antonio Gallardo
Hi, 1- Verify that xindice returns a valid xml file. Using a pipeline as this: map:match pattern=*.pdf.xindice.test.xml map:generate src=xmldb:xindice://localhost:/db/pages/#/[EMAIL PROTECTED]'{1}']/ map:serialize type=xml/ /map:match 2-Make sure you xslt tranformation

Re: pdf serializer

2006-02-10 Thread Mike Casey
Thanks for the response1)Yes Xindice is returning XML no problem2)What is valid xsl-fo code? If it helps the XHTML serializer, HTML serializer and text serializer are working correctly3)I am currently using 2.1.8Thanks heapsMIkeOn 2/11/06, Antonio Gallardo [EMAIL PROTECTED] wrote: Hi,1- Verify