Thanks!

My real concern isn't so much the creation of the dialog/tooltip but how do I create a wicket appropriate link in that dialog/tooltip in order to edit the item that is contained in the table cell?

    Thanks again, Jason

On 9/18/10 8:08 AM, Ernesto Reinaldo Barreiro wrote:
Jason,

I do a similar thing for one of my applications. I have a table and
when the user hovers the mouse over some button on each row then I
show a "dialog" with more details about the row. What I do is having a
hidden div next to the table and make it appear, its contents updated
via AJAX, with the help of a jquery plugin: I use plugin shown in [1]
in combination with grid shown at [2]. For other use cases, when
dialog contents are very heavy I use a ModalWindow triggered by an
"onclick".

Maybe I could strip my code of "the business logic" and post it
somewhere so that you could use or adapt it.

Regards,

Ernesto

1-http://wiquery-plugins-demo.appspot.com/demo/?wicket:bookmarkablePage=:com.wiquery.plugins.demo.ToolTipPage
2-http://wiquery-plugins-demo.appspot.com/demo/?wicket:bookmarkablePage=:com.wiquery.plugins.demo.TablePage

On Sat, Sep 18, 2010 at 2:13 AM, Jason Novotny<[email protected]>  wrote:
  Hi,

    I have a fairly complex use-case scenario: I want a dialog to popup when
a "hover" event occurs within a table cell. The dialog will provide a couple
of links (ideally AjaxLink) that should trigger a wicket ajax event.

    I can imagine maybe creating the dialogs all on the client so there is no
need to hit the server when the mouse hovers over the table cell (seems that
ajax would be no good in any case since the latency would be high when
hovering over potentially many cells within the table anyhow). But then the
issue is how to create the AjaxLink in the javascript that constructs the
dialog on the client?

    Any ideas are greatly appreciated!

    Thanks, Jason

---------------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to