This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bookStore = angular.module('bookStore', ['bookStore.main', | |
'bookStore.author', | |
'bookStore.badge', | |
'bookStore.book', | |
'bookStore.bookorder', | |
'bookStore.bookorderitem', | |
'bookStore.country', | |
'bookStore.customer', | |
'bookStore.employee', | |
'bookStore.employeegroup', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.idref.other; | |
import javax.xml.bind.JAXBContext; | |
import javax.xml.bind.JAXBElement; | |
import javax.xml.bind.JAXBException; | |
import javax.xml.bind.Unmarshaller; | |
import junit.framework.TestCase; | |
public class TestASupprimer extends TestCase { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem on lance la generation des classes java correspondantes au xsd avec le package indique | |
xjc -d src -p com.idref.other other.xsd | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<delivery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="other.xsd"> | |
<customer id="K123"> | |
<name>toto</name> | |
</customer> | |
<order> | |
<customerRef>K123</customerRef> | |
</order> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsd:schema attributeFormDefault="unqualified" | |
elementFormDefault="qualified" version="1.0" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<xsd:element name="delivery" type="deliveryType" /> | |
<xsd:complexType name="deliveryType"> | |
<xsd:sequence> | |
<xsd:element name="customer" type="CustomerType" minOccurs="0" maxOccurs="unbounded" /> | |
<xsd:element name="order" type="OrderType" minOccurs="0" maxOccurs="unbounded" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# permet de s'assurer du format en francais lors des soumissions | |
my.format.time = {0,time} | |
my.format.number = {0,number,#0.0##} | |
my.format.percent = {0,number,##0.00'%'} | |
my.format.money = {0,number,\u00A4##0.00} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE log4j:configuration PUBLIC "-//log4j/log4j Configuration//EN" "log4j.dtd"> | |
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" > | |
<appender name="stdout" class="org.apache.log4j.ConsoleAppender"> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" value="%-4r %-5p [%t] %c %3x - %m%n"/> | |
</layout> | |
</appender> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.demo.util; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.Collections; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE validators PUBLIC | |
"-//Apache Struts//XWork Validator 1.0.2//EN" | |
"http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> | |
<validators> | |
<field name="current.isbn" > | |
<field-validator type="requiredstring" > | |
<message key="requiredfield" /> | |
</field-validator> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE validators PUBLIC | |
"-//Apache Struts//XWork Validator 1.0.2//EN" | |
"http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> | |
<validators> | |
<field name="current.id"> | |
<field-validator type="required"> | |
<message key="requiredfield"/> | |
</field-validator> | |
</field> |