2007/7/17, Arunkumar Balasubramanian <[EMAIL PROTECTED]>:
<a href="javascript:newWindow_sepatate_fields(document.editAddress.monthMM, document.editAddress.dateDD, document.editAddress.yearYYYY)" onkeydown="showFieldHelp(HELP_DATE_CALENDAR)"> <img src="img/calendar.gif width="16" height="16"border="0"></a> The calender icon on pagetwo.jsp is <a href="javascript:newWindow_sepatate_fields(document.Addresspage.monthMM, document.Addresspage.dateDD, document.Addresspage.yearYYYY)" onkeydown="showFieldHelp(HELP_DATE_CALENDAR)"> <img src="img/calendar.gif width="16" height="16"border="0"></a>
You could use a "controller" (in the Tiles sense) for the definition that stores an extra attribute (for example, the javascript command) and then import it (via <tiles:importAttribute>) and put it in your "href" attribute. Antonio