You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Abushammala, Hani (EXTERN: conceptQ)" <ex...@volkswagen.de> on 2010/11/05 13:59:54 UTC
[Tobago] update model value with tc:hidden
Hello All,
What is the recommended way to update model value in a hidden element by
an ajax request in Tobago?
I have noticed that only by invoking an action and not by an ajax
request (e.g. sorting or paging in the sheet) the bounded value in a
hidden element will be updated.
Thanks in advanced.
Regards,
Hani
AW: [Tobago] update model value with tc:hidden
Posted by "Abushammala, Hani (EXTERN: conceptQ)" <ex...@volkswagen.de>.
Hello Bernd,
Actually we have a request bean that saves some information for each request and we use this bean to transfer the values from page to page.
The information in the request bean used to render a sheet column so that by an ajax request the request bean will be empty and the values will not be setted. The hidden fields are defined in all pages and not within the sheets. Finally we have decided to change the scope of the bean to session scope.
I don`t know, if the extending of the rendered region in a case of a sheet ajax request is the best way to solve this problem, but i have tried here to get some more information and ideas about the options in this case.
Regards,
Hani
-----Ursprüngliche Nachricht-----
Von: bernd.bohmann@googlemail.com [mailto:bernd.bohmann@googlemail.com] Im Auftrag von Bernd Bohmann
Gesendet: Montag, 8. November 2010 13:16
An: MyFaces Discussion
Betreff: Re: [Tobago] update model value with tc:hidden
Hello Hani,
I'm thinking about a way how to extend the rendered region in a case
of a sheet ajax request.
Can you add an issue for this, please.
And can you explain why you need to update the hidden field?
Regards
Bernd
On Fri, Nov 5, 2010 at 1:59 PM, Abushammala, Hani (EXTERN: conceptQ)
<ex...@volkswagen.de> wrote:
> Hello All,
>
> What is the recommended way to update model value in a hidden element by
> an ajax request in Tobago?
>
> I have noticed that only by invoking an action and not by an ajax
> request (e.g. sorting or paging in the sheet) the bounded value in a
> hidden element will be updated.
>
> Thanks in advanced.
>
> Regards,
> Hani
>
Re: [Tobago] update model value with tc:hidden
Posted by Bernd Bohmann <be...@atanion.com>.
Hello Hani,
I'm thinking about a way how to extend the rendered region in a case
of a sheet ajax request.
Can you add an issue for this, please.
And can you explain why you need to update the hidden field?
Regards
Bernd
On Fri, Nov 5, 2010 at 1:59 PM, Abushammala, Hani (EXTERN: conceptQ)
<ex...@volkswagen.de> wrote:
> Hello All,
>
> What is the recommended way to update model value in a hidden element by
> an ajax request in Tobago?
>
> I have noticed that only by invoking an action and not by an ajax
> request (e.g. sorting or paging in the sheet) the bounded value in a
> hidden element will be updated.
>
> Thanks in advanced.
>
> Regards,
> Hani
>