It was said at the summit that Collab.net had developed some helper classes
to compensate for the limited functionality in WebMacro templates. Are
these available in Joist or elsewhere? I took a look, but did not find the
type of thing I was envisioning.
For example:
class Util
{
public boolean greaterThan(int i, int j)
{
return i > j;
}
public boolean greaterEqual(int i, int j)
{
return i >= j;
}
...
}
These could then be used in a template:
#if ( $util.greaterThan($list.length(), 5) )
{
<br>
}
Or something like the above (I am not sure if it is valid WM). I am hoping
to find some number formatting functions, etc. already written.
Can anyone point me to a location?
Thanks,
John
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]