Let me give you some background on the my page and its purpose.
It high level purpose is to perform an employee search.
Specifically, the page enables two types of searches:
1. quick search by entering first and last name (or a part of each). The user
sees an <h:inputText> box for entering the name (first and last) and
a <h:commandButton> to submit the page and execute the search through a
backing bean action method.
2. A search page (iframe or jenia popup) The will allow for a more specific
search. the search may yield 1 or more matches and all matches are
displayed in a dataTable. The user can select one of the matches by clicking
of the one of the dataTable rows (a select link). Upon selection of the row,
the the selected employee object is saved in the session, the iframe, closes,
and the parent page is refereshed with the newly found employee.
The parent page has employee attributes which should be obtained from the found
employee.
Option 1 works but option 2 does not. After further analysis, I discovered
that the reason is that the getter method for the t:inputText is never called
so the page never refreshes.
Just to add more confusion to my understanding of JSF, adding readonly="true"
to the t:inputText caused the getter to be called.
Why is this? Your help is greatly appreciated.
I can furnish more specific code if needed for clarity. Let me know.