|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionTriggerMarkup
For portlets written to the IBM portlet API only.
This interface is used to encapsulate the Click-to-Action menu markup
matching a property or a set of properties. It allows the markup to be retrieved
in its logical parts, thus allowing programmers to associate the
menu and action invocation behavior with any clickable element generated by the portlet,
as an alternative to using the default clickable icon which is otherwise generated.
This interface is created by the getActionTriggerMarkup
methods in the PropertyBrokerService
interface.
The locale for any locale-specific markup that is encapsulated is obtained
from the locale for the PortletRequest
object passed to
the getActionTriggerMarkup
method.
PropertyBrokerService
Method Summary | |
---|---|
java.lang.String |
getOnClickMarkup()
Deprecated. Returns the markup to be tied to the element attribute governing the click behavior (the onclick attribute in html/javascript). |
java.lang.String |
getShowActionsMarkup()
Deprecated. Returns the markup/code for displaying the actions matching the source, and for triggering action dispatch when one is chosen. |
boolean |
isWired()
Deprecated. Returns true if the source property is "wired" to a set of actions. |
boolean |
isWiredAcrossPages()
Deprecated. Returns true if the source property is "wired" to a set of actions on a different page. |
boolean |
preWiredActions()
Deprecated. |
Method Detail |
---|
java.lang.String getOnClickMarkup()
getShowActionsMarkup
method.
getShowActionsMarkup()
java.lang.String getShowActionsMarkup()
getOnClickMarkup
.
For browsers, this is javascript/html for displaying
a pop-up menu with the actions and for dispatching the action
if selected by the user.
This markup must be written to the page separate from any other
markup element, as it contains function definitions.
getOnClickMarkup()
boolean isWired()
boolean isWiredAcrossPages()
isWired()
boolean preWiredActions()
isWired
instead.
isWired()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |