[ http://jira.codehaus.org/browse/DISPL-324?page=comments#action_63097 ]
Bruno Braga commented on DISPL-324: ----------------------------------- I implemented that improvement. It would be able to be something, more or less like this: TableTagBeanInfo: ----------------------------- add property proplist.add(new PropertyDescriptor("jsNameToCall", //$NON-NLS-1$ TableTag.class, null, "setJsNameToCall")); //$NON-NLS-1$ ----------------------------- Href.java: ----------------------------- Add atributte String jsNameToCall, and get / set. Add in contructor Href(Href href) the line: this.jsNameToCall = href.jsNameToCall; Change return of method toString() to: if (getJsNameToCall() == null || getJsNameToCall().equals("")) { return buffer.toString(); } else { return "javascript:" + getJsNameToCall() + "('" + buffer.toString() + "');"; } ----------------------------- TableTag: ----------------------------- Add atributte String jsNameToCall, and get / set. Add this line in method initHref(): normalHref.setJsNameToCall(getJsNameToCall()); ----------------------------- And change tld... Add jsNameToCall in table tag. > AJAX + diplaytag > ---------------- > > Key: DISPL-324 > URL: http://jira.codehaus.org/browse/DISPL-324 > Project: DisplayTag > Type: Improvement > Components: Paging/Sorting > Versions: 1.1 > Reporter: Bruno Braga > > > When we utilize AJAX, the page change requisitions or submit, should pass for > a javascript, that carries out some configurations for send the process > utilizing AJAX. > To part of pagination and sorting of the displaytag access direct links. As > that does not have as pass for the AJAX. > It would be good include an attribute (as requestURI), for the pagination and > the sorting call a Javascript and not a link. > Thank you. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- 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 _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel