kala,

I don't understand the question?  Do you know what a JSP Tag Library is?
http://java.sun.com/products/jsp/taglibraries.html

a tag lib would encapsulate the data access code into a set of easy to use
and understand tags.  If you have a group of not-so technical html
programmers working on a site, its good to keep them out of the code as much
as possible.  The Tag Library approach, if done correctly, keeps the view
separate from the data access. So I don't understand the references to
"don't wanna follow the MVC" etc, etc.  Embedding a bunch of data access
scriptlets inside the View (JSP Page) seems to be not following the MVC in
my opinion..  Please correct me if I'm wrong.

I have completed a couple test tags and the approach seems to work quite
well.  As i stated, there is no HTML embedded inside the Tag Lib Code, the
HTML formating is passed in the tag.  Once I have the full set of tags
functional, I will post them if anyone is interested so they can see if it
would be useful to them...

-Rick

-----Original Message-----
From: Marian Skalsky [mailto:ms@;euromove.sk]
Sent: Monday, November 04, 2002 10:49 PM
To: OJB Users List
Subject: Re: JSP Custom Tag-Lib for OJB? 


Hi!
Can I ask you please where do you see the advantage of this approch?
It looks like nothing more then a java code transformed to tags. If you
really don't wanna follow the MVC isn't easier to make it as scriptlet code
?
$kala.

----- Original Message -----
From: "Gavin, Rick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 2:38 AM
Subject: JSP Custom Tag-Lib for OJB?


> 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>
>
>


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

--
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