Re: ViewController.prerender()

2006-12-15 Thread Gary VanMatre
ou by chance using the Shale Remoting here or is this just a > normal JSF page? > > > > >Torsten > > > Gary > > E-Mail-Nachricht-Anlage > > Weitergeleitete Nachricht > > Von: Torsten Krah <[EMAIL PRO

Re: ViewController.prerender()

2006-12-15 Thread Torsten Krah
our > viewId is "/pages/myview.faces", you need a managed bean registred in > the faces config > with a managed-bean-name of "pages$myview". > > Are you by chance using the Shale Remoting here or is this just a > normal JSF page? > > > > >Tors

Re: ViewController.prerender()

2006-12-15 Thread Gary VanMatre
>Thx for help. >I got the point why prerender is not called - looking at the >phaselistener there is following code in the beforeRenderResponse() >method: > >... >Map map = >event.getFacesContext().getExternalContext().getRequestMap(); >String viewName = (String) >map.get(FacesConst

Re: ViewController.prerender()

2006-12-15 Thread Torsten Krah
Addition: Looking at the ViewViewHandler.java, it fails at line 299. method: setupViewController: the viewName gets a value, the vr instance too, but: vc = vr.resolveVariable(context, viewName); return null and the method returns. Now the interesting question, if context is valid and a viewnam

Re: ViewController.prerender()

2006-12-15 Thread Torsten Krah
Thx for help. I got the point why prerender is not called - looking at the phaselistener there is following code in the beforeRenderResponse() method: ... Map map = event.getFacesContext().getExternalContext().getRequestMap(); String viewName = (String) map.get(FacesConstants.VIEW_

Re: ViewController.prerender()

2006-12-15 Thread Gary VanMatre
>I don't get it working :-(. > >Although i removed the tiger annotations and trying to use the >faces-config.xml, prerender and preprocess aren't called, and even >sometimes destroy does not get called although init was called ( really >a break of contract as this should be called ). >So i've got

Re: ViewController.prerender()

2006-12-15 Thread Torsten Krah
I don't get it working :-(. Although i removed the tiger annotations and trying to use the faces-config.xml, prerender and preprocess aren't called, and even sometimes destroy does not get called although init was called ( really a break of contract as this should be called ). So i've got a quest

RE: ViewController.prerender()

2006-11-21 Thread Gary VanMatre
nahan > Sent: Thursday, October 12, 2006 12:56 PM > To: user@shale.apache.org > Subject: Re: ViewController.prerender() > > On 10/12/06, Baker,Jonathan <[EMAIL PROTECTED]> wrote: > > > > I currently have a page with a list of items on it. For each line, > > th

RE: ViewController.prerender()

2006-11-21 Thread Torsten Krah
L PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig > McClanahan > Sent: Thursday, October 12, 2006 12:56 PM > To: user@shale.apache.org > Subject: Re: ViewController.prerender() > > On 10/12/06, Baker,Jonathan <[EMAIL PROTECTED]> wrote: > > > > I currently have a

Re: ViewController.prerender()

2006-11-21 Thread Craig McClanahan
On 11/20/06, Torsten Krah <[EMAIL PROTECTED]> wrote: The @View annotation is there - any other things i should look for? @property, @view, @bean, phaselistener annotation are working fine, @init too - but prerender, preprocess and destroy are ignored, maybe other ones aren't working too, but i

RE: ViewController.prerender()

2006-10-12 Thread Baker,Jonathan
Issue created https://issues.apache.org/struts/browse/SHALE-307 JB -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Thursday, October 12, 2006 12:56 PM To: user@shale.apache.org Subject: Re: ViewController.prerender() On 10/12

Re: ViewController.prerender()

2006-10-12 Thread Craig McClanahan
On 10/12/06, Baker,Jonathan <[EMAIL PROTECTED]> wrote: I currently have a page with a list of items on it. For each line, there is a link to select one of the items. When an item is selected, the action method bound to that link fetches the item from a database and retruns an outcome that has

ViewController.prerender()

2006-10-12 Thread Baker,Jonathan
I currently have a page with a list of items on it. For each line, there is a link to select one of the items. When an item is selected, the action method bound to that link fetches the item from a database and retruns an outcome that has a navigation rule to navigate to a item detail page. Base