But my question is if they are accessible via the ww2 velocity directives or the $ui marker. From what I've seen of the source code, that's not the case. Here's the latest I have on the code on the JSPTagAdapter's "getTag" method:
if (c == null) { try { c = Class.forName("com.opensymphony.webwork.views.jsp.ui." + tagname + "Tag"); } catch (ClassNotFoundException e) { } try { c = Class.forName("com.opensymphony.webwork.views.jsp.ui." + tagname); } catch (ClassNotFoundException e) { } if (c != null) { synchronized (tagclassMap) { tagclassMap.put(tagname, c); } } else { try { out.write("[No tag, '" + tagname + "', found in path"); } catch (IOException e) { } } >From the looks of it, only tags in the "com.opensymphony.webwork.views.jsp.ui" package are accessible, meaning tags like ActionTag, BeanTag, SetTag, and URLTag aren't accessible (they're in the next package up). From what I've seen on CVS, this still hasn't changed. I understand that the iterator and if tags aren't necessary (in fact, their velocity replacements are in my opinion so much better than using tags for those functions that they're one of the major reasons I use velocity). But the others are quite useful, especially the URL tag. If there are equivalents to those tags that can be done using velocity, I'm not aware of them. In the meantime, I'm using helper classes. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Carreira Sent: Tuesday, September 02, 2003 8:46 PM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] Velocity support for non-ui tags? The BeanTag, URLTag, and ActionTag are all present in WW2 and have been for a while... > -----Original Message----- > From: Jonas Eriksson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 02, 2003 5:53 PM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Velocity support for non-ui tags? > > > The issue beneath is just about these things that are in 1.3 > but not in > 2.0 yet. Things like bean, action, url and so on. > > But the priority is only minor on that issue, so how long > will it take > to fix, one may wonder... ;-) > > Regards > Jonas > > Pat Lightbody wrote: > > What kind of replacements? Stuff like if/then/else and iterator are > > built in to velocity natively. Any tag that was in 1.3 should be in > > 2.0 unless a VERY good reason is given -- so everyone, > please be sure > > to open issues if you see something that was in 1.3 and > isn't in 2.0 > > yet. > > > > -Pat > > > > ----- Original Message ----- > > From: "Jonas Eriksson" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, August 30, 2003 5:06 AM > > Subject: Re: [OS-webwork] Velocity support for non-ui tags? > > > > > > > >>Good question! > >>See your own JIRA issue for more stuff regarding this :-) > >> > >>http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-251 > >> > >>Regards > >>Jonas > >> > >>Drew McAuliffe wrote: > >> > >>>It's been a while since I tried playing with the ww2 tags > in velocity > >>>but I was curious. Last I checked, it looked like the only > tags that > >>>had equivalents in velocity were the ui tags. Do the other > tags have > >>>velocity equivalents, or are there plans for velocity macro > >>>replacements for them (like in ww1)? > >>> > >>>-----Original Message----- > >>>From: [EMAIL PROTECTED] > >>>[mailto:[EMAIL PROTECTED] > On Behalf > >>>Of [EMAIL PROTECTED] > >>>Sent: Friday, August 29, 2003 8:21 PM > >>>To: [EMAIL PROTECTED] > >>>Subject: Opensymphony-webwork digest, Vol 1 #899 - 6 msgs > >>> > >>> > >>>Send Opensymphony-webwork mailing list submissions to > >>>[EMAIL PROTECTED] > >>> > >>>To subscribe or unsubscribe via the World Wide Web, visit > >>> > >>>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > >>>or, via email, send a message with subject or body 'help' to > >>>[EMAIL PROTECTED] > >>> > >>>You can reach the person managing the list at > >>>[EMAIL PROTECTED] > >>> > >>>When replying, please edit your Subject line so it is more > specific > >>>than > >>>"Re: Contents of Opensymphony-webwork digest..." > >>> > >>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This sf.net email is sponsored by:ThinkGeek > >>>Welcome to geek heaven. > >>>http://thinkgeek.com/sf > >>>_______________________________________________ > >>>Opensymphony-webwork mailing list > >>>[EMAIL PROTECTED] > >>>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > >>> > >>> > >> > >> > >> > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by:ThinkGeek > >>Welcome to geek heaven. > >>http://thinkgeek.com/sf > >>_______________________________________________ > >>Opensymphony-webwork mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > >> > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork