How would you implement functionality to display produc…

View the Exhibit.

How would you implement functionality to display product details in a separate window when users place their
cursors over a link in the table? (Choose the best answer.)

View the Exhibit.

How would you implement functionality to display product details in a separate window when users place their
cursors over a link in the table? (Choose the best answer.)

A.
Create detail components in an af:popup component. Add af:showPopupBehavior to the link within
the table and set the PopupId to the ID of the pop-up component. Set the triggerType property on the
pop-up to mouseHover.

B.
Create detail components in an af:dialog component. Add af:showPopupBehavior to the link within
the table and set the PopupId to the ID of the dialog component. Set the triqgerType property on the
dialog to mouseHover.

C.
Create detail components in an af:popup component. Add af:showPopupBehavior to the link within
the table and set the PopupId to the ID of the pop-up component. Set the triggerType property on
showPopupBehavior to mouseHover.

D.
Create detail components in an af:panelForm component. Add af:showPopupBehavior to the link
within the table and set the PopupId to the ID of the panelForm component. Set the triggerType
property on showPopupBehavior to mouseHover.

E.
Create detail components in an af:dialog component. Add af:clientAttribute elements to the link
within the table. Create af:setPropertyListener components to pass the currently hovered row’s
attributes to client components.

Explanation:
The af:showPopupBehavior tag is a declarative way to show a af:popup in response to a client-side event. The
client event is specified using the triggerType attribute. The “action” event is the default triggerType if one is not
provided. When the showPopupBehavior tag is associated with a component, the popup specified via the
popupId attribute will automatically be shown when the associated client event is activated. This tag only acts
on client events similar to the af:clientListener tag.
This example will show the popup with the id “somePopup” when the button is clicked.<af:commandButton id=”button” text=”Click me”>
<af:showPopupBehavior popupid=”somePopup” alignid=”button”
align=”endBefore” triggerType=”action” />
</af:commandButton>
http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_showPopupBehavior.html



Leave a Reply 0

Your email address will not be published. Required fields are marked *