|
<tag>
<name>not</name>
<attribute>
<name>attr</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>prefix</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<tagclass>oracle.panama.studio.taglib.NotTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>Evaluate the body if the value found from the bean does not match the given value.</info>
</tag> |
<om:not attr= attrName value= attrValue (name= beanName) (prefix= prefixName) >.</om:not>
Note: The attributes in parenthesis are optional.
<om:is> is a body tag, that is, if the condition evaluates to true, then the body content will be processed and output as appropriate.
attr is the attribute of the bean whose value is being tested.
value is the value of the bean attribute being tested against.
name (optional) is the name of the bean in context.
prefix (optional) When asking the bean for the attribute, we add the prefix to the name of the attribute (for example, if prefix is is, and the attr is empty, then the method to invoke on the bean is isEmpty() which follows Java naming convention). If not given, then we test first get and then is as the prefixes, if neither one is found, then an exception will be thrown. |