I would add AjaxDirectLinks in Table A, that call your listener and
include updateComponents="ognl:{'highlighter'}"

Then, I would have a
<div id="highlighter" jwcid="[EMAIL PROTECTED]">
   <script>
      <span jwcid="@For" source="ognl:items" value="ognl:item">
         highlightItem("<span jwcid="@Insert" value="ognl:item"/>");
      </span>
   </script>
<div>

Ofcourse you'll need to implement highlightItem in javascript.

Your listeners job would then be to find out which items should be shown.

Joseph Hannon wrote:

> I have a page where I will have two tables containing rows of data,
> side by side.  What I would like to do is click a row in table A and
> have it highlight certain rows in table B.  Clicking a different row
> in table A would then highlight a different set of rows in table B.  I
> would like the click event to ask my class what elements or controls
> to highlight if possible.  Something along these lines.
>
> Will you suggest ways to do this in Tacos?
>
> Thanks,
> Joseph
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Tacos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to