Thanks Volker,
I didn't try it yet, I'll tell you if it worked asap :-)
Regards,
Zied
2007/6/19, Volker Weber <[EMAIL PROTECTED]>:
Hi,
yes it is/should be possible, but i never tryed this.
try value="::phones" this is like "../phones" in file-system notation.
Regards,
Volker
2007/6/19, Zied Hamdi <[EMAIL PROTECTED]>:
> Hi Again Volker,
>
> Is it possible to express <tc:attribute name="renderedPartially"
> value=":page:phones"/> in a relative way: (not beginning from the root).
Or
> is it possible to get the absolute path of an object in a page (eg. with
an
> el expression?).
>
> My problem is that I'm planning to use the phones sheet as a component
in
> many pages, so let's even say I don't know the absolute path at
programming
> time.
>
> Maybe the problem could be simpler if I knew if it is possible to get
the
> absolute path of a given component :-/.
>
> Best reagards,
> Zied
>
>
>
> 2007/6/19, Zied Hamdi <[EMAIL PROTECTED]>:
> >
> > Hi Volker,
> >
> > Thanks for your answer, I will try this immediately :-).
> >
> > Best Regards,
> > Zied
> >
> >
> > 2007/6/19, Volker Weber <[EMAIL PROTECTED]>:
> >
> > > Hi Zied,
> > >
> > > yes reload the sheet with ajax is possible, and easy, in tobago.
> > >
> > > but not with the tc:columnSelector tag.
> > >
> > > if you use a serverSideController with a tc:selectBooleanCheckbox in
> each row
> > > you can do it like:
> > >
> > > <tc:page id="page">
> > > ...
> > > <tc:sheet id="phones" columns="50px;15*;18px;18px" value=
> > > "#{personCtrl.current.bean.phones}" var="phone" >
> > >
> > > ...
> > >
> > > <tc:column label="#{i18n.main}" sortable ="true">
> > >
> > > <tc:selectBooleanCheckbox value="#{ phone.main}">
> > > <f:facet name="click">
> > > <tc:command actionListener="#{personCtrl.selectMain}">
> > > <tc:attribute name="renderedPartially"
value=":page:phones"/>
> > > </tc:command>
> > > </f:facet>
> > > </tc:selectBooleanCheckbox>
> > >
> > > </tc:column>
> > >
> > >
> > >
> > > Regards,
> > > Volker
> > >
> > > 2007/6/19, Zied Hamdi < [EMAIL PROTECTED]>:
> > > > Thanks Udo,
> > > >
> > > > The workaround for the moment should be a server side controller,
so
> before
> > > > I begin to search, can you please tell me if it is possible with
ajax
> in
> > > > tobaggo (eg. to reloadonly the sheet), eventually if tobago works
well
> with
> > > > Ajax4JSF.
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > 2007/6/18, Udo Schnurpfeil < [EMAIL PROTECTED] >:
> > > > > Hallo Zied,
> > > > >
> > > > > there is a special tag for almost this job: tc:columnSelector.
> > > > > But AFAIK in the moment the only selection model is
"multiselect".
> This
> > > > > tag should be extended to other selection models like
> "singleselect".
> > > > >
> > > > > You may add a JIRA issue for this.
> > > > >
> > > > > Regards
> > > > >
> > > > > Udo
> > > > >
> > > > > Zied Hamdi schrieb:
> > > > > > is it possible to do sth like:
> > > > > >
> > > > > > <tc:sheet id="phones" columns="50px;15*;18px;18px" value=
> > > > > > "#{ personCtrl.current.bean.phones}" var="phone" >
> > > > > >
> > > > > > ...
> > > > > >
> > > > > > <tc:column label="#{ i18n.main}" sortable ="true">
> > > > > > <tc:selectOneRadio id= "main" value="#{phone.main}">
> > > > > > <f:selectItem id= "mainPhone" itemValue="false" itemLabel=
""/>
> > > > > > </tc:selectOneRadio> </tc:column>
> > > > > >
> > > > > > ...
> > > > > >
> > > > > > </tc:sheet> and join occurences with a group name (to have the
> radio
> > > > > > buttons behaviour) ???. Note: maybe if it's not possible
today,
> may we
> > > > > > extend the taglib selectOneRadio to see if the same id is
many
> times
> > > > > > in the sheet...
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > >
> ------------------------------------------------------------------------
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Zied Hamdi
> > > > zatreex.sourceforge.net
> > >
> >
> >
> >
> > --
> >
> > Zied Hamdi
> > zatreex.sourceforge.net
>
>
>
> --
>
> Zied Hamdi
> zatreex.sourceforge.net
--
Zied Hamdi
zatreex.sourceforge.net