[Fornax-developer] [sculptor]How to change generation of xhtml views?
I'm still very much novice with xtend and maybe on the wrong track but hoping someone can point me in the right direction ... i'm needing make a change to generation of crud xhtml files, specifically to use a different jsf component set for some page controls (such as a html editor to be included for certain String datatypes). I looked thru the dev guide and then browsed svn seeing the java code generation templates but unsure how the jsf based xhtml files get created. I could see no template for those in generator/src/main/templates .. are there other templates elsewhere OR do these xhtml files get generated using some other mechanism? :confused: -- View this message in context: http://old.nabble.com/-sculptor-How-to-change-generation-of-xhtml-views--tp29777660s17564p29777660.html Sent from the Fornax-Platform mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer
Re: [Fornax-developer] [sculptor]How to change generation of xhtml views?
They are located in templates/web/ I think the one you are looking for is JSFCrudGuiFlowJsf.xpt and you can redefine them in your WebSpecialCases.xpt with ordinary AROUND mechanism. E.g. AROUND templates::web::jsfInputField(boolean editable) FOR ViewDataProperty /Patrik greatfooty wrote: > > I'm still very much novice with xtend and maybe on the wrong track but > hoping someone can point me in the right direction ... i'm needing make a > change to generation of crud xhtml files, specifically to use a different > jsf component set for some page controls (such as a html editor to be > included for certain String datatypes). > > I looked thru the dev guide and then browsed svn seeing the java code > generation templates but unsure how the jsf based xhtml files get created. > I could see no template for those in generator/src/main/templates .. are > there other templates elsewhere OR do these xhtml files get generated > using some other mechanism? :confused: > > > > > -- View this message in context: http://old.nabble.com/-sculptor-How-to-change-generation-of-xhtml-views--tp29777660s17564p2962.html Sent from the Fornax-Platform mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer
Re: [Fornax-developer] [sculptor]How to change generation of xhtml views?
Thanks Patrick - i'd looked at a few in that folder but mistakenly presumed that one was relating somehow to webflow. :blush: -- View this message in context: http://old.nabble.com/-sculptor-How-to-change-generation-of-xhtml-views--tp29777660s17564p29778109.html Sent from the Fornax-Platform mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer