Re: Release 2 Update
Lane Sharman <[email protected]> Sun, 11 Sep 2005 21:25:52 -0700
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
keats, weird. now it is working. I have a lot of other new code in my template. Maybe i was looking at the wrong line but I think not. Really weird. -lane Keats Kirsch wrote: > Lane, > > Can you give more details on this? I just cut and pasted from your > message into a template and it worked fine for me. What kind of error > are you seeing? What is your environment? > Remember that the session scope will only work if you are using a > WebContext (i.e., WM was instantiated with a Servlet argument). If > you are running in a non-Servlet environment, try changing the scope > to application or global. > > Keats > > Lane Sharman wrote: > >> Friends: >> >> I am completing a test suite against release 2 features. I am using >> documented features from the web site. For example, I started with >> Keats #bean directive and documentation example: >> >> #bean $counts = "java.util.HashMap" scope=session onNew >> #set $counts.Hits = 0 >> #end >> #set $counts.Hits = $counts.Hits + 1 >> >> >> This does not execute. Why? Because the WM evaluator does not cast >> the expression >> >> $counts.Hits + 1 >> >> >> into an Object (Integer). The expression >> >> ($counts.Hits + 1) >> >> >> is cast. So, my approach is three-fold: >> >> 1) publish issues as I discover them for discussion (as above) >> 2) get the documentation to line up with the reality of the version >> 3) provide a synthetic test with performance data for release 2 >> features. >> >> I have digested Endre's diatribe on naming the release and i have >> decided that he is right and it does need to be named WebMacro 2.0. >> So, this will be the release ID. >> >> yours, >> >> > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Webmacro-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/webmacro-user > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf