myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r427657 [7/42] - in /myfaces: core/trunk/api/src/main/java/javax/faces/component/ core/trunk/api/src/test/java/javax/faces/ core/trunk/api/src/test/java/javax/faces/application/ core/trunk/api/src/test/java/javax/faces/component/ core/trunk...
Date Tue, 01 Aug 2006 17:44:01 GMT
Modified: myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/EmailAddress.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/EmailAddress.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/EmailAddress.java (original)
+++ myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/EmailAddress.java Tue Aug  1 10:43:28 2006
@@ -1,39 +1,39 @@
-package org.apache.myfaces.tobago.example.addressbook;
-
-/*
- * Copyright 2002-2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-public class EmailAddress {
-
-  private String email;
-
-  public EmailAddress(String email) {
-    this.email = email;
-  }
-
-  public String getEmail() {
-    return email;
-  }
-
-  public void setEmail(String email) {
-    this.email = email;
-  }
-
-  public String toString() {
-    return email;
-  }
-
-}
+package org.apache.myfaces.tobago.example.addressbook;
+
+/*
+ * Copyright 2002-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+public class EmailAddress {
+
+  private String email;
+
+  public EmailAddress(String email) {
+    this.email = email;
+  }
+
+  public String getEmail() {
+    return email;
+  }
+
+  public void setEmail(String email) {
+    this.email = email;
+  }
+
+  public String toString() {
+    return email;
+  }
+
+}

Propchange: myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/EmailAddress.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.java (original)
+++ myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.java Tue Aug  1 10:43:28 2006
@@ -1,79 +1,79 @@
-package org.apache.myfaces.tobago.example.addressbook;
-
-/*
- * Copyright 2002-2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/*
- * Created 29.11.2004 17:36:20.
- * $Id: Controller.java,v 1.2 2005/08/10 11:57:55 lofwyr Exp $
- */
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-
-public class InMemoryAddressDAO implements AddressDAO {
-
-  private static final Log LOG = LogFactory.getLog(InMemoryAddressDAO.class);
-
-  private List<Address> addresses;
-
-  public InMemoryAddressDAO() {
-    addresses = new ArrayList<Address>();
-  }
-
-  public synchronized Address updateAddress(Address address) {
-    LOG.debug("Trying address: "+address);
-    Address storedAddress = getAddress(address.getId());
-    if (storedAddress == null) {
-      address.setId(addresses.size()+1);
-      LOG.debug("Creating address: "+address);
-      addresses.add(address);
-    } else {
-      LOG.debug("Updating address : "+address);
-      LOG.debug("Stored address is: "+storedAddress);
-      storedAddress.fill(address);
-    }
-    return address;
-  }
-
-  public synchronized List<Address> findAddresses() {
-    LOG.debug("Find addresses: "+addresses);
-    return Collections.unmodifiableList(addresses);
-  }
-
-  public synchronized void removeAddress(Address address) {
-    Iterator<Address> it = addresses.iterator();
-    while (it.hasNext()) {
-      if (it.next().getId() == address.getId()) {
-        it.remove();
-      }
-    }
-  }
-
-  private Address getAddress(int id) {
-    for (Address address : addresses) {
-      if (address.getId() == id) {
-        return address;
-      }
-    }
-    return null;
-  }
-}
+package org.apache.myfaces.tobago.example.addressbook;
+
+/*
+ * Copyright 2002-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Created 29.11.2004 17:36:20.
+ * $Id: Controller.java,v 1.2 2005/08/10 11:57:55 lofwyr Exp $
+ */
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.List;
+
+public class InMemoryAddressDAO implements AddressDAO {
+
+  private static final Log LOG = LogFactory.getLog(InMemoryAddressDAO.class);
+
+  private List<Address> addresses;
+
+  public InMemoryAddressDAO() {
+    addresses = new ArrayList<Address>();
+  }
+
+  public synchronized Address updateAddress(Address address) {
+    LOG.debug("Trying address: "+address);
+    Address storedAddress = getAddress(address.getId());
+    if (storedAddress == null) {
+      address.setId(addresses.size()+1);
+      LOG.debug("Creating address: "+address);
+      addresses.add(address);
+    } else {
+      LOG.debug("Updating address : "+address);
+      LOG.debug("Stored address is: "+storedAddress);
+      storedAddress.fill(address);
+    }
+    return address;
+  }
+
+  public synchronized List<Address> findAddresses() {
+    LOG.debug("Find addresses: "+addresses);
+    return Collections.unmodifiableList(addresses);
+  }
+
+  public synchronized void removeAddress(Address address) {
+    Iterator<Address> it = addresses.iterator();
+    while (it.hasNext()) {
+      if (it.next().getId() == address.getId()) {
+        it.remove();
+      }
+    }
+  }
+
+  private Address getAddress(int id) {
+    for (Address address : addresses) {
+      if (address.getId() == id) {
+        return address;
+      }
+    }
+    return null;
+  }
+}

Propchange: myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/XStreamAddressDAO.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/XStreamAddressDAO.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/XStreamAddressDAO.java (original)
+++ myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/XStreamAddressDAO.java Tue Aug  1 10:43:28 2006
@@ -1,131 +1,131 @@
-package org.apache.myfaces.tobago.example.addressbook;
-
-/*
- * Copyright 2002-2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/*
- * Created 29.11.2004 17:36:20.
- * $Id: Controller.java,v 1.2 2005/08/10 11:57:55 lofwyr Exp $
- */
-
-import com.thoughtworks.xstream.XStream;
-import com.thoughtworks.xstream.io.xml.DomDriver;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import java.io.File;
-import java.io.FileReader;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-public class XStreamAddressDAO implements AddressDAO {
-
-  private static final Log LOG = LogFactory.getLog(XStreamAddressDAO.class);
-
-  private String storageFileName = "addresses.xml";
-  private XStream xstream;
-
-  public XStreamAddressDAO() {
-    xstream = new XStream(new DomDriver());
-  }
-
-  public String getStorageFileName() {
-    return storageFileName;
-  }
-
-  public void setStorageFileName(String storageFileName) {
-    this.storageFileName = storageFileName;
-  }
-
-  public synchronized Address updateAddress(Address address) throws AddressDAOException {
-    List<Address> addresses = loadAddresses();
-    Address storedAddress = getAddress(address.getId(), addresses);
-    if (storedAddress == null) {
-      address.setId(addresses.size()+1);
-      addresses.add(address);
-    } else {
-      storedAddress.fill(address);
-    }
-    saveAddresses(addresses);
-    return address;
-  }
-
-  public synchronized List<Address> findAddresses() throws AddressDAOException{
-    return loadAddresses();
-  }
-
-  public synchronized void removeAddress(Address address) throws AddressDAOException {
-    List<Address> addresses = loadAddresses();
-    Iterator<Address> it = addresses.iterator();
-    while (it.hasNext()) {
-      if (it.next().getId() == address.getId()) {
-        it.remove();
-      }
-    }
-    saveAddresses(addresses);
-  }
-
-  private List<Address> loadAddresses() throws AddressDAOException {
-    FileReader fr = null;
-    try {
-      if (!new File(storageFileName).exists()) {
-        return new ArrayList<Address>();
-      }
-      fr = new FileReader(storageFileName);
-      return (List<Address>) xstream.fromXML(fr);
-    } catch(Exception e) {
-      throw new AddressDAOException("error loading addresses", e);
-    } finally{
-      if (fr != null) {
-        try {
-          fr.close();
-        } catch (IOException e) {
-          // ignore
-        }
-      }
-    }
-  }
-
-  private void saveAddresses(List<Address> addresses) throws AddressDAOException {
-    FileWriter fw = null;
-    try {
-      fw = new FileWriter(storageFileName, false);
-      xstream.toXML(addresses, fw);
-    } catch(Exception e) {
-      throw new AddressDAOException("error saving addresses", e);
-    } finally{
-      if (fw != null) {
-        try {
-          fw.close();
-        } catch (IOException e) {
-          // ignore
-        }
-      }
-    }
-  }
-
-  private Address getAddress(int id, List<Address> addresses) {
-    for (Address address : addresses) {
-      if (address.getId() == id) {
-        return address;
-      }
-    }
-    return null;
-  }
-}
+package org.apache.myfaces.tobago.example.addressbook;
+
+/*
+ * Copyright 2002-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Created 29.11.2004 17:36:20.
+ * $Id: Controller.java,v 1.2 2005/08/10 11:57:55 lofwyr Exp $
+ */
+
+import com.thoughtworks.xstream.XStream;
+import com.thoughtworks.xstream.io.xml.DomDriver;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+public class XStreamAddressDAO implements AddressDAO {
+
+  private static final Log LOG = LogFactory.getLog(XStreamAddressDAO.class);
+
+  private String storageFileName = "addresses.xml";
+  private XStream xstream;
+
+  public XStreamAddressDAO() {
+    xstream = new XStream(new DomDriver());
+  }
+
+  public String getStorageFileName() {
+    return storageFileName;
+  }
+
+  public void setStorageFileName(String storageFileName) {
+    this.storageFileName = storageFileName;
+  }
+
+  public synchronized Address updateAddress(Address address) throws AddressDAOException {
+    List<Address> addresses = loadAddresses();
+    Address storedAddress = getAddress(address.getId(), addresses);
+    if (storedAddress == null) {
+      address.setId(addresses.size()+1);
+      addresses.add(address);
+    } else {
+      storedAddress.fill(address);
+    }
+    saveAddresses(addresses);
+    return address;
+  }
+
+  public synchronized List<Address> findAddresses() throws AddressDAOException{
+    return loadAddresses();
+  }
+
+  public synchronized void removeAddress(Address address) throws AddressDAOException {
+    List<Address> addresses = loadAddresses();
+    Iterator<Address> it = addresses.iterator();
+    while (it.hasNext()) {
+      if (it.next().getId() == address.getId()) {
+        it.remove();
+      }
+    }
+    saveAddresses(addresses);
+  }
+
+  private List<Address> loadAddresses() throws AddressDAOException {
+    FileReader fr = null;
+    try {
+      if (!new File(storageFileName).exists()) {
+        return new ArrayList<Address>();
+      }
+      fr = new FileReader(storageFileName);
+      return (List<Address>) xstream.fromXML(fr);
+    } catch(Exception e) {
+      throw new AddressDAOException("error loading addresses", e);
+    } finally{
+      if (fr != null) {
+        try {
+          fr.close();
+        } catch (IOException e) {
+          // ignore
+        }
+      }
+    }
+  }
+
+  private void saveAddresses(List<Address> addresses) throws AddressDAOException {
+    FileWriter fw = null;
+    try {
+      fw = new FileWriter(storageFileName, false);
+      xstream.toXML(addresses, fw);
+    } catch(Exception e) {
+      throw new AddressDAOException("error saving addresses", e);
+    } finally{
+      if (fw != null) {
+        try {
+          fw.close();
+        } catch (IOException e) {
+          // ignore
+        }
+      }
+    }
+  }
+
+  private Address getAddress(int id, List<Address> addresses) {
+    for (Address address : addresses) {
+      if (address.getId() == id) {
+        return address;
+      }
+    }
+    return null;
+  }
+}

Propchange: myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/XStreamAddressDAO.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/blank/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/actionlistener/SimpleTabChangeListener.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/actionlistener/TreeEditor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigController.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigPhaseListener.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ThemeConfigViewController.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/jsp/AbstractConverter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/jsp/Converter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/jsp/JspFormatter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/jsp/JspTagConverter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/jsp/StringExpression.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/jsp/TagConverter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/model/solar/Planet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/model/solar/Solar.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/model/solar/SolarObject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/overview/OverviewController.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/overview/PresentationController.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/overview/SheetConfig.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/overview/SynchronizeNavigationPhaseListener.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/facelets/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/facelets/src/main/java/org/apache/myfaces/tobago/example/facelets/Counter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/foreach/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/foreach/src/main/java/org/apache/myfaces/tobago/example/foreach/BirdList.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/nonfacesrequest/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tobago/trunk/example/nonfacesrequest/src/main/java/org/apache/myfaces/tobago/example/nonfacesrequest/FishPond.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/nonfacesrequest/src/main/java/org/apache/myfaces/tobago/example/nonfacesrequest/FishPond.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/nonfacesrequest/src/main/java/org/apache/myfaces/tobago/example/nonfacesrequest/FishPond.java (original)
+++ myfaces/tobago/trunk/example/nonfacesrequest/src/main/java/org/apache/myfaces/tobago/example/nonfacesrequest/FishPond.java Tue Aug  1 10:43:28 2006
@@ -1,66 +1,66 @@
-package org.apache.myfaces.tobago.example.nonfacesrequest;
-
-/*
- * Copyright 2002-2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Random;
-
-public class FishPond {
-
-  private static final Log LOG = LogFactory.getLog(FishPond.class);
-
-  private Map<String, String> fishes;
-
-  private String selectedFish;
-
-  public FishPond() {
-    fishes = new HashMap<String, String>();
-    fishes.put("0", "Scholle");
-    fishes.put("1", "Hai");
-    fishes.put("2", "Luce");
-    fishes.put("3", "Halibut");
-    fishes.put("4", "Tamboril");
-  }
-
-  public String random() {
-    Random random = new Random(System.currentTimeMillis());
-
-    selectedFish = fishes.get("" + random.nextInt(fishes.size()));
-
-    LOG.info("select via random: '" + selectedFish + "'");
-
-    return "view";
-  }
-
-  public String select(String id) {
-    selectedFish = fishes.get(id);
-
-    LOG.info("select via id: '" + selectedFish + "'");
-
-    return "view";
-  }
-
-  public String getSelectedFish() {
-    return selectedFish;
-  }
-
-
-}
+package org.apache.myfaces.tobago.example.nonfacesrequest;
+
+/*
+ * Copyright 2002-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import java.util.Map;
+import java.util.HashMap;
+import java.util.Random;
+
+public class FishPond {
+
+  private static final Log LOG = LogFactory.getLog(FishPond.class);
+
+  private Map<String, String> fishes;
+
+  private String selectedFish;
+
+  public FishPond() {
+    fishes = new HashMap<String, String>();
+    fishes.put("0", "Scholle");
+    fishes.put("1", "Hai");
+    fishes.put("2", "Luce");
+    fishes.put("3", "Halibut");
+    fishes.put("4", "Tamboril");
+  }
+
+  public String random() {
+    Random random = new Random(System.currentTimeMillis());
+
+    selectedFish = fishes.get("" + random.nextInt(fishes.size()));
+
+    LOG.info("select via random: '" + selectedFish + "'");
+
+    return "view";
+  }
+
+  public String select(String id) {
+    selectedFish = fishes.get(id);
+
+    LOG.info("select via id: '" + selectedFish + "'");
+
+    return "view";
+  }
+
+  public String getSelectedFish() {
+    return selectedFish;
+  }
+
+
+}

Propchange: myfaces/tobago/trunk/example/nonfacesrequest/src/main/java/org/apache/myfaces/tobago/example/nonfacesrequest/FishPond.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tobago/trunk/example/nonfacesrequest/src/main/java/org/apache/myfaces/tobago/example/nonfacesrequest/FishServlet.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/nonfacesrequest/src/main/java/org/apache/myfaces/tobago/example/nonfacesrequest/FishServlet.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/nonfacesrequest/src/main/java/org/apache/myfaces/tobago/example/nonfacesrequest/FishServlet.java (original)
+++ myfaces/tobago/trunk/example/nonfacesrequest/src/main/java/org/apache/myfaces/tobago/example/nonfacesrequest/FishServlet.java Tue Aug  1 10:43:28 2006
@@ -1,41 +1,41 @@
-package org.apache.myfaces.tobago.example.nonfacesrequest;
-
-/*
- * Copyright 2002-2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import org.apache.myfaces.tobago.servlet.NonFacesRequestServlet;
-import org.apache.myfaces.tobago.util.VariableResolverUtil;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import javax.faces.context.FacesContext;
-
-public class FishServlet extends NonFacesRequestServlet {
-
-  private static final Log LOG = LogFactory.getLog(FishServlet.class);
-
-  public String invokeApplication(FacesContext facesContext) {
-
-    String id = (String) facesContext.getExternalContext().getRequestParameterMap().get("id");
-    LOG.info("id='" + id + "'");
-
-    FishPond fishPond = (FishPond) VariableResolverUtil.resolveVariable(facesContext, "fishPond");
-
-    String outcome = fishPond.select(id);
-
-    return outcome;
-  }
-}
+package org.apache.myfaces.tobago.example.nonfacesrequest;
+
+/*
+ * Copyright 2002-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.apache.myfaces.tobago.servlet.NonFacesRequestServlet;
+import org.apache.myfaces.tobago.util.VariableResolverUtil;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import javax.faces.context.FacesContext;
+
+public class FishServlet extends NonFacesRequestServlet {
+
+  private static final Log LOG = LogFactory.getLog(FishServlet.class);
+
+  public String invokeApplication(FacesContext facesContext) {
+
+    String id = (String) facesContext.getExternalContext().getRequestParameterMap().get("id");
+    LOG.info("id='" + id + "'");
+
+    FishPond fishPond = (FishPond) VariableResolverUtil.resolveVariable(facesContext, "fishPond");
+
+    String outcome = fishPond.select(id);
+
+    return outcome;
+  }
+}

Propchange: myfaces/tobago/trunk/example/nonfacesrequest/src/main/java/org/apache/myfaces/tobago/example/nonfacesrequest/FishServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/security/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/security/src/main/java/org/apache/myfaces/tobago/example/security/ApplicationFactoryImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/security/src/main/java/org/apache/myfaces/tobago/example/security/ApplicationImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/security/src/main/java/org/apache/myfaces/tobago/example/security/CheckAuthorisationMethodBinding.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/test/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/test/src/main/java/org/apache/myfaces/tobago/example/test/SolarServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/example/test/src/main/java/org/apache/myfaces/tobago/example/test/TestBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tobago/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/pom.xml?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/tobago/trunk/pom.xml (original)
+++ myfaces/tobago/trunk/pom.xml Tue Aug  1 10:43:28 2006
@@ -1,526 +1,526 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.apache.myfaces.tobago</groupId>
-  <artifactId>tobago</artifactId>
-  <packaging>pom</packaging>
-  <name>Apache Tobago</name>
-  <version>1.0.8-SNAPSHOT</version>
-  <description>The goal of Tobago is to provide the community with a well designed set of user interface components based on JSF and run on MyFaces.</description>
-  <prerequisites>
-    <maven>2.0.3</maven>
-  </prerequisites>
-  <url>http://myfaces.apache.org/tobago</url>
-  <inceptionYear>2002</inceptionYear>
-  <issueManagement>
-    <system>jira</system>
-    <url>http://issues.apache.org/jira/secure/BrowseProject.jspa?id=12310273</url>
-  </issueManagement>
-  <ciManagement>
-    <system>continuum</system>
-    <url>http://myfaces.zones.apache.org:8080/continuum</url>
-    <notifiers>
-      <notifier>
-        <type>mail</type>
-        <!--sendOnSuccess>true</sendOnSuccess-->
-        <configuration>
-          <address>commits@myfaces.apache.org</address>
-        </configuration>
-      </notifier>
-    </notifiers>
-  </ciManagement>
-  <mailingLists>
-    <mailingList>
-      <name>Myfaces User List</name>
-      <subscribe>users-subscribe@myfaces.apache.org</subscribe>
-      <unsubscribe>users-unsubscribe@myfaces.apache.org</unsubscribe>
-      <post>do not post to users@myfaces.apache.org unless subscribed</post>
-      <archive>http://mail-archives.apache.org/mod_mbox/myfaces-users</archive>
-      <otherArchives>
-        <otherArchive>http://www.mail-archive.com/users@myfaces.apache.org/</otherArchive>
-        <otherArchive>http://www.nabble.com/MyFaces---Users-f181.html</otherArchive>
-      </otherArchives>
-    </mailingList>
-    <mailingList>
-      <name>Myfaces Developer List</name>
-      <subscribe>dev-subscribe@myfaces.apache.org</subscribe>
-      <unsubscribe>dev-unsubscribe@myfaces.apache.org</unsubscribe>
-      <post>do not post to dev@myfaces.apache.org unless subscribed</post>
-      <archive>http://mail-archives.apache.org/mod_mbox/myfaces-dev</archive>
-      <otherArchives>
-        <otherArchive>http://www.mail-archive.com/dev@myfaces.apache.org/</otherArchive>
-        <otherArchive>http://www.nabble.com/My-Faces---Dev-f182.html</otherArchive>
-      </otherArchives>
-    </mailingList>
-    <mailingList>
-      <name>Myfaces Commits List</name>
-      <subscribe>commits-subscribe@myfaces.apache.org</subscribe>
-      <unsubscribe>commits-unsubscribe@myfaces.apache.org</unsubscribe>
-      <post>do not post</post>
-      <archive>http://mail-archives.apache.org/mod_mbox/myfaces-commits</archive>
-    </mailingList>
-    <mailingList>
-      <name>Myfaces Announcements List</name>
-      <subscribe>announce-subscribe@myfaces.apache.org</subscribe>
-      <unsubscribe>announce-unsubscribe@myfaces.apache.org</unsubscribe>
-      <post>do not post</post>
-      <archive>http://mail-archives.apache.org/mod_mbox/myfaces-announce</archive>
-    </mailingList>
-  </mailingLists>
-  <developers>
-    <developer>
-      <id>idus</id>
-      <name>Arvid Hülsebus</name>
-      <email>idus@krelon.com</email>
-      <organization>atanion GmbH, Germany</organization>
-      <roles>
-        <role>Developer</role>
-      </roles>
-      <timezone>+1</timezone>
-    </developer>
-    <developer>
-      <id>bommel</id>
-      <name>Bernd Bohmann</name>
-      <email>bernd.bohmann@atanion.com</email>
-      <organization>atanion GmbH, Germany</organization>
-      <roles>
-        <role>Developer</role>
-      </roles>
-      <timezone>+1</timezone>
-    </developer>
-    <developer>
-      <id>pleff</id>
-      <name>Detlef Bartetzko</name>
-      <email>detlef.bartetzko@atanion.com</email>
-      <organization>atanion GmbH, Germany</organization>
-      <roles>
-        <role>Developer</role>
-      </roles>
-      <timezone>+1</timezone>
-    </developer>
-    <developer>
-      <id>mmarinschek</id>
-      <name>Martin Marinschek</name>
-      <organization>Irian, Austria</organization>
-      <email>martin.marinschek@gmail.com</email>
-      <roles>
-        <role>Developer</role>
-      </roles>
-      <timezone>+1</timezone>
-    </developer>
-    <developer>
-      <id>matzew</id>
-      <name>Matthias Wessendorf</name>
-      <organization>Oracle Deutschland GmbH, Germany</organization>
-      <email>matzew@apache.org</email>
-      <roles>
-        <role>Developer</role>
-      </roles>
-      <timezone>-8</timezone>
-    </developer>
-    <developer>
-      <id>hennes</id>
-      <name>Philippe Hennes</name>
-      <email>philippe.hennes@philstar.de</email>
-      <organization>atanion GmbH, Germany</organization>
-      <roles>
-        <role>Developer</role>
-      </roles>
-      <timezone>+1</timezone>
-    </developer>
-    <developer>
-      <id>lofwyr</id>
-      <name>Udo Schnurpfeil</name>
-      <email>udo@schnurpfeil.de</email>
-      <organization>atanion GmbH, Germany</organization>
-      <roles>
-        <role>Lead</role>
-      </roles>
-      <timezone>+1</timezone>
-    </developer>
-    <developer>
-      <id>weber</id>
-      <name>Volker Weber</name>
-      <email>asf@weber-oldenburg.de</email>
-      <organization>atanion GmbH, Germany</organization>
-      <roles>
-        <role>Developer</role>
-      </roles>
-      <timezone>+1</timezone>
-    </developer>
-  </developers>
-
-  <reporting>
-    <excludeDefaults>true</excludeDefaults>
-    <plugins>
-
-     <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>cobertura-maven-plugin</artifactId>
-      </plugin>
-
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>taglist-maven-plugin</artifactId>
-        <configuration>
-          <tags>
-            <tag>TODO</tag>
-            <tag>FIXME</tag>
-            <tag>XXX</tag>
-            <tag>@deprecated</tag>
-          </tags>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jxr-plugin</artifactId>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <configuration>
-          <configLocation>org/apache/myfaces/tobago/checkstyle.xml</configLocation>
-          <xrefLocation>xref</xrefLocation>
-          <excludes>**/package-info.java</excludes>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <configuration>
-          <!--<aggregate>true</aggregate>-->
-          <links>
-            <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
-            <link>http://java.sun.com/j2ee/1.4/docs/api</link>
-            <link>http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api</link>
-            <link>http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_0/</link>
-            <link>http://jakarta.apache.org/commons/fileupload/apidocs/</link>
-            <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
-            <link>http://www.junit.org/junit/javadoc/</link>
-            <link>http://logging.apache.org/log4j/docs/api/</link>
-          </links>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-report-plugin</artifactId>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-       </plugin>
-
-      <!--<plugin>
-        <inherited>false</inherited>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>changes-maven-plugin</artifactId>
-      </plugin>-->
-
-      <plugin>
-        <inherited>false</inherited>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>changelog-maven-plugin</artifactId>
-        <configuration>
-          <basedir>${basedir}</basedir>
-        </configuration>
-      </plugin>
-
-<!--
-      <plugin>
-        <inherited>false</inherited>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-doap-plugin</artifactId>
-        <configuration>
-          <category>web-framework</category>
-          <language>Java</language>
-          <shortdesc>Set of user interface components based on JSF.</shortdesc>
-          <pmc>http://myfaces.apache.org</pmc>
-        </configuration>
-      </plugin>
--->
-
-      <!--<plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>clirr-maven-plugin</artifactId>
-        <configuration>
-          <minSeverity>info</minSeverity>
-        </configuration>
-      </plugin>-->
-
-      <!-- pmd has problems with annotations -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-pmd-plugin</artifactId>
-        <configuration>
-          <rulesets>
-            <ruleset>/rulesets/basic.xml</ruleset>
-            <ruleset>/rulesets/unusedcode.xml</ruleset>
-            <ruleset>/rulesets/imports.xml</ruleset>
-            <!--<ruleset>/rulesets/design.xml/SimplifyBooleanReturnsRule</ruleset>
-            <ruleset>/rulesets/design.xml/SimplifyBooleanExpressions</ruleset>
-            <ruleset>/rulesets/design.xml/AvoidReassigningParametersRule</ruleset>
-            <ruleset>/rulesets/design.xml/FinalFieldCouldBeStatic</ruleset>
-            <ruleset>/rulesets/design.xml/BooleanInstantiation</ruleset>
-            <ruleset>/rulesets/design.xml/NonStaticInitializer</ruleset>
-            <ruleset>/rulesets/design.xml/DefaultLabelNotLastInSwitchStmt</ruleset>
-            <ruleset>/rulesets/design.xml/OptimizableToArrayCallRule</ruleset>
-            <ruleset>/rulesets/coupling.xml/LooseCouplingRule</ruleset>-->
-          </rulesets>
-          <excludes>
-            <exclude>**/package-info.java</exclude>
-            <exclude>org/apache/myfaces/tobago/apt/annotation/*.java</exclude>
-          </excludes>
-          <encoding>UTF-8</encoding>
-          <linkXref>true</linkXref>
-          <targetJdk>1.5</targetJdk>
-        </configuration>
-      </plugin>
-
-
-      <!--plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>findbugs-maven-plugin</artifactId>
-        <version>1.0-SNAPSHOT</version>
-        <configuration>
-          <threshold>Low</threshold>
-        </configuration>
-      </plugin-->
-
-    </plugins>
-
-  </reporting>
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>commons-io</groupId>
-        <artifactId>commons-io</artifactId>
-        <version>1.1</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-lang</groupId>
-        <artifactId>commons-lang</artifactId>
-        <version>2.1</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-beanutils</groupId>
-        <artifactId>commons-beanutils</artifactId>
-        <version>1.7.0</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-collections</groupId>
-        <artifactId>commons-collections</artifactId>
-        <version>3.1</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-logging</groupId>
-        <artifactId>commons-logging</artifactId>
-        <version>1.0.4</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-digester</groupId>
-        <artifactId>commons-digester</artifactId>
-        <version>1.6</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-fileupload</groupId>
-        <artifactId>commons-fileupload</artifactId>
-        <version>1.0</version>
-      </dependency>
-      <dependency>
-        <groupId>log4j</groupId>
-        <artifactId>log4j</artifactId>
-        <version>1.2.11</version>
-      </dependency>
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>3.8.1</version>
-        <scope>test</scope>
-      </dependency>
-      <dependency>
-        <groupId>javax.servlet</groupId>
-        <artifactId>jstl</artifactId>
-        <version>1.1.0</version>
-        <exclusions>
-          <exclusion>
-            <groupId>javax.servlet</groupId>
-            <artifactId>jsp-api</artifactId>
-          </exclusion>
-        </exclusions>
-      </dependency>
-      <dependency>
-        <groupId>taglibs</groupId>
-        <artifactId>standard</artifactId>
-        <version>1.1.2</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.myfaces.core</groupId>
-        <artifactId>myfaces-api</artifactId>
-        <version>${myfaces.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.myfaces.core</groupId>
-        <artifactId>myfaces-impl</artifactId>
-        <version>${myfaces.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>javax.faces</groupId>
-        <artifactId>jsf-api</artifactId>
-        <version>${sunjsf.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>javax.faces</groupId>
-        <artifactId>jsf-impl</artifactId>
-        <version>${sunjsf.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>javax.servlet</groupId>
-        <artifactId>jsp-api</artifactId>
-        <version>2.0</version>
-        <scope>provided</scope>
-      </dependency>
-      <dependency>
-        <groupId>javax.servlet</groupId>
-        <artifactId>servlet-api</artifactId>
-        <version>2.3</version>
-        <scope>provided</scope>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-    </dependency>
-
-  </dependencies>
-
-  <scm>
-
-    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tobago/trunk/</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tobago/trunk/</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/myfaces/tobago/trunk/</url>
-
-  </scm>
-
-  <organization>
-    <name>Apache Software Foundation</name>
-    <url>http://www.apache.org/</url>
-  </organization>
-
-  <repositories>
-    <repository>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <id>apache.snapshots</id>
-      <url>http://people.apache.org/maven-snapshot-repository</url>
-    </repository>
-  </repositories>
-
-  <build>
-    <defaultGoal>install</defaultGoal>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>cobertura-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>clean</id>
-            <goals>
-              <goal>clean</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-          <encoding>UTF-8</encoding>
-        </configuration>
-      </plugin>
-    </plugins>
-    <extensions>
-      <extension>
-        <groupId>org.apache.maven.wagon</groupId>
-         <artifactId>wagon-ssh-external</artifactId>
-         <version>1.0-alpha-6</version>
-      </extension>
-      <extension>
-        <groupId>org.apache.maven.wagon</groupId>
-        <artifactId>wagon-ftp</artifactId>
-        <version>1.0-alpha-6</version>
-      </extension>
-      <extension>
-        <groupId>org.apache.myfaces.maven</groupId>
-        <artifactId>build-tools</artifactId>
-        <version>1.0.5-SNAPSHOT</version>
-      </extension>
-    </extensions>
-  </build>
-
-  <licenses>
-    <license>
-      <name>The Apache Software License, Version 2.0</name>
-      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-      <distribution>repo</distribution>
-    </license>
-  </licenses>
-
-  <modules>
-    <module>tobago-tool</module>
-    <module>core</module>
-    <module>theme</module>
-  </modules>
-
-  <distributionManagement>
-    <repository>
-      <id>apache-maven</id>
-      <name>Apache Maven Repository</name>
-      <url>scpexe://minotaur.apache.org/www/www.apache.org/dist/maven-repository</url>
-    </repository>
-    <snapshotRepository>
-      <uniqueVersion>false</uniqueVersion>
-      <id>apache-maven-snapshots</id>
-      <name>Apache Maven Snapshot Repository</name>
-      <url>scpexe://minotaur.apache.org/www/cvs.apache.org/maven-snapshot-repository</url>
-    </snapshotRepository>
-    <site>
-      <id>apache-site</id>
-      <url>scpexe://minotaur.apache.org/www/myfaces.apache.org/tobago/</url>
-    </site>
-  </distributionManagement>
-
-  <profiles>
-    <profile>
-      <id>all-modules</id>
-      <modules>
-        <module>example</module>
-        <module>contrib</module>
-      </modules>
-    </profile>
-    <profile>
-      <id>generate-assembly</id>
-      <modules>
-        <module>contrib</module>
-        <module>tobago-assembly</module>
-      </modules>
-    </profile>
-  </profiles>
-  <properties>
-    <myfaces.version>1.1.2</myfaces.version>
-    <sunjsf.version>1.1_02</sunjsf.version>
-  </properties>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.myfaces.tobago</groupId>
+  <artifactId>tobago</artifactId>
+  <packaging>pom</packaging>
+  <name>Apache Tobago</name>
+  <version>1.0.8-SNAPSHOT</version>
+  <description>The goal of Tobago is to provide the community with a well designed set of user interface components based on JSF and run on MyFaces.</description>
+  <prerequisites>
+    <maven>2.0.3</maven>
+  </prerequisites>
+  <url>http://myfaces.apache.org/tobago</url>
+  <inceptionYear>2002</inceptionYear>
+  <issueManagement>
+    <system>jira</system>
+    <url>http://issues.apache.org/jira/secure/BrowseProject.jspa?id=12310273</url>
+  </issueManagement>
+  <ciManagement>
+    <system>continuum</system>
+    <url>http://myfaces.zones.apache.org:8080/continuum</url>
+    <notifiers>
+      <notifier>
+        <type>mail</type>
+        <!--sendOnSuccess>true</sendOnSuccess-->
+        <configuration>
+          <address>commits@myfaces.apache.org</address>
+        </configuration>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+  <mailingLists>
+    <mailingList>
+      <name>Myfaces User List</name>
+      <subscribe>users-subscribe@myfaces.apache.org</subscribe>
+      <unsubscribe>users-unsubscribe@myfaces.apache.org</unsubscribe>
+      <post>do not post to users@myfaces.apache.org unless subscribed</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/myfaces-users</archive>
+      <otherArchives>
+        <otherArchive>http://www.mail-archive.com/users@myfaces.apache.org/</otherArchive>
+        <otherArchive>http://www.nabble.com/MyFaces---Users-f181.html</otherArchive>
+      </otherArchives>
+    </mailingList>
+    <mailingList>
+      <name>Myfaces Developer List</name>
+      <subscribe>dev-subscribe@myfaces.apache.org</subscribe>
+      <unsubscribe>dev-unsubscribe@myfaces.apache.org</unsubscribe>
+      <post>do not post to dev@myfaces.apache.org unless subscribed</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/myfaces-dev</archive>
+      <otherArchives>
+        <otherArchive>http://www.mail-archive.com/dev@myfaces.apache.org/</otherArchive>
+        <otherArchive>http://www.nabble.com/My-Faces---Dev-f182.html</otherArchive>
+      </otherArchives>
+    </mailingList>
+    <mailingList>
+      <name>Myfaces Commits List</name>
+      <subscribe>commits-subscribe@myfaces.apache.org</subscribe>
+      <unsubscribe>commits-unsubscribe@myfaces.apache.org</unsubscribe>
+      <post>do not post</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/myfaces-commits</archive>
+    </mailingList>
+    <mailingList>
+      <name>Myfaces Announcements List</name>
+      <subscribe>announce-subscribe@myfaces.apache.org</subscribe>
+      <unsubscribe>announce-unsubscribe@myfaces.apache.org</unsubscribe>
+      <post>do not post</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/myfaces-announce</archive>
+    </mailingList>
+  </mailingLists>
+  <developers>
+    <developer>
+      <id>idus</id>
+      <name>Arvid Hülsebus</name>
+      <email>idus@krelon.com</email>
+      <organization>atanion GmbH, Germany</organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>bommel</id>
+      <name>Bernd Bohmann</name>
+      <email>bernd.bohmann@atanion.com</email>
+      <organization>atanion GmbH, Germany</organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>pleff</id>
+      <name>Detlef Bartetzko</name>
+      <email>detlef.bartetzko@atanion.com</email>
+      <organization>atanion GmbH, Germany</organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>mmarinschek</id>
+      <name>Martin Marinschek</name>
+      <organization>Irian, Austria</organization>
+      <email>martin.marinschek@gmail.com</email>
+      <roles>
+        <role>Developer</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>matzew</id>
+      <name>Matthias Wessendorf</name>
+      <organization>Oracle Deutschland GmbH, Germany</organization>
+      <email>matzew@apache.org</email>
+      <roles>
+        <role>Developer</role>
+      </roles>
+      <timezone>-8</timezone>
+    </developer>
+    <developer>
+      <id>hennes</id>
+      <name>Philippe Hennes</name>
+      <email>philippe.hennes@philstar.de</email>
+      <organization>atanion GmbH, Germany</organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>lofwyr</id>
+      <name>Udo Schnurpfeil</name>
+      <email>udo@schnurpfeil.de</email>
+      <organization>atanion GmbH, Germany</organization>
+      <roles>
+        <role>Lead</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>weber</id>
+      <name>Volker Weber</name>
+      <email>asf@weber-oldenburg.de</email>
+      <organization>atanion GmbH, Germany</organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+  </developers>
+
+  <reporting>
+    <excludeDefaults>true</excludeDefaults>
+    <plugins>
+
+     <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+      </plugin>
+
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>taglist-maven-plugin</artifactId>
+        <configuration>
+          <tags>
+            <tag>TODO</tag>
+            <tag>FIXME</tag>
+            <tag>XXX</tag>
+            <tag>@deprecated</tag>
+          </tags>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jxr-plugin</artifactId>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <configLocation>org/apache/myfaces/tobago/checkstyle.xml</configLocation>
+          <xrefLocation>xref</xrefLocation>
+          <excludes>**/package-info.java</excludes>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <!--<aggregate>true</aggregate>-->
+          <links>
+            <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+            <link>http://java.sun.com/j2ee/1.4/docs/api</link>
+            <link>http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api</link>
+            <link>http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_0/</link>
+            <link>http://jakarta.apache.org/commons/fileupload/apidocs/</link>
+            <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
+            <link>http://www.junit.org/junit/javadoc/</link>
+            <link>http://logging.apache.org/log4j/docs/api/</link>
+          </links>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-report-plugin</artifactId>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+       </plugin>
+
+      <!--<plugin>
+        <inherited>false</inherited>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>changes-maven-plugin</artifactId>
+      </plugin>-->
+
+      <plugin>
+        <inherited>false</inherited>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>changelog-maven-plugin</artifactId>
+        <configuration>
+          <basedir>${basedir}</basedir>
+        </configuration>
+      </plugin>
+
+<!--
+      <plugin>
+        <inherited>false</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-doap-plugin</artifactId>
+        <configuration>
+          <category>web-framework</category>
+          <language>Java</language>
+          <shortdesc>Set of user interface components based on JSF.</shortdesc>
+          <pmc>http://myfaces.apache.org</pmc>
+        </configuration>
+      </plugin>
+-->
+
+      <!--<plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>clirr-maven-plugin</artifactId>
+        <configuration>
+          <minSeverity>info</minSeverity>
+        </configuration>
+      </plugin>-->
+
+      <!-- pmd has problems with annotations -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-pmd-plugin</artifactId>
+        <configuration>
+          <rulesets>
+            <ruleset>/rulesets/basic.xml</ruleset>
+            <ruleset>/rulesets/unusedcode.xml</ruleset>
+            <ruleset>/rulesets/imports.xml</ruleset>
+            <!--<ruleset>/rulesets/design.xml/SimplifyBooleanReturnsRule</ruleset>
+            <ruleset>/rulesets/design.xml/SimplifyBooleanExpressions</ruleset>
+            <ruleset>/rulesets/design.xml/AvoidReassigningParametersRule</ruleset>
+            <ruleset>/rulesets/design.xml/FinalFieldCouldBeStatic</ruleset>
+            <ruleset>/rulesets/design.xml/BooleanInstantiation</ruleset>
+            <ruleset>/rulesets/design.xml/NonStaticInitializer</ruleset>
+            <ruleset>/rulesets/design.xml/DefaultLabelNotLastInSwitchStmt</ruleset>
+            <ruleset>/rulesets/design.xml/OptimizableToArrayCallRule</ruleset>
+            <ruleset>/rulesets/coupling.xml/LooseCouplingRule</ruleset>-->
+          </rulesets>
+          <excludes>
+            <exclude>**/package-info.java</exclude>
+            <exclude>org/apache/myfaces/tobago/apt/annotation/*.java</exclude>
+          </excludes>
+          <encoding>UTF-8</encoding>
+          <linkXref>true</linkXref>
+          <targetJdk>1.5</targetJdk>
+        </configuration>
+      </plugin>
+
+
+      <!--plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <version>1.0-SNAPSHOT</version>
+        <configuration>
+          <threshold>Low</threshold>
+        </configuration>
+      </plugin-->
+
+    </plugins>
+
+  </reporting>
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>commons-io</groupId>
+        <artifactId>commons-io</artifactId>
+        <version>1.1</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-lang</groupId>
+        <artifactId>commons-lang</artifactId>
+        <version>2.1</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-beanutils</groupId>
+        <artifactId>commons-beanutils</artifactId>
+        <version>1.7.0</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-collections</groupId>
+        <artifactId>commons-collections</artifactId>
+        <version>3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-logging</groupId>
+        <artifactId>commons-logging</artifactId>
+        <version>1.0.4</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-digester</groupId>
+        <artifactId>commons-digester</artifactId>
+        <version>1.6</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-fileupload</groupId>
+        <artifactId>commons-fileupload</artifactId>
+        <version>1.0</version>
+      </dependency>
+      <dependency>
+        <groupId>log4j</groupId>
+        <artifactId>log4j</artifactId>
+        <version>1.2.11</version>
+      </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>3.8.1</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>javax.servlet</groupId>
+        <artifactId>jstl</artifactId>
+        <version>1.1.0</version>
+        <exclusions>
+          <exclusion>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>taglibs</groupId>
+        <artifactId>standard</artifactId>
+        <version>1.1.2</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.myfaces.core</groupId>
+        <artifactId>myfaces-api</artifactId>
+        <version>${myfaces.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.myfaces.core</groupId>
+        <artifactId>myfaces-impl</artifactId>
+        <version>${myfaces.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.faces</groupId>
+        <artifactId>jsf-api</artifactId>
+        <version>${sunjsf.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.faces</groupId>
+        <artifactId>jsf-impl</artifactId>
+        <version>${sunjsf.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.servlet</groupId>
+        <artifactId>jsp-api</artifactId>
+        <version>2.0</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>javax.servlet</groupId>
+        <artifactId>servlet-api</artifactId>
+        <version>2.3</version>
+        <scope>provided</scope>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <dependencies>
+
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+    </dependency>
+
+  </dependencies>
+
+  <scm>
+
+    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tobago/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tobago/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/myfaces/tobago/trunk/</url>
+
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <repositories>
+    <repository>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <id>apache.snapshots</id>
+      <url>http://people.apache.org/maven-snapshot-repository</url>
+    </repository>
+  </repositories>
+
+  <build>
+    <defaultGoal>install</defaultGoal>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>clean</id>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+          <encoding>UTF-8</encoding>
+        </configuration>
+      </plugin>
+    </plugins>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+         <artifactId>wagon-ssh-external</artifactId>
+         <version>1.0-alpha-6</version>
+      </extension>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ftp</artifactId>
+        <version>1.0-alpha-6</version>
+      </extension>
+      <extension>
+        <groupId>org.apache.myfaces.maven</groupId>
+        <artifactId>build-tools</artifactId>
+        <version>1.0.5-SNAPSHOT</version>
+      </extension>
+    </extensions>
+  </build>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <modules>
+    <module>tobago-tool</module>
+    <module>core</module>
+    <module>theme</module>
+  </modules>
+
+  <distributionManagement>
+    <repository>
+      <id>apache-maven</id>
+      <name>Apache Maven Repository</name>
+      <url>scpexe://minotaur.apache.org/www/www.apache.org/dist/maven-repository</url>
+    </repository>
+    <snapshotRepository>
+      <uniqueVersion>false</uniqueVersion>
+      <id>apache-maven-snapshots</id>
+      <name>Apache Maven Snapshot Repository</name>
+      <url>scpexe://minotaur.apache.org/www/cvs.apache.org/maven-snapshot-repository</url>
+    </snapshotRepository>
+    <site>
+      <id>apache-site</id>
+      <url>scpexe://minotaur.apache.org/www/myfaces.apache.org/tobago/</url>
+    </site>
+  </distributionManagement>
+
+  <profiles>
+    <profile>
+      <id>all-modules</id>
+      <modules>
+        <module>example</module>
+        <module>contrib</module>
+      </modules>
+    </profile>
+    <profile>
+      <id>generate-assembly</id>
+      <modules>
+        <module>contrib</module>
+        <module>tobago-assembly</module>
+      </modules>
+    </profile>
+  </profiles>
+  <properties>
+    <myfaces.version>1.1.2</myfaces.version>
+    <sunjsf.version>1.1_02</sunjsf.version>
+  </properties>
+</project>

Propchange: myfaces/tobago/trunk/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/theme/charlotteville/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/theme/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/theme/richmond/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/theme/scarborough/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/DatePickerRenderer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetPageCommandRenderer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TimeRenderer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/theme-config.js
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tobago/trunk/theme/scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/AbstractJavaScriptTestBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/AbstractJavaScriptTestBase.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/AbstractJavaScriptTestBase.java (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/AbstractJavaScriptTestBase.java Tue Aug  1 10:43:28 2006
@@ -1,95 +1,95 @@
-/*
- * Copyright 2002-2005 The Apache Software Foundation.
- *
- *    Licensed under the Apache License, Version 2.0 (the "License");
- *    you may not use this file except in compliance with the License.
- *    You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *    Unless required by applicable law or agreed to in writing, software
- *    distributed under the License is distributed on an "AS IS" BASIS,
- *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *    See the License for the specific language governing permissions and
- *    limitations under the License.
- */
-
-/*
- * Created 23.11.2005 15:55:58
- * $Id$
- */
-package org.apache.myfaces.tobago.renderkit.html.scarborough.standard;
-
-import junit.framework.TestCase;
-import org.mozilla.javascript.Context;
-import org.mozilla.javascript.JavaScriptException;
-import org.mozilla.javascript.Scriptable;
-
-import java.io.File;
-import java.io.FileReader;
-import java.io.IOException;
-
-public abstract class AbstractJavaScriptTestBase extends TestCase {
-
-  protected Context cx;
-  protected Scriptable scope;
-
-  protected void setUp() throws Exception {
-    super.setUp();
-    cx = Context.enter();
-    scope = cx.initStandardObjects(null);
-  }
-
-  protected void tearDown() throws Exception {
-    Context.exit();
-  }
-
-  public void testDummy() {
-
-}
-
-  protected Object eval(String script) throws JavaScriptException {
-    return cx.evaluateString(scope, script, "test", 1, null);
-  }
-
-  protected int evalInt(String script) throws JavaScriptException {
-    Object o = eval(script);
-    if (o instanceof Number) {
-      return ((Number) o).intValue();
-    }
-    throw new JavaScriptException(null, "invalid return type "
-        + o.getClass().getName() + " with value " + o, 0);
-  }
-
-  protected long evalLong(String script) throws JavaScriptException {
-    Object o = eval(script);
-    if (o instanceof Number) {
-      return ((Number) o).longValue();
-    }
-    throw new JavaScriptException(null, "invalid return type "
-        + o.getClass().getName() + " with value " + o, 0);
-  }
-
-  protected boolean evalBoolean(String script) throws JavaScriptException {
-    Object o = eval(script);
-    if (o instanceof Boolean) {
-      return ((Boolean) o).booleanValue();
-    }
-    throw new JavaScriptException(null, "invalid return type "
-        + o.getClass().getName() + " with value " + o, 0);
-  }
-
-  // XXX directory handling +  Maven reactor current dir problem
-  protected void loadScriptFile(String jsFile)
-      throws IOException, JavaScriptException {
-    String fileName
-        = "src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/" + jsFile;
-    File file = new File(fileName);
-    if (!file.exists()) {
-      fileName = System.getProperty("basedir") + "/" + fileName;
-      file = new File(fileName);
-    }
-    FileReader fileReader = new FileReader(file);
-    cx.evaluateReader(scope, fileReader, jsFile, 0, null);
-  }
-}
+/*
+ * Copyright 2002-2005 The Apache Software Foundation.
+ *
+ *    Licensed under the Apache License, Version 2.0 (the "License");
+ *    you may not use this file except in compliance with the License.
+ *    You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *    Unless required by applicable law or agreed to in writing, software
+ *    distributed under the License is distributed on an "AS IS" BASIS,
+ *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *    See the License for the specific language governing permissions and
+ *    limitations under the License.
+ */
+
+/*
+ * Created 23.11.2005 15:55:58
+ * $Id$
+ */
+package org.apache.myfaces.tobago.renderkit.html.scarborough.standard;
+
+import junit.framework.TestCase;
+import org.mozilla.javascript.Context;
+import org.mozilla.javascript.JavaScriptException;
+import org.mozilla.javascript.Scriptable;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+
+public abstract class AbstractJavaScriptTestBase extends TestCase {
+
+  protected Context cx;
+  protected Scriptable scope;
+
+  protected void setUp() throws Exception {
+    super.setUp();
+    cx = Context.enter();
+    scope = cx.initStandardObjects(null);
+  }
+
+  protected void tearDown() throws Exception {
+    Context.exit();
+  }
+
+  public void testDummy() {
+
+}
+
+  protected Object eval(String script) throws JavaScriptException {
+    return cx.evaluateString(scope, script, "test", 1, null);
+  }
+
+  protected int evalInt(String script) throws JavaScriptException {
+    Object o = eval(script);
+    if (o instanceof Number) {
+      return ((Number) o).intValue();
+    }
+    throw new JavaScriptException(null, "invalid return type "
+        + o.getClass().getName() + " with value " + o, 0);
+  }
+
+  protected long evalLong(String script) throws JavaScriptException {
+    Object o = eval(script);
+    if (o instanceof Number) {
+      return ((Number) o).longValue();
+    }
+    throw new JavaScriptException(null, "invalid return type "
+        + o.getClass().getName() + " with value " + o, 0);
+  }
+
+  protected boolean evalBoolean(String script) throws JavaScriptException {
+    Object o = eval(script);
+    if (o instanceof Boolean) {
+      return ((Boolean) o).booleanValue();
+    }
+    throw new JavaScriptException(null, "invalid return type "
+        + o.getClass().getName() + " with value " + o, 0);
+  }
+
+  // XXX directory handling +  Maven reactor current dir problem
+  protected void loadScriptFile(String jsFile)
+      throws IOException, JavaScriptException {
+    String fileName
+        = "src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/" + jsFile;
+    File file = new File(fileName);
+    if (!file.exists()) {
+      fileName = System.getProperty("basedir") + "/" + fileName;
+      file = new File(fileName);
+    }
+    FileReader fileReader = new FileReader(file);
+    cx.evaluateReader(scope, fileReader, jsFile, 0, null);
+  }
+}

Propchange: myfaces/tobago/trunk/theme/scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/AbstractJavaScriptTestBase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tobago/trunk/theme/scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/DateTestUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/DateTestUtils.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/DateTestUtils.java (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/DateTestUtils.java Tue Aug  1 10:43:28 2006
@@ -1,56 +1,56 @@
-/*
- * Copyright 2002-2005 The Apache Software Foundation.
- *
- *    Licensed under the Apache License, Version 2.0 (the "License");
- *    you may not use this file except in compliance with the License.
- *    You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *    Unless required by applicable law or agreed to in writing, software
- *    distributed under the License is distributed on an "AS IS" BASIS,
- *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *    See the License for the specific language governing permissions and
- *    limitations under the License.
- */
-
-/*
- * Created 23.11.2005 16:04:57
- * $Id$
- */
-package org.apache.myfaces.tobago.renderkit.html.scarborough.standard;
-
-import java.util.List;
-import java.util.Locale;
-import java.util.Calendar;
-import java.util.ArrayList;
-import java.util.Date;
-import java.text.SimpleDateFormat;
-
-public class DateTestUtils {
-
-  public static List<String> createMonthNames(boolean longFormat, Locale locale) {
-    return createLocalizationNames(
-        longFormat ? "MMMM" : "MMM", 0, 11, Calendar.MONTH, locale);
-  }
-
-  public static List<String> createDayNames(boolean longFormat, Locale locale) {
-    return createLocalizationNames(
-        longFormat ? "EEEE" : "E", 1, 7, Calendar.DAY_OF_WEEK, locale);
-  }
-
-  private static List<String> createLocalizationNames(String format, int min, int max,
-      int field, Locale locale) {
-    List<String> names = new ArrayList<String>();
-    SimpleDateFormat dateFormat = new SimpleDateFormat(format, locale);
-    for (int day = min; day <= max; ++day) {
-      Calendar calendar = Calendar.getInstance();
-      calendar.clear();
-      calendar.set(field, day);
-      Date date = calendar.getTime();
-      names.add(dateFormat.format(date));
-    }
-    return names;
-  }
-
-}
+/*
+ * Copyright 2002-2005 The Apache Software Foundation.
+ *
+ *    Licensed under the Apache License, Version 2.0 (the "License");
+ *    you may not use this file except in compliance with the License.
+ *    You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *    Unless required by applicable law or agreed to in writing, software
+ *    distributed under the License is distributed on an "AS IS" BASIS,
+ *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *    See the License for the specific language governing permissions and
+ *    limitations under the License.
+ */
+
+/*
+ * Created 23.11.2005 16:04:57
+ * $Id$
+ */
+package org.apache.myfaces.tobago.renderkit.html.scarborough.standard;
+
+import java.util.List;
+import java.util.Locale;
+import java.util.Calendar;
+import java.util.ArrayList;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+
+public class DateTestUtils {
+
+  public static List<String> createMonthNames(boolean longFormat, Locale locale) {
+    return createLocalizationNames(
+        longFormat ? "MMMM" : "MMM", 0, 11, Calendar.MONTH, locale);
+  }
+
+  public static List<String> createDayNames(boolean longFormat, Locale locale) {
+    return createLocalizationNames(
+        longFormat ? "EEEE" : "E", 1, 7, Calendar.DAY_OF_WEEK, locale);
+  }
+
+  private static List<String> createLocalizationNames(String format, int min, int max,
+      int field, Locale locale) {
+    List<String> names = new ArrayList<String>();
+    SimpleDateFormat dateFormat = new SimpleDateFormat(format, locale);
+    for (int day = min; day <= max; ++day) {
+      Calendar calendar = Calendar.getInstance();
+      calendar.clear();
+      calendar.set(field, day);
+      Date date = calendar.getTime();
+      names.add(dateFormat.format(date));
+    }
+    return names;
+  }
+
+}

Propchange: myfaces/tobago/trunk/theme/scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/DateTestUtils.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message