ejtools-cvs Mailing List for EJTools (Page 88)
Brought to you by:
letiemble
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(471) |
May
(303) |
Jun
(176) |
Jul
(67) |
Aug
(64) |
Sep
(84) |
Oct
(148) |
Nov
(57) |
Dec
(272) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(356) |
Feb
(304) |
Mar
(214) |
Apr
(22) |
May
(7) |
Jun
(25) |
Jul
|
Aug
(5) |
Sep
(106) |
Oct
|
Nov
(95) |
Dec
(193) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
(2) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: <let...@us...> - 2002-06-10 07:34:16
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv10221/j2ee.icons/src/etc Modified Files: default.mf Log Message: Change Manifest and properties Index: default.mf =================================================================== RCS file: /cvsroot/ejtools/libraries/j2ee.icons/src/etc/default.mf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** default.mf 19 Apr 2002 07:12:25 -0000 1.1 --- default.mf 10 Jun 2002 07:34:13 -0000 1.2 *************** *** 1,6 **** ! Specification-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Vendor: EJTools Project ! Implementation-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Vendor: EJTools Project --- 1,6 ---- ! Specification-Title: @module.display.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Vendor: EJTools Project ! Implementation-Title: @module.display.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Vendor: EJTools Project |
From: <let...@us...> - 2002-06-10 07:34:16
|
Update of /cvsroot/ejtools/libraries/j2ee.icons In directory usw-pr-cvs1:/tmp/cvs-serv10221/j2ee.icons Modified Files: module.properties Log Message: Change Manifest and properties Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/libraries/j2ee.icons/module.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** module.properties 30 Apr 2002 21:09:17 -0000 1.2 --- module.properties 10 Jun 2002 07:34:13 -0000 1.3 *************** *** 1,17 **** ! # ! # Module Properties ! # ! # $Revision$ ! # ! version.major=1 ! version.minor=0 ! version.revision=0 ! version.tag=alpha ! ! module.name=j2ee.icons ! module.display.name=J2EE Icons ! module.archive.name=ejtools.j2ee.icons ! module.package=net.sourceforge.ejtools.* ! ! module.javadoc.title=EJTools - J2EE Icons ! --- 1,17 ---- ! # ! # Module Properties ! # ! # $Revision$ ! # ! version.major=1 ! version.minor=0 ! version.revision=0 ! version.tag=alpha ! ! module.name=j2ee.icons ! module.display.name=J2EE Icons ! module.archive.name=ejtools.j2ee.icons ! module.package=net.sourceforge.ejtools.* ! ! module.javadoc.title=EJTools - J2EE Icons ! |
From: <let...@us...> - 2002-06-10 07:34:00
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/treeIcons In directory usw-pr-cvs1:/tmp/cvs-serv10179/libraries/j2ee.icons/src/resources/treeIcons Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons/src/resources/treeIcons added to the repository |
From: <let...@us...> - 2002-06-10 07:32:43
|
Update of /cvsroot/ejtools/libraries/common/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv9807/common/src/etc Modified Files: default.mf Log Message: Change Manifest and properties Index: default.mf =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/etc/default.mf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** default.mf 19 Apr 2002 07:05:17 -0000 1.1 --- default.mf 10 Jun 2002 07:32:40 -0000 1.2 *************** *** 1,6 **** ! Specification-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Vendor: EJTools Project ! Implementation-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Vendor: EJTools Project --- 1,6 ---- ! Specification-Title: @module.display.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Vendor: EJTools Project ! Implementation-Title: @module.display.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Vendor: EJTools Project |
From: <let...@us...> - 2002-06-10 07:32:43
|
Update of /cvsroot/ejtools/libraries/common In directory usw-pr-cvs1:/tmp/cvs-serv9807/common Modified Files: module.properties Log Message: Change Manifest and properties Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/libraries/common/module.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** module.properties 16 May 2002 19:36:59 -0000 1.4 --- module.properties 10 Jun 2002 07:32:40 -0000 1.5 *************** *** 12,16 **** module.display.name=Common Library module.archive.name=ejtools.common ! module.package=net.sourceforge.ejtools module.javadoc.title=EJTools - Common Library --- 12,16 ---- module.display.name=Common Library module.archive.name=ejtools.common ! module.package=net.sourceforge.ejtools.* module.javadoc.title=EJTools - Common Library |
From: <let...@us...> - 2002-06-10 07:32:43
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx In directory usw-pr-cvs1:/tmp/cvs-serv9807/common/src/main/net/sourceforge/ejtools/jmx Modified Files: MBeanAccessor.java Log Message: Change Manifest and properties Index: MBeanAccessor.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx/MBeanAccessor.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** MBeanAccessor.java 4 Jun 2002 06:35:31 -0000 1.7 --- MBeanAccessor.java 10 Jun 2002 07:32:40 -0000 1.8 *************** *** 1,109 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at gnu.org. ! */ ! package net.sourceforge.ejtools.jmx; ! ! import javax.management.*; ! import javax.management.MBeanInfo; ! import javax.management.ObjectInstance; ! import javax.management.ObjectName; ! ! /** ! * Tag interface to be implemented by object that provides access to MBean informations ! * ! * @author letiemble ! * @created 11 avril 2002 ! * @version $Revision$ ! * @todo JavaDoc to complete ! */ ! public interface MBeanAccessor ! { ! /** ! * Gets the mBeanInfo attribute of the MBeanAccessor object ! * ! * @return The mBeanInfo value ! */ ! public MBeanInfo getMBeanInfo(); ! ! ! /** ! * Sets the attribute attribute of the MBeanAccessor object ! * ! * @param name The new attribute value ! * @param attribute The new attribute value ! */ ! public void setAttribute(ObjectName name, Attribute attribute); ! ! ! /** ! * Sets the attributes attribute of the MBeanAccessor object ! * ! * @param name The new attributes value ! * @param attributes The new attributes value ! * @return Description of the Return Value ! */ ! public AttributeList setAttributes(ObjectName name, AttributeList attributes); ! ! ! /** ! * Gets the objectName attribute of the MBeanAccessor object ! * ! * @return The objectName value ! */ ! public ObjectName getObjectName(); ! ! ! /** ! * Gets the canonicalName attribute of the MBeanAccessor object ! * ! * @return The canonicalName value ! */ ! public String getCanonicalName(); ! ! ! /** ! * Gets the attribute attribute of the MBeanAccessor object ! * ! * @param name Description of the Parameter ! * @param attribute Description of the Parameter ! * @return The attribute value ! */ ! public Object getAttribute(ObjectName name, String attribute); ! ! ! /** ! * Description of the Method ! * ! * @param name Description of the Parameter ! * @param action Description of the Parameter ! * @param params Description of the Parameter ! * @param signatures Description of the Parameter ! * @return Description of the Return Value ! */ ! public Object invoke(ObjectName name, String action, Object[] params, String[] signatures); ! ! ! /** ! * Description of the Method ! * ! * @param className Description of the Parameter ! * @param name Description of the Parameter ! * @param loaderName Description of the Parameter ! * @param params Description of the Parameter ! * @param signature Description of the Parameter ! * @return Description of the Return Value ! */ ! public ObjectInstance createMBean(java.lang.String className, ObjectName name, ObjectName loaderName, java.lang.Object[] params, java.lang.String[] signature); ! ! ! /** ! * Description of the Method ! * ! * @param name Description of the Parameter ! */ ! public void unregisterMBean(ObjectName name); ! } ! --- 1,95 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at gnu.org. ! */ ! package net.sourceforge.ejtools.jmx; ! ! import javax.management.*; ! import javax.management.MBeanInfo; ! import javax.management.ObjectInstance; ! import javax.management.ObjectName; ! ! /** ! * Tag interface to be implemented by object that provides access to MBean informations ! * ! * @author letiemble ! * @created 11 avril 2002 ! * @version $Revision$ ! * @todo JavaDoc to complete ! */ ! public interface MBeanAccessor ! { ! /** ! * Gets the mBeanInfo attribute of the MBeanAccessor object ! * ! * @return The mBeanInfo value ! */ ! public MBeanInfo getMBeanInfo(); ! ! ! /** ! * Sets the attribute attribute of the MBeanAccessor object ! * ! * @param name The new attribute value ! * @param attribute The new attribute value ! */ ! public void setAttribute(Attribute attribute) throws Exception; ! ! ! /** ! * Sets the attributes attribute of the MBeanAccessor object ! * ! * @param name The new attributes value ! * @param attributes The new attributes value ! * @return Description of the Return Value ! */ ! public AttributeList setAttributes(AttributeList attributes) throws Exception; ! ! ! /** ! * Gets the objectName attribute of the MBeanAccessor object ! * ! * @return The objectName value ! */ ! public ObjectName getObjectName(); ! ! ! /** ! * Gets the canonicalName attribute of the MBeanAccessor object ! * ! * @return The canonicalName value ! */ ! public String getCanonicalName(); ! ! ! /** ! * Gets the attribute attribute of the MBeanAccessor object ! * ! * @param name Description of the Parameter ! * @param attribute Description of the Parameter ! * @return The attribute value ! */ ! public Object getAttribute(String attribute) throws Exception; ! ! ! /** ! * Description of the Method ! * ! * @param name Description of the Parameter ! * @param action Description of the Parameter ! * @param params Description of the Parameter ! * @param signatures Description of the Parameter ! * @return Description of the Return Value ! */ ! public Object invoke(String action, Object[] params, String[] signatures) throws Exception; ! ! ! /** ! * Description of the Method ! * ! * @param name Description of the Parameter ! */ ! public void unregisterMBean() throws Exception; ! } |
From: <let...@us...> - 2002-06-10 07:32:08
|
Update of /cvsroot/ejtools/libraries/adwt/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv9717/adwt/src/etc Modified Files: default.mf Log Message: Change Manifest Index: default.mf =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/etc/default.mf,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** default.mf 16 May 2002 19:36:11 -0000 1.2 --- default.mf 10 Jun 2002 07:32:05 -0000 1.3 *************** *** 1,6 **** ! Specification-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ Specification-Vendor: EJTools Project ! Implementation-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ Implementation-Vendor: EJTools Project --- 1,6 ---- ! Specification-Title: @module.display.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ Specification-Vendor: EJTools Project ! Implementation-Title: @module.display.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ Implementation-Vendor: EJTools Project |
From: <let...@us...> - 2002-06-10 07:25:33
|
Update of /cvsroot/ejtools/libraries/adwt/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv8121/adwt/src/resources Added Files: New Text Document.txt Log Message: Pretty Print --- NEW FILE: New Text Document.txt --- package com.bytespinners.util; /** * I searched Google, JGuru, java.sun.com, hustler, and every place I could think of * to see if someone had made a utility to sort a vector of data beans by their value. * It seemed like such a useful idea, that I stayed up late one night and just had a go * at it. I saw it as a change to learn the reflection api, which I had not previously * worked with. I hope others out there might find it useful. * @author Matt Wingle * @company ByteSpinners, Inc. * @date 01-Jan-2002 10:51pm * */ public class BeanSorter { /** * Overloaded method that just returns a comparator that will sort by the specified value ascending * @param bean The type of JavaBean that is in the collection you want to sort * @param propertyName The property of the bean you want to sort by */ public static java.util.Comparator getComparator( Class bean, String propertyName ) { return getComparator( bean, propertyName, true ); } /** * Provide this method with your bean class and the value you want to sort by, and it will return a * fine Comparator that can be used for Sorts, Trees, Maps, and other naturally ordered collections. * You must also pass in a boolean that sorts the list ascending if true, descending if false. * @param bean The type of JavaBean that is in the collection you want to sort * @param propertyName The property of the bean you want to sort by * @param ascending True to sort ascending, false to sort descending */ public static java.util.Comparator getComparator( Class bean, String propertyName, final boolean ascending ) { java.util.Comparator retVal = null; try { final java.beans.PropertyDescriptor pd = new java.beans.PropertyDescriptor( propertyName, bean ); final java.lang.reflect.Method m = pd.getReadMethod(); retVal = new java.util.Comparator() { public int compare( Object a, Object b ) { int retVal = 0; Comparable aVal = null; Comparable bVal = null; try { aVal = (Comparable) m.invoke( a, new Object[0] ); bVal = (Comparable) m.invoke( b, new Object[0] ); } catch ( Exception e ) { e.printStackTrace(); retVal = 0; } if ( aVal == null ) { retVal = -1; } else if ( bVal == null ) { retVal = 1; } else { try { if ( aVal instanceof String && bVal instanceof String ) { retVal = ( ((String)aVal).toUpperCase()).compareTo( ((String)bVal).toUpperCase() ); } else { retVal = aVal.compareTo( bVal ); } } catch (Exception e) { e.printStackTrace(); } } return ascending ? retVal : -1 * retVal; } }; } catch ( Exception e ) { e.printStackTrace(); } return retVal; } } |
From: <let...@us...> - 2002-06-10 07:25:33
|
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/services In directory usw-pr-cvs1:/tmp/cvs-serv8121/adwt/src/main/net/sourceforge/ejtools/awt/services Modified Files: MDIDesktopPane.java Log Message: Pretty Print Index: MDIDesktopPane.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/services/MDIDesktopPane.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** MDIDesktopPane.java 30 May 2002 21:38:49 -0000 1.4 --- MDIDesktopPane.java 10 Jun 2002 07:25:30 -0000 1.5 *************** *** 249,253 **** ! /** Sets the NormalSize attribute of the MDIDesktopManager object */ public void setNormalSize() { --- 249,253 ---- ! /** Sets the NormalSize attribute of the MDIDesktopManager object */ public void setNormalSize() { |
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/edit In directory usw-pr-cvs1:/tmp/cvs-serv8121/adwt/src/main/net/sourceforge/ejtools/awt/action/edit Modified Files: CopyAction.java CutAction.java DeleteSelectedAction.java DeselectAllAction.java PasteAction.java SelectAllAction.java Log Message: Pretty Print Index: CopyAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/edit/CopyAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CopyAction.java 16 May 2002 19:36:11 -0000 1.4 --- CopyAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,23 **** /** ! * Regular "Copy" Action that provides : ! * <ul> ! * <li> - a "Edit" menu if it doesn't exist ! * <li> - a "Copy" menu item ! * <li> - a "Copy" toolbar button ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 28,32 **** public class CopyAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class CopyAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: CutAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/edit/CutAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CutAction.java 16 May 2002 19:36:12 -0000 1.4 --- CutAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,23 **** /** ! * Regular "Cut" Action that provides : ! * <ul> ! * <li> - a "Edit" menu if it doesn't exist ! * <li> - a "Cut" menu item ! * <li> - a "Cut" toolbar button ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 28,32 **** public class CutAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class CutAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: DeleteSelectedAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/edit/DeleteSelectedAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** DeleteSelectedAction.java 16 May 2002 19:36:12 -0000 1.4 --- DeleteSelectedAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,22 **** /** ! * Regular "DeleteSelected" Action that provides : ! * <ul> ! * <li> - a "Edit" menu if it doesn't exist ! * <li> - a "DeleteSelected" menu item ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 27,31 **** public class DeleteSelectedAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class DeleteSelectedAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: DeselectAllAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/edit/DeselectAllAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** DeselectAllAction.java 16 May 2002 19:36:12 -0000 1.4 --- DeselectAllAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,22 **** /** ! * Regular "DeselectAll" Action that provides : ! * <ul> ! * <li> - a "Edit" menu if it doesn't exist ! * <li> - a "DeselectAll" menu item ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 27,31 **** public class DeselectAllAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class DeselectAllAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: PasteAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/edit/PasteAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PasteAction.java 16 May 2002 19:36:12 -0000 1.4 --- PasteAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,23 **** /** ! * Regular "Paste" Action that provides : ! * <ul> ! * <li> - a "Edit" menu if it doesn't exist ! * <li> - a "Paste" menu item ! * <li> - a "Paste" toolbar button ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 28,32 **** public class PasteAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class PasteAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: SelectAllAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/edit/SelectAllAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SelectAllAction.java 16 May 2002 19:36:12 -0000 1.4 --- SelectAllAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,22 **** /** ! * Regular "SelectAll" Action that provides : ! * <ul> ! * <li> - a "Edit" menu if it doesn't exist ! * <li> - a "SelectAll" menu item ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 27,31 **** public class SelectAllAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class SelectAllAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); |
From: <let...@us...> - 2002-06-10 07:25:32
|
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/editors In directory usw-pr-cvs1:/tmp/cvs-serv8121/adwt/src/main/net/sourceforge/ejtools/awt/editors Modified Files: PropertiesEditor.java Added Files: ClassEditor.java Log Message: Pretty Print --- NEW FILE: ClassEditor.java --- /* * EJT, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.editors; import java.beans.PropertyEditorSupport; /** * Description of the Class * * @author letiemble * @created 6 avril 2002 * @version $Revision: 1.2 $ * @todo Javadoc to complete */ public class ClassEditor extends PropertyEditorSupport { /** Description of the Field */ protected Object value; /** Constructor */ public ClassEditor() { } /** * Getter for the asText attribute * * @return The value */ public String getAsText() { return ((Class)value).getName(); } /** * Getter for the value attribute * * @return The value */ public Object getValue() { return value; } /** * Setter for the asText attribute * * @param s The new value */ public void setAsText(String s) { try { value = Class.forName(s); } catch (Exception e) { } firePropertyChange(); } /** * Setter for the value attribute * * @param obj The new value */ public void setValue(Object obj) { value = obj; firePropertyChange(); } } Index: PropertiesEditor.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/editors/PropertiesEditor.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PropertiesEditor.java 5 May 2002 20:13:45 -0000 1.3 --- PropertiesEditor.java 10 Jun 2002 07:25:30 -0000 1.4 *************** *** 1,113 **** ! /* ! * EJT, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package net.sourceforge.ejtools.awt.editors; ! ! import java.awt.Component; ! import java.beans.PropertyEditorSupport; ! import java.util.Properties; ! ! import javax.swing.JTable; ! ! /** ! * Description of the Class ! * ! * @author letiemble ! * @created 19 octobre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public class PropertiesEditor extends PropertyEditorSupport ! { ! ! /** Description of the Field */ ! protected Object value; ! ! ! /** Constructor for the PropertiesEditor object */ ! public PropertiesEditor() ! { ! value = new Properties(); ! } ! ! ! /** ! * Getter for the asText attribute ! * ! * @return The value of asText attribute ! */ ! public String getAsText() ! { ! return value.toString(); ! } ! ! ! /** ! * Getter for the customEditor attribute ! * ! * @return The value of customEditor attribute ! */ ! public Component getCustomEditor() ! { ! return new PropertiesView(); ! } ! ! ! /** ! * Gets the value attribute of the FileEditor object ! * ! * @return The value value ! */ ! public Object getValue() ! { ! return value; ! } ! ! ! /** ! * Setter for the asText attribute ! * ! * @param s The new value for asText attribute ! */ ! public void setAsText(String s) ! { ! firePropertyChange(); ! } ! ! ! /** ! * Setter for the value attribute ! * ! * @param obj The new value for value attribute ! */ ! public void setValue(Object obj) ! { ! firePropertyChange(); ! } ! ! ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public boolean supportsCustomEditor() ! { ! return true; ! } ! ! ! /** ! * Description of the Class ! * ! * @author letiembl ! * @created 19 octobre 2001 ! */ ! class PropertiesView extends JTable ! { ! } ! } ! --- 1,128 ---- ! /* ! * EJT, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package net.sourceforge.ejtools.awt.editors; ! ! import java.io.*; ! import java.awt.Component; ! import java.beans.PropertyEditorSupport; ! import java.util.Properties; ! ! import javax.swing.*; ! ! /** ! * Description of the Class ! * ! * @author letiemble ! * @created 19 octobre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public class PropertiesEditor extends PropertyEditorSupport ! { ! ! /** Description of the Field */ ! protected Object value; ! ! ! /** Constructor for the PropertiesEditor object */ ! public PropertiesEditor() ! { ! value = new Properties(); ! } ! ! ! /** ! * Getter for the asText attribute ! * ! * @return The value of asText attribute ! */ ! public String getAsText() { ! ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream(); ! try { ! ((Properties)value).store(bytearrayoutputstream, ""); ! } catch ( IOException ioexception ) { ! ioexception.printStackTrace(); ! } ! return bytearrayoutputstream.toString(); ! } ! ! ! /** ! * Getter for the customEditor attribute ! * ! * @return The value of customEditor attribute ! */ ! public Component getCustomEditor() ! { ! return new PropertiesView(); ! } ! ! ! /** ! * Gets the value attribute of the FileEditor object ! * ! * @return The value value ! */ ! public Object getValue() ! { ! return value; ! } ! ! ! /** ! * Setter for the asText attribute ! * ! * @param s The new value for asText attribute ! */ ! public void setAsText(String s) ! { ! try { ! ((Properties)value).load(new ByteArrayInputStream(s.getBytes())); ! firePropertyChange(); ! } catch ( IOException _ex ) { ! throw new IllegalArgumentException( "Illegal value" ); ! } ! } ! ! ! /** ! * Setter for the value attribute ! * ! * @param obj The new value for value attribute ! */ ! public void setValue(Object obj) ! { ! value = obj; ! firePropertyChange(); ! } ! ! ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public boolean supportsCustomEditor() ! { ! return true; ! } ! ! ! /** ! * Description of the Class ! * ! * @author letiembl ! * @created 19 octobre 2001 ! */ ! class PropertiesView extends JTextArea ! { ! public PropertiesView() { ! super(10, 40); ! setText( getAsText() ); ! } ! } ! } |
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window In directory usw-pr-cvs1:/tmp/cvs-serv8121/adwt/src/main/net/sourceforge/ejtools/awt/action/window Modified Files: CascadeAction.java CloseAction.java CloseAllAction.java InternalFrameAction.java TileAction.java Log Message: Pretty Print Index: CascadeAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window/CascadeAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CascadeAction.java 16 May 2002 19:36:12 -0000 1.4 --- CascadeAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,22 **** /** ! * Regular "Cascade windows" Action that provides : ! * <ul> ! * <li> - a "Windows" menu if it doesn't exist ! * <li> - a "Cascade windows" menu item ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 27,31 **** public class CascadeAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class CascadeAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: CloseAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window/CloseAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CloseAction.java 16 May 2002 19:36:12 -0000 1.4 --- CloseAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,22 **** /** ! * Regular "Close active window" Action that provides : ! * <ul> ! * <li> - a "Windows" menu if it doesn't exist ! * <li> - a "Close active window" menu item ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 27,31 **** public class CloseAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class CloseAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: CloseAllAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window/CloseAllAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CloseAllAction.java 16 May 2002 19:36:12 -0000 1.4 --- CloseAllAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 14,23 **** /** ! * Regular "Close all windows" Action that provides : ! * <ul> ! * <li> - a "Windows" menu if it doesn't exist ! * <li> - a "Close all windows" menu item ! * </ul> ! * * * @author letiemble --- 14,18 ---- /** ! * Description of the Class * * @author letiemble *************** *** 28,32 **** public class CloseAllAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 23,27 ---- public class CloseAllAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: InternalFrameAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window/InternalFrameAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** InternalFrameAction.java 16 May 2002 19:36:12 -0000 1.4 --- InternalFrameAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 16,25 **** /** ! * Regular spacer for the title of a window that provides : ! * <ul> ! * <li> - a "Windows" menu if it doesn't exist ! * <li> - a "N/A" menu item replaced by the title of the window ! * </ul> ! * * * @author letiemble --- 16,20 ---- /** ! * Description of the Class * * @author letiemble *************** *** 30,34 **** public class InternalFrameAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 25,29 ---- public class InternalFrameAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: TileAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window/TileAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TileAction.java 16 May 2002 19:36:12 -0000 1.4 --- TileAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,22 **** /** ! * Regular "Tile windows" Action that provides : ! * <ul> ! * <li> - a "Windows" menu if it doesn't exist ! * <li> - a "Tile windows" menu item ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 27,31 **** public class TileAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class TileAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); |
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt In directory usw-pr-cvs1:/tmp/cvs-serv8121/adwt/src/main/net/sourceforge/ejtools/awt Modified Files: BeanContextListView.java BeanContextTreePanel.java BeanContextTreeView.java GenericMBeanCustomizer.java GenericMBeanMethodDialog.java Log Message: Pretty Print Index: BeanContextListView.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/BeanContextListView.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** BeanContextListView.java 30 May 2002 21:42:08 -0000 1.4 --- BeanContextListView.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 192,196 **** ! /** Description of the Method */ private void notifyListener() { --- 192,196 ---- ! /** Description of the Method */ private void notifyListener() { *************** *** 204,208 **** ! /** Description of the Method */ private void updateModel() { --- 204,208 ---- ! /** Description of the Method */ private void updateModel() { Index: BeanContextTreePanel.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/BeanContextTreePanel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BeanContextTreePanel.java 5 May 2002 20:13:45 -0000 1.3 --- BeanContextTreePanel.java 10 Jun 2002 07:25:29 -0000 1.4 *************** *** 153,157 **** * Description of the Method * ! * @param objectName Description of the Parameter */ public void searchObjectName(String objectName) --- 153,157 ---- * Description of the Method * ! * @param objectName Description of the Parameter */ public void searchObjectName(String objectName) Index: BeanContextTreeView.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/BeanContextTreeView.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BeanContextTreeView.java 5 May 2002 20:13:45 -0000 1.3 --- BeanContextTreeView.java 10 Jun 2002 07:25:29 -0000 1.4 *************** *** 182,186 **** * Description of the Method * ! * @param objectName Description of the Parameter */ public void searchObjectName(String objectName) --- 182,186 ---- * Description of the Method * ! * @param objectName Description of the Parameter */ public void searchObjectName(String objectName) Index: GenericMBeanCustomizer.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/GenericMBeanCustomizer.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** GenericMBeanCustomizer.java 30 May 2002 21:42:08 -0000 1.6 --- GenericMBeanCustomizer.java 10 Jun 2002 07:25:29 -0000 1.7 *************** *** 115,119 **** if (attributeInfo.isReadable()) { ! obj = object.getAttribute(object.getObjectName(), attributeInfo.getName()); } if (obj != null) --- 115,119 ---- if (attributeInfo.isReadable()) { ! obj = object.getAttribute(attributeInfo.getName()); } if (obj != null) *************** *** 221,225 **** if (attributeInfo.isReadable()) { ! propertyeditor.setValue(object.getAttribute(object.getObjectName(), attributeInfo.getName())); } } --- 221,225 ---- if (attributeInfo.isReadable()) { ! propertyeditor.setValue(object.getAttribute(attributeInfo.getName())); } } *************** *** 515,523 **** if (info.isReadable()) { ! old = object.getAttribute(object.getObjectName(), info.getName()); } Object obj = ((PropertyEditor) event.getSource()).getValue(); ! object.setAttribute(object.getObjectName(), new Attribute(info.getName(), obj)); updated(info.getName(), old, obj); } --- 515,523 ---- if (info.isReadable()) { ! old = object.getAttribute(info.getName()); } Object obj = ((PropertyEditor) event.getSource()).getValue(); ! object.setAttribute(new Attribute(info.getName(), obj)); updated(info.getName(), old, obj); } *************** *** 614,618 **** try { ! Object value = object.getAttribute(object.getObjectName(), event.getSource() + ""); if (editor != null && !editor.equals(editor.getValue())) { --- 614,618 ---- try { ! Object value = object.getAttribute(event.getSource() + ""); if (editor != null && !editor.equals(editor.getValue())) { *************** *** 666,670 **** try { ! Object obj1 = object.invoke(object.getObjectName(), info.getName(), new Object[]{}, new String[]{}); if (obj1 != null) --- 666,670 ---- try { ! Object obj1 = object.invoke(info.getName(), new Object[]{}, new String[]{}); if (obj1 != null) *************** *** 713,717 **** try { ! object.unregisterMBean(object.getObjectName()); } catch (Exception ex) --- 713,717 ---- try { ! object.unregisterMBean(); } catch (Exception ex) Index: GenericMBeanMethodDialog.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/GenericMBeanMethodDialog.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** GenericMBeanMethodDialog.java 30 May 2002 21:42:08 -0000 1.4 --- GenericMBeanMethodDialog.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 216,220 **** { Object lReturn = mConnector.invoke( - mService, mOperation.getName(), params, --- 216,219 ---- |
From: <let...@us...> - 2002-06-10 07:25:32
|
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file In directory usw-pr-cvs1:/tmp/cvs-serv8121/adwt/src/main/net/sourceforge/ejtools/awt/action/file Modified Files: ExitAction.java FileHistoryAction.java FileHistoryActionTop.java NewAction.java OpenAction.java PrintAction.java SaveAction.java SaveAsAction.java Log Message: Pretty Print Index: ExitAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/ExitAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ExitAction.java 16 May 2002 19:36:12 -0000 1.4 --- ExitAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 14,24 **** /** ! * Regular "Exit" Action that provides : ! * <ul> ! * <li> - a "File" menu if it doesn't exist ! * <li> - a "Exit" menu item ! * <li> - a separator before the menu item ! * </ul> ! * * * @author letiemble --- 14,18 ---- /** ! * Description of the Class * * @author letiemble *************** *** 29,33 **** public class ExitAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 23,27 ---- public class ExitAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: FileHistoryAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/FileHistoryAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** FileHistoryAction.java 16 May 2002 19:36:12 -0000 1.4 --- FileHistoryAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,22 **** /** ! * Regular spacer for file history that provides : ! * <ul> ! * <li> - a "File" menu if it doesn't exist ! * <li> - a "N/A" menu item replaced by the file in the history ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 27,31 **** public class FileHistoryAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class FileHistoryAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: FileHistoryActionTop.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/FileHistoryActionTop.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** FileHistoryActionTop.java 16 May 2002 19:36:12 -0000 1.4 --- FileHistoryActionTop.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 14,24 **** /** ! * Regular spacer for file history that provides : ! * <ul> ! * <li> - a "File" menu if it doesn't exist ! * <li> - a "N/A" menu item replaced by the file in the history ! * <li> - a separator before the menu item ! * </ul> ! * * * @author letiemble --- 14,18 ---- /** ! * Description of the Class * * @author letiemble *************** *** 29,33 **** public class FileHistoryActionTop extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 23,27 ---- public class FileHistoryActionTop extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: NewAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/NewAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** NewAction.java 16 May 2002 19:36:12 -0000 1.4 --- NewAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,23 **** /** ! * Regular "New" Action that provides : ! * <ul> ! * <li> - a "File" menu if it doesn't exist ! * <li> - a "New" menu item ! * <li> - a "New" toolbar button ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 28,32 **** public class NewAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class NewAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: OpenAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/OpenAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** OpenAction.java 16 May 2002 19:36:12 -0000 1.4 --- OpenAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,23 **** /** ! * Regular "Open" Action that provides : ! * <ul> ! * <li> - a "File" menu if it doesn't exist ! * <li> - a "Open" menu item ! * <li> - a "Open" toolbar button ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 28,32 **** public class OpenAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class OpenAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: PrintAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/PrintAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PrintAction.java 16 May 2002 19:36:12 -0000 1.4 --- PrintAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,23 **** /** ! * Regular "Print" Action that provides : ! * <ul> ! * <li> - a "File" menu if it doesn't exist ! * <li> - a "Print" menu item ! * <li> - a "Print" toolbar button ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 28,32 **** public class PrintAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class PrintAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: SaveAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/SaveAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SaveAction.java 16 May 2002 19:36:12 -0000 1.4 --- SaveAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,23 **** /** ! * Regular "Save" Action that provides : ! * <ul> ! * <li> - a "File" menu if it doesn't exist ! * <li> - a "Save" menu item ! * <li> - a "Save" toolbar button ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 28,32 **** public class SaveAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class SaveAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: SaveAsAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/SaveAsAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SaveAsAction.java 16 May 2002 19:36:12 -0000 1.4 --- SaveAsAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,22 **** /** ! * Regular "Save as" Action that provides : ! * <ul> ! * <li> - a "File" menu if it doesn't exist ! * <li> - a "Save as" menu item ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 27,31 **** public class SaveAsAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class SaveAsAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); |
From: <let...@us...> - 2002-06-10 07:25:32
|
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/help In directory usw-pr-cvs1:/tmp/cvs-serv8121/adwt/src/main/net/sourceforge/ejtools/awt/action/help Modified Files: AboutAction.java HelpOnLineAction.java TOTDAction.java Log Message: Pretty Print Index: AboutAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/help/AboutAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AboutAction.java 16 May 2002 19:36:12 -0000 1.4 --- AboutAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,23 **** /** ! * Regular "About" Action that provides : ! * <ul> ! * <li> - a "Help" menu if it doesn't exist ! * <li> - a "About" menu item ! * <li> - a "About" toolbar button ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 28,32 **** public class AboutAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class AboutAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: HelpOnLineAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/help/HelpOnLineAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** HelpOnLineAction.java 16 May 2002 19:36:12 -0000 1.4 --- HelpOnLineAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,22 **** /** ! * Regular "Help on line" Action that provides : ! * <ul> ! * <li> - a "Help" menu if it doesn't exist ! * <li> - a "Help on line" menu item ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 27,31 **** public class HelpOnLineAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class HelpOnLineAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); Index: TOTDAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/help/TOTDAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TOTDAction.java 16 May 2002 19:36:12 -0000 1.4 --- TOTDAction.java 10 Jun 2002 07:25:29 -0000 1.5 *************** *** 13,22 **** /** ! * Regular "Tip of the Day" Action that provides : ! * <ul> ! * <li> - a "Help" menu if it doesn't exist ! * <li> - a "Tip of the Day" menu item ! * </ul> ! * * * @author letiemble --- 13,17 ---- /** ! * Description of the Class * * @author letiemble *************** *** 27,31 **** public class TOTDAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); --- 22,26 ---- public class TOTDAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); |
From: <let...@us...> - 2002-06-10 07:25:31
|
Update of /cvsroot/ejtools/libraries/adwt In directory usw-pr-cvs1:/tmp/cvs-serv8121/adwt Modified Files: module.properties Log Message: Pretty Print Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/module.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** module.properties 16 May 2002 19:36:11 -0000 1.3 --- module.properties 10 Jun 2002 07:25:28 -0000 1.4 *************** *** 12,16 **** module.display.name=AdWT module.archive.name=ejtools.adwt ! module.package=net.sourceforge.ejtools module.javadoc.title=EJTools - ADvanced Window Tools --- 12,16 ---- module.display.name=AdWT module.archive.name=ejtools.adwt ! module.package=net.sourceforge.ejtools.* module.javadoc.title=EJTools - ADvanced Window Tools |
From: <let...@us...> - 2002-06-04 17:29:21
|
Update of /cvsroot/ejtools/libraries/taglib/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv10703/taglib/src/resources Modified Files: ejtools.tld Log Message: Add tag Index: ejtools.tld =================================================================== RCS file: /cvsroot/ejtools/libraries/taglib/src/resources/ejtools.tld,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ejtools.tld 24 May 2002 21:07:29 -0000 1.2 --- ejtools.tld 4 Jun 2002 17:29:13 -0000 1.3 *************** *** 6,10 **** <jspversion>1.1</jspversion> <shortname>EJTools Tag Library</shortname> ! <uri>http://jakarta.apache.org/taglibs/struts-example-1.0</uri> <info>This tag library contains functionality specific to the EJTools project.</info> <tag> --- 6,10 ---- <jspversion>1.1</jspversion> <shortname>EJTools Tag Library</shortname> ! <uri>http://ejtools.sourceforge.net/taglib/1.0/</uri> <info>This tag library contains functionality specific to the EJTools project.</info> <tag> *************** *** 98,101 **** --- 98,127 ---- <attribute> <name>renderer</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>property</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>scope</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + </tag> + <tag> + <name>hidden</name> + <tagclass>net.sourceforge.ejtools.servlet.http.jsp.tagext.HiddenObjectTag</tagclass> + <bodycontent>empty</bodycontent> + <info/> + <attribute> + <name>id</name> <required>true</required> <rtexprvalue>true</rtexprvalue> |
From: <let...@us...> - 2002-06-04 17:27:01
|
Update of /cvsroot/ejtools/libraries/taglib/src/main/net/sourceforge/ejtools/servlet/http/jsp/tagext In directory usw-pr-cvs1:/tmp/cvs-serv9416/taglib/src/main/net/sourceforge/ejtools/servlet/http/jsp/tagext Added Files: HiddenObjectTag.java Log Message: Add tag --- NEW FILE: HiddenObjectTag.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.servlet.http.jsp.tagext; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.TagSupport; import org.apache.struts.util.RequestUtils; import org.apache.struts.util.ResponseUtils; /** * Description of the Class * * @author letiemble * @created 25 avril 2002 * @version $Revision: 1.5 $ * @todo Javadoc to complete */ public class HiddenObjectTag extends TagSupport { /** Description of the Field */ protected String id = null; /** Description of the Field */ protected String name = null; /** Description of the Field */ protected String property = null; /** Description of the Field */ protected String scope = null; /** * Description of the Method * * @return Description of the Returned Value * @exception JspException Description of Exception */ public int doStartTag() throws JspException { Object object = null; // Look up the requested bean (if necessary) if (property != null) { object = RequestUtils.lookup(pageContext, name, property, scope); } else { object = RequestUtils.lookup(pageContext, name, scope); } if (object == null) { throw new JspException("Unable to find bean " + name + " or its property " + property); } String output = "<input type=\"hidden\" name=\"" + id + "\" value=\"" + ResponseUtils.filter(object.toString()) + "\">"; ResponseUtils.write(pageContext, output); // Continue processing this page return (SKIP_BODY); } /** * Gets the id attribute of the HiddenObjectTag object * * @return The id value */ public String getId() { return (this.id); } /** * Getter for the name attribute * * @return The value of name attribute */ public String getName() { return (this.name); } /** * Gets the property attribute of the HiddenObjectTag object * * @return The property value */ public String getProperty() { return (this.property); } /** * Getter for the scope attribute * * @return The value of scope attribute */ public String getScope() { return (this.scope); } /** Release all allocated resources. */ public void release() { super.release(); id = null; name = null; property = null; scope = null; } /** * Sets the id attribute of the HiddenObjectTag object * * @param id The new id value */ public void setId(String id) { this.id = id; } /** * Setter for the name attribute * * @param name The new value for name attribute */ public void setName(String name) { this.name = name; } /** * Sets the property attribute of the HiddenObjectTag object * * @param property The new property value */ public void setProperty(String property) { this.property = property; } /** * Setter for the scope attribute * * @param scope The new value for scope attribute */ public void setScope(String scope) { this.scope = scope; } } |
From: <let...@us...> - 2002-06-04 06:35:46
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util In directory usw-pr-cvs1:/tmp/cvs-serv26076/common/src/main/net/sourceforge/ejtools/util Modified Files: JNDI.java Log Message: Pretty print Index: JNDI.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util/JNDI.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** JNDI.java 30 May 2002 21:32:29 -0000 1.6 --- JNDI.java 4 Jun 2002 06:35:44 -0000 1.7 *************** *** 24,34 **** public abstract class JNDI { - /** J2EE JNDI Separator */ - public static String SEPARATOR = "/"; /** Log4j Logger */ ! private static Category logger = Category.getInstance(JNDI.class); ! /** Look-up for a file named jndi.properties in the classpath. If found, it is load into the VM environment. */ public static void setJNDIProperties() { --- 24,32 ---- public abstract class JNDI { /** Log4j Logger */ ! static Category logger = Category.getInstance(JNDI.class); ! /** Look-up for a file named jndi.properties in the classpath. If found, it is load into the VM environment. */ public static void setJNDIProperties() { |
From: <let...@us...> - 2002-06-04 06:35:46
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/beans In directory usw-pr-cvs1:/tmp/cvs-serv26076/common/src/main/net/sourceforge/ejtools/beans Added Files: Sort.java Log Message: Pretty print |
From: <let...@us...> - 2002-06-04 06:35:35
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx In directory usw-pr-cvs1:/tmp/cvs-serv26005/common/src/main/net/sourceforge/ejtools/jmx Modified Files: MBeanAccessor.java Log Message: Pretty print Index: MBeanAccessor.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx/MBeanAccessor.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MBeanAccessor.java 30 May 2002 21:33:00 -0000 1.6 --- MBeanAccessor.java 4 Jun 2002 06:35:31 -0000 1.7 *************** *** 7,11 **** package net.sourceforge.ejtools.jmx; ! import javax.management.Attribute; import javax.management.MBeanInfo; import javax.management.ObjectInstance; --- 7,11 ---- package net.sourceforge.ejtools.jmx; ! import javax.management.*; import javax.management.MBeanInfo; import javax.management.ObjectInstance; *************** *** 37,40 **** --- 37,50 ---- */ public void setAttribute(ObjectName name, Attribute attribute); + + + /** + * Sets the attributes attribute of the MBeanAccessor object + * + * @param name The new attributes value + * @param attributes The new attributes value + * @return Description of the Return Value + */ + public AttributeList setAttributes(ObjectName name, AttributeList attributes); |
From: <let...@us...> - 2002-05-30 22:52:54
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp In directory usw-pr-cvs1:/tmp/cvs-serv27036/jndi.browser/src/webapp Modified Files: web.xml Log Message: Basic Web App Index: web.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/web.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** web.xml 24 May 2002 21:16:36 -0000 1.1 --- web.xml 30 May 2002 22:52:51 -0000 1.2 *************** *** 17,25 **** <init-param> <param-name>debug</param-name> ! <param-value>2</param-value> </init-param> <init-param> <param-name>detail</param-name> ! <param-value>2</param-value> </init-param> <init-param> --- 17,25 ---- <init-param> <param-name>debug</param-name> ! <param-value>0</param-value> </init-param> <init-param> <param-name>detail</param-name> ! <param-value>0</param-value> </init-param> <init-param> |
From: <let...@us...> - 2002-05-30 22:49:31
|
Update of /cvsroot/ejtools/applications/jndi.browser In directory usw-pr-cvs1:/tmp/cvs-serv25185/jndi.browser Modified Files: lib.ext.properties module.properties Log Message: Basic App Index: lib.ext.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/lib.ext.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lib.ext.properties 15 May 2002 20:48:15 -0000 1.3 --- lib.ext.properties 30 May 2002 22:49:28 -0000 1.4 *************** *** 4,7 **** # $Revision$ # - ${jboss.client.root}/*.jar - ${jboss.jmx.root}/*.jar --- 4,5 ---- Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/module.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** module.properties 15 May 2002 20:48:15 -0000 1.3 --- module.properties 30 May 2002 22:49:28 -0000 1.4 *************** *** 7,11 **** version.minor=0 version.revision=0 ! version.tag=alpha module.name=jndi.browser --- 7,11 ---- version.minor=0 version.revision=0 ! version.tag=preview module.name=jndi.browser |
From: <let...@us...> - 2002-05-30 22:43:25
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content In directory usw-pr-cvs1:/tmp/cvs-serv21497/jndi.browser/src/webapp/content Modified Files: detail.jsp index.jsp index.xml style.xsl Added Files: detail.xml Log Message: Basic Web App --- NEW FILE: detail.xml --- <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="style.xsl"?> <Page title="MBean View" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> <!-- ======================================== --> <!-- Header --> <!-- ======================================== --> <TitleBlock title="Detail View"> <Path> <Element> <html:link forward="home">Agent View</html:link> </Element> <Element>Detail View</Element> </Path> </TitleBlock> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <Frame> <!-- ======================================== --> <!-- Context Detail --> <!-- ======================================== --> <HeaderBlock> <table border="0" width="100%" bgcolor="#EEEEEE" cellspacing="0" cellpadding="3"> <tr> <td align="right" nowrap="true"> <b>Name :</b> </td> <td align="left" width="90%"> <bean:write name="detail.info.descriptor" property="displayName"/> </td> </tr> <tr> <td align="right" nowrap="true"> <b>Description :</b> </td> <td align="left" width="90%"> <bean:write name="detail.info.descriptor" property="shortDescription"/> </td> </tr> </table> </HeaderBlock> </Frame> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <!-- ======================================== --> <!-- Test for Properties --> <!-- ======================================== --> <bean:size name="detail.info.properties" id="propertiesSize"/> <logic:greaterThan name="propertiesSize" value="0"> <PropertiesBlock> <!-- ======================================== --> <!-- Properties List --> <!-- ======================================== --> <logic:iterate name="detail.info.properties" id="property" type="java.beans.PropertyDescriptor"> <Property> <PropertyName> <bean:write name="property" property="name"/> </PropertyName> <PropertyDisplayName> <bean:write name="property" property="displayName"/> </PropertyDisplayName> <PropertyShortDescription> <bean:write name="property" property="shortDescription"/> </PropertyShortDescription> <PropertyValue> <app:propertyEditor name="detail" property="property" filter="false"/> </PropertyValue> </Property> </logic:iterate> </PropertiesBlock> </logic:greaterThan> </Page> Index: detail.jsp =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/detail.jsp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** detail.jsp 25 May 2002 20:53:14 -0000 1.2 --- detail.jsp 30 May 2002 22:43:22 -0000 1.3 *************** *** 1,23 **** ! <?xml version="1.0"?> ! <!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Laurent Etiemble (Orange) --> ! <jsp:root version="1.2" ! xmlns:jsp="http://java.sun.com/JSP/Page" ! xmlns:app="/WEB-INF/application.tld" ! xmlns:ejtools="/WEB-INF/ejtools.tld" ! xmlns:bean="/WEB-INF/struts-bean.tld" ! xmlns:html="/WEB-INF/struts-html.tld" ! xmlns:logic="/WEB-INF/struts-logic.tld"> <jsp:directive.page language="java" contentType="text/html"/> <app:connect/> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> - <title>Detail View</title> </head> <body> - <!-- ======================================== --> - <!-- Header --> - <!-- ======================================== --> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> --- 1,13 ---- ! <?xml version="1.0" encoding="UTF-8"?> ! <jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> <jsp:directive.page language="java" contentType="text/html"/> <app:connect/> <html> <head> + <title>MBean View</title> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> </head> <body> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> *************** *** 37,44 **** <td> <html:link forward="home"> ! <jsp:text>JNDI View</jsp:text> ! </html:link> ! <jsp:text> >> Detail View</jsp:text> ! </td> </tr> </table> --- 27,32 ---- <td> <html:link forward="home"> ! <jsp:text>Agent View</jsp:text> ! </html:link> >> Detail View</td> </tr> </table> *************** *** 46,74 **** </tr> </table> - <!-- ======================================== --> - <!-- Spacer --> - <!-- ======================================== --> <img border="0" src="images/white.png" width="5" height="15"/> - <!-- ======================================== --> - <!-- Context Detail --> - <!-- ======================================== --> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> <tr bgcolor="#EEEEEE"> <td align="left" valign="top"> ! <table border="0" width="100%" bgcolor="#EEEEEE" cellspacing="0" cellpadding="3"> ! <tr> ! <td align="right" nowrap="true"> ! <b>Name :</b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail.info.descriptor" property="displayName"/> ! </td> ! </tr> <tr> ! <td align="right" nowrap="true"> ! <b>Description :</b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail.info.descriptor" property="shortDescription"/> </td> </tr> --- 34,62 ---- </tr> </table> <img border="0" src="images/white.png" width="5" height="15"/> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> <tr bgcolor="#EEEEEE"> <td align="left" valign="top"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td> ! <table border="0" width="100%" bgcolor="#EEEEEE" cellspacing="0" cellpadding="3"> ! <tr> ! <td align="right" nowrap="true"> ! <b>Name :</b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail.info.descriptor" property="displayName"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b>Description :</b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail.info.descriptor" property="shortDescription"/> ! </td> ! </tr> ! </table> </td> </tr> *************** *** 77,96 **** </tr> </table> ! <!-- ======================================== --> ! <!-- Test for Properties --> ! <!-- ======================================== --> <bean:size name="detail.info.properties" id="propertiesSize"/> <logic:greaterThan name="propertiesSize" value="0"> - <!-- ======================================== --> - <!-- Spacer --> - <!-- ======================================== --> - <img border="0" src="images/white.png" width="5" height="15"/> - <!-- ======================================== --> - <!-- Properties --> - <!-- ======================================== --> <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> - <!-- ======================================== --> - <!-- Properties Headers --> - <!-- ======================================== --> <tr bgcolor="#000090"> <td align="center" valign="top" width="30%"> --- 65,72 ---- </tr> </table> ! <img border="0" src="images/white.png" width="5" height="15"/> <bean:size name="detail.info.properties" id="propertiesSize"/> <logic:greaterThan name="propertiesSize" value="0"> <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> <tr bgcolor="#000090"> <td align="center" valign="top" width="30%"> *************** *** 99,103 **** </font> </td> ! <td align="center" valign="top" width="30%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> <b>Value</b> --- 75,79 ---- </font> </td> ! <td align="center" valign="top" width="70%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> <b>Value</b> *************** *** 105,119 **** </td> </tr> - <!-- ======================================== --> - <!-- Properties List --> - <!-- ======================================== --> <logic:iterate name="detail.info.properties" id="property" type="java.beans.PropertyDescriptor"> <tr bgcolor="#EEEEEE"> ! <td valign="top" align="left"> <jsp:text><a href="javascript:alert('</jsp:text> <bean:write name="property" property="shortDescription"/> <jsp:text>');"></jsp:text> <bean:write name="property" property="displayName"/> ! <jsp:text></a></jsp:text> </td> <td class="attributeValue" valign="top" align="left"> --- 81,92 ---- </td> </tr> <logic:iterate name="detail.info.properties" id="property" type="java.beans.PropertyDescriptor"> <tr bgcolor="#EEEEEE"> ! <td valign="top" align="right"> <jsp:text><a href="javascript:alert('</jsp:text> <bean:write name="property" property="shortDescription"/> <jsp:text>');"></jsp:text> <bean:write name="property" property="displayName"/> ! <jsp:text></a> :</jsp:text> </td> <td class="attributeValue" valign="top" align="left"> Index: index.jsp =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/index.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.jsp 24 May 2002 21:16:36 -0000 1.1 --- index.jsp 30 May 2002 22:43:22 -0000 1.2 *************** *** 1,23 **** ! <?xml version="1.0"?> ! <!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Laurent Etiemble (Orange) --> ! <jsp:root version="1.2" ! xmlns:jsp="http://java.sun.com/JSP/Page" ! xmlns:app="/WEB-INF/application.tld" ! xmlns:ejtools="/WEB-INF/ejtools.tld" ! xmlns:bean="/WEB-INF/struts-bean.tld" ! xmlns:html="/WEB-INF/struts-html.tld" ! xmlns:logic="/WEB-INF/struts-logic.tld"> <jsp:directive.page language="java" contentType="text/html"/> <app:connect/> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> - <title>JNDI View</title> </head> <body> - <!-- ======================================== --> - <!-- Header --> - <!-- ======================================== --> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> --- 1,13 ---- ! <?xml version="1.0" encoding="UTF-8"?> ! <jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> <jsp:directive.page language="java" contentType="text/html"/> <app:connect/> <html> <head> + <title>JNDI View</title> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> </head> <body> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> *************** *** 41,137 **** </tr> </table> - <!-- ======================================== --> - <!-- Spacer --> - <!-- ======================================== --> <img border="0" src="images/white.png" width="5" height="15"/> - <!-- ======================================== --> - <!-- Agent Detail --> - <!-- ======================================== --> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> <tr bgcolor="#EEEEEE"> <td align="left" valign="top"> - <!-- ======================================== --> - <!-- Agent Informations --> - <!-- ======================================== --> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td align="left">Namespace <strong>java:</strong>.</td> </tr> </table> </td> </tr> - <!-- ======================================== --> - <!-- JNDI Tree View --> - <!-- ======================================== --> <tr bgcolor="#FFFFFF"> <td align="left" valign="top"> ! <table cellspacing="0" cellpadding="0" border="0"> <tr> ! <td class=".tree-content"> ! <img src="images/icons/J2EEServer16.gif"/>java:</td> </tr> </table> - <ejtools:generateTree name="tree" property="server" id="jnditree"/> - <logic:iterate name="jnditree" id="treenode" type="net.sourceforge.ejtools.servlet.http.jsp.tagext.IndentedObject"> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td class=".tree-content"><ejtools:treeSpacer name="treenode" property="depth"/><ejtools:treeLeaf name="treenode" property="last"/><ejtools:treeRenderer name="treenode" property="object" renderer="net.sourceforge.ejtools.jndibrowser.web.taglib.TreeRendererImpl"/></td> - <td class=".tree-content"> - <bean:define id="context" name="treenode" property="object" type="net.sourceforge.ejtools.jndibrowser.model.JNDIContext"/> - <html:link page="/detail.do?scope=java" paramId="reference" paramName="context" paramProperty="path"> - <bean:write name="context" property="name"/> - </html:link> - </td> - </tr> - </table> - </logic:iterate> </td> </tr> </table> - <!-- ======================================== --> - <!-- Spacer --> - <!-- ======================================== --> <img border="0" src="images/white.png" width="5" height="15"/> - <!-- ======================================== --> - <!-- Agent Detail --> - <!-- ======================================== --> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> <tr bgcolor="#EEEEEE"> <td align="left" valign="top"> - <!-- ======================================== --> - <!-- Agent Informations --> - <!-- ======================================== --> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td align="left">Namespace <strong>global</strong>.</td> </tr> </table> </td> </tr> - <!-- ======================================== --> - <!-- JNDI Tree View --> - <!-- ======================================== --> <tr bgcolor="#FFFFFF"> <td align="left" valign="top"> ! <table cellspacing="0" cellpadding="0" border="0"> <tr> ! <td class=".tree-content"> ! <img src="images/icons/J2EEServer16.gif"/>global</td> </tr> </table> - <ejtools:generateTree name="global" property="server" id="jnditree"/> - <logic:iterate name="jnditree" id="treenode" type="net.sourceforge.ejtools.servlet.http.jsp.tagext.IndentedObject"> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td class=".tree-content"><ejtools:treeSpacer name="treenode" property="depth"/><ejtools:treeLeaf name="treenode" property="last"/><ejtools:treeRenderer name="treenode" property="object" renderer="net.sourceforge.ejtools.jndibrowser.web.taglib.TreeRendererImpl"/></td> - <td class=".tree-content"> - <bean:define id="context" name="treenode" property="object" type="net.sourceforge.ejtools.jndibrowser.model.JNDIContext"/> - <html:link page="/detail.do?scope=global" paramId="reference" paramName="context" paramProperty="path"> - <bean:write name="context" property="name"/> - </html:link> - </td> - </tr> - </table> - </logic:iterate> </td> </tr> --- 31,150 ---- </tr> </table> <img border="0" src="images/white.png" width="5" height="15"/> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> <tr bgcolor="#EEEEEE"> <td align="left" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td> ! <table align="center"> ! <tr> ! <form action="view.do"> ! <td align="center" valign="center"> ! <jsp:text>Search Type : </jsp:text> ! </td> ! <td align="center" valign="center"> ! <select name="search"> ! <option value="S">Shallow</option> ! <option value="D">Deep</option> ! </select> ! </td> ! <td align="center" valign="center"> ! <html:submit> ! <jsp:text>Submit</jsp:text> ! </html:submit> ! </td> ! </form> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! <img border="0" src="images/white.png" width="5" height="15"/> ! <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> ! <tr bgcolor="#EEEEEE"> ! <td align="left" valign="top"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td>Namespace <strong>java:</strong> ! </td> </tr> </table> </td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td> ! <table cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class=".tree-content"> ! <img src="images/toolbarButtonGraphics/development/J2EEServer16.gif"/>java:</td> ! </tr> ! </table> ! <ejtools:generateTree name="tree" property="server" id="jnditree"/> ! <logic:iterate name="jnditree" id="treenode" type="net.sourceforge.ejtools.servlet.http.jsp.tagext.IndentedObject"> ! <table cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class=".tree-content"><ejtools:treeSpacer name="treenode" property="depth"/><ejtools:treeLeaf name="treenode" property="last"/><ejtools:treeRenderer name="treenode" property="object" renderer="net.sourceforge.ejtools.jndibrowser.web.taglib.TreeRendererImpl"/></td> ! <td class=".tree-content"> ! <bean:define id="context" name="treenode" property="object" type="net.sourceforge.ejtools.jndibrowser.model.JNDIContext"/> ! <html:link page="/detail.do?scope=java" paramId="reference" paramName="context" paramProperty="path"> ! <bean:write name="context" property="name"/> ! </html:link> ! </td> ! </tr> ! </table> ! </logic:iterate> ! </td> </tr> </table> </td> </tr> </table> <img border="0" src="images/white.png" width="5" height="15"/> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> <tr bgcolor="#EEEEEE"> <td align="left" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td>Namespace <strong>global</strong> ! </td> </tr> </table> </td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td> ! <table cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class=".tree-content"> ! <img src="images/toolbarButtonGraphics/development/J2EEServer16.gif"/>java:</td> ! </tr> ! </table> ! <ejtools:generateTree name="global" property="server" id="jnditree"/> ! <logic:iterate name="jnditree" id="treenode" type="net.sourceforge.ejtools.servlet.http.jsp.tagext.IndentedObject"> ! <table cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class=".tree-content"><ejtools:treeSpacer name="treenode" property="depth"/><ejtools:treeLeaf name="treenode" property="last"/><ejtools:treeRenderer name="treenode" property="object" renderer="net.sourceforge.ejtools.jndibrowser.web.taglib.TreeRendererImpl"/></td> ! <td class=".tree-content"> ! <bean:define id="context" name="treenode" property="object" type="net.sourceforge.ejtools.jndibrowser.model.JNDIContext"/> ! <html:link page="/detail.do?scope=global" paramId="reference" paramName="context" paramProperty="path"> ! <bean:write name="context" property="name"/> ! </html:link> ! </td> ! </tr> ! </table> ! </logic:iterate> ! </td> </tr> </table> </td> </tr> Index: index.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/index.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.xml 24 May 2002 21:16:36 -0000 1.1 --- index.xml 30 May 2002 22:43:22 -0000 1.2 *************** *** 1,9 **** ! <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="style.xsl"?> ! <Page title="MBean View"> ! <TitleBlock title="MBean View"> <Path> ! <Element link="index.xml">Agent View</Element> ! <Element>MBean View</Element> </Path> </TitleBlock> --- 1,16 ---- ! <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="style.xsl"?> ! <Page xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <Title> ! <bean:message key="web.index.title"/> ! </Title> ! <TitleBlock> ! <Title> ! <bean:message key="web.index.title"/> ! </Title> <Path> ! <Element> ! <bean:message key="web.index.title"/> ! </Element> </Path> </TitleBlock> *************** *** 13,65 **** <table align="center"> <tr> ! <form action="/search.do"> ! <td align="right"> ! <input type="submit" value="Search" class="button"/> ! </td> ! </form> ! <form action="/admin.do"> ! <td align="left"> ! <input type="submit" value="Admin" class="button"/> ! </td> ! </form> </tr> </table> </HeaderBlock> <HeaderBlock> ! This agent is registered on the domain <strong>defaultDomain ! </strong>.<br/>This page contains <strong>count ! </strong> MBean(s). </HeaderBlock> <ContentBlock> </ContentBlock> </Frame> <Spacer/> ! <ConstructorsBlock> ! <Constructor name="a" display-name="A" description="Aaaaaa" type="java.lang.String" access="RW">Blah Blah ! </Constructor> ! <Constructor name="b" display-name="A" description="Aaaaaa" type="java.lang.String" access="RW">Blah Blah ! </Constructor> ! <Constructor name="c" display-name="A" description="Aaaaaa" type="java.lang.String" access="RW">Blah Blah ! </Constructor> ! </ConstructorsBlock> ! <Spacer/> ! <NotificationsBlock> ! <Notification name="a" display-name="A" description="Aaaaaa" type="java.lang.String" access="RW">Blah Blah ! </Notification> ! <Notification name="b" display-name="A" description="Aaaaaa" type="java.lang.String" access="RW">Blah Blah ! </Notification> ! <Notification name="c" display-name="A" description="Aaaaaa" type="java.lang.String" access="RW">Blah Blah ! </Notification> ! </NotificationsBlock> ! <Spacer/> ! <AttributesBlock> ! <Attribute name="a" display-name="A" description="Aaaaaa" type="java.lang.String" access="RW">Blah Blah ! </Attribute> ! <Attribute name="b" display-name="A" description="Aaaaaa" type="java.lang.String" access="RW">Blah Blah ! </Attribute> ! <Attribute name="c" display-name="A" description="Aaaaaa" type="java.lang.String" access="RW">Blah Blah ! </Attribute> ! </AttributesBlock> ! <Spacer/> ! <OperationsBlock/> </Page> --- 20,118 ---- <table align="center"> <tr> ! <html:form action="/view"> ! <td align="center" valign="center"> ! <jsp:text> ! <bean:message key="web.label.searchType"/> ! </jsp:text> ! </td> ! <td align="center" valign="center"> ! <bean:define id="searchTypeConstants" type="net.sourceforge.ejtools.jndibrowser.web.SearchTypeConstants"></bean:define> ! <html:select property="searchType"> ! <html:options collection="searchTypeConstants" labelProperty="labels" property="values"/> ! </html:select> ! </td> ! <td align="center" valign="center"> ! <html:submit> ! <bean:message key="web.button.submit"/> ! </html:submit> ! </td> ! </html:form> </tr> </table> </HeaderBlock> + </Frame> + <Spacer/> + <Frame> <HeaderBlock> ! <bean:message key="web.text.namespace"/> ! <strong> ! <bean:message key="web.text.namespace.java:"/> ! </strong> </HeaderBlock> <ContentBlock> + <table cellspacing="0" cellpadding="0" border="0"> + <tr> + <td class=".tree-content"> + <img src="images/toolbarButtonGraphics/development/J2EEServer16.gif"/> + <bean:message key="web.text.namespace.java:"/> + </td> + </tr> + </table> + <ejtools:generateTree name="tree" property="server" id="jnditree"/> + <logic:iterate name="jnditree" id="treenode" type="net.sourceforge.ejtools.servlet.http.jsp.tagext.IndentedObject"> + <table cellspacing="0" cellpadding="0" border="0"> + <tr> + <td class=".tree-content"> + <ejtools:treeSpacer name="treenode" property="depth"/> + <ejtools:treeLeaf name="treenode" property="last"/> + <ejtools:treeRenderer name="treenode" property="object" renderer="net.sourceforge.ejtools.jndibrowser.web.taglib.TreeRendererImpl"/> + </td> + <td class=".tree-content"> + <bean:define id="context" name="treenode" property="object" type="net.sourceforge.ejtools.jndibrowser.model.JNDIContext"/> + <html:link page="/detail.do?scope=java" paramId="reference" paramName="context" paramProperty="path"> + <bean:write name="context" property="name"/> + </html:link> + </td> + </tr> + </table> + </logic:iterate> </ContentBlock> </Frame> <Spacer/> ! <Frame> ! <HeaderBlock> ! <bean:message key="web.text.namespace"/> ! <strong> ! <bean:message key="web.text.namespace.global"/> ! </strong> ! </HeaderBlock> ! <ContentBlock> ! <table cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class=".tree-content"> ! <img src="images/toolbarButtonGraphics/development/J2EEServer16.gif"/> ! <bean:message key="web.text.namespace.global"/> ! </td> ! </tr> ! </table> ! <ejtools:generateTree name="global" property="server" id="jnditree"/> ! <logic:iterate name="jnditree" id="treenode" type="net.sourceforge.ejtools.servlet.http.jsp.tagext.IndentedObject"> ! <table cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class=".tree-content"> ! <ejtools:treeSpacer name="treenode" property="depth"/> ! <ejtools:treeLeaf name="treenode" property="last"/> ! <ejtools:treeRenderer name="treenode" property="object" renderer="net.sourceforge.ejtools.jndibrowser.web.taglib.TreeRendererImpl"/> ! </td> ! <td class=".tree-content"> ! <bean:define id="context" name="treenode" property="object" type="net.sourceforge.ejtools.jndibrowser.model.JNDIContext"/> ! <html:link page="/detail.do?scope=global" paramId="reference" paramName="context" paramProperty="path"> ! <bean:write name="context" property="name"/> ! </html:link> ! </td> ! </tr> ! </table> ! </logic:iterate> ! </ContentBlock> ! </Frame> </Page> Index: style.xsl =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/style.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** style.xsl 24 May 2002 21:16:36 -0000 1.1 --- style.xsl 30 May 2002 22:43:22 -0000 1.2 *************** *** 1,6 **** <?xml version="1.0"?> ! <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> ! <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/> ! <xsl:template match="/Page"> <html> <head> --- 1,15 ---- <?xml version="1.0"?> ! <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> ! <!-- Root match --> ! <xsl:template match="/"> ! <jsp:root version="1.2"> ! <jsp:directive.page language="java" contentType="text/html"/> ! <app:connect/> ! <xsl:apply-templates/> ! </jsp:root> ! </xsl:template> ! <!-- Content match --> ! <xsl:template match="Page"> <html> <head> *************** *** 9,12 **** --- 18,22 ---- </title> <link rel="stylesheet" type="text/css" href="style.css"/> + <html:base/> </head> <body> *************** *** 37,56 **** <tr> <td> ! <xsl:for-each select="Path/Element"> ! <xsl:choose> ! <xsl:when test="./@link != ''"> ! <xsl:element name="a"> ! <xsl:attribute name="href"><xsl:value-of select="./@link"/></xsl:attribute> ! <xsl:value-of select="."/> ! </xsl:element> ! </xsl:when> ! <xsl:otherwise> ! <xsl:value-of select="."/> ! </xsl:otherwise> ! </xsl:choose> ! <xsl:if test="position() != last()"> ! <xsl:text> >> </xsl:text> ! </xsl:if> ! </xsl:for-each> </td> </tr> --- 47,51 ---- <tr> <td> ! <xsl:apply-templates select="Path"/> </td> </tr> *************** *** 60,63 **** --- 55,69 ---- </table> </xsl:template> + <xsl:template match="Path"> + <xsl:for-each select="Element"> + <xsl:apply-templates/> + <xsl:if test="position() != last()"> + <xsl:text> >> </xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:template> + <xsl:template match="Element"> + <xsl:copy-of select="."/> + </xsl:template> <xsl:template match="Frame"> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> *************** *** 88,92 **** <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td align="left"> <xsl:apply-templates/> </td> --- 94,98 ---- <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td> <xsl:apply-templates/> </td> *************** *** 94,116 **** </table> </xsl:template> ! <xsl:template match="AttributesBlock"> <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> <tr bgcolor="#000090"> <td align="center" valign="top" width="30%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b>Attribute</b> ! </font> ! </td> ! <td align="center" valign="top" width="30%"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b>Type</b> ! </font> ! </td> ! <td align="center" valign="top" width="10%"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b>Access</b> </font> </td> ! <td align="center" valign="top" width="30%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> <b>Value</b> --- 100,112 ---- </table> </xsl:template> ! <xsl:template match="PropertiesBlock"> <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> <tr bgcolor="#000090"> <td align="center" valign="top" width="30%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b>Property</b> </font> </td> ! <td align="center" valign="top" width="70%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> <b>Value</b> *************** *** 118,319 **** </td> </tr> ! <xsl:for-each select="Attribute"> ! <tr bgcolor="#EEEEEE"> ! <td valign="top" align="right"> ! <xsl:element name="a"> ! <xsl:attribute name="href"><xsl:text>javascript:alert('</xsl:text><xsl:value-of select="./@description"/><xsl:text>')</xsl:text></xsl:attribute> ! <xsl:value-of select="./@display-name"/> ! </xsl:element> ! <xsl:text> :</xsl:text> ! </td> ! <td valign="top" align="right"> ! <xsl:value-of select="./@type"/> ! </td> ! <td valign="top" align="center"> ! <xsl:value-of select="./@access"/> ! </td> ! <td class="attributeValue" valign="top" align="left">false</td> ! </tr> ! </xsl:for-each> </table> </xsl:template> ! <xsl:template match="ConstructorsBlock"> ! <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> ! <tr bgcolor="#000090"> ! <td align="center" valign="top" width="30%"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b>Constructor</b> ! </font> ! </td> ! <td align="center" valign="top" width="70%"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b>Parameters</b> ! </font> ! </td> ! </tr> ! <xsl:for-each select="Constructor"> ! <tr bgcolor="#EEEEEE"> ! <td valign="top" align="right"> ! <xsl:element name="a"> ! <xsl:attribute name="href"><xsl:text>javascript:alert('</xsl:text><xsl:value-of select="./@description"/><xsl:text>')</xsl:text></xsl:attribute> ! <xsl:value-of select="./@display-name"/> ! </xsl:element> ! <xsl:text> :</xsl:text> ! </td> ! <td class="attributeValue" valign="top" align="left">false</td> ! </tr> ! </xsl:for-each> ! </table> </xsl:template> ! <xsl:template match="NotificationsBlock"> ! <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> ! <tr bgcolor="#000090"> ! <td align="center" valign="top" width="30%"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b>Notification</b> ! </font> ! </td> ! <td align="center" valign="top" width="70%"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b>Value</b> ! </font> ! </td> ! </tr> ! <xsl:for-each select="Notification"> ! <tr bgcolor="#EEEEEE"> ! <td valign="top" align="right"> ! <xsl:element name="a"> ! <xsl:attribute name="href"><xsl:text>javascript:alert('</xsl:text><xsl:value-of select="./@description"/><xsl:text>')</xsl:text></xsl:attribute> ! <xsl:value-of select="./@display-name"/> ! </xsl:element> ! <xsl:text> :</xsl:text> ! </td> ! <td class="attributeValue" valign="top" align="left">false</td> ! </tr> ! </xsl:for-each> ! </table> </xsl:template> ! <xsl:template match="OperationsBlock"> ! <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> ! <tr bgcolor="#000090"> ! <td align="center" valign="top" colspan="2"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b>Operation</b> ! </font> ! </td> ! <td align="center" valign="top"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b>Arguments</b> ! </font> ! </td> ! </tr> ! <xsl:for-each select="Operation"> ! <tr bgcolor="#EEEEEE"> ! <td valign="top" align="right"> ! <xsl:element name="a"> ! <xsl:attribute name="href"><xsl:text>javascript:alert('</xsl:text><xsl:value-of select="./@description"/><xsl:text>')</xsl:text></xsl:attribute> ! <xsl:value-of select="./@display-name"/> ! </xsl:element> ! <xsl:text> :</xsl:text> ! </td> ! <td valign="top" class="attributeValue" align="center"> ! <font size="-1"> ! <input type="submit" value="Invoke" class="button"/> ! </font> ! </td> ! <td valign="top" class="attributeValue" align="left"/> ! </tr> ! </xsl:for-each> ! </table> </xsl:template> ! <xsl:template match="*|@*"> ! <xsl:copy-of select="."/> </xsl:template> ! <xsl:template match="Tree"> ! <xsl:variable name="sessionid" select="./@id"/> ! <xsl:for-each select="tree-node"> ! <xsl:call-template name="node"> ! <xsl:with-param name="sessionid" select="$sessionid"/> ! </xsl:call-template> ! </xsl:for-each> </xsl:template> ! <xsl:template name="node"> ! <xsl:param name="sessionid"/> ! <xsl:param name="parent_follow"/> ! <TABLE border="0" cellspacing="0" cellpadding="0"> ! <TR> ! <TD valign="middle"> ! <xsl:call-template name="spacer"> ! <xsl:with-param name="indent" select="$parent_follow"/> ! </xsl:call-template> ! <xsl:choose> ! <xsl:when test="count(ancestor::tree-node) = 0"> ! <img src="images/tree/empty.gif" width="16" height="16"/> ! </xsl:when> ! <xsl:when test="count(following-sibling::tree-node) > 0"> ! <img src="images/tree/joinbottom.gif" width="16" height="16"/> ! </xsl:when> ! <xsl:otherwise> ! <img src="images/tree/join.gif" width="16" height="16"/> ! </xsl:otherwise> ! </xsl:choose> ! <xsl:variable name="small-icon" select="./@small-icon"/> ! <xsl:element name="img"> ! <xsl:attribute name="src"><xsl:text>images/icons/</xsl:text><xsl:value-of select="$small-icon"/></xsl:attribute> ! </xsl:element> ! <img src="images/tree/empty.gif" width="4" height="16"/> ! </TD> ! <TD valign="middle"> ! <xsl:variable name="item-name" select="./text"/> ! <xsl:element name="a"> ! <xsl:attribute name="href"><xsl:text>detail.do;jsessionid=</xsl:text><xsl:value-of select="$sessionid"/><xsl:text>?ref=</xsl:text><xsl:value-of select="./@objref"/></xsl:attribute> ! <font size="-1"> ! <xsl:choose> ! <xsl:when test="contains($item-name, ':')"> ! <xsl:value-of select="substring-after($item-name, ':')"/> ! </xsl:when> ! <xsl:otherwise> ! <xsl:value-of select="$item-name"/> ! </xsl:otherwise> ! </xsl:choose> ! </font> ! </xsl:element> ! </TD> ! </TR> ! </TABLE> ! <xsl:choose> ! <xsl:when test="count(following-sibling::tree-node) > 0"> ! <xsl:for-each select="tree-node"> ! <xsl:call-template name="node"> ! <xsl:with-param name="sessionid" select="$sessionid"/> ! <xsl:with-param name="parent_follow" select="concat($parent_follow, '1')"/> ! </xsl:call-template> ! </xsl:for-each> ! </xsl:when> ! <xsl:otherwise> ! <xsl:for-each select="tree-node"> ! <xsl:call-template name="node"> ! <xsl:with-param name="sessionid" select="$sessionid"/> ! <xsl:with-param name="parent_follow" select="concat($parent_follow, '0')"/> ! </xsl:call-template> ! </xsl:for-each> ! </xsl:otherwise> ! </xsl:choose> </xsl:template> ! <xsl:template name="spacer"> ! <xsl:param name="indent" select="''"/> ! <xsl:if test="string-length($indent) > 0"> ! <xsl:choose> ! <xsl:when test="substring($indent, 1, 1) = '1'"> ! <img src="images/tree/line.gif" width="16" height="16"/> ! </xsl:when> ! <xsl:otherwise> ! <img src="images/tree/empty.gif" width="16" height="16"/> ! </xsl:otherwise> ! </xsl:choose> ! <xsl:call-template name="spacer"> ! <xsl:with-param name="indent" select="substring($indent, 2)"/> ! </xsl:call-template> ! </xsl:if> </xsl:template> </xsl:stylesheet> --- 114,192 ---- </td> </tr> ! <xsl:apply-templates/> </table> </xsl:template> ! <xsl:template match="Property"> ! <tr bgcolor="#EEEEEE"> ! <td valign="top" align="right"> ! <jsp:text><a href="javascript:alert('</jsp:text> ! <xsl:apply-templates select="PropertyShortDescription"/> ! <jsp:text>');"></jsp:text> ! <xsl:apply-templates select="PropertyDisplayName"/> ! <jsp:text></a> :</jsp:text> ! </td> ! <td class="attributeValue" valign="top" align="left"> ! <xsl:apply-templates select="PropertyValue"/> ! </td> ! </tr> </xsl:template> ! <xsl:template match="PropertyName"> ! <xsl:apply-templates/> </xsl:template> ! <xsl:template match="PropertyDisplayName"> ! <xsl:apply-templates/> </xsl:template> ! <xsl:template match="PropertyShortDescription"> ! <xsl:apply-templates/> </xsl:template> ! <xsl:template match="PropertyValue"> ! <xsl:apply-templates/> </xsl:template> ! <!-- Taglib namespace match --> ! <xsl:template match="app:*"> ! <xsl:copy> ! <xsl:apply-templates select="@*"/> ! <xsl:apply-templates/> ! </xsl:copy> </xsl:template> ! <xsl:template match="bean:*"> ! <xsl:copy> ! <xsl:apply-templates select="@*"/> ! <xsl:apply-templates/> ! </xsl:copy> ! </xsl:template> ! <xsl:template match="ejtools:*"> ! <xsl:copy> ! <xsl:apply-templates select="@*"/> ! <xsl:apply-templates/> ! </xsl:copy> ! </xsl:template> ! <xsl:template match="jsp:*"> ! <xsl:copy> ! <xsl:apply-templates select="@*"/> ! <xsl:apply-templates/> ! </xsl:copy> ! </xsl:template> ! <xsl:template match="html:*"> ! <xsl:copy> ! <xsl:apply-templates select="@*"/> ! <xsl:apply-templates/> ! </xsl:copy> ! </xsl:template> ! <xsl:template match="html:link"> ! <xsl:copy> ! <xsl:apply-templates select="@*"/> ! <jsp:text><xsl:value-of select="."></xsl:value-of></jsp:text> ! </xsl:copy> ! </xsl:template> ! <xsl:template match="logic:*"> ! <xsl:copy> ! <xsl:apply-templates select="@*"/> ! <xsl:apply-templates/> ! </xsl:copy> ! </xsl:template> ! <!-- Generic match --> ! <xsl:template match="*|@*"> ! <xsl:copy-of select="."/> </xsl:template> </xsl:stylesheet> |
From: <let...@us...> - 2002-05-30 22:43:25
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/general In directory usw-pr-cvs1:/tmp/cvs-serv21497/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/general Added Files: File16.gif Folder16.gif Log Message: Basic Web App --- NEW FILE: File16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Folder16.gif --- (This appears to be a binary file; contents omitted.) |