doView and Bean

Hi,Maybe some one can help me. I have a JSF Portal application is there any way to get to a method of my Bean from the doView serveletThanks.
[162 byte] By [chicoa] at [2007-11-26 17:13:37]
# 1

Yes, there is, but it would likely require to boot up the entire JSF machinery yourself. It is because doView (of a portlet) may be called *before* JSF is initialized so JSF managed beans are not available yet (unless processAction has been called).

As you can see there's much to do and before suggesting that approach (of doing what you should not), could you describe what you're after?

Jacek

JacekLaskowskia at 2007-7-8 23:41:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

HI,

I think so and thanks.

I have a Portal application that uses JSF 2.1 and this is what I like to do.

In the Portal Home page I have a portlet using the link below.

<wps:urlGeneration contentNode="<%=newPage%>"

portletWindowState="Maximized"

accessControlCheck="NoCheck"

keepNavigationalState="false" >

<a href="<% wpsURL.write(out); %>" class="ModuleLink">

link name </a>

</wps:urlGeneration>

The link opens a new portlet that has four forms lets called form A, B, C, D form A is the View form and it comes OK, using the navigation rules I go from page to page and that also works the problem that I'm having is if the browser is in lets said form D and in the Portal nav bar I hit the go home option which brings me back to the Portal home page I click the link above again and form D is displayed but I want always to display form A first.

Thanks in advance for nay help

chicoa at 2007-7-8 23:41:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...