First, some suggestions for the website:
On the "Issue tracking" page, the link "Search the mailing list archive"
links to the Struts mailing list.

The "Shale Framework" page states "you can successfully run Shale based
applications on a Servlet 2.3 / JSP 1.2 platform" but LifecycleListener,
part of the Shale core, implements ServletRequestAttributeListener which is
part of the Servlet 2.4 API.

Next, my problems:
When trying to use the Remote package, the only way I got it to semi-work
was to add RemotingPhaseListener as a phase listener in my
faces-config.xmlfile. Could this be related to setting up multiple
javax.faces.CONFIG_FILES in my web.xml file?
Part of my web.xml file:
<context-param>
       <param-name>javax.faces.CONFIG_FILES</param-name>
       <param-value>/WEB-INF/faces-config.xml
,/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml
,/WEB-INF/validator.xml</param-value>
</context-param>

Then when I at least got the RemotingPhaseListener.afterPhase method to run,
it didn't work because the ".jsf" extension:
[2006-10-18 14:21:46,393] [DEBUG] [
org.apache.shale.remoting.faces.RemotingPhaseListener] [Checking view
identifier '/dynamic/myForm/validateUsername.jsf']
[2006-10-18 14:21:46,393] [DEBUG] [
org.apache.shale.remoting.faces.RemotingPhaseListener] [View identifier
'/dynamic/myForm/validateUsername.jsf' matched pattern '/dynamic/*' with
resource id '/myForm/validateUsername.jsf']
[2006-10-18 14:21:46,393] [DEBUG] [com.sun.faces.application.ApplicationImpl]
[Expression myForm.validateUsername passed syntax check]
[2006-10-18 14:21:46,393] [DEBUG] [
org.apache.shale.remoting.impl.MethodBindingProcessor] [Translated resource
id '/myForm/validateUsername.jsf' to method binding expression '#{
myForm.validateUsername.jsf}']
[2006-10-18 14:21:46,408] [DEBUG] [com.sun.faces.el.ValueBindingImpl]
[getValue(ref=myForm.validateUsername)]
[2006-10-18 14:21:46,408] [DEBUG] [com.sun.faces.el.VariableResolverImpl]
[resolveVariable: Resolved variable:
[EMAIL PROTECTED]
[2006-10-18 14:21:46,408] [DEBUG] [javax.faces.el.PropertyResolver] [Error
getting property 'validateUsername' from bean of type
com.xxx.xxx.xxx.presentation.test.FormBean]
[2006-10-18 14:21:46,408] [DEBUG] [com.sun.faces.el.ValueBindingImpl]
[getValue Evaluation threw exception:]
javax.faces.el.PropertyNotFoundException: Error getting property
'validateUsername' from bean of type
com.xxx.xxx.xxx.presentation.test.FormBean
       at com.sun.faces.el.PropertyResolverImpl.getValue(
PropertyResolverImpl.java:107)
       at org.apache.shale.faces.ShalePropertyResolver.getValue(
ShalePropertyResolver.java:138)
       at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
       at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java
:151)
       at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(
ExpressionEvaluatorImpl.java:243)
       at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java
:173)
       at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java
:154)
       at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java
:123)
       at org.apache.shale.remoting.impl.MethodBindingProcessor.process(
MethodBindingProcessor.java:77)
       at org.apache.shale.remoting.faces.RemotingPhaseListener.afterPhase(
RemotingPhaseListener.java:102)

When I put in some code to replace the ".jsf" with an empty string, it
worked. Any suggestions?

Thanks,
Adam

Reply via email to