Monthly Archives: April 2011

return xml from ajax and parse by javascript

function getVersionInfo(contentID,version) { $(‘input[name=published]’).removeAttr(‘checked’); //reset publish //alert(version); $.ajax({ url: “http://localhost:8060/CSAB/Content/selectedversioninfo/”+version+”/”+contentID+””, dataType:”xml”, success: function(xml){ //alert(xml); var phisicalName=find(xml, “phisical-name”); var selectedVersion=find(xml, “selected-version”); var publishedVer=find(xml, “published-ver”); var contents=find(xml, “contents”); $(“#phisicalNameid”).val(phisicalName); $(“#contentsid”).val(contents); } }); } function find(xml, name) { var nodes = xml.documentElement.childNodes; for … Continue reading

Posted in Uncategorized | Leave a comment

introduction-to-jstl-using-netbeans

http://www.java-tips.org/java-tutorials/tutorials/introduction-to-jstl-using-netbeans.html

Posted in Uncategorized | Leave a comment

AJAX Security Restrictions

http://www.developertutorials.com/learn-ajax/ajax-security-restrictions-2644.php

Posted in Uncategorized | Leave a comment

Mapping One-To-Many Associations with Hibernate and JPA Annotations

Of all the mappings you’re going to see in a Java application, a one to many mapping has to be the most common. Just think about it, an Order has many LineItems; a Bank has many BankAccounts; a Record has … Continue reading

Posted in java | Leave a comment

custom user groups in joomla

Access to your database (with PHPmyAdmin, in my case). Find user groups table (its name is « jos_core_acl_aro_groups »). Default prefix for tables is « jos », but check what is your prefixe and replace « jos » by your table prefix if … Continue reading

Posted in joomla | Leave a comment