Thanks for your reply. I am now extending AbstractViewController and
implemented the init() method but this method is never called. do I need to
configure anything? I am new to Shale, I appreciate your help.



Hermod Opstvedt wrote:
> 
> Hi
> 
> In that case you can initialize it in the init method or prerender method
> of
> the viewcontroller.
> 
> Hermod
> 
> 
> -----Opprinnelig melding-----
> Fra: AM101 [mailto:[EMAIL PROTECTED] 
> Sendt: 26. april 2007 21:22
> Til: user@shale.apache.org
> Emne: Re: SV: How to initialize a bean before initial display
> 
> 
> It is a view backing bean.
> 
> 
> 
> Hermod Opstvedt wrote:
>> 
>> Hi
>> 
>> What type of bean? Is it ViewController or what?
>> 
>> Hermod
>> 
>> 
>> -----Opprinnelig melding-----
>> Fra: AM101 [mailto:[EMAIL PROTECTED] 
>> Sendt: 26. april 2007 17:30
>> Til: user@shale.apache.org
>> Emne: How to initialize a bean before initial display
>> 
>> 
>> How do I initialize a bean before initial display? I want to populate
>> bean
>> values from database table. 
>> 
>> I can do it in the constructor, phase listener or by adding additional
>> getter method to initialize the bean. But is there any better way?
>> 
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/How-to-initialize-a-bean-before-initial-display-tf3652
>> 365.html#a10202810
>> Sent from the Shale - User mailing list archive at Nabble.com.
>> 
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-to-initialize-a-bean-before-initial-display-tf3652
> 365.html#a10206968
> Sent from the Shale - User mailing list archive at Nabble.com.
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-initialize-a-bean-before-initial-display-tf3652365.html#a10209745
Sent from the Shale - User mailing list archive at Nabble.com.

Reply via email to