-
1. Re: Custom JSF components in VPE
mareshkau Jul 21, 2009 10:00 AM (in response to niox)Hi niox,
I have added custom jsf component in graphicals, it's should work in jboss tools nightly builds.
You can see and comment
https://jira.jboss.org/jira/browse/JBIDE-3197
Also if you add test cases which not works in our graphical editor, it's will be nice. -
2. Re: Custom JSF components in VPE
niox Jul 23, 2009 7:36 AM (in response to niox)Maxim,
Thank you for your reply. I had come across your work while investigating for my question.
Does this work for custom components or custom renderers that are not defined as facelets components? Say I have a custom renderer for the UISelectOne component, and a Facelets tag that integrates the UISelectOne with my new renderer. How can I make it display right in VPE?
Also could you point me to the classes you changed for this?
Thanks again,
Nikos -
3. Re: Custom JSF components in VPE
mareshkau Jul 23, 2009 8:35 AM (in response to niox)niox,
It's works for custom components which has source tag, it's not works for custom renders. As I understand DOM created in java code in you own render? It's not loads from some .xhtml file. If so there isn't possibility in VPE to display components it's implemented using custom java render. We are thinking about how we can do it, here some diagrams which show how VPE processing elements and my proposals for feature
http://www.jboss.org/community/wiki/VPEcurrentstateandpossibleideastomovingtoo/
Here diagram how vpe process ui:composition http://www.jboss.org/community/wiki/VPEprocessingincludefilesuicompositiontemplatecustomcomponentsandetc. Code which I have changed you can find in https://jira.jboss.org/jira/browse/JBIDE-3197, here exists FishEye tab where will be displayed source code changes which related to this issue.
https://jira.jboss.org/jira/browse/JBIDE-3197?page=com.atlassian.jira.ext.fisheye%3Afisheye-issuepanel -
4. Re: Custom JSF components in VPE
niox Jul 23, 2009 10:38 AM (in response to niox)Thank you very much for the pointers.
-
5. Re: Custom JSF components in VPE
mareshkau Jul 23, 2009 11:46 AM (in response to niox)Any feedback is appreciated.