Action Button          
  
   
 


A button that fires an OpenForum GET action

Parameters

  • action = Action Name
  • text = Action button text

Usage:

[{ActionButton action="Rebuild" parameters="pageName=Home" text="Rebuild Wiki"}]


renderer.sjsaction = extension.getAttributeValueByName("action"); parameters = extension.getAttributeValueByName("parameters"); text = extension.getAttributeValueByName("text"); return "<input type=\"button\" value=\""+text+"\" onclick=\"ajax.doGet('/OpenForum/Actions/"+action+"','"+parameters+"');return false;\">";
by Anon on 21/04/2008 at 10:09 PM