From: Keats K. <ke...@xa...> - 2005-09-11 03:05:21
|
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, > > |