Craig McClanahan wrote:
> On 8/28/05, Bjørn T Johansen <[EMAIL PROTECTED]> wrote:
> 
>>Ok, that I did not know...
> 
> 
> Tonight's nightly build will include Javadocs for ViewController that
> make this requirement much more explicit -- you're not the first
> person to run into it.

I am trying to access the download area,
http://cvs.apache.org/builds/struts/nightly/struts-shale/core-library/
but all I get is this..:

Not Found

The requested URL /builds/struts/nightly/struts-shale/core-library/ was not 
found on this
server.
Apache/2.1.7-dev (Unix) SVN/1.2.2-dev mod_ssl/2.1.7-dev OpenSSL/0.9.7e DAV/2 
Server at
cvs.apache.org Port 80

> 
> 
>>But now I have changed the name of my managed bean to
>>correspond to this naming scheme, but still no methods is called...?
>>Am I missing more...?
> 
> 
> Without more details about what you're doing, it's impossible to tell
> what is going wrong -- but one thing you should *not* be worrying
> about is explicitly declaring the Shale ViewController.  That happens
> automatically when shale-core.jar is included in your webapp.

What I have, is a view called /protected/cyradm/admin.jsp and a managed bean 
called
protected$cyradm$admin that implements ViewController..

In the prerender() method (and the other methods), I just have a line that log 
some text,
to test if the method is called..

in the faces-config.xml I have the following..:

<application>
  .....
  <view-handler>org.apache.shale.faces.ShaleViewHandler</view-handler>
  .....
</application>

I also have tried to include

<lifecycle>
   <phase-listener>org.apache.shale.faces.ShalePhaseListener</phase-listener>
 </lifecycle>


But still no methods in the ViewController is called...

And in my view, I just use my managed bean as a managed bean, do I need to 
do/call
something from my view?


> 
> Does the "use cases" example app work for you?

Well, I have just tried it once and it appeared to work but I haven't done any 
research to
check if the ViewController works as expected...


BTJ

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to