You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by yazid <sm...@yahoo.fr> on 2007/08/29 10:41:20 UTC
Tobago refresh
I'm using tobago for a big application.
All the tobago object are usefull; except the page refreshing. My
application is structure like as Tobago demo (menu, dobody...); when I
click on any button or link in the page; the whole page is refreshed...
Is there any to avoid this.
Regard;
--
View this message in context: http://www.nabble.com/Tobago-refresh-tf4346459.html#a12382957
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Tobago refresh
Posted by Volker Weber <v....@inexso.de>.
What is the generated value of the onclick attribute of the link?
Can you turn on javascript debugging to see whats the problem at the
"error in page"?
Maybe try firefox to debug the javascript.
2007/8/29, yazid <sm...@yahoo.fr>:
>
> Hi Volker;
> I've inserted the attribute in a link ; and point the attribute to container
> box id; but I've an "error in page" when I click and nothing happens
> Cheers
>
>
> Volker Weber-5 wrote:
> >
> > Hi,
> >
> > you can use partial rendering e.g.:
> >
> > <tc:box id="contentBox" ...>
> > ...
> >
> > <tc:button ...>
> > <tc:attribute name="renderedPartially" value="contentBox"/>
> > </tc:button>
> >
> > </tc:box>
> >
> > in this case only the box is updated on button click.
> >
> > note: you may need to use absolute id in renderedPartially value, if
> > the button and the box are not inside the same namingContainer.
> >
> >
> > Regards,
> > Volker
> >
> >
> > 2007/8/29, yazid <sm...@yahoo.fr>:
> >>
> >> I'm using tobago for a big application.
> >> All the tobago object are usefull; except the page refreshing. My
> >> application is structure like as Tobago demo (menu, dobody...); when I
> >> click on any button or link in the page; the whole page is refreshed...
> >> Is there any to avoid this.
> >> Regard;
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Tobago-refresh-tf4346459.html#a12382957
> >> Sent from the MyFaces - Users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Tobago-refresh-tf4346459.html#a12384249
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>
Re: Tobago refresh
Posted by yazid <sm...@yahoo.fr>.
Hi Volker;
I've inserted the attribute in a link ; and point the attribute to container
box id; but I've an "error in page" when I click and nothing happens
Cheers
Volker Weber-5 wrote:
>
> Hi,
>
> you can use partial rendering e.g.:
>
> <tc:box id="contentBox" ...>
> ...
>
> <tc:button ...>
> <tc:attribute name="renderedPartially" value="contentBox"/>
> </tc:button>
>
> </tc:box>
>
> in this case only the box is updated on button click.
>
> note: you may need to use absolute id in renderedPartially value, if
> the button and the box are not inside the same namingContainer.
>
>
> Regards,
> Volker
>
>
> 2007/8/29, yazid <sm...@yahoo.fr>:
>>
>> I'm using tobago for a big application.
>> All the tobago object are usefull; except the page refreshing. My
>> application is structure like as Tobago demo (menu, dobody...); when I
>> click on any button or link in the page; the whole page is refreshed...
>> Is there any to avoid this.
>> Regard;
>> --
>> View this message in context:
>> http://www.nabble.com/Tobago-refresh-tf4346459.html#a12382957
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Tobago-refresh-tf4346459.html#a12384249
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Tobago refresh
Posted by Volker Weber <v....@inexso.de>.
Hi,
you can use partial rendering e.g.:
<tc:box id="contentBox" ...>
...
<tc:button ...>
<tc:attribute name="renderedPartially" value="contentBox"/>
</tc:button>
</tc:box>
in this case only the box is updated on button click.
note: you may need to use absolute id in renderedPartially value, if
the button and the box are not inside the same namingContainer.
Regards,
Volker
2007/8/29, yazid <sm...@yahoo.fr>:
>
> I'm using tobago for a big application.
> All the tobago object are usefull; except the page refreshing. My
> application is structure like as Tobago demo (menu, dobody...); when I
> click on any button or link in the page; the whole page is refreshed...
> Is there any to avoid this.
> Regard;
> --
> View this message in context: http://www.nabble.com/Tobago-refresh-tf4346459.html#a12382957
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>