Re: CForms, double-listbox and i18n.

2006-01-15 Thread Sylvain Wallez
Steinar Jonsson wrote: Hi I have a little i18n problem in 2.1.8: A form contains a double-listbox that I insert string values into from javaflow. Some value strings have content that I want the i18n transformer to translate. If I just add i18n tags to the strings they are not transformed.

RE: Coplet and generator question

2006-01-15 Thread Ard Schrijvers
Title: RE: Coplet and generator question Take alook at http://cocoon.apache.org/2.1/tutorial/tutorial-generator.html This is about writing a standard generator. At the end of the page, something is said about getKey() and getValidity(). Your generator should implement

How to make Generator cacheable?

2006-01-15 Thread Christian Barth
Title: How to make Generator cacheable? Hi! I want to cache a generator I just wrote. I thought I only have to implement the CacheableProcessingComponent. Have a look at my code: public class FBSGenerator extends ServiceableGenerator implements CacheableProcessingComponent {

AW: How to make Generator cacheable?

2006-01-15 Thread Christian Barth
Title: How to make Generator cacheable? The caching is working now with the following code: public Serializable getKey() { //LastModified aus XML-DB holen try { TaminoClient tc = new TaminoClient(http://localhost/tamino/BSDB30032005/Hessen);

Re: CForms, double-listbox and i18n.

2006-01-15 Thread Steinar Jonsson
On Sunday 15 January 2006 10:41, Sylvain Wallez wrote: Steinar Jonsson wrote: Hi I have a little i18n problem in 2.1.8: A form contains a double-listbox that I insert string values into from javaflow. Some value strings have content that I want the i18n transformer to translate.

Re: Binding selection boxes to beans in cocoon forms?

2006-01-15 Thread Andre Cesta
Hi All, After receiving zero help from the list on a question posted 6 days ago, I decided to post myself the solution I found for it: http://geocities.com/aacesta/hibernateandcforms.html The problem is integrating hibernate beans with cocoon forms containing selection lists. There were

Re: Binding selection boxes to beans in cocoon forms?

2006-01-15 Thread Jason Johnston
Andre Cesta wrote: Hi All, After receiving zero help from the list on a question posted 6 days ago, I decided to post myself the solution I found for it: http://geocities.com/aacesta/hibernateandcforms.html The problem is integrating hibernate beans with cocoon forms containing selection

Re: Coplet and generator question

2006-01-15 Thread Joerg Heinicke
On 14.01.2006 20:09, Christian Barth wrote: org.apache.avalon.framework.component.ComponentException: pipes: ComponentSelector could not find the component for hint [expires] (key [expires]) Have a look into your root sitemap. There should be a map:pipes section. If it does not contain

Re: XCSS?

2006-01-15 Thread Joerg Heinicke
On 12.01.2006 19:37, Stephen Winnall wrote: Does anyone know of a way of writing something that could be called XCSS, i.e. CSS written in an XML syntax, which can be transformed/serialised into proper CSS? Don't know what it is worth, but there is something in the Cocoon bug tracker:

Re: CForms, double-listbox and i18n.

2006-01-15 Thread Jason Johnston
Steinar Jonsson wrote: On Sunday 15 January 2006 10:41, Sylvain Wallez wrote: Steinar Jonsson wrote: Hi I have a little i18n problem in 2.1.8: A form contains a double-listbox that I insert string values into from javaflow. Some value strings have content that I want the i18n transformer

Re: AW: How to make Generator cacheable?

2006-01-15 Thread g[R]eK
Christian Barth napisaƂ(a): The caching is working now with the following code snip/ But as you can see, The Cache expires after 5 minutes. What I want is, that is gets invalid, when the LastModificationDate of my DB has changed. In the getKey()-Method I have already searialized the timestamp

Re: CForms, double-listbox and i18n.

2006-01-15 Thread Steinar Jonsson
On Sunday 15 January 2006 21:18, Jason Johnston wrote: Steinar Jonsson wrote: On Sunday 15 January 2006 10:41, Sylvain Wallez wrote: Steinar Jonsson wrote: Hi I have a little i18n problem in 2.1.8: A form contains a double-listbox that I insert string values into from javaflow. Some

Re: CForms, double-listbox and i18n.

2006-01-15 Thread Jason Johnston
Steinar Jonsson wrote: SelectableWidget widget = (SelectableWidget)form.getChild(widgetName); widget.setSelectionList(listOfLabelAndValuePairs, value, label); I believe that if the value of the label path is a org.apache.cocoon.forms.util.I18nMessage (see the javadocs) then it will

Re: CForms, double-listbox and i18n.

2006-01-15 Thread Steinar Jonsson
On Sunday 15 January 2006 23:05, Jason Johnston wrote: Steinar Jonsson wrote: SelectableWidget widget = (SelectableWidget)form.getChild(widgetName); widget.setSelectionList(listOfLabelAndValuePairs, value, label); I believe that if the value of the label path is a

selection lists with text-fields as items

2006-01-15 Thread mike rowse
Hey. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

selection list with text-fields as items

2006-01-15 Thread mike rowse
Sorry about that bit of spam to the list (hit the wrong combination of keys and sent out the email) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

selection-list and with fd:field as an item?

2006-01-15 Thread mike rowse
I think it is now obvious who needs some sleep. :) My apologies for the extra empty email. I have been searching through the resources for an answer to this question for some time now. I would like to be able to create a cform with this structure ()radio Button : ft:widget-label id=one/ :

XML-Serializer encoding

2006-01-15 Thread Christian
Hi, I have several newsfeeds that I want to incorporate in my portal, each one of these feeds has its own coplet. but these feeds are encoded differently. some are in ISO-8859-1, others in UTF-8. Now there is no way that I can change the legacy encoding of these. unfortunately it seems that

Problem with xsp and form

2006-01-15 Thread Cyrill Bonjour
Hi to make my CForms template dynamic i use a xsp serverpage to generate the template file. Width cocon 2.1.7 and tomcat 5 the form worked well, but width 2.1.8 i get an Errors. If i store the result of cocoon:/{1}_template_{2}.xml in a file, and use it instead in the generator the form works