On Thu, 19 Sep 2013 06:47:20 -0300, Ben Titmarsh
<ben.titma...@hotmail.co.uk> wrote:
Hi All,
Hi!
I am using the colorbox JS library for lightboxes in my app. All you do
is pass some markup in as a JSON field 'html' and it pops the markup up
in a lightbox. So I'm doing this:
$.colorbox({html:"<t:cardLightbox cubeId="cubeId"/>"});
I'm sorry, but this doesn't make any sense at all. Tapestry templates are
meant to be used server-side and generate HTML (or XML). You probably want
to render a component content and pass it to colorbox. I'd put that
component inside a page and grab its generated contents through $.ajax.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org