Can the velocity stuff call out to helper code? We should refactor the
code out of the URLTag into a helper class and create a webwork url
macro in velocity...

> -----Original Message-----
> From: Robert Carlens [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 31, 2003 6:33 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] WebTable and URL tags
> 
> 
> Hi,
> 
> I've finally decided to dig into the WW2 code, and I'm 
> working on converting the WebTable tag to WW2. Doing this I 
> found out that the current WW Webtable template makes use of 
> the URL tag. Trying to use that tag in a WebTable tag for 
> Velocity I get an error since the URL tag doesn't implement 
> the Renderer interface.
> 
> I see several ways of solving this problem
> 1. Make the URL tag an UI tag inheriting from AbstractUITag 
> and getting its own URL template. This seens reasonably to me 
> since it is really doing some output. 2. Make the URL tag 
> implement the Renderer interface without adding any new 
> template for it (it is implemented without a template in WW) 
> 3. Skip using the URL tag in the WebTable template since it 
> is only used if the table is sortable, meaning the WebTable 
> can't be sortable (would be a shame since it's a neat feature)
> 
> Does anyone have any thoughts on this, or am I heading in the 
> wrong direction here...
> 
> rgs,
> Robert
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites 
> including Data Reports, E-commerce, Portals, and Forums are 
> available now. Download today and enter to win an XBOX or 
> Visual Studio .NET. 
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to