display Request bean property in jsf page

hi everyone

I work with Netbeans so it's probably a Netbeans oriented problem as it involve the prerender method.

I created a property actionType

in the Request Bean of my application.

I set its value when I hit a button in my menu.jsp page. (in the action related to the button)

I try to display its value in my requested page, seeList.jsp, with a staticText like this : <ui:staticText... text="#{requestBean1.actionType}"

that doesn't work.

I found that I have to set the StaticText value in the prerender method of my requested page in order to make it working.

So I found the solution :) but I want to know why it doesn't work just by setting the property in the jsf file.

any help?>

[781 byte] By [antwakea] at [2007-11-27 10:59:37]
# 1

nobody can't help me?

Is it because it's Netbeans related?

antwakea at 2007-7-29 12:24:17 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...