|
Integrating
DOJO with JSF and Facelets When we
last left off, David and I were having a lot of success with the DOJO Tree.
We started to integrate JSF, Facelets and DOJO and had some troubles, turns out
the troubles were related to the version of Facelets we are using (1.0.7). The
issues is that 1.0.7 Facelets likes <div ...> </div> (space in the
div) but not <div></div>. The DOJO Tree uses divs to define
tree nodes. The second issue was when we were importing _javascript_ files
we used the form <script ... /> instead of <script ...>
</script>. The third issue was Facelets did not like the
<dojo:treeSelector .../> since it prefers well formed XML. This was
solved by creating a property on the backing bean. ... ... Once we
got the Tree to display correctly in our JSF/Facelets environment we needed:
To read
the full post go and see how we got DOJO, Facelets and JSF to play nice check
out: JEE WARTAC: Integrating
DOJO with JSF and Facelets. (from http://www.jroller.com/page/RickHigh?entry=integrating_dojo_with_jsf_and) |

