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: Graeme J S. <web...@gj...> - 2005-05-12 15:07:39
|
On Wed, 11 May 2005, Marc Palmer wrote: > Ankur G35 Saxena wrote: <snip/> >> How do i go about doing this? Anything special I have to do, some >> examples would be great. Also when I put text into the webmacro file >> from java, can I put any char(unicode for other languages) since I >> will picking these translated words from an XML file. This might help http://www.w3.org/TR/REC-html40/struct/dirlang.html > The usual approach in JSP-land seems to be creating a ResourceBundle instance > per session (assuming the language can be set by the client) and accessing > that in the page for all UI strings... <snip/> Thats how I did it. The translator was given a XML file which was easier for them to handle and with some XSLT it was converted to properties file for each locale. The language bundles were then loaded into the application context and passed to the user using their (selected) locale. -- Graeme - |
From: Lane S. <la...@op...> - 2005-05-12 14:46:52
|
this is really cool. Keats Kirsch wrote: > I'm not quite sure what you're getting at but if you want a deferred > #include you can do this with #templet/#eval. (#macro won't work > since they are evaluated at build time.) > > For example: > > #templet $dynaIncl { \#include as template \$file } > #eval $dynaIncl using { "file": "myfile.wmt" } > > With the newest version of #eval in CVS you can do this in one step: > > #eval "\#include as template \$file" using { "file": "myfile.wmt" } > > Note the need for backslashes to escape the # and $ chars. Otherwise > they will get evaluated prior to the #eval. > > Hope this helps. > > Keats > > dinesh t b wrote: > >> Trying to post it again, as it did not show up >> >> From: "Jason E. Stewart" <ja...@op...> >> Sent: Monday, May 09, 2005 6:15 PM >> Subject: Re: init/cleanup/shared/ >> >> >> >> >>> "dinesh t b" <tbd...@se...> writes: >>> >>> >>> >>>> #macro pantotoparse($file){ >>>> >>>> this is the stuff that goes before the real parse >>>> >>>> #include as template $file >>>> >>>> and the clean up stuff after the parse >>>> >>>> } >>>> >>>> So we can use #pantotoparse("myfoo.wm") instead and we get what we >>>> want. >>>> >>>> However this does not compile as #include tries to expand immediately, >>>> and we cannot get the necessary "delay" that we want for the include. >>>> >>> >>> We should add that we're using the 2.0b of WebMacro. >>> >>> We tried using #eval with a #templet - but this too did not work - >>> the #include got executed at definition time, not at run time. Putting >>> the #include inside a string, inside the #eval didn't work either - >>> it never got executed - instead it just printed the string... >>> >>> Cheers, >>> jas. >>> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > 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: Keats K. <ke...@xa...> - 2005-05-12 14:28:50
|
I'm not quite sure what you're getting at but if you want a deferred #include you can do this with #templet/#eval. (#macro won't work since they are evaluated at build time.) For example: #templet $dynaIncl { \#include as template \$file } #eval $dynaIncl using { "file": "myfile.wmt" } With the newest version of #eval in CVS you can do this in one step: #eval "\#include as template \$file" using { "file": "myfile.wmt" } Note the need for backslashes to escape the # and $ chars. Otherwise they will get evaluated prior to the #eval. Hope this helps. Keats dinesh t b wrote: >Trying to post it again, as it did not show up > >From: "Jason E. Stewart" <ja...@op...> >Sent: Monday, May 09, 2005 6:15 PM >Subject: Re: init/cleanup/shared/ > > > > >>"dinesh t b" <tbd...@se...> writes: >> >> >> >>>#macro pantotoparse($file){ >>> >>>this is the stuff that goes before the real parse >>> >>>#include as template $file >>> >>>and the clean up stuff after the parse >>> >>>} >>> >>>So we can use #pantotoparse("myfoo.wm") instead and we get what we want. >>> >>>However this does not compile as #include tries to expand immediately, >>>and we cannot get the necessary "delay" that we want for the include. >>> >>> >>We should add that we're using the 2.0b of WebMacro. >> >>We tried using #eval with a #templet - but this too did not work - >>the #include got executed at definition time, not at run time. Putting >>the #include inside a string, inside the #eval didn't work either - >>it never got executed - instead it just printed the string... >> >>Cheers, >>jas. >> >> |
From: dinesh t b <di...@se...> - 2005-05-12 11:58:40
|
Trying to post it again, as it did not show up From: "Jason E. Stewart" <ja...@op...> Sent: Monday, May 09, 2005 6:15 PM Subject: Re: init/cleanup/shared/ > "dinesh t b" <tbd...@se...> writes: > > > #macro pantotoparse($file){ > > > > this is the stuff that goes before the real parse > > > > #include as template $file > > > > and the clean up stuff after the parse > > > > } > > > > So we can use #pantotoparse("myfoo.wm") instead and we get what we want. > > > > However this does not compile as #include tries to expand immediately, > > and we cannot get the necessary "delay" that we want for the include. > > We should add that we're using the 2.0b of WebMacro. > > We tried using #eval with a #templet - but this too did not work - > the #include got executed at definition time, not at run time. Putting > the #include inside a string, inside the #eval didn't work either - > it never got executed - instead it just printed the string... > > Cheers, > jas. > -- This message was scanned for spam and viruses by BitDefender at www.consultplanet.com |
From: Marc P. <ma...@an...> - 2005-05-11 17:44:38
|
Ankur G35 Saxena wrote: > Hi I have not been getting myself upto date on the latest version of > webmacro, last I downloaded the api was in march of 2004. Now I have a > task at hand where in I have to support languages like chinese, french > and many more... > > How do i go about doing this? Anything special I have to do, some > examples would be great. Also when I put text into the webmacro file > from java, can I put any char(unicode for other languages) since I > will picking these translated words from an XML file. The usual approach in JSP-land seems to be creating a ResourceBundle instance per session (assuming the language can be set by the client) and accessing that in the page for all UI strings... i.e. for "hello world": <html> <body> <b>$UIResourceBundle.HELLOWORLD</b> </body> </html> ...I'm rust on ResourceBundle so it might not support get(Object). Anyway the upshot of this is that you just need your servlet (or WM template I suppose) to get the language from the HTTP headers if possible, and then load the correct strings into a Map or similar, and put that in the session. Then in every page, in a common included header you can do: #set $UIStrings = $Session.XXXXX Where XXXX is where you get the stored Map from the session. You could of course do this by creating Maps in a common WM template (using #bean) containing all your translations so you don't have to mess with other files / ResourceBundle loading schemes (never been a fan of that mechanism). Then you could put those into maps by ISO language code... preferably trying to avoid it being done for every request (#macro / include as macro?) $stringsByCountryCode.put( "en", $stringsEN); $stringsByCountryCode.put( "fr", $stringsFR); $stringsByCountryCode.put( "de", $stringsDE); ...and then in every page processing you get the strings you need by: #set $UIStrings = $stringsByCountryCode.get($Session.XXXXX) ...and remember to check for null... Cheers -- Marc Palmer wj...@wa... Wangjammers - Java, J2ME and Web Consultants ~ http://www.wangjammers.org/ |
From: <Web...@St...> - 2005-05-11 17:12:28
|
On Wed, 11 May 2005, Ankur G35 Saxena wrote: | Hi I have not been getting myself upto date on the latest version of | webmacro, last I downloaded the api was in march of 2004. Now I have a | task at hand where in I have to support languages like chinese, french | and many more... | | How do i go about doing this? Anything special I have to do, some | examples would be great. Also when I put text into the webmacro file | from java, can I put any char(unicode for other languages) since I | will picking these translated words from an XML file. There is an option in the WebMacro.properties file which states which encoding the input-files are in. The default (which is in WebMacro.default(s?), inside the jar) is UTF-8, as far as I remember. I think there is an output-thingy there too, which is the default encodin= g for the WMServlet and such. If you make your FastWriters yourself, you ca= n state the encoding when creating it. --=20 Endre St=F8lsvik - Endre@CoreTrek.[no|com] Work[+47 23100271] Mobile[+47 93054050] Fax[+47 23100299] |
From: Ankur G. S. <g35...@gm...> - 2005-05-11 17:01:59
|
Hi I have not been getting myself upto date on the latest version of webmacro, last I downloaded the api was in march of 2004. Now I have a task at hand where in I have to support languages like chinese, french and many more... How do i go about doing this? Anything special I have to do, some examples would be great. Also when I put text into the webmacro file from java, can I put any char(unicode for other languages) since I will picking these translated words from an XML file. Thanks Ankur |
From: Ankur G. S. <g35...@gm...> - 2005-05-11 17:00:23
|
Hi I have not been getting myself upto date on the latest version of webmacro, last I downloaded the api was in march of 2004. Now I have a task at hand where in I have to support languages like chinese, french and many more... How do i go about doing this? Anything special I have to do, some examples would be great. Also when I put text into the webmacro file from java, can I put any char(unicode for other languages) since I will picking these translated words from an XML file. Thanks Ankur |
From: Lane S. <la...@op...> - 2005-05-09 23:18:07
|
>> Eric isn't able to find the time right now, I may try to do this >> sometime soon. > > > That would be a huge help, Keats. Keats: let's you and I work this out together offline and get it done. I do a lot of release management in my day job and I think we can share this and start cranking out releases pretty good. Eric: if you have any support files which you are using to generate builds, please shoot them over to me. -Lane |
From: Lane S. <la...@op...> - 2005-05-09 23:17:10
|
Hi Jochen, Since I am a developer of WebMacro and since it is the forerunner for Velocity, I can speak with some authority about WebMacro viz Velocity. Velocity does not have the syntax grace as does WebMacro. Velocity introduced some mandatory elements which make it more restrictive for identifying a variable. WebMacro allows you to add/remove/rename directives at will. So, you can restrict or empower your template writers. There is no such ability in Velocity. The directives are "what you have is what you get". WebMacro is and remains lightening fast in both the parsing stage (once) and the eval phase (many). WebMacro has an elegant directive for creating, initializing and referencing objects or using static methods. WebMacro supports templates drawn from any source including a database. Yes, you read that correctly. Include files require some new support for this to be completely workable. WM has done an excellent job with whitespace and I know because I have generated perfectly indented java source files. WM is not perfect. But, it is rock solid and has been around for years proving itself day in and day out. WM has replaceable machinery including its caching API. Lane Jochen Toppe wrote: > Those are almost fighting words :) > > Velocity and Webmacro? I've recently integrated Velocity in a large > cms-based site, alongside with precompiled JSPs. It was easy to > integrate and the syntax easy to understand for dummies, granted. > > The main attraction was that it allowed me to > > - do template staging from a cms (try that with jsp) > - allow calls to be restricted only to the underlying beans (nifty > when you let cms users publish out code) even > though I had to extend it quite a bit, ugly private methods in > Velocity.. :( > > It still follows the same basic principles as jsp, error handling is > _wretched_. And the syntax is ugly, has serious whitespace handling > issues, .... I would say it's not really useable to implement an > enterprise portal. It was fine for me to allow users replace snippets > here and there. > > I would love to see a framework which > > - is xml based (and templates can be edited in an xml editor), well > formed output > - takes beans as an underlying model, not xml (rules out xslt unless > you're talking xalan, but, eew) > - finally throws out EL and replaces it with something useful where > I can do method calls > - is not in need of compilation; transportable across containers > (template staging) > - is restrictable enough for me to let users submit code > (prerequisite of the preceding point, don't want to > let users kill the servers by infinite loops, recursion, > System.exit, ..) > - is fast as hell > - i could think of more... > > I guess I need to write my own templating engine :) > > Cheerio, > Jochen > > P.S. ..and the templating new engine shall be written in Haskell *lol* > > > > Lane Sharman wrote: > >> Rodney, >> >> My advice is to stay away completely from JSP. Use a modern >> templating language like WebMacro or Velocity. Both languages are >> companion text processing engines written in Java allowing you to >> inspect java object values and merge them with text streams. Both >> have great communities and are well documented and in production for >> years. >> >> JSP is rooted in Sun's attempt to keep up with MS and its ASP circa >> 1997 by creating a copy-cat. JSP is just a horrible language for >> templating out a web page and it is one of many reasons why young >> individuals prefer PHP over Java for server-side scripting. When you >> use WebMacro or Velocity, you learn how to do code generation, email >> templates, CSV, and XML generation which cannot be done naturally >> with JSP. (JSP is for web page generation inside a servlet container). >> >> You do not need JBOSS either. This will bury you in J2EE disciplines >> which again were Sun's way to create permanent engineering employment >> but which only created employment pockets where there is a love of >> "don't assemble the bike, I prefer to do it myself. And, I love large >> cost overruns which include performance tuning projects". >> >> Look, please don't flame me those of you who have invested a lot of >> time in JBOSS or JSP. Here is a guy on the following part of the >> quadrant: Easy Application / Modest Skill Sets. Shall we have one >> more guy saying, "gee, this is really hard to do a web app in >> Java..."? I am trying to steer him down a road where he can learn >> Java and not all the J2EE machinery that has buried the purity of the >> language. >> >> If you want to invest the time in Hibernate, I think this is a great >> API for mapping objects to the traditional Database-->Tables-->Row >> schema paradigm. Personally, for small projects, I prefer not to map >> objects at all and have been using VeryLargeHashtable which takes a >> Java map and, behind the scenes, creates it persistently as well as >> the elements contained in the map provided they implement >> Serializable. (See me offline for my latest version of this API, also >> proven over time; http://webmacro.org/VeryLargeHashtable for more >> info; http://opendoors.com/vlh/Very_Large_Hashtable.html for a more >> detailed white paper and description.) >> >> As you can tell, I am about to lauch the next new open source >> project: the Java Reformation Project :). >> >> -Lane >> > **snip** -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Eric B. R. <eb...@tc...> - 2005-05-06 18:47:03
|
On May 5, 2005, at 10:19 AM, Keats Kirsch wrote: > Obviously the WM project is not particularly healthy at this > point. The > core developers appear to be focused on other projects and no one has > picked up the mantle. On the other hand, WM appears to be remarkably > stable and still quite useful. We've created the perfect tool for ourselves. But I have no idea how we can get more community involvement and get things rolling again. Sadly, I'm not able to dedicate time to the "WebMacro Project" any more -- just way too busy (haha, I've been interrupted and pulled away from my desk 4 times while trying to type this paragraph!). TCDI (and I) will continue to host the website, so don't worry about that. > Eric isn't able to find the time right now, I may try to do this > sometime soon. That would be a huge help, Keats. eric |
From: <Web...@St...> - 2005-05-06 08:54:40
|
On Thu, 5 May 2005, Keats Kirsch wrote: | | We welcome anyone who shares the WM vision to step forward and help | revive this project. Otherwise 2.0 will probably be the final release. Okay, but get it out. If it is good, people might start coding on it again. This stale condition isn't helping anyone, really. Best regards, Endre |
From: Marc P. <ma...@an...> - 2005-05-05 14:40:27
|
Keats Kirsch wrote: > Obviously the WM project is not particularly healthy at this point. The > core developers appear to be focused on other projects and no one has > picked up the mantle. On the other hand, WM appears to be remarkably > stable and still quite useful. The 2.0 enhancements also appear to be > solid, so it definitely makes sense to have a release candidate. Since > Eric isn't able to find the time right now, I may try to do this > sometime soon. > > We welcome anyone who shares the WM vision to step forward and help > revive this project. Otherwise 2.0 will probably be the final release. Is there another solution? Do we have a corporate sponsor anywhere? i.e. say USD $1000 per month would be plenty to have someone keep WM ticking over, project manage it and handle releases and so on? It's not a lot of money for a great product, which could become greater with some work on it. As I see it the fact that WM is not in the Jakarta fold means that there is little "community" building around it, and that is why it is suffering. Oh, and the fact that it is rock solid. Cheers -- Marc Palmer wj...@wa... Wangjammers - Java, J2ME and Web Consultants ~ http://www.wangjammers.org/ |
From: Keats K. <ke...@xa...> - 2005-05-05 14:20:03
|
Obviously the WM project is not particularly healthy at this point. The core developers appear to be focused on other projects and no one has picked up the mantle. On the other hand, WM appears to be remarkably stable and still quite useful. The 2.0 enhancements also appear to be solid, so it definitely makes sense to have a release candidate. Since Eric isn't able to find the time right now, I may try to do this sometime soon. We welcome anyone who shares the WM vision to step forward and help revive this project. Otherwise 2.0 will probably be the final release. Keats Nikhil G. Daddikar wrote: > Hello Folks, > > I have been asking for a 2.0 release from the last 1 year. I know I am > not helping the developers in any way so have no right to "demand" it > but it would be nice for me (and I think a lot of WM users, if at all > there are any remaining) to know AT LEAST the plan for WebMacro. It is > OK if we (the normal WM users, not developers) are told that 1.1 is > going to be the final release and 2.0 will drag along with lot of > "enhancements" for the next 5 or 10 years, all I am asking is, is > there a plan? I was excited about using WebMacro and have been > converting people to using WebMacro, but now I am no longer convinced > that this is a product worth investing energy in. You can talk bad > about JSP as long as you like but it is moving and if not aready > there, getting there. > > Thanks. > Nikhil |
From: Nikhil G. D. <ng...@ce...> - 2005-05-05 10:21:47
|
Hello Folks, I have been asking for a 2.0 release from the last 1 year. I know I am not helping the developers in any way so have no right to "demand" it but it would be nice for me (and I think a lot of WM users, if at all there are any remaining) to know AT LEAST the plan for WebMacro. It is OK if we (the normal WM users, not developers) are told that 1.1 is going to be the final release and 2.0 will drag along with lot of "enhancements" for the next 5 or 10 years, all I am asking is, is there a plan? I was excited about using WebMacro and have been converting people to using WebMacro, but now I am no longer convinced that this is a product worth investing energy in. You can talk bad about JSP as long as you like but it is moving and if not aready there, getting there. Thanks. Nikhil |
From: Eric B. R. <eb...@tc...> - 2005-04-26 21:10:15
|
On Apr 26, 2005, at 4:40 PM, Lane Sharman wrote: > eric: > > it would be great if you can cut this. I don't have time. :( You or Keats or Marc or Brian will have to do it this time... eric |
From: Lane S. <la...@op...> - 2005-04-26 20:40:12
|
eric: it would be great if you can cut this. there have been some good additions and I think Keats has the unit tests running. I will place in the future a mail service component that uses WebMacro for templating. -Lane Keats Kirsch wrote: > I think this is a good idea. I believe Eric has been our release > administrator. Eric are you willing to cut a 2.0RC1? Should we find > someone else to handle the releases? > > Keats > > Endre Stølsvik wrote: > >> On Fri, 15 Apr 2005, Lane Sharman wrote: >> >> | we need to get this done!!! >> >> So, how's it going? >> >> Isn't the code in CVS what you guys all use already in your projects? >> >> Couldn't you just -please- tag this 2.0 (rc?), and make a jar? I >> can't use >> it before that. Taking a CVS snapshot, and rewrite the parts of our >> portal-server that relies on WM based on the "2.0" features -in CVS-, is >> just so amazingly out of the question, however much I'd like it. >> >> It's really too bad that no-one with committer status cares about this. >> It seems to me that WebMacro have become some 'common CVS playground' >> for >> you guys that have committer status and thus feels confident in using >> it, >> where pretty much no-one else is using the new stuff. >> >> >> > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: Keats K. <ke...@xa...> - 2005-04-26 18:03:57
|
I think this is a good idea. I believe Eric has been our release administrator. Eric are you willing to cut a 2.0RC1? Should we find someone else to handle the releases? Keats Endre Stølsvik wrote: >On Fri, 15 Apr 2005, Lane Sharman wrote: > >| we need to get this done!!! > >So, how's it going? > >Isn't the code in CVS what you guys all use already in your projects? > >Couldn't you just -please- tag this 2.0 (rc?), and make a jar? I can't use >it before that. Taking a CVS snapshot, and rewrite the parts of our >portal-server that relies on WM based on the "2.0" features -in CVS-, is >just so amazingly out of the question, however much I'd like it. > >It's really too bad that no-one with committer status cares about this. >It seems to me that WebMacro have become some 'common CVS playground' for >you guys that have committer status and thus feels confident in using it, >where pretty much no-one else is using the new stuff. > > > |
From: <Web...@St...> - 2005-04-26 09:33:53
|
On Fri, 15 Apr 2005, Lane Sharman wrote: | we need to get this done!!! So, how's it going? Isn't the code in CVS what you guys all use already in your projects? Couldn't you just -please- tag this 2.0 (rc?), and make a jar? I can't us= e it before that. Taking a CVS snapshot, and rewrite the parts of our portal-server that relies on WM based on the "2.0" features -in CVS-, is just so amazingly out of the question, however much I'd like it. It's really too bad that no-one with committer status cares about this. It seems to me that WebMacro have become some 'common CVS playground' for you guys that have committer status and thus feels confident in using it, where pretty much no-one else is using the new stuff. --=20 Endre St=F8lsvik - En...@Co... Phone[+47 23308080] Mobile[+47 93054050] Fax[+47 23308099] |
From: Tim P. <ti...@pa...> - 2005-04-20 09:06:01
|
Peter, On Tuesday 19 April 2005 23:08, Peter Smith wrote: > been a while since I've needed to pick a web > framework. it's been mostly Struts, and quite a few > home-grown Struts-like frameworks, but now I need to > help pick a new one. So, stay with Struts, or try > something new? > > Java Server Faces? (is this still just a spec, or does > someone have an implementation?) > Maverick? > Spring? > WebWork? > others? > > Of course, it has to be compatible with WebMacro > templating. > > Leaning towards Struts because I know it and I know > it's very popular/well-supported in user community. > > The biggest payoff I'm expecting to get is a simple > command-type interface where I can map url 'actions' > to java code without having huge 'if/else' statements > in my doGet() methods. You might like to try http://melati.org/, Melati was based upon WM from the start and has many nice features. It is, by modern standards, a monolithic framework, there is a way to do everything. I have been maintaining it since the original authors moved on, though I am still in contact with them personally and they will answer some mails. There is a large volume of open source example code and I would be happy to hand hold. I have done quite a bit of refactoring recently, and have successfully used Melati to import and manipulate a db of 2000000 records in 44 tables totalling 1800 fields. In particular I have added a command line API in addition to the original Servlet based API. Melati works well with Postgresql, HSQLDB and okish with Oracle and MS SQL server. The downside would be that there is not a large user community. So if you are fearless Melati might be worth a look. yours Tim Pizey |
From: Peter S. <sh...@ya...> - 2005-04-19 22:08:42
|
been a while since I've needed to pick a web framework. it's been mostly Struts, and quite a few home-grown Struts-like frameworks, but now I need to help pick a new one. So, stay with Struts, or try something new? Java Server Faces? (is this still just a spec, or does someone have an implementation?) Maverick? Spring? WebWork? others? Of course, it has to be compatible with WebMacro templating. Leaning towards Struts because I know it and I know it's very popular/well-supported in user community. The biggest payoff I'm expecting to get is a simple command-type interface where I can map url 'actions' to java code without having huge 'if/else' statements in my doGet() methods. __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail |
From: Lane S. <la...@op...> - 2005-04-16 03:10:30
|
we need to get this done!!! -Lane Nikhil G. Daddikar wrote: > Hello, > > Is there going to be a 2.0 release? > > Thanks. -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Lane S. <la...@op...> - 2005-04-15 18:21:39
|
Hi Stephane, I understand what you are up against. You are looking almost for an avery datafile of metrics in Java. Here is what I would do. Create a file of bean specs and then evaluate the file at run time: ## file of predefined avery specs ##8999 defined: #bean $MailingSpecs = "java.util.HashMap" #bean $MailingLabel = "com.waytooeasy.MailingLabel" onNew { #set $MailingLabel.ID = "8999" #set $MailingLabel.Manufacturer="Avery" #set $MailingLabel.Across= 3 #set $MailingLabel.Down= 10 #set $MailingLabel.TopMargin= .8 #set $MailingLabel.LeftMargin= .8 #set $MailingLabel.Height= 1.75 #set $MailingLabel.Width= 2.80 } #set $tmp = $MailingSpecs.put($MailingLabel.ID, $MailingLabel) ## more specs When this file is evaluated at run time, you will have in your WM "context", a HashMap which has all your specs: HashMap specs = (HashMap) context.get("MailingSpecs"); MailingLabel label = (MailingLabel) specs.get("8999"); see http://webmacro.org/BeanDirective for more insight on this. I have been doing this for years in all my applications. You can get more creative and store the original spec in a database and allow the user to create a spec using your Swing GUI. In short, you work directly with a Java object in your text file of your own making. This idiom is accepted in the WebMacro community. It is definitely worth giving it a try if I understand what you are trying to accomplish. -Lane Stephane Grenier wrote: >Thank you both for your replies, it is appreciated. >Let me get a little more precise to see if anyone can >come up with other alternative options. > >One requirement is that it is embedded 100% in the >java code. That is, either it references a jar or >class files, not an external application (our product >is a standalong java swing application). Therefore I >cannot assume that the end user will have MS Word or >any other program because this creates a dependency >between our application and having the printing >application available (for example MS Word). > >In regards to using frameworks to print it, we already >use a tool called JFreeReport that can do all the work >for us. What I'm trying to avoid doing is finding and >implementing all the measurements of the different >Avery stationary label packages (for example avery >xxxx means labels are x by y for 30 labels per sheet, >etc.). There are many different avery packages that >you can buy and I don't want to have to create a >different report for each one (hence why we don't mind >paying for a company that provides runtime libraries). >Otherwise it looks like we'll have to manually pick a >few packages and create reports for those. > >Thank you again, >Stephane > > > >--- Lane Sharman <la...@op...> wrote: > > >>just use a template engine like WebMacro or >>Velocity. >> >>these are swiss-army knives for precise merging of >>records into a text >>output document such as a 10 up. >> >>-Lane >> >>Stephane Grenier wrote: >> >> >> >>>Hello, >>> >>>Does anyone know of a good framework (preferably >>> >>> >>open >> >> >>>source) for printing mailing labels, such as Avery >>>mailing labels? >>> >>>Regards, >>>Stephane >>> >>> >>> >>>__________________________________ >>>Do you Yahoo!? >>>Yahoo! Small Business - Try our new resources site! >>>http://smallbusiness.yahoo.com/resources/ >>> >>> >>> >>--------------------------------------------------------------------- >> >> >>>To unsubscribe, e-mail: laj...@la... >>>For additional commands, e-mail: >>> >>> >>laj...@la... >> >> >>> >>> >>> >>> >>-- >>Lane Sharman >>Providing Private and SPAM-Free Email >>http://www.opendoors.com >>858-755-2868 >> >> >> >> >> >--------------------------------------------------------------------- > > >>To unsubscribe, e-mail: laj...@la... >>For additional commands, e-mail: >>laj...@la... >> >> >> >> > > > >__________________________________ >Do you Yahoo!? >Yahoo! Small Business - Try our new resources site! >http://smallbusiness.yahoo.com/resources/ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: laj...@la... >For additional commands, e-mail: laj...@la... > > > > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Marc P. <ma...@an...> - 2005-04-15 08:57:28
|
Keats Kirsch wrote: > The $List tool can solve your problem. > > The "Ljava.lang.Object" is the JVMs polite way of telling you that > $myList is an array of Objects, which is what WMScript uses to implement > the square-bracket list syntax. RFE for WM (why don't we get a free open source JIRA install?)... which I may be able to turn myself too but it's probably wise to get a go-ahead first ;-) In the introspection code, when failures occur, I believe we should make the error messages like this simpler to understand for non-Java programmers. i.e. we could quite easily detect that class name Lxxxxx is an array, so we should say so in the message. i.e. "No such method contains() found on object, which is an array of java.lang.Object" I'm not sure there are any other changes along those lines, I remember a lot of work went into this with failed property introspections to there's probably not that much that can be improved. Cheers -- Marc Palmer wj...@wa... Wangjammers - Java, J2ME and Web Consultants ~ http://www.wangjammers.org/ |
From: Nikhil G. D. <ng...@ce...> - 2005-04-15 07:44:22
|
Hello, Is there going to be a 2.0 release? Thanks. |