You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Zied Hamdi <ja...@gmail.com> on 2008/02/08 14:31:02 UTC

[tobago] when renderedPartially, menuCheckbox's value is not updated

Hi,

I have a problem when I attemp to render partially a box with a checkbox
menu popup: in (tradition mode) the checkbox's state is updated normally as
expected. But When I attemp to do it in ajax mode, the menu stays always
checked (in my case: it's its first state).


<tc:panel id="intervenantCell">...


            <tc:box>

                  <f:facet name="toolBar">

                        <tc:toolBar>

                             <tc:toolBarCommand

                                   id="cancelIntervenantSelectionCmd"

                                   action="#{
controller.cancelIntervenantSelectionCmd}"

                                   image="image/cancel.PNG">

                                   <tc:attribute

                                         name="renderedPartially"

                                         value="#{ajaxScope}" />

                             </tc:toolBarCommand>

                             <tc:toolBarCommand>

                                   <f:facet name="menupopup">

                                         <tc:menu image="image/strict.png">

                                               <tc:menuCheckbox

                                                     label="#{
i18n.unstrictIntervenantSelectionMode}"

                                                     value="#{
controller.unstrictIntervenantSelection}">

                                                     <tc:attribute

                                                           name=
"renderedPartially"


value="intervenantCell"
/>

                                               </tc:menuCheckbox>

                                         </tc:menu>

                                   </f:facet>

                             </tc:toolBarCommand>

                        </tc:toolBar>

                  </f:facet>


Do I have to enter an issue? (I'm under tobago 1.0.12: I have message bundle
exceptions when I try to upgrade. But I didn't find this issue in jira in
any version)
-- 
Zied Hamdi
www.into-i.fr
(previously in 2003)
zatreex.sf.net

Re: [tobago] when renderedPartially, menuCheckbox's value is not updated

Posted by Zied Hamdi <ja...@gmail.com>.
Hi Volker,

I confirm it works fine under ff. I'll try to upgrade asap.

Regards,
Zied

2008/2/8, Volker Weber <v....@inexso.de>:
>
> Hi Zied,
>
> in IE?
> if this problem does not exsist in FF this may be
>
> http://issues.apache.org/jira/browse/TOBAGO-611
>
>
> Regards,
>    Volker
>
> 2008/2/8, Zied Hamdi <ja...@gmail.com>:
> > Hi,
> >
> > I have a problem when I attemp to render partially a box with a checkbox
> > menu popup: in (tradition mode) the checkbox's state is updated normally
> as
> > expected. But When I attemp to do it in ajax mode, the menu stays always
> > checked (in my case: it's its first state).
> >
> >
> > <tc:panel id="intervenantCell">...
> >
> >
> >             <tc:box>
> >
> >                   <f:facet name="toolBar">
> >
> >                         <tc:toolBar>
> >
> >                              <tc:toolBarCommand
> >
> >
> > id="cancelIntervenantSelectionCmd"
> >
> >
> > action="#{controller.cancelIntervenantSelectionCmd}"
> >
> >
> > image="image/cancel.PNG">
> >
> >                                    <tc:attribute
> >
> >
> > name="renderedPartially"
> >
> >
> > value="#{ajaxScope}" />
> >
> >                              </tc:toolBarCommand>
> >
> >                              <tc:toolBarCommand>
> >
> >                                    <f:facet
> > name="menupopup">
> >
> >                                          <tc:menu
> > image="image/strict.png">
> >
> >
> > <tc:menuCheckbox
> >
> >
> > label="#{i18n.unstrictIntervenantSelectionMode}"
> >
> >
> > value="#{controller.unstrictIntervenantSelection}">
> >
> >
> > <tc:attribute
> >
> >
> > name="renderedPartially"
> >
> >
> > value="intervenantCell" />
> >
> >
> > </tc:menuCheckbox>
> >
> >                                          </tc:menu>
> >
> >                                    </f:facet>
> >
> >                              </tc:toolBarCommand>
> >
> >                         </tc:toolBar>
> >
> >                   </f:facet>
> >
> >
> > Do I have to enter an issue? (I'm under tobago 1.0.12: I have message
> bundle
> > exceptions when I try to upgrade. But I didn't find this issue in jira
> in
> > any version)
> > --
> > Zied Hamdi
> > www.into-i.fr
> >  (previously in 2003)
> > zatreex.sf.net
>
>
> --
> inexso - information exchange solutions GmbH
> Bismarckstraße 13      | 26122 Oldenburg
> Tel.: +49 441 4082 356 |
> FAX:  +49 441 4082 355 | www.inexso.de
>



-- 
Zied Hamdi
www.into-i.fr
(previously in 2003)
zatreex.sf.net

Re: [tobago] when renderedPartially, menuCheckbox's value is not updated

Posted by Volker Weber <v....@inexso.de>.
Hi Zied,

in IE?
if this problem does not exsist in FF this may be

http://issues.apache.org/jira/browse/TOBAGO-611


Regards,
    Volker

2008/2/8, Zied Hamdi <ja...@gmail.com>:
> Hi,
>
> I have a problem when I attemp to render partially a box with a checkbox
> menu popup: in (tradition mode) the checkbox's state is updated normally as
> expected. But When I attemp to do it in ajax mode, the menu stays always
> checked (in my case: it's its first state).
>
>
> <tc:panel id="intervenantCell">...
>
>
>             <tc:box>
>
>                   <f:facet name="toolBar">
>
>                         <tc:toolBar>
>
>                              <tc:toolBarCommand
>
>
> id="cancelIntervenantSelectionCmd"
>
>
> action="#{controller.cancelIntervenantSelectionCmd}"
>
>
> image="image/cancel.PNG">
>
>                                    <tc:attribute
>
>
> name="renderedPartially"
>
>
> value="#{ajaxScope}" />
>
>                              </tc:toolBarCommand>
>
>                              <tc:toolBarCommand>
>
>                                    <f:facet
> name="menupopup">
>
>                                          <tc:menu
> image="image/strict.png">
>
>
> <tc:menuCheckbox
>
>
> label="#{i18n.unstrictIntervenantSelectionMode}"
>
>
> value="#{controller.unstrictIntervenantSelection}">
>
>
> <tc:attribute
>
>
> name="renderedPartially"
>
>
> value="intervenantCell" />
>
>
> </tc:menuCheckbox>
>
>                                          </tc:menu>
>
>                                    </f:facet>
>
>                              </tc:toolBarCommand>
>
>                         </tc:toolBar>
>
>                   </f:facet>
>
>
> Do I have to enter an issue? (I'm under tobago 1.0.12: I have message bundle
> exceptions when I try to upgrade. But I didn't find this issue in jira in
> any version)
> --
> Zied Hamdi
> www.into-i.fr
>  (previously in 2003)
> zatreex.sf.net


-- 
inexso - information exchange solutions GmbH
Bismarckstraße 13      | 26122 Oldenburg
Tel.: +49 441 4082 356 |
FAX:  +49 441 4082 355 | www.inexso.de