I recently have found myself in a similar situation where I am
re-writing the links generated by Display Tag to be JavaScript function
calls instead.  To do this, I have a form (but you could use a div with
an id) surrounding the table.  Then you can do
document.myForm.getElementsByTagName('span')[1] or similar to get the
pagination span for example.

Ben

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Russell Ritenour
Sent: Thursday, May 18, 2006 1:37 PM
To: [email protected]
Subject: [displaytag-user] Testing of table output

I am attempting to write HttpUnit tests against a list output generated 
by display tag.   I'd like to be able to access the pagebanner and 
pagelinks section of the header  created by display tag so that I can 
parse these to make sure they match the database.  Is there a was to 
assign an id attribute to the <span> elements?  Or, if someone is more 
familiar with HttpUnit, a better way to get access to these elements?

Thanks in advance,
Russ

-- 

------------------------------------------------------------------------
*Russell C. Ritenour*
Technology Consultant
AT&T Government Solutions
443.896.2198




_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user


**************************************************************
This message, including any attachments, contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, please contact sender immediately by reply 
e-mail and destroy all copies.  You are hereby notified that any disclosure, 
copying, or distribution of this message, or the taking of any action based on 
it, is strictly prohibited.
TIAA-CREF
**************************************************************



_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to