dev@jsftemplating.java.net

[Issue 2] New - Add handler-level condition support

From: <anilam_at_dev.java.net>
Date: 4 Sep 2006 23:06:20 -0000

Add handler-level condition support:
https://jsftemplating.dev.java.net/issues/show_bug.cgi?id=2
                 Issue #|2
                 Summary|Add handler-level condition support
               Component|jsftemplating
                 Version|current
                Platform|Linux
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|Events / Handlers
             Assigned to|kenpaulsen
             Reported by|anilam






------- Additional comments from anilam_at_dev.java.net Mon Sep 4 23:06:20 +0000 2006 -------
This is request for an enhancement.
Would like to be able to call a handler conditionally.
eg.
<event>
<!beforeEncode
   if (condition) {
      handler_1( key="foo" value=>$attribute(fooValue) );
      handler_2( value="another");
   }
/>
</event>

It will be nice to be able to do 'else' as well, but this can come later.

thanks