Does Velocity Support JSF components to be integrated with it along with Seam Framework and EJB 3.0?
Hello, Now I am in the possition to choose the good presenation layer frame work to start working the web oriented project. I have been looking around the forum to use the velocity. We have decided to use the new technologies like Seam Framework, EJB3.0 and JSF with MyFacelets. But MyFaclets has some issue to format the view layer, It does not have the good tag library as like jstl. We have thinking to use the velocity for presentation layer. I would like to know whether the Velocity support JSF ,EJB3.0 with Seam Framework ? How the taglib support with Velocity ?. I would appreciate the If Anyone help me on getting clear idea about Velocity ... thanks -- View this message in context: http://www.nabble.com/Does-Velocity-Support-JSF-components-to-be-integrated-with-it-along-with-Seam-Framework-and-EJB-3.0--tf4305083.html#a12254295 Sent from the Velocity - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does Velocity Support JSF components to be integrated with it along with Seam Framework and EJB 3.0?
On 8/21/07, B.Rajagopal [EMAIL PROTECTED] wrote: Hello, Now I am in the possition to choose the good presenation layer frame work to start working the web oriented project. I have been looking around the forum to use the velocity. We have decided to use the new technologies like Seam Framework, EJB3.0 and JSF with MyFacelets. But MyFaclets has some issue to format the view layer, It does not have the good tag library as like jstl. We have thinking to use the velocity for presentation layer. I would like to know whether the Velocity support JSF ,EJB3.0 with Seam Framework ? the Velocity project has not done any work to specifically integrate with JSF or EJB or Seam. How the taglib support with Velocity ?. if you are asking about calling taglibs from within a Velocity template, then the support is very poor. the WebWork guys did some such integration a long time back, but i don't know the status of it. It's not something there's been much demand for. Instead most work has gone into the VelocityTools project (tools been a Velocity corollary to taglibs). I would appreciate the If Anyone help me on getting clear idea about Velocity ... thanks -- View this message in context: http://www.nabble.com/Does-Velocity-Support-JSF-components-to-be-integrated-with-it-along-with-Seam-Framework-and-EJB-3.0--tf4305083.html#a12254295 Sent from the Velocity - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (VELOCITY-362) can't load macros in file loaded with #parse
[ https://issues.apache.org/jira/browse/VELOCITY-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521535 ] Will Glass-Husain commented on VELOCITY-362: This is really a great patch. Nice enhancement to the macro functionality. An easily understandable structure. Good code style. The patch file worked fine for me (Eclipse automatically creates the new file). I made one minor change to the code -- in mergeTemplate I changed the catch(Exception) clause to rethrow a RuntimeException instead of logging it. I also made minor changes to some of the comments. One big problem. ant test does not pass. The parsing of the new test templates does not match the compare files. Could you have submitted the wrong test or compare templates? (or could they be different in the patch file)? I can't load macros in file loaded with #parse Key: VELOCITY-362 URL: https://issues.apache.org/jira/browse/VELOCITY-362 Project: Velocity Issue Type: Improvement Components: Engine Affects Versions: 1.4 Environment: Operating System: All Platform: All Reporter: whxbb Priority: Minor Fix For: 1.6 Attachments: patch.zip I think this is a big bug. I've used velocity in my projects, erveything is ok but this. i want to know it's this problem will be resolved in next version? if it's not, i have to abandon velocity. the bug is : from doc: This is important to remember if you try to #parse() a template containing inline #macro() directives. Because the #parse() happens at runtime, and the parser decides if a VM-looking element in the template is a VM at parsetime, #parse()-ing a set of VM declarations won't work as expected. To get around this, simply use the velocimacro.library facility to have Velocity load your VMs at startup. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]