11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SET_CUSTOM_ITEM_PROPERTY built-in<br />

Note:<br />

This built-in has been replaced by the SET_CUSTOM_PROPERTY built-in You should use that builtin<br />

in any new form. The following information is provided only for maintenance purposes.<br />

Description<br />

Sets the value of a property of a JavaBean associated with a Bean Area item.<br />

Syntax<br />

The built-in is available for types VARCHAR2, NUMBER, or BOOLEAN.<br />

SET_CUSTOM_ITEM_PROPERTY<br />

(item,<br />

prop-name,<br />

varchar2 value);<br />

SET_CUSTOM_ITEM_PROPERTY<br />

(item,<br />

prop-name,<br />

number value);<br />

SET_CUSTOM_ITEM_PROPERTY<br />

(item,<br />

prop-name,<br />

boolean value);<br />

Built-in Type unrestricted procedure<br />

Enter Query Mode yes<br />

Parameters<br />

item The name of the Bean Area item associated with the target JavaBean. The<br />

name can be in the form of either a varchar2 literal or a variable set to the<br />

value of the name.<br />

prop-name The particular property of the JavaBean container associated with this Bean<br />

Area.<br />

value The value for the specified property. Value must be of type varchar2,<br />

integer, or boolean.<br />

Usage Notes<br />

• In the JavaBean container, each property type must be represented by a single instance of the ID<br />

class,. created by using ID.registerProperty.<br />

• For each Set_Custom_Item_Property built-in executed in the form, the JavaBean container’s<br />

setProperty method is called.<br />

• The name of the Bean Area item can be gained through either Find_Item(‘Item_Name’), or simply<br />

via ‘Item_Name’.<br />

369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!