Hi,
I am having problems getting endpoint working with the products mentioned above. Param works perfectly, but not endpoint.
The only feedback I get is "Send failed" in the fault callback in the flashapp.
Have I found a bug, or have I missed something?
From my mxml:
<fx:Declarations>
<mx:RemoteObject id="myService" destination="bean">
<mx:method name="sessionThing" result="handleResult(event)" fault="handleFault(event)"/>
</mx:RemoteObject>
</fx:Declarations>
...
myService.endpoint = FlexGlobals.topLevelApplication.parameters.endpoint;
myService.sessionThing();
From my xhtml:
<fiji:swf src="resources/application.swf" bgcolor="#BBBBBB" width="700" height="200">
<f:param name="text" value="Some text"/>
<fiji:endpoint name="endpoint" binary="true" service="#{flowViewerIntegration.sesstionThing}"/>
</fiji:swf>
From my bean:
@ManagedBean(name = "flowViewerIntegration")
@RequestScoped
public class FlowViewerIntegration {
public Object sessionThing() {
// Some code
return null;
}
...
}
Thanks,
/Johan

We didn't test Fiji 2 with
We didn't test Fiji 2 with IceFaces. IceFaces modifies the standard Ajax request and that's what might be causing the error.
Aha. When inspecting the
Aha.
When inspecting the value of FlexGlobals.topLevelApplication.parameters.endpoint I get null. When inspecting the value of FlexGlobals.topLevelApplication.parameters.text I get the correct string value. Also when testing with a parameter set by a bean property <f:param name="text" value="#{flowViewerIntegration.name}"/>, the value is passed properly.
This makes be believe that I might have missed somthing while setting up the java project... Are there any gotchas that I might have missed?
Do you have any hints where I could start searching for the cause of the problem? I am willing to search for a solution and provide a patch if successfull.
Thanks,
/Johan
Can you create small example
Can you create small example (.war file) where this issue is reproduced? We'll run it. Link it here via some free file sharing service.
Has anyone solved this
Has anyone solved this issue??? When will be available exadel fiji to icefaces?
Thanks for answer me.
Fiji 2 is only based on
Fiji 2 is only based on standard JSF 2 so it "should" work with IceFaces. We didn't test it with IceFaces. IceFaces sometimes makes changes to how standard JSF works and that what might be causing the problem.