Is bean.valueObject null?

Richard

Sent from my iPhone

On Mar 1, 2009, at 4:57 AM, Marcus Kröger <[email protected]> wrote:

Hi Shasi,
of course it is possible to have a value object as part of a backing bean. The inputtext field of this value object should have been referenced through your el expression. There might be a different error in your application. Did you check your log file for further errors? Did your value object get instantiated correctly or do you have a getter method for this value object in your backing bean?

regards
Marcus

Shasi Mitra Yarram schrieb:

There is a problem having the mapping variable for an input text box as part of the Value object which is part of the backing bean. The page does not get submitted on clicking the submit button. Instead the same page gets refreshed.



The jsf code for the  input text box is as



<t:inputText id=”confirm” value = “#{backing bean.valueobject.inputtext}”></t:inputText>



But when I have the mapping variable ‘inputtext ’ as part of the backing bean it works fine.



The question is - Can’t we have the mapping variable for an input field as a part of the value object which is a part of the backin g bean.


Unlimited freedom, unlimited storage. Get it now

Reply via email to