You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(68) |
Dec
(77) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(75) |
Feb
(84) |
Mar
(89) |
Apr
(96) |
May
(52) |
Jun
(73) |
Jul
(99) |
Aug
(46) |
Sep
(40) |
Oct
(46) |
Nov
(45) |
Dec
(25) |
2004 |
Jan
(13) |
Feb
(74) |
Mar
(40) |
Apr
(18) |
May
(31) |
Jun
(1) |
Jul
(16) |
Aug
(1) |
Sep
(21) |
Oct
(19) |
Nov
(10) |
Dec
(16) |
2005 |
Jan
(4) |
Feb
(12) |
Mar
(46) |
Apr
(33) |
May
(64) |
Jun
(1) |
Jul
(60) |
Aug
(31) |
Sep
(26) |
Oct
(24) |
Nov
(37) |
Dec
(10) |
2006 |
Jan
(3) |
Feb
(31) |
Mar
(122) |
Apr
(22) |
May
(4) |
Jun
|
Jul
|
Aug
(2) |
Sep
(4) |
Oct
(8) |
Nov
(3) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(8) |
From: Lane S. <la...@op...> - 2005-02-02 06:54:16
|
Hi, The head version of wiki is backward compatible. However, it has features for creating a private wiki. In short, with the security property turned on (see wiki.properties), a user cannot browse the web site until the administrator approves him to do so. this was a constant complaint among corporate users of a wiki. -Lane marcel.huijkman wrote: > I'm trying to get the Wiki part going but it won't compile with java 1.5 > So I've changed all the Enummeration enum parts and it compiles, build > etc. > > However when I call my wiki: > http://localhost/wiki/StartPage it says: > > WebMacro application code failed to initialize: > javax.servlet.ServletException: java.lang.IllegalArgumentException: > nulldeploy/WEB-INF/Wiki.Properties does not point to a file. > This error is the result of a failure in the > code supplied by the application programmer. > > Please contact the server administrator > > > I think the part: nulldeploy says something isn't good. > Any help is welcome. > > Also any hints on how to use wiki as a directive. (I've read somewhere > that this is possible...) > > BTW how is version 3 of the wiki? > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: paul s. <web...@pa...> - 2005-02-01 21:14:40
|
nothing really is influencing me... i just like the syntax of webmacro alot more... of course this could be because i have be using it for such a long time that i don't feel like taking the time to learn velocity... in all honestly, i don't like the {} around variables... i know there optional for velocity, but it looks too much like ant and i can just do an XSLTransform on my ant build script if i wanted to do it that way... But in reality, Velocity is a hack and was stolen from you guys, i don't like working with thieves... true to the end!!! to add insult to injury the Velocity developers didn't even take out all references to Webmacro in the source code: http://jakarta.apache.org/velocity/api/org/apache/velocity/Template.html i like the .wm in the template code example... you kydz are the creative thinkers behind this... Velocity is going to always be a step behind... I think that i am going to create a method that takes in a velocity context, iterates over the objects, puts them into a webmacro context, and returns the webmacro context.... granted this is a bit pricey however the quicker i move these guys to webmacro the faster velocity will be out the door... ;-) when its done, i'll forward it off... I'm working on embedding tomcat to make a stand alone service right now and need to get to this method later today... fun fun fun!!!! cheers paul Lane Sharman wrote: > Hi Paul, > > I would try to see if there is a pattern allowing you to replace old > code with new code so that you can have a search and replace script. > that way, the end product will be so much more maintainable. > > just out of curiousity: besides your influence, are there other factors > forcing the change? > > -Lane > > paul senescu wrote: > >> hey guys - >> >> I have an opportunity to convert a Velocity Site to Webmacro. I >> thought that i could do a simple type cast on the Velocity Context to >> Webmacro but it doesn't work. Any thoughts/suggestions/snippets/docs >> on how to start using webmacro instead of velocity using the existing >> code base? Does someone have a wrapper class/method for this? >> >> cheers >> paul >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Webmacro-user mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/webmacro-user >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user |
From: Lane S. <la...@op...> - 2005-02-01 20:45:55
|
Hi Paul, I would try to see if there is a pattern allowing you to replace old code with new code so that you can have a search and replace script. that way, the end product will be so much more maintainable. just out of curiousity: besides your influence, are there other factors forcing the change? -Lane paul senescu wrote: > hey guys - > > I have an opportunity to convert a Velocity Site to Webmacro. I > thought that i could do a simple type cast on the Velocity Context to > Webmacro but it doesn't work. Any thoughts/suggestions/snippets/docs > on how to start using webmacro instead of velocity using the existing > code base? Does someone have a wrapper class/method for this? > > cheers > paul > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: marcel.huijkman <mar...@ra...> - 2005-02-01 16:47:59
|
Paul, Perhaps for the things that doesn't work, you could write tailor made directives, which should do the job kind of the same. I don't know what troubles you will get, if you're going this way, but it's do-able. -Marcel- paul senescu wrote: > hey guys - > > I have an opportunity to convert a Velocity Site to Webmacro. I > thought that i could do a simple type cast on the Velocity Context to > Webmacro but it doesn't work. Any thoughts/suggestions/snippets/docs > on how to start using webmacro instead of velocity using the existing > code base? Does someone have a wrapper class/method for this? > > cheers > paul > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > > . > |
From: paul s. <web...@pa...> - 2005-02-01 16:34:07
|
hey guys - I have an opportunity to convert a Velocity Site to Webmacro. I thought that i could do a simple type cast on the Velocity Context to Webmacro but it doesn't work. Any thoughts/suggestions/snippets/docs on how to start using webmacro instead of velocity using the existing code base? Does someone have a wrapper class/method for this? cheers paul |
From: marcel.huijkman <mar...@ra...> - 2005-02-01 15:18:52
|
I'm trying to get the Wiki part going but it won't compile with java 1.5 So I've changed all the Enummeration enum parts and it compiles, build etc. However when I call my wiki: http://localhost/wiki/StartPage it says: WebMacro application code failed to initialize: javax.servlet.ServletException: java.lang.IllegalArgumentException: nulldeploy/WEB-INF/Wiki.Properties does not point to a file. This error is the result of a failure in the code supplied by the application programmer. Please contact the server administrator I think the part: nulldeploy says something isn't good. Any help is welcome. Also any hints on how to use wiki as a directive. (I've read somewhere that this is possible...) BTW how is version 3 of the wiki? |
From: Tim P. <ti...@pa...> - 2005-01-12 20:07:51
|
On Wednesday 12 January 2005 10:45, Alex Twisleton-Wykeham-Fiennes wrote: > On Wednesday 12 January 2005 10:19, Mike Weerdenburg wrote: > > > > PS. this mailing-lists are quiet to! anybody still using webMacro??? > > yes, but a bit concerned by the radio silence... :-( I am using WebMacro. <plug> have just fixed http://www.melati.org/ to use WM templates out of the jar, so Melati can now just drop in to a web app, giving an instant generic DB admin system. </plug> cheers Tim Pizey |
From: Lane S. <la...@op...> - 2005-01-12 18:10:50
|
Alex Twisleton-Wykeham-Fiennes wrote: >On Wednesday 12 January 2005 10:19, Mike Weerdenburg wrote: > > >> Hello guys, >> >> i still can't get to http://www.webmacro.org anyone care to check this, >> and give the server a kick if it actually is down? >> >> Greetings, >> Mike Weerdenburg >> >> PS. this mailing-lists are quiet to! anybody still using webMacro??? >> >> > >yes, but a bit concerned by the radio silence... :-( > I am having an offline conversation with eric ridge to get a handle on this problem and to come up with a long term resolution. -Lane > >Alex > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > |
From: Alex Twisleton-Wykeham-F. <al...@fi...> - 2005-01-12 10:44:30
|
On Wednesday 12 January 2005 10:19, Mike Weerdenburg wrote: > Hello guys, > > i still can't get to http://www.webmacro.org anyone care to check this, > and give the server a kick if it actually is down? > > Greetings, > Mike Weerdenburg > > PS. this mailing-lists are quiet to! anybody still using webMacro??? yes, but a bit concerned by the radio silence... :-( Alex |
From: Mike W. <m.w...@tr...> - 2005-01-12 10:18:30
|
<html> <body> Hello guys,<br><br> i still can't get to <a href="http://www.webmacro.org/" eudora="autourl">http</a><a href="http://www.webmacro.org/" eudora="autourl">://www.webmacro.org</a> anyone care to check this,<br> and give the server a kick if it actually is down?<br><br> Greetings,<br> Mike Weerdenburg<br><br> PS. this mailing-lists are quiet to! anybody still using webMacro???<br><br> <br> <b>tracert webmacro.org<br><br> </b>Tracing route to webmacro.org [64.132.103.32]<br> over a maximum of 30 hops:<br><br> 1 <10 ms <10 ms <10 ms *.*.*.*<br> 2 121 ms 30 ms 30 ms *.*.*.*<br> 3 30 ms 20 ms 30 ms nrp01-gw.nikhef.concepts-ict.net [213.197.27.9]<br> 4 100 ms 80 ms 140 ms gi0-2-205.core01.ams03.atlas.cogentco.com [130.117.19.121]<br> 5 20 ms 30 ms 30 ms p5-0.core01.bru01.atlas.cogentco.com [130.117.1.134]<br> 6 30 ms 40 ms 30 ms p6-0.core01.lon02.atlas.cogentco.com [130.117.1.158]<br> 7 140 ms 100 ms 111 ms p6-0.core02.jfk01.atlas.cogentco.com [154.54.1.5]<br> 8 100 ms 110 ms 101 ms p12-0.core02.jfk02.atlas.cogentco.com [66.28.4.169]<br> 9 250 ms 190 ms 100 ms p15-0.core01.jfk02.atlas.cogentco.com [66.28.4.13]<br> 10 110 ms 111 ms 110 ms p4-0.core02.dca01.atlas.cogentco.com [66.28.4.81]<br> 11 151 ms 160 ms 160 ms p15-0.core01.dca01.atlas.cogentco.com [66.28.4.21]<br> 12 110 ms 120 ms 110 ms p2-0.core01.iad01.atlas.cogentco.com [154.54.2.202]<br> 13 111 ms 120 ms 110 ms 66.192.252.217<br> 14 110 ms 110 ms 110 ms 66.192.255.230<br> 15 221 ms 280 ms 270 ms 66.192.242.20<br> 16 120 ms 120 ms 131 ms tagg-01-so-5-0-0.gnbo.twtelecom.net [66.192.242.110]<br> 17 * * * Request timed out.<br> .<br> .<br> .<br> 30 * * * Request timed out.<br> Trace complete.<br> </body> </html> |
From: Tim P. <tpp...@pa...> - 2004-12-22 16:09:08
|
Hi, http;//www.webmcro.org/ is currently not responding. cheers TimP |
From: Lane S. <la...@op...> - 2004-12-08 18:26:49
|
Hi Marcel, Both mailing lists are active. I would say that right now we would like to bake 2.0. If you could follow Keat's guidance about relating methods within existing tools, that would be great. I am sure they will be useful. You can use the dev list if it is strictly a dev tool. I may commit as well an eCommerce tool for things like PayPal buttons and some payment presentment (credit card fields, date values, names), so your date tool would be handy as well. thanks, Lane marcel.huijkman wrote: > 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 Web...@li... >>>>> 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 >>>> Web...@li... >>>> 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 >>> Web...@li... >>> 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 >> Web...@li... >> 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 > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: marcel.huijkman <mar...@ra...> - 2004-12-08 06:45:08
|
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 Web...@li... >>>> 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 >>> Web...@li... >>> 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 >> Web...@li... >> 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 > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > > . > |
From: Keats K. <ke...@xa...> - 2004-12-08 05:13:12
|
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 Web...@li... >>> 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 >> Web...@li... >> 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 > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: marcel.huijkman <mar...@ra...> - 2004-12-07 23:01:47
|
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 Web...@li... >> 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 > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > > . > |
From: Keats K. <ke...@xa...> - 2004-12-06 20:23:52
|
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 Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user |
From: marcel.huijkman <mar...@ra...> - 2004-12-06 07:14:42
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Verdana">Question:<br> <br> Is this an old directory or has it been setup for future usage?<br> <br> (I want to check stuff in based on some library stuff, and this<br> seems a logical place to me.)<br> <br> </font> </body> </html> |
From: Keats K. <ke...@xa...> - 2004-12-03 15:12:04
|
You can just cast the Context to a WebContext. Here's an example from the CGITool: public Object init (Context context) throws PropertyException { try { WebContext wc = (WebContext) context; CGI_Impersonator cgi = new CGI_Impersonator(wc); return cgi; } catch (ClassCastException ce) { throw new PropertyException( "CGITool only works with WebContext", ce); } } This is a good concept. In fact we talked about creating a BrowserTool years ago, but nobody ever got around to it. Keats marcel.huijkman wrote: > Thanks for the advise. > This is the stuff in my log-file: > > 03-12-2004 00:21:08.734 broker NOTICE starting > org.webmacro.Broker: WebMacro.properties > 03-12-2004 00:21:08.734 broker NOTICE Loaded settings from > WebMacro.defaults, WebMacro.properties, (System Properties) > 03-12-2004 00:21:08.734 broker WARNING Context object Info is > not of type ContextObjectFactory > > So I changes a little bit but now I found out that Context isn't quite > the same as WebContext. > > What do I want it for? > > In WebContext you could do getRequest() > which eventually could give you stuff like "USER_AGENT" > > So I could make a $BrowserInfo or something which would tell you the > browser's name or stuff like that. > Based on this, you could make some clever markup things. > > I've got loads of utils, but it would be nice if I could share them > with others. > > So please kick me some more :-) > > > > > > > Keats Kirsch wrote: > >> Turn on debugging and check the log. It should show whether or not >> the Info tool got loaded and why it might have failed. >> >> Keats >> >> marcel.huijkman wrote: >> >>> I'm playing with this 'trick' but can't get it to work. >>> >>> in my webmacro.defaults I've got this: >>> ContextTools.Info: org.webmacro.util.Info >>> >>> But when I do this in my template: >>> $Info >>> >>> It says: >>> Exception:org.webmacro.PropertyException$UndefinedVariableException: >>> Attempted to write an undefined variable: $Info at >>> c:\mydir\wsf\templates\index.wmt:15.1 >>> >>> So I think I must be doing something wrong. >>> >>> If somebody could kick me in the right direction, I'll sent some >>> virtual flowers from Holland :-) >>> >>> >>> >>> >>> Keats Kirsch wrote: >>> >>>> I had developed a way to use "context-aware" functions, but I think >>>> the concept was rejected in favor of the new AutoContextVariable >>>> concept. >>>> I believe it works something like: >>>> >>>> public class ContextManipulator implements ContextAutoLoader { >>>> public Object get(String name, Context context) throws >>>> PropertyException { >>>> return doSomethingWithTheContext(context); >>>> } >>>> } >>>> >>>> I think you configure this as a ContextTool, like: >>>> >>>> ContextTools.Manipulate: com.acme.wm.ContextManipulator >>>> >>>> And then access it in the template like: >>>> >>>> $Manipulate >>>> >>>> Hope this helps. >>>> >>>> Keats >>>> >>>> marcel.huijkman wrote: >>>> >>>>> How to get the context into a ContextTool? >>>>> >>>>> I am playing with a ContextTool, which does a lot for me, but I >>>>> want to be able to manipulate the context from within my too. >>>>> >>>>> I can do it in a dirty kind of way, by putting the context in >>>>> a var "WM_CONTEXT" into the context. >>>>> >>>>> And if I have to get of set something, I'll do it like this in my >>>>> template: >>>>> $util.manipulate($WM_CONTEXT); >>>>> >>>>> But I was wandering if there isn't any better, cleaner way to do >>>>> this? >>>>> Can a ContextTool (that is loaded once) manipulate the exact context >>>>> the end-user is playing with? >>>>> >>>>> - Marcel - >>>>> >>>>> PS. I start working for a java-company next year, so I hope to do >>>>> more WM. >>>>> |
From: marcel.huijkman <mar...@ra...> - 2004-12-02 23:40:43
|
Thanks for the advise. This is the stuff in my log-file: 03-12-2004 00:21:08.734 broker NOTICE starting org.webmacro.Broker: WebMacro.properties 03-12-2004 00:21:08.734 broker NOTICE Loaded settings from WebMacro.defaults, WebMacro.properties, (System Properties) 03-12-2004 00:21:08.734 broker WARNING Context object Info is not of type ContextObjectFactory So I changes a little bit but now I found out that Context isn't quite the same as WebContext. What do I want it for? In WebContext you could do getRequest() which eventually could give you stuff like "USER_AGENT" So I could make a $BrowserInfo or something which would tell you the browser's name or stuff like that. Based on this, you could make some clever markup things. I've got loads of utils, but it would be nice if I could share them with others. So please kick me some more :-) Keats Kirsch wrote: > Turn on debugging and check the log. It should show whether or not > the Info tool got loaded and why it might have failed. > > Keats > > marcel.huijkman wrote: > >> I'm playing with this 'trick' but can't get it to work. >> >> in my webmacro.defaults I've got this: >> ContextTools.Info: org.webmacro.util.Info >> >> But when I do this in my template: >> $Info >> >> It says: >> Exception:org.webmacro.PropertyException$UndefinedVariableException: >> Attempted to write an undefined variable: $Info at >> c:\mydir\wsf\templates\index.wmt:15.1 >> >> So I think I must be doing something wrong. >> >> If somebody could kick me in the right direction, I'll sent some >> virtual flowers from Holland :-) >> >> >> >> >> Keats Kirsch wrote: >> >>> I had developed a way to use "context-aware" functions, but I think >>> the concept was rejected in favor of the new AutoContextVariable >>> concept. >>> I believe it works something like: >>> >>> public class ContextManipulator implements ContextAutoLoader { >>> public Object get(String name, Context context) throws >>> PropertyException { >>> return doSomethingWithTheContext(context); >>> } >>> } >>> >>> I think you configure this as a ContextTool, like: >>> >>> ContextTools.Manipulate: com.acme.wm.ContextManipulator >>> >>> And then access it in the template like: >>> >>> $Manipulate >>> >>> Hope this helps. >>> >>> Keats >>> >>> marcel.huijkman wrote: >>> >>>> How to get the context into a ContextTool? >>>> >>>> I am playing with a ContextTool, which does a lot for me, but I >>>> want to be able to manipulate the context from within my too. >>>> >>>> I can do it in a dirty kind of way, by putting the context in >>>> a var "WM_CONTEXT" into the context. >>>> >>>> And if I have to get of set something, I'll do it like this in my >>>> template: >>>> $util.manipulate($WM_CONTEXT); >>>> >>>> But I was wandering if there isn't any better, cleaner way to do this? >>>> Can a ContextTool (that is loaded once) manipulate the exact context >>>> the end-user is playing with? >>>> >>>> - Marcel - >>>> >>>> PS. I start working for a java-company next year, so I hope to do >>>> more WM. >>>> > > > > ------------------------------------------------------- > 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 > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > > . > |
From: Keats K. <ke...@xa...> - 2004-12-02 22:59:53
|
Turn on debugging and check the log. It should show whether or not the Info tool got loaded and why it might have failed. Keats marcel.huijkman wrote: > I'm playing with this 'trick' but can't get it to work. > > in my webmacro.defaults I've got this: > ContextTools.Info: org.webmacro.util.Info > > But when I do this in my template: > $Info > > It says: > Exception:org.webmacro.PropertyException$UndefinedVariableException: > Attempted to write an undefined variable: $Info at > c:\mydir\wsf\templates\index.wmt:15.1 > > So I think I must be doing something wrong. > > If somebody could kick me in the right direction, I'll sent some > virtual flowers from Holland :-) > > > > > Keats Kirsch wrote: > >> I had developed a way to use "context-aware" functions, but I think >> the concept was rejected in favor of the new AutoContextVariable >> concept. >> I believe it works something like: >> >> public class ContextManipulator implements ContextAutoLoader { >> public Object get(String name, Context context) throws >> PropertyException { >> return doSomethingWithTheContext(context); >> } >> } >> >> I think you configure this as a ContextTool, like: >> >> ContextTools.Manipulate: com.acme.wm.ContextManipulator >> >> And then access it in the template like: >> >> $Manipulate >> >> Hope this helps. >> >> Keats >> >> marcel.huijkman wrote: >> >>> How to get the context into a ContextTool? >>> >>> I am playing with a ContextTool, which does a lot for me, but I >>> want to be able to manipulate the context from within my too. >>> >>> I can do it in a dirty kind of way, by putting the context in >>> a var "WM_CONTEXT" into the context. >>> >>> And if I have to get of set something, I'll do it like this in my >>> template: >>> $util.manipulate($WM_CONTEXT); >>> >>> But I was wandering if there isn't any better, cleaner way to do this? >>> Can a ContextTool (that is loaded once) manipulate the exact context >>> the end-user is playing with? >>> >>> - Marcel - >>> >>> PS. I start working for a java-company next year, so I hope to do >>> more WM. >>> |
From: marcel.huijkman <mar...@ra...> - 2004-12-02 22:17:05
|
I'm playing with this 'trick' but can't get it to work. in my webmacro.defaults I've got this: ContextTools.Info: org.webmacro.util.Info But when I do this in my template: $Info It says: Exception:org.webmacro.PropertyException$UndefinedVariableException: Attempted to write an undefined variable: $Info at c:\mydir\wsf\templates\index.wmt:15.1 So I think I must be doing something wrong. If somebody could kick me in the right direction, I'll sent some virtual flowers from Holland :-) Keats Kirsch wrote: > I had developed a way to use "context-aware" functions, but I think > the concept was rejected in favor of the new AutoContextVariable concept. > I believe it works something like: > > public class ContextManipulator implements ContextAutoLoader { > public Object get(String name, Context context) throws > PropertyException { > return doSomethingWithTheContext(context); > } > } > > I think you configure this as a ContextTool, like: > > ContextTools.Manipulate: com.acme.wm.ContextManipulator > > And then access it in the template like: > > $Manipulate > > Hope this helps. > > Keats > > marcel.huijkman wrote: > >> How to get the context into a ContextTool? >> >> I am playing with a ContextTool, which does a lot for me, but I >> want to be able to manipulate the context from within my too. >> >> I can do it in a dirty kind of way, by putting the context in >> a var "WM_CONTEXT" into the context. >> >> And if I have to get of set something, I'll do it like this in my >> template: >> $util.manipulate($WM_CONTEXT); >> >> But I was wandering if there isn't any better, cleaner way to do this? >> Can a ContextTool (that is loaded once) manipulate the exact context >> the end-user is playing with? >> >> - Marcel - >> >> PS. I start working for a java-company next year, so I hope to do >> more WM. >> >> >> ------------------------------------------------------- >> 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 >> Web...@li... >> 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 > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > > . > |
From: Tim P. <tpp...@pa...> - 2004-12-02 10:54:37
|
Hi Keats, Thank you so much for staying with me. I have fixed it! The initial change, of passing in the servlet was correct, however it highlighted another problem specific to servlet containers. > From: Keats Kirsch > > I just tried a little test and it works fine for me with Tomcat 4.1. > > See if you can modify the HelloWorld Servlet to load the > template from a JAR. This worked, so I realised the problem was in my code, as it always is ! I had return "org" + File.separatorChar + "melati" + File.separatorChar + "admin" + File.separatorChar + name; Which works outside of jar files but not inside them. return "org/melati/admin/" + name; works in both cases. I should have spotted the error earlier as it said it could not find template org/melati/admin/Main.wm So thank you again for keeping me at it until I spotted my mistake. yours tim PS Melati can now be dropped into another application simply by adding the jar, two properties files and the images directory into your war file. |
From: Keats K. <ke...@xa...> - 2004-12-01 23:58:59
|
I just tried a little test and it works fine for me with Tomcat 4.1. See if you can modify the HelloWorld Servlet to load the template from a JAR. Keats Tim Pizey wrote: >Hi Keats, > > > >>From: web...@li... >> >>This is odd. It could be a Jetty issue. >> >> > >Also getting the same from Resin and tomcat5 > > > >>I took a quick look >>at the Jetty source >>(http://cvs.sourceforge.net/viewcvs.py/jetty/Jetty/src/org/mor >>tbay/jetty/servlet/ServletHandler.java?rev=1.121&view=markup) >>and it looks like it requires the URI string to start with a >>slash. Are you doing this? >> >> > >No, just the normal template string 'org/melati/admin/Main.wm' > > > > >>More diagnostics would be helpful as well. >> >> > >I am a bit stuck as to what more to do. >We know that we are initialising the WM in the correct way, >we know it has the default properties file. > >I will try to poke it a bit more. > >thanks >Tim > > > > |
From: Tim P. <tpp...@pa...> - 2004-12-01 17:42:07
|
Hi Keats, > From: web...@li... > > This is odd. It could be a Jetty issue. Also getting the same from Resin and tomcat5 > I took a quick look > at the Jetty source > (http://cvs.sourceforge.net/viewcvs.py/jetty/Jetty/src/org/mor > tbay/jetty/servlet/ServletHandler.java?rev=1.121&view=markup) > and it looks like it requires the URI string to start with a > slash. Are you doing this? No, just the normal template string 'org/melati/admin/Main.wm' > More diagnostics would be helpful as well. I am a bit stuck as to what more to do. We know that we are initialising the WM in the correct way, we know it has the default properties file. I will try to poke it a bit more. thanks Tim |
From: Keats K. <ke...@xa...> - 2004-12-01 16:58:16
|
This is odd. It could be a Jetty issue. I took a quick look at the Jetty source (http://cvs.sourceforge.net/viewcvs.py/jetty/Jetty/src/org/mortbay/jetty/servlet/ServletHandler.java?rev=1.121&view=markup) and it looks like it requires the URI string to start with a slash. Are you doing this? More diagnostics would be helpful as well. Keats Tim Pizey wrote: > Hi Keats and Lane, > >Thanks, I have changed >http://melati.org/cgi-bin/cvsweb.cgi/melati/src/org/melati/template/Template >Engine.java >http://melati.org/cgibin/cvsweb.cgi/melati/src/org/melati/template/webmacro/ >WebmacroTemplateEngine.java >and >http://melati.org/cgi-bin/cvsweb.cgi/melati/src/org/melati/servlet/TemplateS >ervlet.java > >And have checked that I am using WM(HttpServlet) > >Jetty log: > > [java] Initialising with > [java] 13:32:53.474 EVENT WebMacro:LogFile NOTICE --- Log >Started >--- > [java] 13:32:53.474 EVENT WebMacro:broker NOTICE Loaded settings from >Web >Macro.defaults, WebMacro.properties, (WAR file), (System Properties) > [java] 13:32:53.583 EVENT WebMacro:wm NOTICE new >WebMacro(org.mortbay >.jetty.servlet.ServletHandler$Context@2bc3f5) v2.0b1 > >but it still doesn't find templates in a jar file in the war. > >any clues? > >thanks > >tim > > > > >------------------------------------------------------- >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 >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > |