Re: MultiValueField on-value-changed event not firing when modifying the items
Hello, I want to fix the same problem.. Is it easy to upgrade the versión 2.1.9 to 2.1.11? Thanks in advance. Antonio Gallardo escribió: Hi, Please try a newer Cocoon version (2.1.11 or from SVN), I suspect it is already fixed there. Best Regards, Antonio Gallardo. Radaven escribi�: > Does anybody know the solution of this? I have the same problem. I can't > catch the event by valueChanged method. > > > asif_zzz wrote: > >> Hi >> >> I'm using cocoon 2.1.10. >> >> In my page I've a MultiValueField widget which has rendering as checkboxes >> In that MultiValueField field I've added a fd:on-value-changed event. >> When page loads ,I'm setting some values to MultiValueField ,for the >> checkbox component need to be selected while rendering in the page and >> the event get fired on page load because im setting some values. >> >> Once the page is loaded ,im trying to change the MultiValueField values to >> checked/unchecked,but the fd:on-value-changed event not get fired. >> >> I dont know why its not getting fired. >> Anyone please help me to solve this problem as this is critically blocking >> my proceedings. >> >> Code: >> >> Defn: >> = >> >>list_type >> >>> class="com.sample.SampleDynaSelectionList" /> >> >> >> >> >> >> Tmpl: >> >> >> >> >> >> Class >> -- >> >> package com.sample; >> >> import org.apache.cocoon.forms.event.ValueChangedEvent; >> import org.apache.cocoon.forms.event.ValueChangedListener; >> >> public class MultiValChangeListener implements ValueChangedListener { >> >> public void valueChanged(ValueChangedEvent event) { >>System.out.println("-->valueChanged"); >> } >> >> } >> >> >> Thanks in Advance, >> Aashik >> >> > > - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: MultiValueField on-value-changed event not firing when modifyingthe items
The upgrade is easy - fixing your app might not be (see previous messages on this list) >>> On 2009/04/03 at 08:07, in message <49d5a7bb.1050...@uib.es>, Carlos Martínez wrote: Hello, I want to fix the same problem.. Is it easy to upgrade the versión 2.1.9 to 2.1.11? Thanks in advance. Antonio Gallardo escribió: > Hi, > > Please try a newer Cocoon version (2.1.11 or from SVN), I suspect it is > already fixed there. > > Best Regards, > > Antonio Gallardo. > > Radaven escribi�: > > Does anybody know the solution of this? I have the same problem. I can't > > catch the event by valueChanged method. > > > > > > asif_zzz wrote: > > > >> Hi > >> > >> I'm using cocoon 2.1.10. > >> > >> In my page I've a MultiValueField widget which has rendering as checkboxes > >> In that MultiValueField field I've added a fd:on-value-changed event. > >> When page loads ,I'm setting some values to MultiValueField ,for the > >> checkbox component need to be selected while rendering in the page and > >> the event get fired on page load because im setting some values. > >> > >> Once the page is loaded ,im trying to change the MultiValueField values to > >> checked/unchecked,but the fd:on-value-changed event not get fired. > >> > >> I dont know why its not getting fired. > >> Anyone please help me to solve this problem as this is critically blocking > >> my proceedings. > >> > >> Code: > >> > >> Defn: > >> = > >> > >> list_type > >> > >> >> class="com.sample.SampleDynaSelectionList" /> > >> > >> > >> > >> > >> > >> Tmpl: > >> > >> > >> > >> > >> > >> Class > >> -- > >> > >> package com.sample; > >> > >> import org.apache.cocoon.forms.event.ValueChangedEvent; > >> import org.apache.cocoon.forms.event.ValueChangedListener; > >> > >> public class MultiValChangeListener implements ValueChangedListener { > >> > >> public void valueChanged(ValueChangedEvent event) { > >> System.out.println("-->valueChanged"); > >> } > >> > >> } > >> > >> > >> Thanks in Advance, > >> Aashik > >> > >> > > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org > For additional commands, e-mail: users-h...@cocoon.apache.org > > > > - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Unexpected encoding in output
I have an RSS feed from our home page which is being generated by pulling in the HTML and Tidying it: http://www.ucc.ie/en/"; type="html"/> This works, except that the output starts with the XML Declaration claiming But the home page is UTF-8, the ucc.xsl file is UTF-8, the xsl:output inside it specifies UTF-8, and tidy.properties specifies char-encoding=UTF-8. Something, somewhere is interfering, and adding this encoding="ISO-8859-1", but I'm at a loss where to look. I also notice that all my generated HTML from Cocoon is being labelled with but I can't find where to turn this off. ///Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Unexpected encoding in output
(1) Check your web.xml. You should have the init-param "form-encoding" set to "UTF-8". (It's set by default to ISO-8859-1 on at least some versions of Cocoon.) (2) Check your sitemaps, starting from the Cocoon root sitemap. You can set the encoding of your serializers there, for example mime-type="text/xml" name="xml" src="org.apache.cocoon.serialization.XMLSerializer"> UTF-8 ...under /map:sitemap/map:components/map:serializers. /Petteri Peter Flynn wrote: I have an RSS feed from our home page which is being generated by pulling in the HTML and Tidying it: http://www.ucc.ie/en/"; type="html"/> This works, except that the output starts with the XML Declaration claiming But the home page is UTF-8, the ucc.xsl file is UTF-8, the xsl:output inside it specifies UTF-8, and tidy.properties specifies char-encoding=UTF-8. Something, somewhere is interfering, and adding this encoding="ISO-8859-1", but I'm at a loss where to look. I also notice that all my generated HTML from Cocoon is being labelled with but I can't find where to turn this off. ///Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org