Clearly you're not an MVC purist!

It's not a custom tag library, but James Strachan has a bit of OJB support in his Jelly framework for XML-based scripting:

http://jakarta.apache.org/commons/sandbox/jelly/
http://jakarta.apache.org/commons/sandbox/jelly/tags.html#jelly:ojb

It looks like he's only implemented a store tag and not yet any kind of retrieve tag, but still, it might be worth a look. Also, were you to set off to write JSP tag libraries, you might be easily able to provide Jelly support as well, given that James has also adapted most of the JSTL tags to Jelly

http://jakarta.apache.org/commons/sandbox/jelly/tags.html#jelly:core http://jakarta.apache.org/commons/sandbox/jelly/tags.html#jelly:sql
http://jakarta.apache.org/commons/sandbox/jelly/tags.html#jelly:xml

best,
Joe


At 5:38 PM -0800 2002/11/04, Gavin, Rick wrote:
Hi All,
I was wondering if anyone has already written a Custom Tag-Lib for OJB or
if they were already working on it. If not I thought I would give it ago.

I was thinking something along the lines....

----------------------------------------------------------------------------
-------------------------------------
<ojb:querybycriteria>
<ojb:critera type="equalTo" attribute="..." value="...">
<ojb:critera type="greaterThan" attribute="..." value="...">
<ojb:critera type="equalTo" attribute="..." value="...">
<ojb:someoutput_iterator .... />
</obj:querybycriteria>
----------------------------------------------------------------------------
-------------------------------------

please let me know if this or something like it is already a reality
somewhere...
thanks,

Rick

--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

--
--
* Joe Germuska { [EMAIL PROTECTED] }
"It's pitiful, sometimes, if they've got it bad. Their eyes get glazed, they go white, their hands tremble.... As I watch them I often feel that a dope peddler is a gentleman compared with the man who sells records."
--Sam Goody, 1956

--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to