JamesBranam's Blog

Friday Jul 18, 2008

Configuring Ajax Transactions

Hi all,

Yesterday I showed you how to get some Ajax functionality in the Visual Web JSF framework by adding the Dynamic Faces component library to your project. Now that you have added them, you can add an Ajax transaction by dragging and dropping the Ajax Transaction component from the Ajax category of the palette to anywhere in the Visual Designer. Then click the Show Virtual Forms icon at the top of the Visual Designer. And once you've done that, right-click the component to which you want to add Ajax functionality and choose Configure Ajax Transaction. The nifty little dialog box shown at the top opens.

The dialog box lets you set how the component should behave in regard to Ajax functionality. You can set Send Input and Re-Render to Yes or No. You can also rename the Ajax transaction or add a new one.

When you're finished, you can see where Ajax transactions are in the Visual Designer.

Tomorrow I'll add some more about using Ajax.

Cheers!

--James

Comments:

Post a Comment:
Comments are closed for this entry.

Calendar

Feeds

Search

Links

Navigation

Referrers