How can you retrieve that value so that you can display it to the user?

You are implementing a JavaBean in a form, the bean has no visible component on the form when
invoked, the bean displays an input text where users enter a zip code, the bean has a single
method that returns a short weather forecast for that zip code as a character value.
How can you retrieve that value so that you can display it to the user?

You are implementing a JavaBean in a form, the bean has no visible component on the form when
invoked, the bean displays an input text where users enter a zip code, the bean has a single
method that returns a short weather forecast for that zip code as a character value.
How can you retrieve that value so that you can display it to the user?

A.
Use FBEAN.ENABLE_EVENT to register a listener for the bean event. Obtainthe value of
SYSTEM.CUSTOM_ITEM_EVENTina When-Custom item Event trigger, and then use that value
as an argument to the MESSAGE builtin.

B.
Use FBEAN.REGISTER_BEAN as an argument to the MESSAGE builtintoinvoke the bean’s
method and return the value as a message displayed to the user.

C.
Use FBEAN.REGISTER_BEAN to register the bean, so that when the user enters a zip
codeinto the bean sinput text, the value is automatically displayedinthe bean area item.

D.
Use FBEAN.ENABLE_EVENT to register a listener for the bean event. Obtainthe value of
SYSTEM.CUSTOM_EVENT_PARAMETERina When_Custom-item-Event trigger, and then use
that value as an argument to the MESSAGE built-in.

Explanation:
When a user interacts with a JavaBean at run time, it usually causes an event to
occur.
You can use FBEAN.ENABLE_EVENT to register a listener for the event, so that when
the event occurs Forms will fire the When-Custom-Item-Event trigger. In this trigger, you
can code a response to the event. The :SYSTEM.CUSTOM_ITEM_EVENT and
SYSTEM.CUSTOM_EVENT_PARAMETERS variables contain the name of the event and
information the bean is sending to the form.



Leave a Reply 2

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


Padmanabhan

Padmanabhan

Answer D is Correct

nancy

nancy

D is Correct Answer