Hi Mario,

XTile is still part of the contrib library in Tapestry. I use it in my applications and it works quite well. The component simply requires you to provide a couple of JavaScript function names for invoking listener methods.

Here is a quick snipplet:

   <component id="dynamic" type="contrib:XTile">
       <binding name="listener" value="listener:xtileRequest"/>
<binding name="sendName" value="components.pageForm.name + '_sendRequest'"/> <binding name="receiveName" value="components.pageForm.name + '_receiveResponse'"/> <binding name="errorName" value="components.pageForm.name + '_error'"/>
       <binding name="disableCaching" value="true"/>
   </component>

The component then needs to be placed inside the body component (I believe) in the html template to render the JavaScript contribution.

Hope this helps.

Leo

Mário Lopes wrote:
Hi. I'm wondering if Tapestry 4 allows the following (without using Tacos):

- Click a link
- Retrieve some .html content through AJAX
- Display it.

So it would be as easy as clicking on "show more content". On that
moment, an AJAX request would be filled out and a certain .html would
be retrieved.

Doable?

Kind regards,

Mário Lopes

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to