14.01.2013 Views

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.15. Embedding <strong>Oracle</strong> Forms in JSF Pages<br />

OraFormsFaces is a JSF component library to integrate <strong>Oracle</strong> Forms in a JSF web<br />

application. This allows a developer to embed <strong>Oracle</strong> Forms in a JSF page and truly<br />

integrate the two, including passing context, events, eliminating Forms applet startup<br />

time, and many more features.<br />

OraFormsFaces allows organizations to use the Java stack for new developments while<br />

protecting their investment in <strong>Oracle</strong> Forms. They can build new JSF or ADF Faces based<br />

web applications and integrate existing Forms applications in them. The JSF web<br />

application can pass parameters to Forms and the other way around. Both Forms and JSF<br />

can raise events (commands or triggers) in the other technology.<br />

OraFormsFaces is a product from Commit Consulting. A trial version can be<br />

downloaded from the Commit Consulting website.<br />

Commit Consulting: For more information on OraFormsFaces and Commit<br />

Consulting, go to http://www.commit-consulting.com/<br />

A special OraFormsFaces page for <strong>JHeadstart</strong> users is also available:<br />

http://www.commit-consulting.com/jhs<br />

<strong>JHeadstart</strong> integrates with OraFormsFaces through the item display type<br />

“oraFormsFaces”.<br />

Follow these steps to generate a web page that embeds an <strong>Oracle</strong> Form using the<br />

OraFormsFaces technology:<br />

• Install OraFormsFaces in JDeveloper, by following the instructions in the<br />

OraFormsFaces Developer’s <strong>Guide</strong>.<br />

• Add the OraFormsFaces environment entries in the web.xml of your project, as<br />

documented in the OraFormsFaces Developer’s <strong>Guide</strong>.<br />

• Create a new top-level group in the application definition editor. Uncheck the<br />

checkbox property Bound to Model Data Collection.<br />

• Add an item to the group, uncheck the item checkbox property Bound to Model<br />

Attribute?<br />

• Set the Java Type property to “String”<br />

• Set the Value property to the name of the <strong>Oracle</strong> Form you want to embed.<br />

<strong>JHeadstart</strong> Developer’s <strong>Guide</strong> Generating User Interface Widgets 6- 49

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

Saved successfully!

Ooh no, something went wrong!