> 1.  Andrew:  Back in 2007 there was a posting between you and mraible about
> getting the OnLoad components built with maven so they would be available
> on the maven repo.  Did this occur?  I looked in the repo but only found
> http://repo1.maven.org/maven2/net/sourceforge/jsf-comp/acegi-jsf/.

I never maven'd the project. I have no idea if anyone ever uploaded
the jars to central. I may look into it, but it could be a while

> 1a. If it was built, are the components stored in another repo?

Not by me. I hadn't learned maven yet when I made this project, so it
is ANT based

> 2.  I ran a test where I extended the beforeHandleNavigation function and
> returned false; however, the navigation continued to the index.jspx page.
> What is the purpose of the boolean returned from beforeHandleNavigation?  I
> expected it to stay on the same page with false.

That is odd. Looking at line 204, I don't see how that could happen.
Did you debug into it to see it being called?

http://jsf-comp.svn.sourceforge.net/viewvc/jsf-comp/trunk/extensions/jsfExt/src/net/sf/jsfcomp/ext/onload/OnLoadPhaseListener.java?view=markup

> 3.  Is there an advantage of setting the "success-result" setting in
> onload-config.xml?

Better performance as the result doesn't have to be passed through the
navigation handler

> 3a. Does it bypass the face-config.xml navigation rule on the view-id check
> when success-result matches the outcome of action?

Yes, the navigation handler is never invoked (see line 201 of the PhaseListener)

> 4.  Is the "action" variable in onload-config.xml EL?

The action to execute (EL that points to an action method)

> 4a. If I set the action to the following: #{scoreController.score1} I get a
> javax.faces.el.MethodNotFoundException because it is trying to access:
> [EMAIL PROTECTED]().  If I use the full function name
> getScore1(), this it works correctly.  Do I have something setup
> incorrectly?

It is an action method, not a property. So use the same syntax as you
would with <h:commandButton action="#{ some action method here }" />

> Thank you again for helping me get this going.

You're welcome, hope it works out for you.

>
> -Nate
>

Reply via email to