Re: org.webmacro.lib
"marcel.huijkman" <[email protected]>
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
This seems okay to me.
I would do it the way you suggest.
So if you have got a datetool allready, please send it to me.
I will sort out what can go in.
Write a final suggestion and then wait for a week or so if
somebody votes agains it.
(I don't know if I should do this via this mailinglist, or is
webmacro-dev still active?)
-Marcel-
Keats Kirsch wrote:
> Sounds like some good stuff. I'd suggest trying to group related
> utility functions together. The date related functions might go into
> a DateTool. (I've got one of those laying around somewhere.) The
> generate could be added to the TextTool. (I think there is already a
> formatDate there.)
>
> We used to have a pretty strict process for getting things accepted
> into the core. I don't know who wants to have a say anymore, but it
> might be good to just let us know what you are going to commit where
> before you do it, in case someone objects.
>
> Thanks.
>
> Keats
>
> marcel.huijkman wrote:
>
>> I have stuff like:
>>
>> calcDate - where you can calculate a new date based on a date plus or
>> minus a given period
>> like you can add 2 months to the given date or 2 days
>> etc.
>>
>> calcDays - for calculating the days between 2 dates
>>
>> delay - delays the servlet fro a number of seconds
>>
>> formatDate - formats a date in a given java-format
>>
>> formatDecimal - formats a number in a given java-format
>>
>> generate - Generate a string a number of times
>>
>> and so on......
>>
>> I now have them in an UtilTool and can call them by $Util.calcDate()
>> (as an example)
>> but perhaps it is nicer to share some of those little handy things
>> with the other WebMacro users.
>>
>> (I even could make some wiki-pages about them, if I had wiki-access,
>> but I don't remember.)
>>
>> Hope this is enough.
>>
>> I could make all diverent classes based on the ContextAutoLoader or
>> make them in a UtilTool kind of solution.
>>
>> Some of those functionalities use some library code of mine, and
>> that would be nice to put in a lib-directory of some kind.
>>
>> So I saw the lib-directory and since it exists, perhaps could be
>> open for use.
>>
>> Who can/will tell me?
>>
>> ##
>> ## usefull ending
>> ##
>> $GreetingsFrom('Marcel');
>>
>>
>> Keats Kirsch wrote:
>>
>>> This is an old directory that is not in use. Let us know what you
>>> have and we can talk about where to put it.
>>>
>>> Keats
>>>
>>> marcel.huijkman wrote:
>>>
>>>> Question:
>>>>
>>>> Is this an old directory or has it been setup for future usage?
>>>>
>>>> (I want to check stuff in based on some library stuff, and this
>>>> seems a logical place to me.)
>>>>
>>>> ------------------------------------------------------- SF email is
>>>> sponsored by - The IT Product Guide Read honest & candid reviews on
>>>> hundreds of IT Products from real users. Discover which products
>>>> truly live up to the hype. Start reading now.
>>>> http://productguide.itmanagersjournal.com/
>>>> _______________________________________________ Webmacro-user
>>>> mailing list [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/webmacro-user
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> SF email is sponsored by - The IT Product Guide
>>> Read honest & candid reviews on hundreds of IT Products from real
>>> users.
>>> Discover which products truly live up to the hype. Start reading
>>> now. http://productguide.itmanagersjournal.com/
>>> _______________________________________________
>>> Webmacro-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/webmacro-user
>>>
>>> .
>>>
>>
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://productguide.itmanagersjournal.com/
>> _______________________________________________
>> Webmacro-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/webmacro-user
>>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Webmacro-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/webmacro-user
>
> .
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/