The problem is that the documentation was not clear, for me, and I dont know what Tapestry API to use to make an Ajax call...to invoke a method of a class of mine and receive the response. and also how to make the binding between my button and the class method to call
On 9/21/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
Yes it does. Your post looked complicated enough that I figured you already knew that and ran into other issues....It's fairly trivial to do what you want with all of the built in components if you read the documentation provided for them. Just don't go trying to modify a table. No matter how great our ajax stuff is it can't make IE not suck. (though the new FilteringTable will help when it lands soon) On 9/21/06, Daniel Castro <[EMAIL PROTECTED]> wrote: > > Thanks :) I will look :) > But I thought tapestry 4.1 would have some features for ajax submit > already > implemented. > > On 9/20/06, Karthik N <[EMAIL PROTECTED]> wrote: > > > > you should look at the excellent Tacos framework to help you on this. > It > > makes Ajax with Tapestry a breeze, thanks to some great work done. > > > > http://tacos.sourceforge.net/ > > > > in addition, if need be, you can look at Dojo and DWR to help you with > > Ajax. > > > > On 9/21/06, Daniel Castro <[EMAIL PROTECTED]> wrote: > > > > > > Guys, please help me, if possible. > > > > > > I have a page with a search form, and those form fields are used as > > > parameteres for a search query (SQL). > > > > > > There are two content holders, that are div tags with specified ids, > to > > > hold > > > the ajax return of the search and ajax return of the search details. > > > Those content holders are placed bellow the search form, on the same > > page. > > > > > > What is the search result and what is the search detail? > > > Well, the search result is a 6 columns table sqlmodel component (from > > > contrib library) where the first column is the pk of the database > entry > > > that > > > is displayed and the last column is a button to invoke the display of > > the > > > details. > > > > > > The search detail is a table that displays less relevant informations > > > about > > > one row of the search. > > > > > > so lets suppose that > > > 1 - I have the form page with the submit button > > > 2 - I have a tapestry tabel component that returns the search result > > > > > > 3 - I have a class that returns a string containing the html code of > > that > > > detail table associated with a primary key. > > > 4 - I have a button on the result table, for each row, that passes the > > id > > > of > > > the row as atttribute or parameter > > > 5 - I have the place holders identified (two div tags) > > > > > > How shoul I implement the ajax call for the search and the detail? > > Please, > > > step by step explanatuion if possble. > > > My big problem is how to do this call, i tried some approaches to > solve > > > this, but none was sucessful. > > > > > > Thanks everyone. > > > > > > -- > > > -------- > > > We shall go on to the end. > > > We shall fight in France > > > We shall fightover the seas and oceans. > > > We shall fight with growing confidence and growing strength in the > air. > > > We shall defend our island whatever the cost may be > > > We shall fight on beaches, we shall fight on the landing grounds, > > > We shall fight in the fields and in the streets, > > > We shall fight on the hills. > > > We shall never surrender. > > > Winston Churchill > > > > > > > > > > > > -- > > Thanks, Karthik > > > > > > > -- > -------- > We shall go on to the end. > We shall fight in France > We shall fightover the seas and oceans. > We shall fight with growing confidence and growing strength in the air. > We shall defend our island whatever the cost may be > We shall fight on beaches, we shall fight on the landing grounds, > We shall fight in the fields and in the streets, > We shall fight on the hills. > We shall never surrender. > Winston Churchill > > -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
-- -------- We shall go on to the end. We shall fight in France We shall fightover the seas and oceans. We shall fight with growing confidence and growing strength in the air. We shall defend our island whatever the cost may be We shall fight on beaches, we shall fight on the landing grounds, We shall fight in the fields and in the streets, We shall fight on the hills. We shall never surrender. Winston Churchill