Categories | Question details Back To List | ||
How can I get the “id” attribute for method “setXMLAutoLoading”??? I´m using setXMLAutoLoading (“…/viewFase.do&method=init?id=”+id) --> Java Struts; I use Javascript but I don´t know How can I get “id” parameter…. Can I help me? Thank you so much. Answer posted by Support on Apr 02, 2009 04:02 You can use tree.setXMLAutoLoading("…/viewFase.do&method=init"); component will automatically add "&id=some" during dynamical request processing. If you want to have more wide control over url building, you can use tree.setXMLAutoLoadingBehaviour("function"); tree.setXMLAutoLoading(function(id){ tree.loadXML("…/viewFase.do&method=init?id="+id); }); |