It's really not to difficult create JSF components of Dojo widgets. You just need a way of setting the correct includes, then wrap up the JS / html tags in a Renderer.
I've done this for a handful of components (none of them input) I needed, and they work great - mainly because the JS is fairly solid.
IMO, there really should be a dojofaces project which provides JSF versions of the Dojo wiidgets, effects etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010521#4010521
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010521
I looked at that. I haven't tried it but it sounds exactly like what is needed: a way to let JSF components have dependencies that are external to the page (html) being rendered. This is going to be more and more of a need as time goes on, because, as I said, I'm sure we're going to start wanting Flash files and tons of other stuff. Like I might have a component that's s:playMusic, that would render as a Flash player for a music track. That will need the flash file, and then it will need to be able to serve the music data. Ideally, the "Seam way" would be to have the component just work without me needing to do anything else.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010513#4010513
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010513
"norman.richards(a)jboss.com" wrote : Ok, UIDocument now has a sendRedirect flag. If this is set (either in the template or by the parent component reaching down) we will bypass the the generation and just keep the value locally.
cool :)
anonymous wrote : We needed some way to transfer the data. I noticed UIAttachment us using get/setValue. Assuming that it implemented ValueHolder, I thought I might reach up and set the values directly if I could. Unfortunately, I just realized you don't actually implement ValueHolder. I'm not sure this is proper use of ValueHolder anyway, so if you have a better idea, I'm all ears.
http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/co... - I think that implementing ValueHolder here is a correct (I just hadn't) - there might be some interesting ways of using JSF Converters (though as they *have* to return a String when converting from the model to the view perhaps not)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010510#4010510
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010510