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

Reply via email to