I finally found where to put the command onLoad='initTable("table0");' when we work with Tiles components. It is in fact in the jsp file which is used as model in which one definite inevitably a tag body. I thus put this JS command but the element table0 is defined in another jsp. is it possible? because that does not go. If the model file (classicLayout.jsp) is in a repertory different from the MyPage.jsp file that conatins the table0 defintion where must be to place the js file ?. I think that it is in the repertory which contains the classicLayout.jsp is true?
-----Original Message----- From: Heligon Sandra Sent: 15 January 2003 18:25 To: 'Struts Users Mailing List' Cc: '[EMAIL PROTECTED]' Subject: RE: How to let a user click a column header to sort data in a t ab le u sing struts? That seems indeed very simple but I will know if somebody uses it with the Tiles components. Because with these components we do not write "with the hand" JSP pages and more particularly the tag < body > attached to each page. The page is build with the content of the file tiles-def.xml. Moreover I do not understand exactly how does this work. And thus I do not see how to indicate the command onLoad='initTable("table0");' for init the table to sorting. This table can vary from one page to another, is it systematically necessary to put the same id? where do I have to put the JS command onLoad within a Tiles application? Thanks in advance. -----Original Message----- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: 15 January 2003 15:09 To: 'Struts Users Mailing List' Subject: RE: How to let a user click a column header to sort data in a tab le u sing struts? BOMBZ!! That's really cool. It works in Mozilla too FYI. -Jacob | -----Original Message----- | From: Thomas CORNET [mailto:[EMAIL PROTECTED]] | Sent: Wednesday, January 15, 2003 7:55 AM | To: Struts Users Mailing List | Subject: Re: How to let a user click a column header to sort data in a tab | le u sing struts? | | | Isn't it ? This is a friend of mine who has coded it, and it's working | well. Check out the attachement. | | Thomas | | At 14:40 15/01/2003 +0100, you wrote: | >2003. január 15. 14:39 dátummal Thomas CORNET ezt írtad: | > > Hello | > > | > > Do you need this sequence to be full JSP ?? Because JavaScript | librairies | > > exist to let you directly sort tables. Thus, no page reload is needed. | > | >Sounds interesting! Is it running on the popular browsers? Where can I | get | >this? | > | >Tib | > | >-- | >To unsubscribe, e-mail: <mailto:struts-user- | [EMAIL PROTECTED]> | >For additional commands, e-mail: <mailto:struts-user- | [EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>