I was doing somethig close to it. Here is the code for it,

<display:column property="lastName" escapeXml="true" sortable="true"
         titleKey="person.lastName">
        <attribute name="onmouseover" value="_javascript_:getDetails(this.parentNode.parentNode.id, this.parentNode.parentNode.lastName)" />
    </display:column>

I got this from previous posts, I did not understand what it does and it never worked. I am calling the DIV tag, it is placed below the display:table, by its id from within the getDetails function. Your idea seems good.

Actually my question should be, How do I make such call to a _javascript_ function? I think the above format is wrong. How do I get the properties (id, lastname) as the parameters of the function?


Andrey Falaleev <[EMAIL PROTECTED]> wrote:
Hi Riaz!

I think you may insert a DIV inside of a DISPLAY:COLUMN tag, place your data inside of this DIV and set for this DIV all needed _javascript_ event handlers ( ). So, just do all what you would do without DisplayTag-table and insert all that stuff within a table's column. For the whole row, place such a DIV with corresponding handlers into the each DISPLAY:COLUMN.

Best,
Andrew

Riaz uddin <[EMAIL PROTECTED]> schrieb:
Hi

I am new to displaytag. Here is what I am doing now, I am displaying table data with users' fName, lName and his id.

What I want to do is, when i move the mouse over a row, a _javascript_ function call is made which will take id and fName as parameters and expands the row where I can display additional data, and onmouseout it should get back to its original place.

How do I do this?

Any help?

Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user


Was ist Glück? Schlafen Fische überhaupt? Die Antworten gibt’s auf Yahoo! Clever.-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to