tri selection-list

2006-04-05 Thread Jacob Bizzoire
Bonjour, est ce qu'on peut trier un fichier source d'une selcetion-list suivant l'attribut value lors de son appel dans le fichier de définition?Si oui comment? Cordialement _ MSN Hotmail : créez votre adresse e-mail gratuite à

Re: Problemes avec double-listbox

2006-04-05 Thread Jean-Christophe Kermagoret
Jean-Baptiste Quenot a écrit : * [EMAIL PROTECTED]: J'obtient bien mon double-listbox, mais les boutons sont inactifs... Je te conseille de regarder du côté de la console JavaScript de Firefox. Ne serait-ce pas un problème lié à l'attribut onload sur le tag body de ta page

Re: Field not binding.

2006-04-05 Thread Kamal Bhatt
OK, all I did was copy an existing field and, through a process of elimination, created the a new field similar to the old one and it works. The only difference is the name and the position in the various files. Weird. I would dwell on this, but I have other things to do. Thanks for the

Cforms - Getting the label from a selection list item

2006-04-05 Thread Kamal Bhatt
Hi This may sound strange, but I would like to get the label of a selection list (rather than the value). Why? we have a preview function on the screen that gets the relevant data, converts it to the appropriate XML and pass it through an XSLT that would normally process the data from the

Re: source writing transformer and file refreshing

2006-04-05 Thread Antonio Gallardo
Hi Paula, Would you post a simple demo of your problem? Before that, please try to turn off the cache for this pipeline. BTW, cocoon version, OS? Best Regards, Antonio Gallardo. Paula Estrella escribió: Hi all, I'm experiencing some problems when using the above mentioned transformer; I read

Repeater in form

2006-04-05 Thread Marc Salvetti
Hello,i'm having trouble integrating a repeater in a form. I copied the implementation made for LabelsThe template, metabind and repository files look ok when i load them trough the sample page, but when i try to display the form i get the following : org.xml.sax.SAXException: Element

Re: How to play video files?[solved]

2006-04-05 Thread Fadi Qutaishat
Many thanks for all of you. I have just solved the problem. I have converted the file type from mpeg to rm then I have tried playing file and it was working. I do not know why the mpeg mime-type could not be played although I have checked the web.xml in the conf directory of tomcat and it was

Re: Repeater in form

2006-04-05 Thread Simone Gianni
Hi Marc, the error is not (directly) related to definition or binding, but it's a template problem. In the template you have a ft:widget-label id=resource which is not where it should be (AFAIU it should be a descendant of ft:widget id=resources/). Hope this helps, Simone Marc Salvetti

Re: Repeater in form

2006-04-05 Thread Marc Salvetti
Hi Simone, thanks for your help,i understand it's a template problem, but since the template is generated from the meta-bind, the error should be here : meta:group label=Resources styling-layout=columns meta:group label=Resources styling-layout=columns fb:simple-repeater id=resources

Re: Repeater in form

2006-04-05 Thread Marc Salvetti
Sorry for the noise, i just figured that i posted to the wrong list (bluexml)It's a cocoon based fw trough so the post isn't totally out of place ;)I just need to explain that the meta-bind file that i pasted in the mail is transformed by the fw into a binding file and a template file. If i look

Link Hosting:Vision Web Hosting

2006-04-05 Thread Astrahosting Web Team
Dear Cocoon Team, We are web hosting company with 1000+ java clients and we added cocoon support for our clients so we want to be listed in your Cocoon hosting page. This is our info: URL: http://www.visionwebhosting.net TITLE: Vision Web Hosting Description: Java and Servlet hosting with

Re: Repeater in form

2006-04-05 Thread Simone Gianni
Hi Marc, maybe I'm missing something, but in the generated file there is : fb:simple-repeater id="resources" parent-path="resources" row-path="resource" While it should be ft:repeater .. Simone Marc Salvetti wrote: Hi Simone, thanks for your help, i understand it's a template problem,

Re: Repeater in form

2006-04-05 Thread Marc Salvetti
Indeed it seems to be related, if i change to ft:repeater i don't have the error, but still the repeater doesn't show up :(2006/4/5, Simone Gianni [EMAIL PROTECTED]: Hi Marc, maybe I'm missing something, but in the generated file there is : fb:simple-repeater id=resources

Re: Repeater in form

2006-04-05 Thread Simone Gianni
Hi Marc, I don't know how this framework works, but actually you should have in the form template something like this : ft:repeater id="resources" fi:group ... or other styling information for the repeater ft:repeater-rows fi:group .. or other styling inromations to be repeated for every

overriding CForms xslt and css?

2006-04-05 Thread Fernando.Matomira
I need to provide a different look for the tabs (using images). What is the right way to override some but not all of the CForms xslt and css files? There is this {$resources-uri} everywhere. Thanks

Re: Repeater in form

2006-04-05 Thread Marc Salvetti
Ok, thanks very much for this info.It's getting late here, so i'll try that tomorrow.Best regards,Marc2006/4/5, Simone Gianni [EMAIL PROTECTED]: Hi Marc, I don't know how this framework works, but actually you should have in the form template something like this : ft:repeater

Re: overriding CForms xslt and css?

2006-04-05 Thread Simone Gianni
Hi Fernando, I usually override templates i need to customize in a different XSL that includes the default ones. For example, if I want to be able to specify a fi:styling/@note attribute to show a small note under a field label, i can do it this way : myproject-forms-styling.xsl ?xml

Re: source writing transformer and file refreshing

2006-04-05 Thread Paula Estrella
Thanks again, that solved the problem! (and fyi cocoon 2.1.8 and windows xp sp2) best, PaulaAntonio Gallardo [EMAIL PROTECTED] escribió: Hi Paula, Would you post a simple demo of your problem? Before that, please try to turn off the cache for this pipeline. BTW, cocoon version, OS?Best

LazyInitializationException in Cocoon Portal

2006-04-05 Thread ian . d . stewart
Dear List, I have an application based on Cocoon, Hibernate and Spring Framework which I have been running successfully for several months. I recently started looking into migrating this over to Cocoon Portal. Now when I access a Coplet which initializes its view from data retrieved using

${cocoon.continuation.id} gives bad continuation id

2006-04-05 Thread Philippe LAPLANCHE
In my flowscript I instanciate a form. After the form display and result, I call sendPageAndWait in the same function. In my jexl file, I want to use ${cocoon.continuation.id} But I get the id of the continuation that was generated for the form instead of the one generated when calling

auth-protect not defined for act

2006-04-05 Thread Peter Flynn
Andrew Stevens wrote: From: Peter Flynn [EMAIL PROTECTED] Date: Tue, 04 Apr 2006 20:03:56 +0100 I added map:action name=auth-login src=org.apache.cocoon.webapps.authentication.acting.LoginAction/ to the map:components section of my sitemap Inside the map:actions, right? Yes. But --

Re: LazyInitializationException in Cocoon Portal

2006-04-05 Thread Laurent Perez
I searched through the archives at http://marc.theaimsgroup.com but didn't see anything similiar. Is this something that others have run into? I'm not using Coplets, but I guess something in the view is trying to access lazy associations from your original data. Google for the open session in

Re: auth-protect not defined for act

2006-04-05 Thread Peter Flynn
[EMAIL PROTECTED] wrote: Peter, I apologize if this has been asked before (I admit to coming somewhat late to this thread). When you built Cocoon, was the authentication-fw block selected for inclusion? I did the default build, so I had assumed Yes. How would I recognise it? ///Peter

Re: LazyInitializationException in Cocoon Portal

2006-04-05 Thread ian . d . stewart
Hi Laurent, This was my first thought as well, however I have the OpenSessionInViewFilter configured in cocoon/WEB-INF/web.xml and it is working outside of Cocoon Portal. It is only within the Coplet that I run into problems. thanks, Ian It's better to be hated for who you are than loved for