And I agree with you about using Jelly for 'actions'. I've written apps that used Struts for a controller and had a single action that invoked Jelly scripts. So essentially all of my processing logic, be it DB access, prepping a Struts form bean for editing, or even business logic, was all done via Jelly scripts. It works wonderfully!
Robert
Ojares Rami EINT wrote:
Hi Robert,
Thank you for your excellent care. This is open source at it's best.
The way I see it is that Jelly is a good way to build actions. Actions you can then invoke many ways (eg. with a tag from jsp page, from command line ...) Thus jelly works as a wrapper for all kinds of tools, scripting languege and whatever you can come up with.
And the fact that you are writing jsp tags triggering jelly tags points to the direction that jsp is better when embedding dynamic features to html pages.
Thank you for your offer for getting a pre-release of your jsp tags. But the issue I have is using Jelly from already existing jsp tags. Maybe you could just point me to the place where they are located once you publish them.
- rami
-----Original Message-----
From: Robert [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 12:53 AM
To: Jakarta Commons Developers List
Subject: Re: [Jelly] Converting JSP taglib to Jelly taglib
If you have messy HTML that would probably be the case. However, Jelly scripts can easily generate HTML as well as anything else (csv files, XML, straight text, or no output at all). There is even a JellyServlet for doing such a thing. Oh yea and you can embed Velocity scipts (using a Jelly tag) in a jelly script as well.
I have used Jelly to dynamically generate a ton a test SQL statements into a regular text file to populate a database with dummy data.
On a related note, I am working on a JSP taglib that will allow embedding of Jelly scripts in a JSP page as well as executing an 'external' jelly script, if you are interested. I have a definate need for it coming up soon so I'm going to write it regardless and then donate it, but if you want I will send it to you when I'm done.
Robert McIntosh
Ojares Rami EINT wrote:
So I quess it is fair to say that JSP tags (or Velocity) is
better solution
when building dynamic web pages (messy html + whatever)? Would you agree?
- rami
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 12:15 AM
To: Jakarta Commons Developers List
Subject: Re: [Jelly] Converting JSP taglib to Jelly taglib
A jelly script *must* be a well-formed XML document. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/
"Ojares Rami EINT" <[EMAIL PROTECTED]> wrote on 12/11/2003 12:07:55 AM:
Hi,
I am new to Jelly. I was thinking about converting a JSP taglib to Jelly tags. But I have some concerns. One very handy thing about JSP parsing is that jsp does not have to be a well formed XML document. How about Jelly? Could I use some jelly tags inside a html document that is filled with javascript, ampersands and unfinished tags?
- rami
------------------------------------------------------------
---------
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]
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]