|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
edu.internet2.middleware.grouper.ui.tags.GrouperMenuTag
public class GrouperMenuTag
This will generate a menu. You need something to attach the context click to, e.g. <a id="advancedLink" href="#" class="smallLink" onclick="this.oncontextmenu(event); return false">Advanced</a>
Constructor Summary | |
---|---|
GrouperMenuTag()
init fields on construct |
Method Summary | |
---|---|
void |
doTag()
|
void |
setContextMenu(boolean contextMenu1)
true if context menu, false if not |
void |
setContextZoneJqueryHandle(String contextZoneJqueryHandle1)
the jquery handle (e.g. |
void |
setMenuId(String menuId1)
the id of the HTML element of the menu |
void |
setOperation(String operation1)
when events occur (onclick), then that operation is called via ajax |
void |
setStructureOperation(String structureOperation1)
the operation called to define the structure of the menu |
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
---|
findAncestorWithClass, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrouperMenuTag()
Method Detail |
---|
public void setContextZoneJqueryHandle(String contextZoneJqueryHandle1)
contextZoneJqueryHandle1
- the contextZoneJqueryHandle to setpublic void setContextMenu(boolean contextMenu1)
contextMenu1
- the contextMenu to setpublic void setStructureOperation(String structureOperation1)
structureOperation1
- the structureOperation to setpublic void setOperation(String operation1)
operation1
- the operation to setpublic void setMenuId(String menuId1)
menuId1
- the menuId to setpublic void doTag() throws JspException, IOException
doTag
in interface SimpleTag
doTag
in class SimpleTagSupport
JspException
IOException
SimpleTagSupport.doTag()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |