myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janap <janapure...@gmail.com>
Subject Re: TabbedPanel not refreshing values
Date Fri, 28 Dec 2007 12:56:26 GMT

thx,

I have all my beans declared in "request" scope. The detailBean is a member
property(with getter setter methods) of my MainBean.

Yes I am using saveState for another property in my main bean. But they are
declared in another jsp page



Gerald Müllan-3 wrote:
> 
> Hi,
> 
> which scope does the detail bean have; are you using the saveState tag
> somewhere?
> 
> It seems that the bean is restored from anywhere.
> 
> cheers,
> 
> Gerald
> 
> On Dec 28, 2007 11:23 AM, Janap <janapureddy@gmail.com> wrote:
>>
>> Hello all,
>>
>> I use a Datatable backed by a dataModel(no savestate or preserveModel) to
>> show the data on the main page.
>> To go to the detail page the user has to click on the datatable..then he
>> is
>> sent to a tab on the same page.
>>
>> So the structure is #{MainBean.dataModel} for dataTable and
>> #{Main.detailbean} for the detail Page. I set the values of the detail
>> Bean
>> using commandLink( without immediate=true). The problem is that the first
>> time they are set but the second time when I goto Main page tab and click
>> again..the detailbean values are not updated.
>>
>> And yes...the new values are updated if I use t:outputText instead of
>> t:inputText.
>> Also..the new values are updated when I point the navigation(detailPage)
>> to
>> another new page. Only in the tab case it doesnt work.
>>
>> I tried to reload the view by adding the navigation hnadler. Uses
>> facesContext.renderresponse...nothing works.
>>
>> any more ideas...
>>
>> thx
>>
>> --
>> View this message in context:
>> http://www.nabble.com/TabbedPanel-not-refreshing-values-tp14524128p14524128.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> http://www.irian.at
> 
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
> 
> Professional Support for Apache MyFaces
> 
> 

-- 
View this message in context: http://www.nabble.com/TabbedPanel-not-refreshing-values-tp14524128p14525373.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message