You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Marc Lustig <ma...@marclustig.com> on 2003/01/15 17:54:46 UTC
patch for DynamicURI to add JS-events
This is my patch. It contains only 1 tiny method that returns the
org.apache.ecs.html.A instead of the String. You are then free to use any of
the org.apache.ecs.html.A-methods to add stuff to your URI before you
convert it to String.
It goes like this:
DynamicJsURI uri = new DynamicJsURI();
uri.useDynamicURI-methods
org.apache.ecs.html.A a = uri.getEcsA(text);
a.setOnClick("aMethod()");
String uri = a.toString();