|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
nl.gx.webmanager.taglib.PresentationPropertyTag
public class PresentationPropertyTag
Implements the wm:presentationProperty tag. Looks up a presentation property defined in the
presentation context and returns its value in a JSP variable. Several presentation property types in addition
to String and Boolean are supported:
< wm:presentationProperty var="bulletImage" label="bullet" />
${bulletImage.htmlTag}
In the example above the presentation property named 'bullet' is retrieved and its value is returned
in the variable 'bulletImage'.
Image,
Font,
Button,
Color,
Layout| Constructor Summary | |
|---|---|
PresentationPropertyTag()
|
|
| Method Summary | |
|---|---|
void |
doTag()
|
protected java.lang.String |
getLabel()
Return the property label to retrieve. |
protected Page |
getPage()
Return the page which is used to retrieve a style property from. |
protected java.lang.String |
getVar()
Return the JSP variable to store the result in. |
protected boolean |
isUseTargetPageStyle()
Return whether the style of the target page has to be used to retrieve a style property by instead of the style of the current page. |
void |
setLabel(java.lang.String label)
Specifies the property label to retrieve. |
void |
setPage(Page page)
Sets the page which is used to retrieve a style property from. |
void |
setUseTargetPageStyle(boolean useTargetPageStyle)
Specifies whether the style of the target page has to be used to retrieve a style property by instead of the style of the current page. |
void |
setVar(java.lang.String var)
Specifies the JSP variable to store the result in. |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
|---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PresentationPropertyTag()
| Method Detail |
|---|
public void setLabel(java.lang.String label)
label - label of the presentation propertyprotected java.lang.String getLabel()
public void setVar(java.lang.String var)
var - name of the var to which the presentation object should be assignedprotected java.lang.String getVar()
public void setPage(Page page)
page - the page which is used to retrieve a style property fromprotected Page getPage()
public void setUseTargetPageStyle(boolean useTargetPageStyle)
useTargetPageStyle - protected boolean isUseTargetPageStyle()
public void doTag()
doTag in interface javax.servlet.jsp.tagext.SimpleTagdoTag in class javax.servlet.jsp.tagext.SimpleTagSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||