After testing more RichFaces components I would like to share some information regarding the update problem.
I looks to me that on the server side everything goes fine, the only difference I have seen so far in the log is how actions are invoked:
Myfaces:
RichFaces :Code:DEBUG: org.springframework.faces.webflow.FlowActionListener - Invoking action javax.faces.component._MethodExpressionToMethodBinding@b6c3b9
The fact that after a manual refresh everything looks fine supports the assumption that everything goes fine on the server side.Code:DEBUG: org.springframework.faces.webflow.FlowActionListener - Invoking action com.sun.facelets.el.LegacyMethodBinding@db440a
On the client side I have seen that different scripts are invoked to perform the update of the DOM.
Myfaces:
dojo.js
Myfaces URL:RichFaces script:Code:http://localhost:8080/BD/spring/enter-metadata-admin-flow?execution=c2v2
a4j_3_1_4.GAorg.ajax4jsf.javascript.AjaxScript
RichFaces URL:I guess for some reason the RichFaces Ajax script does not trigger the refresh correctly.Code:http://localhost:8080/BD/spring/enter-metadata-admin-flow?execution=c2v1&javax.portlet.faces.DirectLink=true
I have installed FireBug to view the requestes and the DOM. In case somebody can recommend a more appropriate tool to view DOM changes (I do not find a search funtion in this one) please share a link
- Peter
Last edited by iwtolall; Mar 28th, 2008 at 04:25 AM. Reason: URLs added
Btw. this thread should not debar somebody from using RichFaces and SWF together. I'm playing around since a week and (for me) everything works fine except the re-rendering of fragments does not work (I currently use the reRender feature of RichFaces).
- Peter
All,
I am still having trouble reproducing the issues reported in this thread. In order to help things along, I have attached my RichFaces version of the booking sample to the corresponding JIRA issue:
http://jira.springframework.org/browse/SWF-462
This sample includes a maven pom with Jetty configuration so all you should have to do to test it out is 'mvn jetty:run' and point your browser to http://localhost:7001/swf-booking-richfaces/ It is set up to run against last night's build of the webflow artifacts.
One thing to note in the sample that I failed to point out before is that to get things working correctly, I had to use the <a4j: outputPanel> tag in place of where we use the Facelets <ui:fragment> tag in the standard sample.
If those of you that are having trouble could take a moment to compare my version of the sample with what you are trying to do locally and help me isolate any issues by reproducing them in the sample, that would be a fantastic help.
Thanks again for all the feedback!
Jeremy Grelle
Staff Engineer, Web Products Team
SpringSource
After running your command:
Code:[INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.springframework.security:spring-security-core:jar:2.0-M2 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.springframework.security -DartifactId=spring-security-core -Dversion=2.0-M2 -Dpackaging=jar -Df ile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.springframework.security -DartifactId=spring-security-core -Dversion=2.0-M2 -Dpackaging=jar -Dfil e=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.springframework:swf-booking-richfaces:war:2.0-rc1-SNAPSHOT 2) org.springframework.security:spring-security-core:jar:2.0-M2 ---------- 1 required artifact is missing.
Regards,
James
Ahh, sorry about that. Must've still had M2 in my local cache. I've updated it to use spring-security RC1 and attached a new version of the zip.
Jeremy Grelle
Staff Engineer, Web Products Team
SpringSource
Your example works for me.
Haven't tested RC1 yet, so cant add any value with regards to the previous posts.
Regards,
James
Thanks, James. RC1 is not final, but the provided sample is pointing to the latest nightly build of what will become RC1.
Jeremy Grelle
Staff Engineer, Web Products Team
SpringSource