Sorry but the previous sample app had a small problem. It was not
related to the commandLink problem nevertheless I've fixed it.

The updated bundle can be found here:
http://files.myopera.com/behrangsa/files/1JSF-HOWTO.zip

Best regards,
Behi

On 12/19/06, Behrang Saeedzadeh <[EMAIL PROTECTED]> wrote:
Hi,

<em>

I think in a day or two I have to rest in a hospital because JSF is
almost making me schizophrenic! ;-)

</em>

I have uploaded the source/binary of the sample app I am working on it:

   http://files.myopera.com/behrangsa/files/JSF-HOWTO.zip

Just copy the exploded directory to Tomcat's webapps directory and it
should run with no problems.

Click on the h:selectOneMenu link, and then on the Show Items link.
Then select an item from the menu and press the Select link.

I thought this is gonna set the selectedItemId in the backing bean and
show it when the page redisplays. But instead, a validation error
occurs. The version that uses t:saveState doesn't work as well.

Any ideas how can I make this work, without falling back to the session scope?

<em>

What I was able to accomplish in Struts and WebWork, just the same day
I read a tutorial about each one of them, has left me scratch my head
for more than a week. Yes, I could use the session scope, but I can't
ask my customers to restart their app server once an hour! Nor do they
have the resources to buy a supercomputer from Cray!

</em>


P.S: Does anybody know if it's just as difficult (or as inefficient)
to implement this use-case in ASP.NET?

--
"Science is a differential equation. Religion is a boundary condition"
- Alan Turing

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa
http://my.opera.com/behrangsa



--
"Science is a differential equation. Religion is a boundary condition"
- Alan Turing

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa
http://my.opera.com/behrangsa

Reply via email to