cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: MultiValueField on-value-changed event not firing when modifyingthe items
Date Fri, 03 Apr 2009 08:18:27 GMT
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.1050506@uib.es>,
Carlos Martínez <carlos.martinez@uib.es> 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:
> >> =========
> >> <fd:multivaluefield id="list1">
> >> <fd:label><i18n:text>list_type</i18n:text></fd:label>
> >> <fd:datatype base="string" />
> >> <fd:selection-list type="java" nullable="false"
> >> class="com.sample.SampleDynaSelectionList" />
> >> <fd:on-value-changed>
> >> <fd:java class="com.sample.MultiValChangeListener" />
> >> </fd:on-value-changed> 
> >> </fd:multivaluefield>
> >>
> >> Tmpl:
> >> ====
> >> <ft:widget id="list1" >
> >>         <fi:styling list-type="checkbox" />
> >> </ft:widget>
> >>
> >> 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-unsubscribe@cocoon.apache.org 
> For additional commands, e-mail: users-help@cocoon.apache.org 
>
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
For additional commands, e-mail: users-help@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-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message