ejtools-cvs Mailing List for EJTools (Page 86)
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-13 20:02:23
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv350 Modified Files: ConnectionService.java ConnectionServiceProvider.java Domain.java EJBConnectionService.java LocalConnectionService.java Node.java RMIConnectionService.java Resource.java Server.java Log Message: Correct binary/text format Index: ConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/ConnectionService.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ConnectionService.java 10 Jun 2002 07:49:55 -0000 1.4 --- ConnectionService.java 13 Jun 2002 20:02:19 -0000 1.5 *************** *** 13,16 **** --- 13,18 ---- import javax.management.AttributeList; import javax.management.MBeanInfo; + import javax.management.NotificationFilter; + import javax.management.NotificationListener; import javax.management.ObjectInstance; import javax.management.ObjectName; *************** *** 143,146 **** --- 145,173 ---- */ public void unregisterMBean(ObjectName name) throws Exception; + + + /** + * Adds a feature to the NotificationListener attribute of the ConnectionService object + * + * @param name The feature to be added to the NotificationListener attribute + * @param listener The feature to be added to the NotificationListener attribute + * @param filter The feature to be added to the NotificationListener attribute + * @param handback The feature to be added to the NotificationListener attribute + * @exception InstanceNotFoundException Description of the Exception + */ + public void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, java.lang.Object handback) throws Exception; + public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, java.lang.Object handback) throws Exception; + + + /** + * Description of the Method + * + * @param name Description of the Parameter + * @param listener Description of the Parameter + * @exception InstanceNotFoundException Description of the Exception + * @exception ListenerNotFoundException Description of the Exception + */ + public void removeNotificationListener(ObjectName name, ObjectName listener) throws Exception; + public void removeNotificationListener(ObjectName name, NotificationListener listener) throws Exception; Index: ConnectionServiceProvider.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/ConnectionServiceProvider.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Index: Domain.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/Domain.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Index: EJBConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/EJBConnectionService.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** EJBConnectionService.java 10 Jun 2002 07:49:55 -0000 1.4 --- EJBConnectionService.java 13 Jun 2002 20:02:19 -0000 1.5 *************** *** 11,15 **** --- 11,18 ---- import javax.management.Attribute; import javax.management.AttributeList; + import javax.management.InstanceNotFoundException; import javax.management.MBeanInfo; + import javax.management.NotificationFilter; + import javax.management.NotificationListener; import javax.management.ObjectInstance; import javax.management.ObjectName; *************** *** 48,51 **** --- 51,74 ---- /** + * Adds a feature to the NotificationListener attribute of the EJBConnectionService object + * + * @param name The feature to be added to the NotificationListener attribute + * @param listener The feature to be added to the NotificationListener attribute + * @param filter The feature to be added to the NotificationListener attribute + * @param handback The feature to be added to the NotificationListener attribute + * @exception InstanceNotFoundException Description of the Exception + */ + public void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, java.lang.Object handback) throws Exception + { + throw new InstanceNotFoundException("Not yet implemented"); + } + public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, java.lang.Object handback) throws Exception + { + throw new InstanceNotFoundException("Not yet implemented"); + } + + + + /** * Description of the Method * *************** *** 157,160 **** --- 180,202 ---- return getConnector().queryNames(name, exp); } + + + /** + * Description of the Method + * + * @param name Description of the Parameter + * @param listener Description of the Parameter + * @exception InstanceNotFoundException Description of the Exception + * @exception ListenerNotFoundException Description of the Exception + */ + public void removeNotificationListener(ObjectName name, ObjectName listener) throws Exception + { + throw new InstanceNotFoundException("Not yet implemented"); + } + public void removeNotificationListener(ObjectName name, NotificationListener listener) throws Exception + { + throw new InstanceNotFoundException("Not yet implemented"); + } + Index: LocalConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/LocalConnectionService.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** LocalConnectionService.java 10 Jun 2002 07:49:55 -0000 1.4 --- LocalConnectionService.java 13 Jun 2002 20:02:19 -0000 1.5 *************** *** 6,10 **** */ package net.sourceforge.ejtools.jmxbrowser.model; - import java.util.ArrayList; import java.util.Set; --- 6,9 ---- *************** *** 15,18 **** --- 14,19 ---- import javax.management.MBeanServer; import javax.management.MBeanServerFactory; + import javax.management.NotificationFilter; + import javax.management.NotificationListener; import javax.management.ObjectInstance; import javax.management.ObjectName; *************** *** 45,48 **** --- 46,70 ---- + + /** + * Adds a feature to the NotificationListener attribute of the LocalConnectionService object + * + * @param name The feature to be added to the NotificationListener attribute + * @param listener The feature to be added to the NotificationListener attribute + * @param filter The feature to be added to the NotificationListener attribute + * @param handback The feature to be added to the NotificationListener attribute + * @exception InstanceNotFoundException Description of the Exception + */ + public void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, java.lang.Object handback) throws Exception + { + getConnector().addNotificationListener(name, listener, filter, handback); + } + + public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, java.lang.Object handback) throws Exception + { + getConnector().addNotificationListener(name, listener, filter, handback); + } + + /** * Description of the Method *************** *** 158,161 **** --- 180,202 ---- /** + * Description of the Method + * + * @param name Description of the Parameter + * @param listener Description of the Parameter + * @exception InstanceNotFoundException Description of the Exception + * @exception ListenerNotFoundException Description of the Exception + */ + public void removeNotificationListener(ObjectName name, ObjectName listener) throws Exception + { + getConnector().removeNotificationListener(name, listener); + } + + public void removeNotificationListener(ObjectName name, NotificationListener listener) throws Exception + { + getConnector().removeNotificationListener(name, listener); + } + + + /** * Setter for the attribute attribute * *************** *** 182,186 **** return getConnector().setAttributes(name, list); } - --- 223,226 ---- Index: Node.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/Node.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Index: RMIConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/RMIConnectionService.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** RMIConnectionService.java 10 Jun 2002 07:49:55 -0000 1.4 --- RMIConnectionService.java 13 Jun 2002 20:02:19 -0000 1.5 *************** *** 11,15 **** --- 11,18 ---- import javax.management.Attribute; import javax.management.AttributeList; + import javax.management.InstanceNotFoundException; import javax.management.MBeanInfo; + import javax.management.NotificationFilter; + import javax.management.NotificationListener; import javax.management.ObjectInstance; import javax.management.ObjectName; *************** *** 47,50 **** --- 50,73 ---- /** + * Adds a feature to the NotificationListener attribute of the RMIConnectionService object + * + * @param name The feature to be added to the NotificationListener attribute + * @param listener The feature to be added to the NotificationListener attribute + * @param filter The feature to be added to the NotificationListener attribute + * @param handback The feature to be added to the NotificationListener attribute + * @exception InstanceNotFoundException Description of the Exception + */ + public void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, java.lang.Object handback) throws Exception + { + throw new InstanceNotFoundException("Not yet implemented"); + } + public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, java.lang.Object handback) throws Exception + { + throw new InstanceNotFoundException("Not yet implemented"); + } + + + + /** * Description of the Method * *************** *** 156,159 **** --- 179,201 ---- return getConnector().queryNames(name, exp); } + + + /** + * Description of the Method + * + * @param name Description of the Parameter + * @param listener Description of the Parameter + * @exception InstanceNotFoundException Description of the Exception + * @exception ListenerNotFoundException Description of the Exception + */ + public void removeNotificationListener(ObjectName name, ObjectName listener) throws Exception + { + throw new InstanceNotFoundException("Not yet implemented"); + } + public void removeNotificationListener(ObjectName name, NotificationListener listener) throws Exception + { + throw new InstanceNotFoundException("Not yet implemented"); + } + Index: Resource.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/Resource.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Resource.java 10 Jun 2002 07:49:55 -0000 1.5 --- Resource.java 13 Jun 2002 20:02:19 -0000 1.6 *************** *** 15,18 **** --- 15,19 ---- import javax.management.AttributeList; import javax.management.MBeanInfo; + import javax.management.MBeanNotificationInfo; import javax.management.Notification; import javax.management.NotificationListener; *************** *** 264,267 **** --- 265,306 ---- } return result; + } + + + /** + * Description of the Method + * + * @exception Exception Description of the Exception + */ + public void registerForNotifications() throws Exception + { + BeanContextServices context = (BeanContextServices) getBeanContext(); + + // Test if the MBean send notification + MBeanNotificationInfo[] ni = getMBeanInfo().getNotifications(); + + if (ni.length > 0) + { + + if (context.hasService(NotificationService.class)) + { + try + { + NotificationService service = (NotificationService) context.getService(this, this, NotificationService.class, this, this); + + service.addObjectName(objectName); + + context.releaseService(this, this, NotificationService.class); + } + catch (Exception e) + { + logger.error("Error while registering " + e.getMessage()); + throw e; + } + } + } + else + { + } } Index: Server.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/Server.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Server.java 10 Jun 2002 07:49:55 -0000 1.6 --- Server.java 13 Jun 2002 20:02:19 -0000 1.7 *************** *** 8,18 **** import java.beans.beancontext.BeanContextServices; - import java.util.*; import java.util.Collection; import java.util.Iterator; import java.util.Vector; - import javax.management.*; import javax.management.ObjectInstance; import javax.naming.Context; --- 8,21 ---- import java.beans.beancontext.BeanContextServices; import java.util.Collection; + import java.util.Enumeration; + import java.util.Hashtable; import java.util.Iterator; + import java.util.Set; import java.util.Vector; import javax.management.ObjectInstance; + import javax.management.ObjectName; + import javax.management.QueryExp; import javax.naming.Context; *************** *** 54,58 **** protected String pkgs = "org.jboss.naming:org.jnp.interfaces"; /** Description of the Field */ ! protected String url = "localhost:1099"; /** Description of the Field */ private static Category logger = Category.getInstance(Server.class); --- 57,61 ---- protected String pkgs = "org.jboss.naming:org.jnp.interfaces"; /** Description of the Field */ ! protected String url = ""; /** Description of the Field */ private static Category logger = Category.getInstance(Server.class); *************** *** 106,114 **** // this.setCount(service.getMBeanCount().intValue()); Collection result = service.queryMBeans(null, null); int counter = result.size(); - Vector resources = new Vector(); Iterator it = result.iterator(); while (it.hasNext()) --- 109,118 ---- // this.setCount(service.getMBeanCount().intValue()); + Vector resources = new Vector(); Collection result = service.queryMBeans(null, null); int counter = result.size(); + setCount(counter); Iterator it = result.iterator(); while (it.hasNext()) *************** *** 116,135 **** ObjectInstance oi = (ObjectInstance) it.next(); ! String name = oi.getObjectName().getDomain(); ! Domain d = (Domain) this.domains.get(name); if (d == null) { d = new Domain(); ! d.setName(oi.getObjectName().getDomain()); resources.add(d); this.domains.put(name, d); } - Resource resource = new Resource(); - d.add(resource); - resource.setReference(oi); - this.mbeans.put(resource.getCanonicalName(), resource); - } ! setCount(counter); it = resources.iterator(); --- 120,145 ---- ObjectInstance oi = (ObjectInstance) it.next(); ! String domainName = oi.getObjectName().getDomain(); ! Domain d = (Domain) this.domains.get(domainName); ! if (d == null) { d = new Domain(); ! d.setName(domainName); resources.add(d); this.domains.put(name, d); } ! String name = oi.getObjectName().getCanonicalName(); ! Resource resource = (Resource) this.mbeans.get(name); ! ! if (resource == null) ! { ! resource = new Resource(); ! d.add(resource); ! resource.setReference(oi); ! this.mbeans.put(name, resource); ! } ! } it = resources.iterator(); *************** *** 251,254 **** --- 261,388 ---- return result; + } + + + /** + * Description of the Method + * + * @javabean:method name="refresh" displayName="Refresh" shortDescription="Refresh the content of JMX Server" + */ + public void refresh() + { + BeanContextServices context = (BeanContextServices) getBeanContext(); + + if (context.hasService(ConnectionService.class)) + { + try + { + ConnectionService service = (ConnectionService) context.getService(this, this, ConnectionService.class, this, this); + + service.setFactory(this.factory); + service.setPackages(this.pkgs); + service.setURL(this.url); + service.setEJBName(this.ejbName); + + Hashtable newContent = new Hashtable(); + Vector resources = new Vector(); + Collection result = service.queryMBeans(null, null); + + int counter = result.size(); + setCount(counter); + + // Build the new content + Iterator it = result.iterator(); + while (it.hasNext()) + { + ObjectInstance oi = (ObjectInstance) it.next(); + + logger.debug("MBean found = " + oi.getObjectName().getCanonicalName()); + + newContent.put(oi.getObjectName().getCanonicalName(), oi); + } + + // Remove old mbeans from server + Enumeration enum = mbeans.keys(); + while (enum.hasMoreElements()) + { + String name = (String) enum.nextElement(); + Object o = newContent.get(name); + + if (o == null) + { + Resource resource = (Resource) mbeans.get(name); + + logger.debug("MBean to remove = " + resource); + + resource.getBeanContext().remove(resource); + mbeans.remove(name); + } + } + + // Remove empty domains from server + enum = domains.keys(); + while (enum.hasMoreElements()) + { + String name = (String) enum.nextElement(); + Domain domain = (Domain) domains.get(name); + + if (domain.isEmpty()) + { + logger.debug("Domain to remove = " + domain); + + domain.getBeanContext().remove(domain); + domains.remove(name); + } + } + + // Add new MBeans to the server + it = result.iterator(); + while (it.hasNext()) + { + ObjectInstance oi = (ObjectInstance) it.next(); + + String domainName = oi.getObjectName().getDomain(); + Domain d = (Domain) this.domains.get(domainName); + + if (d == null) + { + d = new Domain(); + d.setName(domainName); + + logger.debug("Domain to add = " + d); + + resources.add(d); + this.domains.put(domainName, d); + } + + String name = oi.getObjectName().getCanonicalName(); + Resource resource = (Resource) this.mbeans.get(name); + + if (resource == null) + { + resource = new Resource(); + d.add(resource); + resource.setReference(oi); + + logger.debug("Resource to add = " + resource); + + this.mbeans.put(name, resource); + } + } + + it = resources.iterator(); + while (it.hasNext()) + { + add(it.next()); + } + + context.releaseService(this, this, ConnectionService.class); + } + catch (Exception e) + { + System.out.println("Error during utilisation of service ConnectionService (" + e.getMessage() + ")"); + e.printStackTrace(); + } + } } |
From: <let...@us...> - 2002-06-13 20:02:09
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web In directory usw-pr-cvs1:/tmp/cvs-serv32759 Modified Files: Constants.java Removed Files: JMXContainer.java QueryConstants.java Log Message: Correct binary/text format Index: Constants.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/Constants.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Constants.java 10 Jun 2002 07:49:55 -0000 1.5 --- Constants.java 13 Jun 2002 20:02:06 -0000 1.6 *************** *** 27,30 **** --- 27,32 ---- public final static String DOMAIN = "domain"; /** Description of the Field */ + public final static String INVOCATION_RESULT = "invoke.result"; + /** Description of the Field */ public final static String NUMBER = "number"; /** Description of the Field */ --- JMXContainer.java DELETED --- --- QueryConstants.java DELETED --- |
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/action In directory usw-pr-cvs1:/tmp/cvs-serv32652 Modified Files: DetailAction.java Removed Files: ClearSearchAction.java ConnectAction.java SearchAction.java UpdateAction.java Log Message: Correct binary/text format Index: DetailAction.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/action/DetailAction.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 --- ClearSearchAction.java DELETED --- --- ConnectAction.java DELETED --- --- SearchAction.java DELETED --- --- UpdateAction.java DELETED --- |
From: <let...@us...> - 2002-06-13 20:01:45
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/form In directory usw-pr-cvs1:/tmp/cvs-serv32557 Modified Files: DetailForm.java Removed Files: SearchForm.java Log Message: Correct binary/text format Index: DetailForm.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/form/DetailForm.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 --- SearchForm.java DELETED --- |
From: <let...@us...> - 2002-06-13 20:01:34
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib In directory usw-pr-cvs1:/tmp/cvs-serv32462 Modified Files: ConnectTag.java MBeanAttributeAccessTag.java MBeanAttributeClassTag.java MBeanAttributeEditorTag.java MBeanParameterClassTag.java Removed Files: MBeanNameTag.java MBeanParameterEditorTag.java TreeRendererImpl.java Log Message: Correct binary/text format Index: ConnectTag.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib/ConnectTag.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ConnectTag.java 10 Jun 2002 07:49:56 -0000 1.6 --- ConnectTag.java 13 Jun 2002 20:01:31 -0000 1.7 *************** *** 20,23 **** --- 20,24 ---- * @version $Revision$ * @todo Javadoc to complete + * @jsp:tag name="connect" body-content="empty" */ public class ConnectTag extends TagSupport *************** *** 59,63 **** catch (Exception e) { ! throw new JspException(e.toString()); } return (SKIP_PAGE); --- 60,64 ---- catch (Exception e) { ! throw new JspException("Error during forwarding to " + page); } return (SKIP_PAGE); *************** *** 81,85 **** * Getter for the name attribute * ! * @return The value of name attribute */ public String getName() --- 82,87 ---- * Getter for the name attribute * ! * @return The value of name attribute ! * @jsp:attribute name="name" required="false" rtexprvalue="true" */ public String getName() *************** *** 92,96 **** * Getter for the page attribute * ! * @return The value of page attribute */ public String getPage() --- 94,99 ---- * Getter for the page attribute * ! * @return The value of page attribute ! * @jsp:attribute name="page" required="false" rtexprvalue="true" */ public String getPage() Index: MBeanAttributeAccessTag.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib/MBeanAttributeAccessTag.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** MBeanAttributeAccessTag.java 10 Jun 2002 07:49:56 -0000 1.4 --- MBeanAttributeAccessTag.java 13 Jun 2002 20:01:31 -0000 1.5 *************** *** 22,25 **** --- 22,26 ---- * @version $Revision$ * @todo Javadoc to complete + * @jsp:tag name="mbeanAttributeAccess" body-content="empty" */ public class MBeanAttributeAccessTag extends TagSupport *************** *** 74,78 **** * Getter for the filter attribute * ! * @return The value of filter attribute */ public boolean getFilter() --- 75,80 ---- * Getter for the filter attribute * ! * @return The value of filter attribute ! * @jsp:attribute name="filter" required="false" rtexprvalue="true" */ public boolean getFilter() *************** *** 85,89 **** * Getter for the ignore attribute * ! * @return The value of ignore attribute */ public boolean getIgnore() --- 87,92 ---- * Getter for the ignore attribute * ! * @return The value of ignore attribute ! * @jsp:attribute name="ignore" required="false" rtexprvalue="true" */ public boolean getIgnore() *************** *** 96,100 **** * Getter for the name attribute * ! * @return The value of name attribute */ public String getName() --- 99,104 ---- * Getter for the name attribute * ! * @return The value of name attribute ! * @jsp:attribute name="name" required="true" rtexprvalue="true" */ public String getName() *************** *** 107,111 **** * Getter for the scope attribute * ! * @return The value of scope attribute */ public String getScope() --- 111,116 ---- * Getter for the scope attribute * ! * @return The value of scope attribute ! * @jsp:attribute name="scope" required="false" rtexprvalue="true" */ public String getScope() Index: MBeanAttributeClassTag.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib/MBeanAttributeClassTag.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MBeanAttributeClassTag.java 10 Jun 2002 07:49:56 -0000 1.3 --- MBeanAttributeClassTag.java 13 Jun 2002 20:01:31 -0000 1.4 *************** *** 23,26 **** --- 23,27 ---- * @version $Revision$ * @todo Javadoc to complete + * @jsp:tag name="mbeanAttributeClass" body-content="empty" */ public class MBeanAttributeClassTag extends TagSupport *************** *** 28,33 **** /** Filter the rendered output for characters that are sensitive in HTML? */ protected boolean filter = true; - /** Description of the Field */ - protected String id = null; /** Should we ignore missing beans and simply output nothing? */ protected boolean ignore = false; --- 29,32 ---- *************** *** 58,61 **** --- 57,61 ---- String output = ClassTools.classDisplay(info.getType()); + if (filter) { *************** *** 75,79 **** * Getter for the filter attribute * ! * @return The value of filter attribute */ public boolean getFilter() --- 75,80 ---- * Getter for the filter attribute * ! * @return The value of filter attribute ! * @jsp:attribute name="filter" required="false" rtexprvalue="true" */ public boolean getFilter() *************** *** 84,101 **** /** - * Gets the id attribute of the MBeanAttributeClassTag object - * - * @return The id value - */ - public String getId() - { - return (this.id); - } - - - /** * Getter for the ignore attribute * ! * @return The value of ignore attribute */ public boolean getIgnore() --- 85,92 ---- /** * Getter for the ignore attribute * ! * @return The value of ignore attribute ! * @jsp:attribute name="ignore" required="false" rtexprvalue="true" */ public boolean getIgnore() *************** *** 108,112 **** * Getter for the name attribute * ! * @return The value of name attribute */ public String getName() --- 99,104 ---- * Getter for the name attribute * ! * @return The value of name attribute ! * @jsp:attribute name="name" required="true" rtexprvalue="true" */ public String getName() *************** *** 119,123 **** * Getter for the scope attribute * ! * @return The value of scope attribute */ public String getScope() --- 111,116 ---- * Getter for the scope attribute * ! * @return The value of scope attribute ! * @jsp:attribute name="scope" required="false" rtexprvalue="true" */ public String getScope() *************** *** 147,161 **** { this.filter = filter; - } - - - /** - * Sets the id attribute of the MBeanAttributeClassTag object - * - * @param id The new id value - */ - public void setId(String id) - { - this.id = id; } --- 140,143 ---- Index: MBeanAttributeEditorTag.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib/MBeanAttributeEditorTag.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** MBeanAttributeEditorTag.java 10 Jun 2002 07:49:56 -0000 1.4 --- MBeanAttributeEditorTag.java 13 Jun 2002 20:01:31 -0000 1.5 *************** *** 30,33 **** --- 30,34 ---- * @version $Revision$ * @todo Javadoc to complete + * @jsp:tag name="mbeanAttributeEditor" body-content="empty" */ public class MBeanAttributeEditorTag extends TagSupport *************** *** 113,117 **** * Getter for the filter attribute * ! * @return The value of filter attribute */ public boolean getFilter() --- 114,119 ---- * Getter for the filter attribute * ! * @return The value of filter attribute ! * @jsp:attribute name="filter" required="false" rtexprvalue="true" */ public boolean getFilter() *************** *** 124,128 **** * Getter for the ignore attribute * ! * @return The value of ignore attribute */ public boolean getIgnore() --- 126,131 ---- * Getter for the ignore attribute * ! * @return The value of ignore attribute ! * @jsp:attribute name="ignore" required="false" rtexprvalue="true" */ public boolean getIgnore() *************** *** 135,139 **** * Getter for the name attribute * ! * @return The value of name attribute */ public String getName() --- 138,143 ---- * Getter for the name attribute * ! * @return The value of name attribute ! * @jsp:attribute name="name" required="true" rtexprvalue="true" */ public String getName() *************** *** 146,150 **** * Getter for the property attribute * ! * @return The value of property attribute */ public String getProperty() --- 150,155 ---- * Getter for the property attribute * ! * @return The value of property attribute ! * @jsp:attribute name="property" required="true" rtexprvalue="true" */ public String getProperty() *************** *** 157,161 **** * Getter for the scope attribute * ! * @return The value of scope attribute */ public String getScope() --- 162,167 ---- * Getter for the scope attribute * ! * @return The value of scope attribute ! * @jsp:attribute name="scope" required="false" rtexprvalue="true" */ public String getScope() *************** *** 235,256 **** * * @param propertyeditor The feature to be added to the ArrayProperty attribute ! * @param attributeInfo The feature to be added to the ArrayProperty attribute * @param object The feature to be added to the ArrayProperty attribute * @param componentType The feature to be added to the ArrayProperty attribute * @exception JspException Description of Exception */ ! protected void addArrayProperty(MBeanAccessor object, PropertyEditor propertyeditor, MBeanAttributeInfo attributeInfo, Class componentType) throws JspException { ! logger.debug("addProperty " + propertyeditor + " " + attributeInfo.getName()); ! ! String output = ""; Object obj = null; Object[] array = null; try { ! if (attributeInfo.isReadable()) { ! obj = object.getAttribute(attributeInfo.getName()); } if (obj != null) --- 241,262 ---- * * @param propertyeditor The feature to be added to the ArrayProperty attribute ! * @param info The feature to be added to the ArrayProperty attribute * @param object The feature to be added to the ArrayProperty attribute * @param componentType The feature to be added to the ArrayProperty attribute * @exception JspException Description of Exception */ ! protected void addArrayProperty(MBeanAccessor object, PropertyEditor propertyeditor, MBeanAttributeInfo info, Class componentType) throws JspException { ! StringBuffer buffer = new StringBuffer(); Object obj = null; Object[] array = null; + logger.debug("addProperty " + propertyeditor + " " + info.getName()); + try { ! if (info.isReadable()) { ! obj = object.getAttribute(info.getName()); } if (obj != null) *************** *** 266,269 **** --- 272,277 ---- if (array != null) { + String output = ""; + for (int i = 0; i < array.length; i++) { *************** *** 282,286 **** output = computeReadableEditor(componentType.getName(), output); ! ResponseUtils.write(pageContext, output + "<br/>"); } catch (Exception e) --- 290,295 ---- output = computeReadableEditor(componentType.getName(), output); ! buffer.append(output); ! buffer.append("<br/>"); } catch (Exception e) *************** *** 289,292 **** --- 298,302 ---- } } + ResponseUtils.write(pageContext, buffer.toString()); } } *************** *** 297,316 **** * * @param propertyeditor The feature to be added to the Property attribute ! * @param attributeInfo The feature to be added to the Property attribute * @param object The feature to be added to the Property attribute * @exception JspException Description of Exception */ ! protected void addProperty(MBeanAccessor object, PropertyEditor propertyeditor, MBeanAttributeInfo attributeInfo) throws JspException { ! logger.debug("addProperty " + propertyeditor + " " + attributeInfo.getName()); ! Object value = null; String output = ""; try { ! if (attributeInfo.isReadable()) { ! value = object.getAttribute(attributeInfo.getName()); propertyeditor.setValue(value); } --- 307,327 ---- * * @param propertyeditor The feature to be added to the Property attribute ! * @param info The feature to be added to the Property attribute * @param object The feature to be added to the Property attribute * @exception JspException Description of Exception */ ! protected void addProperty(MBeanAccessor object, PropertyEditor propertyeditor, MBeanAttributeInfo info) throws JspException { ! StringBuffer buffer = new StringBuffer(); Object value = null; String output = ""; + logger.debug("addProperty " + propertyeditor + " " + info.getName()); + try { ! if (info.isReadable()) { ! value = object.getAttribute(info.getName()); propertyeditor.setValue(value); } *************** *** 321,355 **** } ! if (attributeInfo.isWritable()) { ! output = output + "<input type=\"hidden\" name=\":attribute:" + attributeInfo.getName() + "\" value=\"" + propertyeditor.getClass().getName() + "\"/>"; ! output = output + "<input type=\"hidden\" name=\":previous:" + attributeInfo.getName() + "\" value=\""; if (value != null) { ! output = output + value; } ! output = output + "\"/>"; // Boolean types ! if (("java.lang.Boolean".equals(attributeInfo.getType())) || ("boolean".equals(attributeInfo.getType()))) { ! output = output + "<select name=\":value:" + attributeInfo.getName() + "\">"; ! output = output + "<option value=\"true\" "; if (Boolean.TRUE.equals(value)) { ! output = output + "selected"; } ! output = output + ">" + messages.getMessage("boolean.true") + "</option>"; ! output = output + "<option value=\"false\" "; if (Boolean.FALSE.equals(value)) { ! output = output + "selected"; } ! output = output + ">" + messages.getMessage("boolean.false") + "</option>"; ! output = output + "</select>"; } // Others types --- 332,385 ---- } ! if (info.isWritable()) { ! buffer.append("<input type=\"hidden\" name=\":attribute:"); ! buffer.append(info.getName()); ! buffer.append("\" value=\""); ! buffer.append(info.getType()); ! buffer.append("\"/>"); ! ! buffer.append("<input type=\"hidden\" name=\":editor:"); ! buffer.append(info.getName()); ! buffer.append("\" value=\""); ! buffer.append(propertyeditor.getClass().getName()); ! buffer.append("\"/>"); ! ! buffer.append("<input type=\"hidden\" name=\":previous:"); ! buffer.append(info.getName()); ! buffer.append("\" value=\""); if (value != null) { ! buffer.append(value); } ! buffer.append("\"/>"); // Boolean types ! if (("java.lang.Boolean".equals(info.getType())) || ("boolean".equals(info.getType()))) { ! buffer.append("<select name=\":value:"); ! buffer.append(info.getName()); ! buffer.append("\">"); ! buffer.append("<option value=\"true\" "); if (Boolean.TRUE.equals(value)) { ! buffer.append("selected"); } ! buffer.append(">"); ! buffer.append(messages.getMessage("boolean.true")); ! buffer.append("</option>"); ! buffer.append("<option value=\"false\" "); if (Boolean.FALSE.equals(value)) { ! buffer.append("selected"); } ! buffer.append(">"); ! buffer.append(messages.getMessage("boolean.false")); ! buffer.append("</option>"); ! buffer.append("</select>"); } // Others types *************** *** 359,363 **** String link = ""; ! output = output + "<input type=\"text\" name=\":value:" + attributeInfo.getName() + "\" value=\""; if (value != null) --- 389,395 ---- String link = ""; ! buffer.append("<input type=\"text\" name=\":value:"); ! buffer.append(info.getName()); ! buffer.append("\" value=\""); if (value != null) *************** *** 371,379 **** } ! output = output + content + "\"/>"; ! link = computeWritableEditor(attributeInfo.getType(), content); ! output = output + link; } } --- 403,413 ---- } ! buffer.append(content); ! buffer.append("\"/>"); ! link = computeWritableEditor(info.getType(), content); ! buffer.append(link); ! ; } } *************** *** 387,394 **** } ! output = computeReadableEditor(attributeInfo.getType(), output); } ! ResponseUtils.write(pageContext, output); } --- 421,428 ---- } ! buffer.append(computeReadableEditor(info.getType(), output)); } ! ResponseUtils.write(pageContext, buffer.toString()); } *************** *** 397,409 **** * Adds a feature to the UnsupportedProperty attribute of the MBeanAttributeEditorTag object * ! * @param attributeInfo The feature to be added to the UnsupportedProperty attribute * @exception JspException Description of Exception ! * @todo I18N */ ! protected void addUnsupportedProperty(MBeanAttributeInfo attributeInfo) throws JspException { ! logger.debug("Getting value for attribute " + attributeInfo.getName()); ! ! String output = "Unsupported Class : " + attributeInfo.getType(); if (filter) --- 431,441 ---- * Adds a feature to the UnsupportedProperty attribute of the MBeanAttributeEditorTag object * ! * @param info The feature to be added to the UnsupportedProperty attribute * @exception JspException Description of Exception ! * @todo I18N */ ! protected void addUnsupportedProperty(MBeanAttributeInfo info) throws JspException { ! String output = "Unsupported Class"; if (filter) Index: MBeanParameterClassTag.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib/MBeanParameterClassTag.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MBeanParameterClassTag.java 10 Jun 2002 07:49:56 -0000 1.3 --- MBeanParameterClassTag.java 13 Jun 2002 20:01:31 -0000 1.4 *************** *** 23,26 **** --- 23,27 ---- * @version $Revision$ * @todo Javadoc to complete + * @jsp:tag name="mbeanParameterClass" body-content="empty" */ public class MBeanParameterClassTag extends TagSupport *************** *** 56,59 **** --- 57,61 ---- String output = ClassTools.classDisplay(info.getType()); + if (filter) { *************** *** 73,77 **** * Getter for the filter attribute * ! * @return The value of filter attribute */ public boolean getFilter() --- 75,80 ---- * Getter for the filter attribute * ! * @return The value of filter attribute ! * @jsp:attribute name="filter" required="false" rtexprvalue="true" */ public boolean getFilter() *************** *** 84,88 **** * Getter for the ignore attribute * ! * @return The value of ignore attribute */ public boolean getIgnore() --- 87,92 ---- * Getter for the ignore attribute * ! * @return The value of ignore attribute ! * @jsp:attribute name="ignore" required="false" rtexprvalue="true" */ public boolean getIgnore() *************** *** 95,99 **** * Getter for the name attribute * ! * @return The value of name attribute */ public String getName() --- 99,104 ---- * Getter for the name attribute * ! * @return The value of name attribute ! * @jsp:attribute name="name" required="true" rtexprvalue="true" */ public String getName() *************** *** 106,110 **** * Getter for the scope attribute * ! * @return The value of scope attribute */ public String getScope() --- 111,116 ---- * Getter for the scope attribute * ! * @return The value of scope attribute ! * @jsp:attribute name="scope" required="false" rtexprvalue="true" */ public String getScope() --- MBeanNameTag.java DELETED --- --- MBeanParameterEditorTag.java DELETED --- --- TreeRendererImpl.java DELETED --- |
From: <let...@us...> - 2002-06-13 19:51:31
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/merge In directory usw-pr-cvs1:/tmp/cvs-serv27890/merge Log Message: Directory /cvsroot/ejtools/applications/jmx.browser/src/webapp/merge added to the repository |
From: <let...@us...> - 2002-06-11 07:41:45
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp In directory usw-pr-cvs1:/tmp/cvs-serv18362/jndi.browser/src/webapp Modified Files: web.xml Log Message: Pretty Print Index: web.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/web.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** web.xml 30 May 2002 22:52:51 -0000 1.2 --- web.xml 11 Jun 2002 07:41:41 -0000 1.3 *************** *** 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> --- 17,25 ---- <init-param> <param-name>debug</param-name> ! <param-value>3</param-value> </init-param> <init-param> <param-name>detail</param-name> ! <param-value>3</param-value> </init-param> <init-param> |
From: <let...@us...> - 2002-06-11 07:41:45
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content In directory usw-pr-cvs1:/tmp/cvs-serv18362/jndi.browser/src/webapp/content Modified Files: detail.jsp detail.xml index.jsp index.xml style.xsl Log Message: Pretty Print Index: detail.jsp =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/detail.jsp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** detail.jsp 30 May 2002 22:43:22 -0000 1.3 --- detail.jsp 11 Jun 2002 07:41:41 -0000 1.4 *************** *** 5,9 **** <html> <head> ! <title>MBean View</title> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> --- 5,11 ---- <html> <head> ! <title> ! <bean:message key="web.detail.title"/> ! </title> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> *************** *** 17,21 **** <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6">Detail View</font> </b> </td> --- 19,25 ---- <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <bean:message key="web.detail.title"/> ! </font> </b> </td> *************** *** 27,32 **** <td> <html:link forward="home"> ! <jsp:text>Agent View</jsp:text> ! </html:link> >> Detail View</td> </tr> </table> --- 31,37 ---- <td> <html:link forward="home"> ! <bean:message key="web.index.title"/> ! </html:link> >> <bean:message key="web.detail.title"/> ! </td> </tr> </table> *************** *** 44,48 **** <tr> <td align="right" nowrap="true"> ! <b>Name :</b> </td> <td align="left" width="90%"> --- 49,55 ---- <tr> <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.name"/> ! </b> </td> <td align="left" width="90%"> *************** *** 52,56 **** <tr> <td align="right" nowrap="true"> ! <b>Description :</b> </td> <td align="left" width="90%"> --- 59,65 ---- <tr> <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.shortDescription"/> ! </b> </td> <td align="left" width="90%"> Index: detail.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/detail.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** detail.xml 30 May 2002 22:43:22 -0000 1.1 --- detail.xml 11 Jun 2002 07:41:41 -0000 1.2 *************** *** 1,75 **** <?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> --- 1,94 ---- <?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.detail.title"/> ! </Title> ! <Content> <!-- ======================================== --> ! <!-- Header --> <!-- ======================================== --> ! <TitleBlock> ! <Title> ! <bean:message key="web.detail.title"/> ! </Title> ! <Path> ! <Element> ! <html:link forward="home"> ! <bean:message key="web.index.title"/> ! </html:link> ! </Element> ! <Element> ! <bean:message key="web.detail.title"/> ! </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> ! <bean:message key="web.label.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> ! <bean:message key="web.label.shortDescription"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail.info.descriptor" property="shortDescription"/> ! </td> ! </tr> ! </table> ! </HeaderBlock> ! </Frame> ! <!-- ======================================== --> ! <!-- Test for Properties --> ! <!-- ======================================== --> ! <bean:size name="detail.info.properties" id="propertiesSize"/> ! <logic:greaterThan name="propertiesSize" value="0"> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Properties --> ! <!-- ======================================== --> ! <PropertiesBlock> ! <!-- ======================================== --> ! <!-- 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> ! </Content> </Page> Index: index.jsp =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/index.jsp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.jsp 30 May 2002 22:43:22 -0000 1.2 --- index.jsp 11 Jun 2002 07:41:41 -0000 1.3 *************** *** 5,9 **** <html> <head> ! <title>JNDI View</title> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> --- 5,11 ---- <html> <head> ! <title> ! <bean:message key="web.index.title"/> ! </title> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> *************** *** 17,21 **** <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6">JNDI View</font> </b> </td> --- 19,25 ---- <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <bean:message key="web.index.title"/> ! </font> </b> </td> *************** *** 25,29 **** </tr> <tr> ! <td>JNDI View</td> </tr> </table> --- 29,35 ---- </tr> <tr> ! <td> ! <bean:message key="web.index.title"/> ! </td> </tr> </table> *************** *** 40,59 **** <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> --- 46,67 ---- <table align="center"> <tr> ! <html:form action="/view"> <td align="center" valign="center"> ! <jsp:text> ! <bean:message key="web.label.viewType"/> ! </jsp:text> </td> <td align="center" valign="center"> ! <jsp:useBean id="searchTypeConstants" class="net.sourceforge.ejtools.jndibrowser.web.SearchTypeConstants"/> ! <html:select property="searchType"> ! <html:options labelName="searchTypeConstants" labelProperty="labels" name="searchTypeConstants" property="values"/> ! </html:select> </td> <td align="center" valign="center"> ! <html:submit styleClass="button"> ! <bean:message key="web.button.view"/> </html:submit> </td> ! </html:form> </tr> </table> *************** *** 70,74 **** <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td>Namespace <strong>java:</strong> </td> </tr> --- 78,86 ---- <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td> ! <bean:message key="web.text.namespace"/> ! <strong> ! <bean:message key="web.text.namespace.java"/> ! </strong> </td> </tr> *************** *** 84,88 **** <tr> <td class=".tree-content"> ! <img src="images/toolbarButtonGraphics/development/J2EEServer16.gif"/>java:</td> </tr> </table> --- 96,102 ---- <tr> <td class=".tree-content"> ! <img src="images/toolbarButtonGraphics/development/J2EEServer16.gif"/> ! <bean:message key="web.text.namespace.java"/> ! </td> </tr> </table> *************** *** 113,117 **** <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td>Namespace <strong>global</strong> </td> </tr> --- 127,135 ---- <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td> ! <bean:message key="web.text.namespace"/> ! <strong> ! <bean:message key="web.text.namespace.global"/> ! </strong> </td> </tr> *************** *** 127,131 **** <tr> <td class=".tree-content"> ! <img src="images/toolbarButtonGraphics/development/J2EEServer16.gif"/>java:</td> </tr> </table> --- 145,151 ---- <tr> <td class=".tree-content"> ! <img src="images/toolbarButtonGraphics/development/J2EEServer16.gif"/> ! <bean:message key="web.text.namespace.global"/> ! </td> </tr> </table> Index: index.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/index.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.xml 30 May 2002 22:43:22 -0000 1.2 --- index.xml 11 Jun 2002 07:41:42 -0000 1.3 *************** *** 5,118 **** <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> ! <Spacer/> ! <Frame> ! <HeaderBlock> ! <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> --- 5,132 ---- <bean:message key="web.index.title"/> </Title> ! <Content> ! <!-- ======================================== --> ! <!-- Header --> ! <!-- ======================================== --> ! <TitleBlock> ! <Title> <bean:message key="web.index.title"/> ! </Title> ! <Path> ! <Element> ! <bean:message key="web.index.title"/> ! </Element> ! </Path> ! </TitleBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <Frame> ! <HeaderBlock> ! <table align="center"> ! <tr> ! <html:form action="/view"> ! <td align="center" valign="center"> ! <jsp:text> ! <bean:message key="web.label.viewType"/> ! </jsp:text> ! </td> ! <td align="center" valign="center"> ! <jsp:useBean id="searchTypeConstants" class="net.sourceforge.ejtools.jndibrowser.web.SearchTypeConstants"/> ! <html:select property="searchType"> ! <html:options labelName="searchTypeConstants" labelProperty="labels" name="searchTypeConstants" property="values"/> ! </html:select> ! </td> ! <td align="center" valign="center"> ! <html:submit styleClass="button"> ! <bean:message key="web.button.view"/> ! </html:submit> ! </td> ! </html:form> ! </tr> ! </table> ! </HeaderBlock> ! </Frame> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <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 --> ! <!-- ======================================== --> ! <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> ! </Content> </Page> Index: style.xsl =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/style.xsl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** style.xsl 30 May 2002 22:43:22 -0000 1.2 --- style.xsl 11 Jun 2002 07:41:42 -0000 1.3 *************** *** 15,19 **** <head> <title> ! <xsl:value-of select="@title"/> </title> <link rel="stylesheet" type="text/css" href="style.css"/> --- 15,19 ---- <head> <title> ! <xsl:apply-templates select="Title"/> </title> <link rel="stylesheet" type="text/css" href="style.css"/> *************** *** 21,28 **** </head> <body> ! <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match="Spacer"> <img border="0" src="images/white.png" width="5" height="15"/> --- 21,34 ---- </head> <body> ! <xsl:apply-templates select="Content"/> </body> </html> </xsl:template> + <xsl:template match="Title"> + <xsl:apply-templates/> + </xsl:template> + <xsl:template match="Content"> + <xsl:apply-templates/> + </xsl:template> <xsl:template match="Spacer"> <img border="0" src="images/white.png" width="5" height="15"/> *************** *** 37,41 **** <b> <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <xsl:value-of select="@title"/> </font> </b> --- 43,47 ---- <b> <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <xsl:apply-templates select="Title"/> </font> </b> *************** *** 172,181 **** <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> --- 178,181 ---- |
From: <let...@us...> - 2002-06-11 07:41:45
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/resources In directory usw-pr-cvs1:/tmp/cvs-serv18362/jndi.browser/src/webapp/resources Modified Files: struts-config.xml Log Message: Pretty Print Index: struts-config.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/resources/struts-config.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** struts-config.xml 30 May 2002 22:43:05 -0000 1.2 --- struts-config.xml 11 Jun 2002 07:41:42 -0000 1.3 *************** *** 17,21 **** <forward name="view" path="/index.jsp"/> </action> ! <action path="/view" type="net.sourceforge.ejtools.jndibrowser.web.action.ViewAction"> <forward name="view" path="/index.jsp"/> </action> --- 17,21 ---- <forward name="view" path="/index.jsp"/> </action> ! <action path="/view" type="net.sourceforge.ejtools.jndibrowser.web.action.ViewAction" name="viewForm" input="index.jsp"> <forward name="view" path="/index.jsp"/> </action> |
From: <let...@us...> - 2002-06-11 07:41:44
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv18362/jndi.browser/src/resources Modified Files: ApplicationResources.properties Log Message: Pretty Print Index: ApplicationResources.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/resources/ApplicationResources.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ApplicationResources.properties 15 May 2002 20:49:58 -0000 1.4 --- ApplicationResources.properties 11 Jun 2002 07:41:41 -0000 1.5 *************** *** 1,47 **** ! # Options Menu ! action.options=Options ! action.options.mnemonic=79 ! ! # Options Menu Items ! action.options.selectQueueFactory=Set Default QueueConnectionFactory ! action.options.selectTopicFactory=Set Default TopicConnectionFactory ! ! # Title for Frame, Dialog, etc ! title.application=JNDI Browser ! title.about.dialog=About JNDI Browser ! title.information.defaultFactory.queue=Default QueueConnectionFactory Selection ! title.information.defaultFactory.topic=Default TopicConnectionFactory Selection ! title.question.defaultFactory.queue=Default QueueConnectionFactory Selection ! title.question.defaultFactory.topic=Default TopicConnectionFactory Selection ! ! # Text for Tree element ! tree.server.name=JNDI Server ! tree.message.name=Msg. ! ! # Text for Frame, Dialog, etc ! text.about.application=The Enterprise Java Tools ! text.about.javaVersion=Java Version ! text.about.virtualMachine=Virtual Machine ! text.information.noDefaultFactory.queue=There is no registered QueueConnectionFactory ! text.information.noDefaultFactory.topic=There is no registered TopicConnectionFactory ! text.question.defaultFactory.queue=Choose the default QueueConnectionFactory ! text.question.defaultFactory.topic=Choose the default TopicConnectionFactory ! ! # Text for splash widow ! text.progress.task.start=JNDIBrowser starting... ! text.progress.task.create.frame.service=Creating Frame service... ! text.progress.task.create.about.service=Creating About service... ! text.progress.task.create.menubar.service=Creating MenuBar service... ! text.progress.task.create.connection.service=Creating Connection service... ! text.progress.task.add.frame.service=Adding Frame service... ! text.progress.task.add.about.service=Adding About service... ! text.progress.task.add.menubar.service=Adding MenuBar service... ! text.progress.task.add.connection.service=Adding Connection service... ! text.progress.task.add.server=Adding Server entry point... ! text.progress.task.add.action.quit=Adding Exit action... ! text.progress.task.add.action.queue=Adding QueueConnectionFactory action... ! text.progress.task.add.action.topic=Adding TopicConnectionFactory action... ! ! # Text for custom editors ! text.editor.SearchTypeEditor.shallow=Shallow ! text.editor.SearchTypeEditor.deep=Deep --- 1,62 ---- ! # Options Menu ! action.options=Options ! action.options.mnemonic=79 ! ! # Options Menu Items ! action.options.selectQueueFactory=Set Default QueueConnectionFactory ! action.options.selectTopicFactory=Set Default TopicConnectionFactory ! ! # Title for Frame, Dialog, etc ! title.application=JNDI Browser ! title.about.dialog=About JNDI Browser ! title.information.defaultFactory.queue=Default QueueConnectionFactory Selection ! title.information.defaultFactory.topic=Default TopicConnectionFactory Selection ! title.question.defaultFactory.queue=Default QueueConnectionFactory Selection ! title.question.defaultFactory.topic=Default TopicConnectionFactory Selection ! ! # Text for Tree element ! tree.server.name=JNDI Server ! tree.message.name=Msg. ! ! # Text for Frame, Dialog, etc ! text.about.application=The Enterprise Java Tools ! text.about.javaVersion=Java Version ! text.about.virtualMachine=Virtual Machine ! text.information.noDefaultFactory.queue=There is no registered QueueConnectionFactory ! text.information.noDefaultFactory.topic=There is no registered TopicConnectionFactory ! text.question.defaultFactory.queue=Choose the default QueueConnectionFactory ! text.question.defaultFactory.topic=Choose the default TopicConnectionFactory ! ! # Text for splash widow ! text.progress.task.start=JNDIBrowser starting... ! text.progress.task.create.frame.service=Creating Frame service... ! text.progress.task.create.about.service=Creating About service... ! text.progress.task.create.menubar.service=Creating MenuBar service... ! text.progress.task.create.connection.service=Creating Connection service... ! text.progress.task.add.frame.service=Adding Frame service... ! text.progress.task.add.about.service=Adding About service... ! text.progress.task.add.menubar.service=Adding MenuBar service... ! text.progress.task.add.connection.service=Adding Connection service... ! text.progress.task.add.server=Adding Server entry point... ! text.progress.task.add.action.quit=Adding Exit action... ! text.progress.task.add.action.queue=Adding QueueConnectionFactory action... ! text.progress.task.add.action.topic=Adding TopicConnectionFactory action... ! ! # Text for custom editors ! text.editor.SearchTypeEditor.shallow=Shallow ! text.editor.SearchTypeEditor.deep=Deep ! ! # Web texts ! web.index.title=JNDI View ! web.detail.title=Detail View ! ! web.label.name=Name : ! web.label.shortDescription=Description : ! web.label.viewType=View Type : ! ! web.button.submit=Submit ! web.button.view=View ! ! web.text.namespace=Namespace ! web.text.namespace.java=java ! web.text.namespace.global=Global |
From: <let...@us...> - 2002-06-11 07:41:44
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/action In directory usw-pr-cvs1:/tmp/cvs-serv18362/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/action Modified Files: ViewAction.java Log Message: Pretty Print Index: ViewAction.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/action/ViewAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ViewAction.java 30 May 2002 22:37:54 -0000 1.1 --- ViewAction.java 11 Jun 2002 07:41:41 -0000 1.2 *************** *** 18,21 **** --- 18,22 ---- import net.sourceforge.ejtools.jndibrowser.web.Constants; import net.sourceforge.ejtools.jndibrowser.web.JNDIContainer; + import net.sourceforge.ejtools.jndibrowser.web.form.ViewForm; import org.apache.log4j.Category; *************** *** 60,63 **** --- 61,67 ---- JNDIContainer javaTree = null; JNDIContainer globalTree = null; + int searchType = Server.SHALLOW_SEARCH; + + logger.debug("Execute action"); // Extract attributes we will need *************** *** 65,68 **** --- 69,79 ---- MessageResources messages = getResources(); + if (form instanceof ViewForm) + { + searchType = ((ViewForm) form).getSearchType(); + } + + logger.debug("View type = " + searchType); + // Validate the request parameters specified by the user ActionErrors errors = new ActionErrors(); *************** *** 94,108 **** } ! String search = request.getParameter("search"); ! if ("D".equals(search)) ! { ! javaTree.setSearchType(Server.DEEP_SEARCH); ! globalTree.setSearchType(Server.DEEP_SEARCH); ! } ! else ! { ! javaTree.setSearchType(Server.SHALLOW_SEARCH); ! globalTree.setSearchType(Server.SHALLOW_SEARCH); ! } javaTree.refresh(); --- 105,110 ---- } ! javaTree.setSearchType(searchType); ! globalTree.setSearchType(searchType); javaTree.refresh(); |
From: <let...@us...> - 2002-06-11 07:41:44
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web In directory usw-pr-cvs1:/tmp/cvs-serv18362/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web Modified Files: SearchTypeConstants.java Log Message: Pretty Print Index: SearchTypeConstants.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/SearchTypeConstants.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SearchTypeConstants.java 30 May 2002 22:37:54 -0000 1.1 --- SearchTypeConstants.java 11 Jun 2002 07:41:41 -0000 1.2 *************** *** 35,43 **** { labels = new Vector(); - labels.add(res.getString("text.editor.SearchTypeEditor.shallow")); - labels.add(res.getString("text.editor.SearchTypeEditor.deep")); - values = new Vector(); values.add(new Integer(Server.SHALLOW_SEARCH)); values.add(new Integer(Server.DEEP_SEARCH)); } --- 35,44 ---- { labels = new Vector(); values = new Vector(); + + labels.add(res.getString("text.editor.SearchTypeEditor.shallow")); values.add(new Integer(Server.SHALLOW_SEARCH)); + + labels.add(res.getString("text.editor.SearchTypeEditor.deep")); values.add(new Integer(Server.DEEP_SEARCH)); } |
From: <let...@us...> - 2002-06-11 07:41:44
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/taglib In directory usw-pr-cvs1:/tmp/cvs-serv18362/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/taglib Modified Files: ConnectTag.java Log Message: Pretty Print Index: ConnectTag.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/taglib/ConnectTag.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ConnectTag.java 30 May 2002 22:37:55 -0000 1.2 --- ConnectTag.java 11 Jun 2002 07:41:41 -0000 1.3 *************** *** 25,29 **** private String name = Constants.TREE; /** The page to which we should forward for the user to log on. */ ! private String page = "/view.do"; --- 25,29 ---- private String name = Constants.TREE; /** The page to which we should forward for the user to log on. */ ! private String page = "/connect.do"; |
From: <let...@us...> - 2002-06-11 07:41:44
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv18362/jndi.browser/src/etc Modified Files: run.mf Removed Files: logo.svg Log Message: Pretty Print Index: run.mf =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/etc/run.mf,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** run.mf 30 May 2002 22:40:11 -0000 1.3 --- run.mf 11 Jun 2002 07:41:41 -0000 1.4 *************** *** 3,10 **** Name: net/sourceforge/ejtools/jndibrowser/ ! 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 --- 3,10 ---- Name: net/sourceforge/ejtools/jndibrowser/ ! 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 --- logo.svg DELETED --- |
From: <let...@us...> - 2002-06-10 20:08:10
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util In directory usw-pr-cvs1:/tmp/cvs-serv1493/common/src/main/net/sourceforge/ejtools/util Modified Files: ClassTools.java Log Message: Add Void type return Index: ClassTools.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util/ClassTools.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ClassTools.java 30 May 2002 21:32:45 -0000 1.5 --- ClassTools.java 10 Jun 2002 20:08:05 -0000 1.6 *************** *** 1,132 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at gnu.org. ! */ ! package net.sourceforge.ejtools.util; ! ! ! /** ! * Utility class to handle Class realted stuff. ! * ! * @author letiemble ! * @created 25 avril 2002 ! * @version $Revision$ ! */ ! public class ClassTools ! { ! ! /** ! * Pretty print a full qualified class name. Specially useful for object arrays. ! * ! * @param className The fully qualified class name ! * @return The pretty class name ! */ ! public static String classDisplay(String className) ! { ! String result = className; ! ! if (className == null) ! { ! return null; ! } ! ! if (className.startsWith("[Z")) ! { ! result = "boolean[]"; ! } ! if (className.startsWith("[C")) ! { ! result = "char[]"; ! } ! if (className.startsWith("[D")) ! { ! result = "double[]"; ! } ! if (className.startsWith("[F")) ! { ! result = "float[]"; ! } ! if (className.startsWith("[I")) ! { ! result = "int[]"; ! } ! if (className.startsWith("[S")) ! { ! result = "short[]"; ! } ! if (className.startsWith("[J")) ! { ! result = "long[]"; ! } ! if (className.startsWith("[B")) ! { ! result = "byte[]"; ! } ! if (className.startsWith("[L")) ! { ! result = className.substring(2, className.length() - 1) + "[]"; ! } ! ! return result; ! } ! ! ! /** ! * Get the class by its name. ! * ! * @param fullPathClassName The full qualified name of the class ! * @return The class if it is found, otherwise null ! */ ! public static Class getClass(String fullPathClassName) ! { ! // Check if the class is a primitive type ! if (fullPathClassName.equals("int")) ! { ! return Integer.TYPE; ! } ! if (fullPathClassName.equals("short")) ! { ! return Short.TYPE; ! } ! if (fullPathClassName.equals("long")) ! { ! return Long.TYPE; ! } ! if (fullPathClassName.equals("byte")) ! { ! return Byte.TYPE; ! } ! if (fullPathClassName.equals("char")) ! { ! return Character.TYPE; ! } ! if (fullPathClassName.equals("float")) ! { ! return Float.TYPE; ! } ! if (fullPathClassName.equals("double")) ! { ! return Double.TYPE; ! } ! if (fullPathClassName.equals("boolean")) ! { ! return Boolean.TYPE; ! } ! ! // Try to load the class ! Class c = null; ! try ! { ! c = Class.forName(fullPathClassName); ! } ! catch (Throwable e) ! { ! // Ignore it ! } ! ! return c; ! } ! } ! --- 1,136 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at gnu.org. ! */ ! package net.sourceforge.ejtools.util; ! ! ! /** ! * Utility class to handle Class realted stuff. ! * ! * @author letiemble ! * @created 25 avril 2002 ! * @version $Revision$ ! */ ! public class ClassTools ! { ! ! /** ! * Pretty print a full qualified class name. Specially useful for object arrays. ! * ! * @param className The fully qualified class name ! * @return The pretty class name ! */ ! public static String classDisplay(String className) ! { ! String result = className; ! ! if (className == null) ! { ! return null; ! } ! ! if (className.startsWith("[Z")) ! { ! result = "boolean[]"; ! } ! if (className.startsWith("[C")) ! { ! result = "char[]"; ! } ! if (className.startsWith("[D")) ! { ! result = "double[]"; ! } ! if (className.startsWith("[F")) ! { ! result = "float[]"; ! } ! if (className.startsWith("[I")) ! { ! result = "int[]"; ! } ! if (className.startsWith("[S")) ! { ! result = "short[]"; ! } ! if (className.startsWith("[J")) ! { ! result = "long[]"; ! } ! if (className.startsWith("[B")) ! { ! result = "byte[]"; ! } ! if (className.startsWith("[L")) ! { ! result = className.substring(2, className.length() - 1) + "[]"; ! } ! ! return result; ! } ! ! ! /** ! * Get the class by its name. ! * ! * @param fullPathClassName The full qualified name of the class ! * @return The class if it is found, otherwise null ! */ ! public static Class getClass(String fullPathClassName) ! { ! // Check if the class is a primitive type ! if (fullPathClassName.equals("void")) ! { ! return Void.TYPE; ! } ! if (fullPathClassName.equals("int")) ! { ! return Integer.TYPE; ! } ! if (fullPathClassName.equals("short")) ! { ! return Short.TYPE; ! } ! if (fullPathClassName.equals("long")) ! { ! return Long.TYPE; ! } ! if (fullPathClassName.equals("byte")) ! { ! return Byte.TYPE; ! } ! if (fullPathClassName.equals("char")) ! { ! return Character.TYPE; ! } ! if (fullPathClassName.equals("float")) ! { ! return Float.TYPE; ! } ! if (fullPathClassName.equals("double")) ! { ! return Double.TYPE; ! } ! if (fullPathClassName.equals("boolean")) ! { ! return Boolean.TYPE; ! } ! ! // Try to load the class ! Class c = null; ! try ! { ! c = Class.forName(fullPathClassName); ! } ! catch (Throwable e) ! { ! // Ignore it ! } ! ! return c; ! } ! } ! |
From: <let...@us...> - 2002-06-10 07:50:56
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/resources In directory usw-pr-cvs1:/tmp/cvs-serv14371/jmx.browser/src/webapp/resources Modified Files: application.tld struts-config.xml Added Files: ejtools.tld Log Message: In progress --- NEW FILE: ejtools.tld --- <?xml version="1.0" encoding="ISO-8859-1"?> <!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Laurent Etiemble (Orange) --> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"> <taglib> <tlibversion>1.0</tlibversion> <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> <name>generateTree</name> <tagclass>net.sourceforge.ejtools.servlet.http.jsp.tagext.BeanContextTreeTag</tagclass> <bodycontent>empty</bodycontent> <info/> <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> <attribute> <name>id</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>ignore</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <name>treeSpacer</name> <tagclass>net.sourceforge.ejtools.servlet.http.jsp.tagext.TreeSpacerTag</tagclass> <bodycontent>empty</bodycontent> <info/> <attribute> <name>value</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>name</name> <required>false</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>treeLeaf</name> <tagclass>net.sourceforge.ejtools.servlet.http.jsp.tagext.TreeLeafTag</tagclass> <bodycontent>empty</bodycontent> <info/> <attribute> <name>value</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>name</name> <required>false</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>treeRenderer</name> <tagclass>net.sourceforge.ejtools.servlet.http.jsp.tagext.TreeRendererTag</tagclass> <bodycontent>empty</bodycontent> <info/> <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> </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> </taglib> Index: application.tld =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/resources/application.tld,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** application.tld 25 May 2002 20:46:15 -0000 1.2 --- application.tld 10 Jun 2002 07:50:53 -0000 1.3 *************** *** 25,30 **** </tag> <tag> ! <name>generateTree</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.BeanContextTreeTag</tagclass> <bodycontent>empty</bodycontent> <info/> --- 25,30 ---- </tag> <tag> ! <name>mbeanName</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanNameTag</tagclass> <bodycontent>empty</bodycontent> <info/> *************** *** 35,39 **** </attribute> <attribute> ! <name>property</name> <required>false</required> <rtexprvalue>true</rtexprvalue> --- 35,39 ---- </attribute> <attribute> ! <name>full</name> <required>false</required> <rtexprvalue>true</rtexprvalue> *************** *** 45,50 **** </attribute> <attribute> ! <name>id</name> ! <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> --- 45,50 ---- </attribute> <attribute> ! <name>filter</name> ! <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> *************** *** 56,76 **** </tag> <tag> ! <name>treeSpacer</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.TreeSpacerTag</tagclass> <bodycontent>empty</bodycontent> <info/> <attribute> - <name>value</name> - <required>false</required> - <rtexprvalue>true</rtexprvalue> - </attribute> - <attribute> <name>name</name> ! <required>false</required> ! <rtexprvalue>true</rtexprvalue> ! </attribute> ! <attribute> ! <name>property</name> ! <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> --- 56,66 ---- </tag> <tag> ! <name>mbeanAttributeAccess</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanAttributeAccessTag</tagclass> <bodycontent>empty</bodycontent> <info/> <attribute> <name>name</name> ! <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> *************** *** 80,132 **** <rtexprvalue>true</rtexprvalue> </attribute> - </tag> - <tag> - <name>treeLeaf</name> - <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.TreeLeafTag</tagclass> - <bodycontent>empty</bodycontent> - <info/> - <attribute> - <name>value</name> - <required>false</required> - <rtexprvalue>true</rtexprvalue> - </attribute> <attribute> ! <name>name</name> ! <required>false</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>treeRenderer</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.TreeRendererTag</tagclass> ! <bodycontent>empty</bodycontent> ! <info/> ! <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> --- 70,80 ---- <rtexprvalue>true</rtexprvalue> </attribute> <attribute> ! <name>filter</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> ! <name>ignore</name> <required>false</required> <rtexprvalue>true</rtexprvalue> *************** *** 134,139 **** </tag> <tag> ! <name>mbeanAttributeAccess</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanAttributeAccessTag</tagclass> <bodycontent>empty</bodycontent> <info/> --- 82,87 ---- </tag> <tag> ! <name>mbeanAttributeClass</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanAttributeClassTag</tagclass> <bodycontent>empty</bodycontent> <info/> *************** *** 160,165 **** </tag> <tag> ! <name>mbeanAttributeClass</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanAttributeClassTag</tagclass> <bodycontent>empty</bodycontent> <info/> --- 108,113 ---- </tag> <tag> ! <name>mbeanAttributeValue</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanAttributeValueTag</tagclass> <bodycontent>empty</bodycontent> <info/> *************** *** 170,173 **** --- 118,126 ---- </attribute> <attribute> + <name>property</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> <name>scope</name> <required>false</required> *************** *** 186,191 **** </tag> <tag> ! <name>mbeanAttributeValue</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanAttributeValueTag</tagclass> <bodycontent>empty</bodycontent> <info/> --- 139,144 ---- </tag> <tag> ! <name>mbeanAttributeEditor</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanAttributeEditorTag</tagclass> <bodycontent>empty</bodycontent> <info/> *************** *** 217,222 **** </tag> <tag> ! <name>mbeanAttributeEditor</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanAttributeEditorTag</tagclass> <bodycontent>empty</bodycontent> <info/> --- 170,175 ---- </tag> <tag> ! <name>mbeanParameterClass</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanParameterClassTag</tagclass> <bodycontent>empty</bodycontent> <info/> *************** *** 227,235 **** </attribute> <attribute> - <name>property</name> - <required>true</required> - <rtexprvalue>true</rtexprvalue> - </attribute> - <attribute> <name>scope</name> <required>false</required> --- 180,183 ---- *************** *** 248,257 **** </tag> <tag> ! <name>mbeanParameterClass</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanParameterClassTag</tagclass> <bodycontent>empty</bodycontent> <info/> <attribute> <name>name</name> <required>true</required> <rtexprvalue>true</rtexprvalue> --- 196,210 ---- </tag> <tag> ! <name>mbeanParameterEditor</name> ! <tagclass>net.sourceforge.ejtools.jmxbrowser.web.taglib.MBeanParameterEditorTag</tagclass> <bodycontent>empty</bodycontent> <info/> <attribute> <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>id</name> <required>true</required> <rtexprvalue>true</rtexprvalue> Index: struts-config.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/resources/struts-config.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** struts-config.xml 17 May 2002 20:38:47 -0000 1.2 --- struts-config.xml 10 Jun 2002 07:50:53 -0000 1.3 *************** *** 7,10 **** --- 7,11 ---- <form-beans> <form-bean name="detailForm" type="net.sourceforge.ejtools.jmxbrowser.web.form.DetailForm"/> + <form-bean name="searchForm" type="net.sourceforge.ejtools.jmxbrowser.web.form.SearchForm"/> </form-beans> <!-- ========== Global Forward Definitions ============================== --> *************** *** 14,25 **** <!-- ========== Action Mapping Definitions ============================== --> <action-mappings> ! <action path="/admin" forward="/admin.jsp"/> ! <action path="/search" forward="/search.jsp"/> <action path="/connect" type="net.sourceforge.ejtools.jmxbrowser.web.action.ConnectAction"> <forward name="view" path="/index.jsp"/> </action> <action path="/detail" type="net.sourceforge.ejtools.jmxbrowser.web.action.DetailAction"> <forward name="detail" path="/detail.jsp"/> <forward name="error" path="/index.jsp"/> </action> </action-mappings> --- 15,42 ---- <!-- ========== Action Mapping Definitions ============================== --> <action-mappings> ! <!-- First connection to JMX Server --> <action path="/connect" type="net.sourceforge.ejtools.jmxbrowser.web.action.ConnectAction"> <forward name="view" path="/index.jsp"/> </action> + <!-- MBean detail --> <action path="/detail" type="net.sourceforge.ejtools.jmxbrowser.web.action.DetailAction"> <forward name="detail" path="/detail.jsp"/> <forward name="error" path="/index.jsp"/> + </action> + <!-- MBean attributes update --> + <action path="/update" type="net.sourceforge.ejtools.jmxbrowser.web.action.UpdateAction" name="detailForm"> + <forward name="detail" path="/detail.jsp"/> + <forward name="error" path="/detail.jsp"/> + </action> + + <action path="/admin" forward="/admin.jsp"/> + <action path="/event" forward="/admin.jsp"/> + + <action path="/search_form" type="net.sourceforge.ejtools.jmxbrowser.web.action.ClearSearchAction"> + <forward name="view" path="/search.jsp"/> + <forward name="error" path="/index.jsp"/> + </action> + <action path="/search" type="net.sourceforge.ejtools.jmxbrowser.web.action.SearchAction" name="searchForm" input="/search.jsp"> + <forward name="view" path="/search.jsp"/> </action> </action-mappings> |
From: <let...@us...> - 2002-06-10 07:50:56
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp In directory usw-pr-cvs1:/tmp/cvs-serv14371/jmx.browser/src/webapp Modified Files: web.xml Log Message: In progress Index: web.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/web.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** web.xml 17 May 2002 20:37:10 -0000 1.2 --- web.xml 10 Jun 2002 07:50:53 -0000 1.3 *************** *** 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>3</param-value> </init-param> <init-param> <param-name>detail</param-name> ! <param-value>3</param-value> </init-param> <init-param> *************** *** 94,97 **** --- 94,102 ---- <taglib-uri>/WEB-INF/application.tld</taglib-uri> <taglib-location>/WEB-INF/application.tld</taglib-location> + </taglib> + <!-- Additional TagLib : EJTools --> + <taglib> + <taglib-uri>/WEB-INF/ejtools.tld</taglib-uri> + <taglib-location>/WEB-INF/ejtools.tld</taglib-location> </taglib> <!-- Additional TagLib : log --> |
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/images/toolbarButtonGraphics/development In directory usw-pr-cvs1:/tmp/cvs-serv14297/jmx.browser/src/webapp/content/images/toolbarButtonGraphics/development Added Files: Bean16.gif Bean24.gif J2EEDomain16.gif J2EEDomain24.gif J2EEServer16.gif J2EEServer24.gif Log Message: In progress --- NEW FILE: Bean16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Bean24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEDomain16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEDomain24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEServer16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEServer24.gif --- (This appears to be a binary file; contents omitted.) |
From: <let...@us...> - 2002-06-10 07:50:45
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/content In directory usw-pr-cvs1:/tmp/cvs-serv14297/jmx.browser/src/webapp/content Modified Files: admin.jsp detail.jsp index.jsp index.xml search.jsp style.xsl Added Files: admin.xml detail.xml search.xml Removed Files: index.jsp.old tree.xsl Log Message: In progress --- NEW FILE: admin.xml --- <?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.admin.title"/> </Title> <Content> <!-- ======================================== --> <!-- Header --> <!-- ======================================== --> <TitleBlock> <Title> <bean:message key="web.admin.title"/> </Title> <Path> <Element> <html:link forward="home"> <bean:message key="web.index.title"/> </html:link> </Element> <Element> <bean:message key="web.admin.title"/> </Element> </Path> </TitleBlock> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <Frame> <HeaderBlock> </HeaderBlock> <ContentBlock> </ContentBlock> </Frame> </Content> </Page> --- NEW FILE: detail.xml --- <?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.detail.title"/> </Title> <Content> <!-- ======================================== --> <!-- Header --> <!-- ======================================== --> <TitleBlock> <Title> <bean:message key="web.detail.title"/> </Title> <Path> <Element> <html:link forward="home"> <bean:message key="web.index.title"/> </html:link> </Element> <Element> <bean:message key="web.detail.title"/> </Element> </Path> </TitleBlock> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <!-- ======================================== --> <!-- MBean Detail --> <!-- ======================================== --> <Frame> <HeaderBlock> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> <td align="right" nowrap="true"> <b> <bean:message key="web.label.mbean.domain"/> </b> </td> <td align="left" width="90%"> <bean:write name="detail" property="domain"/> </td> </tr> <tr> <td align="right" nowrap="true"> <b> <bean:message key="web.label.mbean.name"/> </b> </td> <td align="left" width="90%"> <bean:write name="detail" property="name"/> </td> </tr> <tr> <td align="right" nowrap="true"> <b> <bean:message key="web.label.mbean.className"/> </b> </td> <td align="left" width="90%"> <bean:write name="detail" property="className"/> </td> </tr> <tr> <td align="right" nowrap="true"> <b> <bean:message key="web.label.mbean.description"/> </b> </td> <td align="left" width="90%"> <bean:write name="detail.info" property="description"/> </td> </tr> </table> </HeaderBlock> <html:errors/> </Frame> <!-- ======================================== --> <!-- Test for Constructors --> <!-- ======================================== --> <bean:size name="detail.info" property="constructors" id="contructorsSize"/> <logic:greaterThan name="contructorsSize" value="0"> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <!-- ======================================== --> <!-- Constructors --> <!-- ======================================== --> <ConstructorsBlock> <!-- ======================================== --> <!-- List --> <!-- ======================================== --> <logic:iterate name="detail.info" property="constructors" id="constructor" type="javax.management.MBeanConstructorInfo"> <Constructor> <ConstructorName> <bean:write name="constructor" property="name"/> </ConstructorName> <ConstructorDescription> <bean:write name="constructor" property="description"/> </ConstructorDescription> <Parameters> <logic:iterate name="constructor" property="signature" id="parameter" type="javax.management.MBeanParameterInfo"> <Parameter> <ParameterName> <bean:write name="parameter" property="name"/> </ParameterName> <ParameterDescription> <bean:write name="parameter" property="description"/> </ParameterDescription> <ParameterClassName> <app:mbeanParameterClass name="parameter"/> </ParameterClassName> </Parameter> </logic:iterate> </Parameters> </Constructor> </logic:iterate> </ConstructorsBlock> </logic:greaterThan> <!-- ======================================== --> <!-- Test for Notifications --> <!-- ======================================== --> <bean:size name="detail.info" property="notifications" id="notificationsSize"/> <logic:greaterThan name="notificationsSize" value="0"> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <!-- ======================================== --> <!-- Notifications --> <!-- ======================================== --> <NotificationsBlock> <!-- ======================================== --> <!-- List --> <!-- ======================================== --> <logic:iterate name="detail.info" property="notifications" id="notification" type="javax.management.MBeanNotificationInfo"> <Notification> <NotificationName> <bean:write name="notification" property="name"/> </NotificationName> <NotificationDescription> <bean:write name="notification" property="description"/> </NotificationDescription> <NotificationTypes> <logic:iterate name="notification" property="notifTypes" id="notif" type="java.lang.String"> <NotificationType> <bean:write name="notif" filter="false"/> </NotificationType> </logic:iterate> </NotificationTypes> </Notification> </logic:iterate> </NotificationsBlock> </logic:greaterThan> <!-- ======================================== --> <!-- Test for Attributes --> <!-- ======================================== --> <bean:size name="detail.info" property="attributes" id="attributesSize"/> <logic:greaterThan name="attributesSize" value="0"> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <!-- ======================================== --> <!-- Attributes --> <!-- ======================================== --> <html:form action="/update" method="POST"> <ejtools:hidden id="reference" name="detail" property="name"/> <AttributesBlock> <!-- ======================================== --> <!-- List --> <!-- ======================================== --> <logic:iterate name="detail.info" property="attributes" id="attribute" type="javax.management.MBeanAttributeInfo"> <Attribute> <AttributeName> <bean:write name="attribute" property="name"/> </AttributeName> <AttributeDescription> <bean:write name="attribute" property="description"/> </AttributeDescription> <AttributeClassName> <app:mbeanAttributeClass name="attribute"/> </AttributeClassName> <AttributeAccess> <app:mbeanAttributeAccess name="attribute"/> </AttributeAccess> <AttributeValue> <app:mbeanAttributeEditor name="detail" property="attribute"/> </AttributeValue> </Attribute> </logic:iterate> <AttributeButtons> <html:submit styleClass="button"> <bean:message key="web.button.update"/> </html:submit> </AttributeButtons> </AttributesBlock> </html:form> </logic:greaterThan> <!-- ======================================== --> <!-- Test for Methods --> <!-- ======================================== --> <bean:size name="detail.info" property="operations" id="operationsSize"/> <logic:greaterThan name="operationsSize" value="0"> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <!-- ======================================== --> <!-- Methods --> <!-- ======================================== --> <OperationsBlock> <!-- ======================================== --> <!-- List --> <!-- ======================================== --> <logic:iterate name="detail.info" property="operations" id="operation" type="javax.management.MBeanOperationInfo"> <Operation> <OperationName> <bean:write name="operation" property="name"/> </OperationName> <OperationDescription> <bean:write name="operation" property="description"/> </OperationDescription> <Parameters> <logic:iterate name="operation" property="signature" id="parameter" type="javax.management.MBeanParameterInfo" indexId="number"> <Parameter> <ParameterName> <bean:write name="parameter" property="name"/> </ParameterName> <ParameterDescription> <bean:write name="parameter" property="description"/> </ParameterDescription> <ParameterClassName> <app:mbeanParameterEditor name="parameter" id="number"/> </ParameterClassName> </Parameter> </logic:iterate> </Parameters> </Operation> </logic:iterate> </OperationsBlock> </logic:greaterThan> </Content> </Page> --- NEW FILE: search.xml --- <?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.search.title"/> </Title> <Content> <!-- ======================================== --> <!-- Header --> <!-- ======================================== --> <TitleBlock> <Title> <bean:message key="web.search.title"/> </Title> <Path> <Element> <html:link forward="home"> <bean:message key="web.index.title"/> </html:link> </Element> <Element> <bean:message key="web.search.title"/> </Element> </Path> </TitleBlock> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <Frame> <HeaderBlock> <html:form action="/search"> <jsp:useBean id="queryConstants" class="net.sourceforge.ejtools.jmxbrowser.web.QueryConstants"/> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> <td> <bean:message key="web.label.search.filter"/> </td> <td> <html:text property="filter"/> </td> <td width="90%"> <bean:message key="web.text.search.nota"/> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> <td> <bean:message key="web.label.search.attribute"/> </td> <td> <html:text property="attribute"/> </td> <td> <bean:message key="web.label.search.query"/> </td> <td> <html:select property="query"> <html:options labelName="queryConstants" labelProperty="queries" name="queryConstants" property="queries"/> </html:select> </td> <td> <bean:message key="web.label.search.value"/> </td> <td> <html:text property="value"/> </td> <td> <bean:message key="web.label.search.type"/> </td> <td width="90%"> <html:select property="type"> <html:options labelName="queryConstants" labelProperty="types" name="queryConstants" property="types"/> </html:select> </td> </tr> </table> <center> <table border="0" cellspacing="0" cellpadding="3"> <tr align="center"> <td> <html:submit styleClass="button"> <bean:message key="web.button.search"/> </html:submit> </td> <td> <html:reset styleClass="button"> <bean:message key="web.button.cancel"/> </html:reset> </td> </tr> </table> </center> </html:form> </HeaderBlock> <!-- ======================================== --> <!-- Search Result --> <!-- ======================================== --> <logic:present name="search.result"> <bean:size name="search.result" id="resultSize"/> <logic:greaterThan name="resultSize" value="0"> <ContentBlock> <logic:iterate name="search.result" id="result" type="javax.management.ObjectName"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td class=".tree-content"> <img src="images/toolbarButtonGraphics/development/Bean16.gif"/> </td> <td class=".tree-content"> <html:link page="/detail.do" paramId="reference" paramName="result"> <bean:write name="result"/> </html:link> </td> </tr> </table> </logic:iterate> </ContentBlock> </logic:greaterThan> </logic:present> </Frame> </Content> </Page> Index: admin.jsp =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/admin.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin.jsp 17 May 2002 20:36:40 -0000 1.1 --- admin.jsp 10 Jun 2002 07:50:42 -0000 1.2 *************** *** 1,17 **** ! <?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: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>Admin</title> </head> <body> - <!-- ======================================== --> - <!-- Header --> - <!-- ======================================== --> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> --- 1,15 ---- ! <?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> + <bean:message key="web.admin.title"/> + </title> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> </head> <body> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> *************** *** 21,25 **** <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6">Admin</font> </b> </td> --- 19,25 ---- <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <bean:message key="web.admin.title"/> ! </font> </b> </td> *************** *** 31,37 **** <td> <html:link forward="home"> ! <jsp:text>Agent View</jsp:text> ! </html:link> ! <jsp:text> >> Admin</jsp:text> </td> </tr> --- 31,36 ---- <td> <html:link forward="home"> ! <bean:message key="web.index.title"/> ! </html:link> >> <bean:message key="web.admin.title"/> </td> </tr> *************** *** 40,72 **** </tr> </table> - <!-- ======================================== --> - <!-- Spacer --> - <!-- ======================================== --> <img border="0" src="images/white.png" width="5" height="15"/> - <!-- ======================================== --> - <!-- Search Detail --> - <!-- ======================================== --> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> <tr bgcolor="#EEEEEE"> <td align="left" valign="top"> - <!-- ======================================== --> - <!-- Search Forms --> - <!-- ======================================== --> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td align="left">Blah Blah</td> </tr> </table> </td> </tr> - <!-- ======================================== --> - <!-- Result 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"/>Server</td> </tr> </table> --- 39,58 ---- </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/> </tr> </table> </td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td/> </tr> </table> Index: detail.jsp =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/detail.jsp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** detail.jsp 17 May 2002 20:37:41 -0000 1.4 --- detail.jsp 10 Jun 2002 07:50:42 -0000 1.5 *************** *** 1,18 **** ! <?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: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 of <bean:write name="detail" property="name"/> </title> - <html:base/> <link rel="stylesheet" type="text/css" href="style.css"/> </head> <body> - <!-- ======================================== --> - <!-- Header --> - <!-- ======================================== --> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> --- 1,15 ---- ! <?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> ! <bean:message key="web.detail.title"/> </title> <link rel="stylesheet" type="text/css" href="style.css"/> + <html:base/> </head> <body> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> *************** *** 22,26 **** <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6">MBean View</font> </b> </td> --- 19,25 ---- <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <bean:message key="web.detail.title"/> ! </font> </b> </td> *************** *** 32,38 **** <td> <html:link forward="home"> ! <jsp:text>Agent View</jsp:text> ! </html:link> ! <jsp:text> >> MBean View</jsp:text> </td> </tr> --- 31,36 ---- <td> <html:link forward="home"> ! <bean:message key="web.index.title"/> ! </html:link> >> <bean:message key="web.detail.title"/> </td> </tr> *************** *** 41,85 **** </tr> </table> - <!-- ======================================== --> - <!-- Spacer --> - <!-- ======================================== --> <img border="0" src="images/white.png" width="5" height="15"/> - <!-- ======================================== --> - <!-- MBean 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>Domain :</b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail" property="domain"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b>MBean Name :</b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail" property="name"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b>MBean Java Class :</b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail" property="className"/> ! </td> ! </tr> <tr> ! <td align="right" nowrap="true"> ! <b>Description :</b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail.info" property="description"/> </td> </tr> --- 39,91 ---- </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%" cellspacing="0" cellpadding="3"> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.mbean.domain"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail" property="domain"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.mbean.name"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail" property="name"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.mbean.className"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail" property="className"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.mbean.description"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail.info" property="description"/> ! </td> ! </tr> ! </table> </td> </tr> *************** *** 87,125 **** </td> </tr> </table> - <!-- ======================================== --> - <!-- Test for Constructors --> - <!-- ======================================== --> <bean:size name="detail.info" property="constructors" id="contructorsSize"/> <logic:greaterThan name="contructorsSize" value="0"> - <!-- ======================================== --> - <!-- Spacer --> - <!-- ======================================== --> <img border="0" src="images/white.png" width="5" height="15"/> - <!-- ======================================== --> - <!-- Contructors --> - <!-- ======================================== --> <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> - <!-- ======================================== --> - <!-- Contructors Headers --> - <!-- ======================================== --> <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> - <!-- ======================================== --> - <!-- Contructors List --> - <!-- ======================================== --> <logic:iterate name="detail.info" property="constructors" id="constructor" type="javax.management.MBeanConstructorInfo"> <tr bgcolor="#EEEEEE"> ! <td valign="top" align="right"> <jsp:text><a href="javascript:alert('</jsp:text> <bean:write name="constructor" property="description"/> --- 93,121 ---- </td> </tr> + <html:errors/> </table> <bean:size name="detail.info" property="constructors" id="contructorsSize"/> <logic:greaterThan name="contructorsSize" value="0"> <img border="0" src="images/white.png" width="5" height="15"/> <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> <tr bgcolor="#000090"> ! <td align="center" valign="top" width="40%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b> ! <bean:message key="web.table.header.constructor"/> ! </b> </font> </td> ! <td align="center" valign="top" width="60%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b> ! <bean:message key="web.table.header.parameters"/> ! </b> </font> </td> </tr> <logic:iterate name="detail.info" property="constructors" id="constructor" type="javax.management.MBeanConstructorInfo"> <tr bgcolor="#EEEEEE"> ! <td valign="top" align="left"> <jsp:text><a href="javascript:alert('</jsp:text> <bean:write name="constructor" property="description"/> *************** *** 144,181 **** </table> </logic:greaterThan> - <!-- ======================================== --> - <!-- Test for Notifications --> - <!-- ======================================== --> <bean:size name="detail.info" property="notifications" id="notificationsSize"/> <logic:greaterThan name="notificationsSize" value="0"> - <!-- ======================================== --> - <!-- Spacer --> - <!-- ======================================== --> <img border="0" src="images/white.png" width="5" height="15"/> - <!-- ======================================== --> - <!-- Notifications --> - <!-- ======================================== --> <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> - <!-- ======================================== --> - <!-- Notifications Headers --> - <!-- ======================================== --> <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>Types</b> </font> </td> </tr> - <!-- ======================================== --> - <!-- Notifications List --> - <!-- ======================================== --> <logic:iterate name="detail.info" property="notifications" id="notification" type="javax.management.MBeanNotificationInfo"> <tr bgcolor="#EEEEEE"> ! <td valign="top" align="right"> <jsp:text><a href="javascript:alert('</jsp:text> <bean:write name="notification" property="description"/> --- 140,166 ---- </table> </logic:greaterThan> <bean:size name="detail.info" property="notifications" id="notificationsSize"/> <logic:greaterThan name="notificationsSize" value="0"> <img border="0" src="images/white.png" width="5" height="15"/> <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> <tr bgcolor="#000090"> ! <td align="center" valign="top" width="40%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b> ! <bean:message key="web.table.header.notification"/> ! </b> </font> </td> ! <td align="center" valign="top" width="60%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b> ! <bean:message key="web.table.header.types"/> ! </b> </font> </td> </tr> <logic:iterate name="detail.info" property="notifications" id="notification" type="javax.management.MBeanNotificationInfo"> <tr bgcolor="#EEEEEE"> ! <td valign="top" align="left"> <jsp:text><a href="javascript:alert('</jsp:text> <bean:write name="notification" property="description"/> *************** *** 194,255 **** </table> </logic:greaterThan> - <!-- ======================================== --> - <!-- Test for Attributes --> - <!-- ======================================== --> <bean:size name="detail.info" property="attributes" id="attributesSize"/> <logic:greaterThan name="attributesSize" value="0"> - <!-- ======================================== --> - <!-- Spacer --> - <!-- ======================================== --> <img border="0" src="images/white.png" width="5" height="15"/> ! <!-- ======================================== --> ! <!-- Attributes --> ! <!-- ======================================== --> <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> - <!-- ======================================== --> - <!-- Attributes Headers --> - <!-- ======================================== --> <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> </font> </td> </tr> ! <!-- ======================================== --> ! <!-- Attributes List --> ! <!-- ======================================== --> ! <logic:iterate name="detail.info" property="attributes" id="attribute" type="javax.management.MBeanAttributeInfo"> <tr bgcolor="#EEEEEE"> <td valign="top" align="left"> <jsp:text><a href="javascript:alert('</jsp:text> ! <bean:write name="attribute" property="description"/> <jsp:text>');"></jsp:text> ! <bean:write name="attribute" property="name"/> <jsp:text></a></jsp:text> </td> <td class="attributeValue" valign="top" align="left"> ! <app:mbeanAttributeClass name="attribute" filter="false"/> ! </td> ! <td class="attributeValue" valign="top" align="center"> ! <app:mbeanAttributeAccess name="attribute" filter="false"/> ! </td> ! <td class="attributeValue" valign="top" align="left"> ! <app:mbeanAttributeEditor name="detail" property="attribute" filter="false"/> </td> </tr> --- 179,288 ---- </table> </logic:greaterThan> <bean:size name="detail.info" property="attributes" id="attributesSize"/> <logic:greaterThan name="attributesSize" value="0"> <img border="0" src="images/white.png" width="5" height="15"/> ! <html:form action="/update" method="POST"> ! <ejtools:hidden id="reference" name="detail" property="name"/> ! <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> ! <tr bgcolor="#000090"> ! <td align="center" valign="top" width="25%"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b> ! <bean:message key="web.table.header.name"/> ! </b> ! </font> ! </td> ! <td align="center" valign="top" width="25%"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b> ! <bean:message key="web.table.header.className"/> ! </b> ! </font> ! </td> ! <td align="center" valign="top" width="5%"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b> ! <bean:message key="web.table.header.access"/> ! </b> ! </font> ! </td> ! <td align="center" valign="top" width="45%"> ! <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b> ! <bean:message key="web.table.header.value"/> ! </b> ! </font> ! </td> ! </tr> ! <logic:iterate name="detail.info" property="attributes" id="attribute" type="javax.management.MBeanAttributeInfo"> ! <tr bgcolor="#EEEEEE"> ! <td valign="top" align="left"> ! <jsp:text><a href="javascript:alert('</jsp:text> ! <bean:write name="attribute" property="description"/> ! <jsp:text>');"></jsp:text> ! <bean:write name="attribute" property="name"/> ! <jsp:text></a></jsp:text> ! </td> ! <td valign="top" align="right"> ! <app:mbeanAttributeClass name="attribute"/> ! </td> ! <td valign="top" align="center"> ! <app:mbeanAttributeAccess name="attribute"/> ! </td> ! <td class="attributeValue" valign="top" align="left"> ! <app:mbeanAttributeEditor name="detail" property="attribute"/> ! </td> ! </tr> ! </logic:iterate> ! <tr bgcolor="#EEEEEE"> ! <td valign="top" align="center" colspan="4"> ! <html:submit styleClass="button"> ! <bean:message key="web.button.update"/> ! </html:submit> ! </td> ! </tr> ! </table> ! </html:form> ! </logic:greaterThan> ! <bean:size name="detail.info" property="operations" id="operationsSize"/> ! <logic:greaterThan name="operationsSize" value="0"> ! <img border="0" src="images/white.png" width="5" height="15"/> <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC"> <tr bgcolor="#000090"> ! <td align="center" valign="top" width="40%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b> ! <bean:message key="web.table.header.operation"/> ! </b> </font> </td> ! <td align="center" valign="top" width="60%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> ! <b> ! <bean:message key="web.table.header.parameters"/> ! </b> </font> </td> </tr> ! <logic:iterate name="detail.info" property="operations" id="operation" type="javax.management.MBeanOperationInfo"> <tr bgcolor="#EEEEEE"> <td valign="top" align="left"> <jsp:text><a href="javascript:alert('</jsp:text> ! <bean:write name="operation" property="description"/> <jsp:text>');"></jsp:text> ! <bean:write name="operation" property="name"/> <jsp:text></a></jsp:text> </td> <td class="attributeValue" valign="top" align="left"> ! <logic:iterate name="operation" property="signature" id="parameter" type="javax.management.MBeanParameterInfo" indexId="number"> ! <jsp:text><a href="javascript:alert('</jsp:text> ! <bean:write name="parameter" property="description"/> ! <jsp:text>');"></jsp:text> ! <bean:write name="parameter" property="name"/> ! <jsp:text></a> (</jsp:text> ! <app:mbeanParameterEditor name="parameter" id="number"/> ! <jsp:text>)</jsp:text> ! <jsp:text><br/></jsp:text> ! </logic:iterate> </td> </tr> Index: index.jsp =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/index.jsp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.jsp 25 May 2002 20:44:15 -0000 1.4 --- index.jsp 10 Jun 2002 07:50:42 -0000 1.5 *************** *** 1,17 **** ! <?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: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>Agent View</title> </head> <body> - <!-- ======================================== --> - <!-- Header --> - <!-- ======================================== --> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> --- 1,15 ---- ! <?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> + <bean:message key="web.index.title"/> + </title> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> </head> <body> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> *************** *** 21,25 **** <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6">Agent View</font> </b> </td> --- 19,25 ---- <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <bean:message key="web.index.title"/> ! </font> </b> </td> *************** *** 29,33 **** </tr> <tr> ! <td>Agent View</td> </tr> </table> --- 29,35 ---- </tr> <tr> ! <td> ! <bean:message key="web.index.title"/> ! </td> </tr> </table> *************** *** 35,103 **** </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"> - <!-- ======================================== --> - <!-- Search and Admin Forms --> - <!-- ======================================== --> - <table border="0" width="100%" cellspacing="0" cellpadding="3"> - <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> - <!-- ======================================== --> - <!-- Agent Informations --> - <!-- ======================================== --> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td align="left">This agent is registered on the domain <strong> ! <bean:write name="tree" property="defaultDomain"/> ! </strong>. This domain contains <strong> ! <bean:write name="tree" property="count"/> ! </strong> MBean(s).</td> </tr> </table> </td> </tr> - <!-- ======================================== --> - <!-- JMX 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"/>Server</td> </tr> </table> - <app:generateTree name="tree" property="server" id="jmxtree"/> - <logic:iterate name="jmxtree" id="object" type="net.sourceforge.ejtools.jmxbrowser.web.taglib.IndentedObject"> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td class=".tree-content"><app:treeSpacer name="object" property="depth"/><app:treeLeaf name="object" property="last"/><app:treeRenderer renderer="net.sourceforge.ejtools.jmxbrowser.web.taglib.TreeRendererImpl" name="object" property="object"/></td> - <td class=".tree-content"> - <html:link page="/detail.do" paramId="reference" paramName="object" paramProperty="object"> - <bean:write name="object" property="object"/> - </html:link> - </td> - </tr> - </table> - </logic:iterate> </td> </tr> --- 37,125 ---- </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%" cellspacing="0" cellpadding="3"> ! <tr> ! <td align="left"> ! <bean:message key="web.text.agent.registered.1"/> ! <strong> ! <bean:write name="tree" property="defaultDomain"/> ! </strong> ! <bean:message key="web.text.agent.registered.2"/> ! <bean:message key="web.text.agent.domain.1"/> ! <strong> ! <bean:write name="tree" property="count"/> ! </strong> ! <bean:message key="web.text.agent.domain.2"/> ! </td> ! </tr> ! </table> ! <center> ! <table border="0" cellspacing="0" cellpadding="3"> ! <tr> ! <form action="search_form.do"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.search"/> ! </html:submit> ! </td> ! </form> ! <form action="admin.do"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.admin"/> ! </html:submit> ! </td> ! </form> ! <form action="event.do"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.notifications"/> ! </html:submit> ! </td> ! </form> ! </tr> ! </table> ! </center> ! </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"/> ! <bean:message key="web.text.server"/> ! </td> ! </tr> ! </table> ! <ejtools:generateTree name="tree" property="server" id="jmxtree"/> ! <logic:iterate name="jmxtree" 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.jmxbrowser.web.taglib.TreeRendererImpl"/></td> ! <td class=".tree-content"> ! <bean:define id="resource" name="treenode" property="object"/> ! <html:link page="/detail.do" paramId="reference" paramName="treenode" paramProperty="object"> ! <app:mbeanName name="resource" full="false"/> ! </html:link> ! </td> ! </tr> ! </table> ! </logic:iterate> ! </td> </tr> </table> </td> </tr> Index: index.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/index.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.xml 17 May 2002 20:41:31 -0000 1.1 --- index.xml 10 Jun 2002 07:50:42 -0000 1.2 *************** *** 1,65 **** ! <?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> ! <Spacer/> ! <Frame> ! <HeaderBlock> ! <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> --- 1,104 ---- ! <?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> ! <Content> ! <!-- ======================================== --> ! <!-- Header --> ! <!-- ======================================== --> ! <TitleBlock> ! <Title> ! <bean:message key="web.index.title"/> ! </Title> ! <Path> ! <Element> ! <bean:message key="web.index.title"/> ! </Element> ! </Path> ! </TitleBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <Frame> ! <HeaderBlock> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td align="left"> ! <bean:message key="web.text.agent.registered.1"/> ! <strong> ! <bean:write name="tree" property="defaultDomain"/> ! </strong> ! <bean:message key="web.text.agent.registered.2"/> ! <bean:message key="web.text.agent.domain.1"/> ! <strong> ! <bean:write name="tree" property="count"/> ! </strong> ! <bean:message key="web.text.agent.domain.2"/> ! </td> ! </tr> ! </table> ! <center> ! <table border="0" cellspacing="0" cellpadding="3"> ! <tr> ! <form action="search_form.do"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.search"/> ! </html:submit> ! </td> </form> ! <form action="admin.do"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.admin"/> ! </html:submit> ! </td> </form> ! <form action="event.do"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.notifications"/> ! </html:submit> ! </td> ! </form> ! </tr> ! </table> ! </center> ! </HeaderBlock> ! <!-- ======================================== --> ! <!-- JMX Tree View --> ! <!-- ======================================== --> ! <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.server"/> ! </td> ! </tr> ! </table> ! <ejtools:generateTree name="tree" property="server" id="jmxtree"/> ! <logic:iterate name="jmxtree" 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.jmxbrowser.web.taglib.TreeRendererImpl"/> ! </td> ! <td class=".tree-content"> ! <bean:define id="resource" name="treenode" property="object"/> ! <html:link page="/detail.do" paramId="reference" paramName="treenode" paramProperty="object"> ! <app:mbeanName name="resource" full="false"/> ! </html:link> ! </td> ! </tr> ! </table> ! </logic:iterate> ! </ContentBlock> ! </Frame> ! </Content> </Page> Index: search.jsp =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/search.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** search.jsp 17 May 2002 20:38:27 -0000 1.1 --- search.jsp 10 Jun 2002 07:50:42 -0000 1.2 *************** *** 1,17 **** ! <?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: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>Search MBean</title> </head> <body> - <!-- ======================================== --> - <!-- Header --> - <!-- ======================================== --> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> --- 1,15 ---- ! <?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> + <bean:message key="web.search.title"/> + </title> <link rel="stylesheet" type="text/css" href="style.css"/> <html:base/> </head> <body> <table border="0" width="100%" bgcolor="#CCCCCC" cellspacing="0"> <tr> *************** *** 21,25 **** <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6">Search MBean</font> </b> </td> --- 19,25 ---- <td> <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <bean:message key="web.search.title"/> ! </font> </b> </td> *************** *** 31,37 **** <td> <html:link forward="home"> ! <jsp:text>Agent View</jsp:text> ! </html:link> ! <jsp:text> >> Search MBean</jsp:text> </td> </tr> --- 31,36 ---- <td> <html:link forward="home"> ! <bean:message key="web.index.title"/> ! </html:link> >> <bean:message key="web.search.title"/> </td> </tr> *************** *** 40,76 **** </tr> </table> - <!-- ======================================== --> - <!-- Spacer --> - <!-- ======================================== --> <img border="0" src="images/white.png" width="5" height="15"/> - <!-- ======================================== --> - <!-- Search Detail --> - <!-- ======================================== --> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> <tr bgcolor="#EEEEEE"> <td align="left" valign="top"> - <!-- ======================================== --> - <!-- Search Forms --> - <!-- ======================================== --> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> ! <td align="left">Blah Blah</td> </tr> </table> </td> </tr> ! <!-- ======================================== --> ! <!-- Result 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"/>Server</td> </tr> </table> </td> </tr> </table> </body> --- 39,148 ---- </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> ! <html:form action="/search"> ! <jsp:useBean id="queryConstants" class="net.sourceforge.ejtools.jmxbrowser.web.QueryConstants"/> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td> ! <bean:message key="web.label.search.filter"/> ! </td> ! <td> ! <html:text property="filter"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.search.nota"/> ! </td> ! </tr> ! </table> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td> ! <bean:message key="web.label.search.attribute"/> ! </td> ! <td> ! <html:text property="attribute"/> ! </td> ! <td> ! <bean:message key="web.label.search.query"/> ! </td> ! <td> ! <html:select property="query"> ! <html:options labelName="queryConstants" labelProperty="queries" name="queryConstants" property="queries"/> ! </html:select> ! </td> ! <td> ! <bean:message key="web.label.search.value"/> ! </td> ! <td> ! <html:text property="value"/> ! </td> ! <td> ! <bean:message key="web.label.search.type"/> ! </td> ! <td width="90%"> ! <html:select property="type"> ! <html:options labelName="queryConstants" labelProperty="types" name="queryConstants" property="types"/> ! </html:select> ! </td> ! </tr> ! </table> ! <center> ! <table border="0" cellspacing="0" cellpadding="3"> ! <tr align="center"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.search"/> ! </html:submit> ! </td> ! <td> ! <html:reset styleClass="button"> ! <bean:message key="web.button.cancel"/> ! </html:reset> ! </td> ! </tr> ! </table> ! </center> ! </html:form> ! </td> </tr> </table> </td> </tr> ! <html:errors/> ! <logic:present name="search.result"> <tr bgcolor... [truncated message content] |
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/images/icons In directory usw-pr-cvs1:/tmp/cvs-serv14297/jmx.browser/src/webapp/content/images/icons Removed Files: AppClientModule16.gif AppClientModule24.gif EJBModule16.gif EJBModule24.gif EntityBean16.gif Home16.gif J2EEApplication16.gif J2EEApplication24.gif J2EEDomain16.gif J2EEDomain24.gif J2EEModule16.gif J2EEModule24.gif J2EEServer16.gif J2EEServer24.gif JCAConnectionFactory16.gif JCAConnectionFactory24.gif JCAResource16.gif JCAResource24.gif JNDIResource16.gif JNDIResource24.gif JVM16.gif JVM24.gif JavaMailResource16.gif JavaMailResource24.gif MessageDrivenBean16.gif Node16.gif Node24.gif ResourceAdapter16.gif ResourceAdapter24.gif ResourceAdapterModule16.gif ResourceAdapterModule24.gif Server16.gif Servlet16.gif Servlet24.gif SessionBean16.gif StatefulSessionBean16.gif StatelessSessionBean16.gif URLResource16.gif URLResource24.gif WebModule16.gif WebModule24.gif duke.tga icons.html plug.tga Log Message: In progress --- AppClientModule16.gif DELETED --- --- AppClientModule24.gif DELETED --- --- EJBModule16.gif DELETED --- --- EJBModule24.gif DELETED --- --- EntityBean16.gif DELETED --- --- Home16.gif DELETED --- --- J2EEApplication16.gif DELETED --- --- J2EEApplication24.gif DELETED --- --- J2EEDomain16.gif DELETED --- --- J2EEDomain24.gif DELETED --- --- J2EEModule16.gif DELETED --- --- J2EEModule24.gif DELETED --- --- J2EEServer16.gif DELETED --- --- J2EEServer24.gif DELETED --- --- JCAConnectionFactory16.gif DELETED --- --- JCAConnectionFactory24.gif DELETED --- --- JCAResource16.gif DELETED --- --- JCAResource24.gif DELETED --- --- JNDIResource16.gif DELETED --- --- JNDIResource24.gif DELETED --- --- JVM16.gif DELETED --- --- JVM24.gif DELETED --- --- JavaMailResource16.gif DELETED --- --- JavaMailResource24.gif DELETED --- --- MessageDrivenBean16.gif DELETED --- --- Node16.gif DELETED --- --- Node24.gif DELETED --- --- ResourceAdapter16.gif DELETED --- --- ResourceAdapter24.gif DELETED --- --- ResourceAdapterModule16.gif DELETED --- --- ResourceAdapterModule24.gif DELETED --- --- Server16.gif DELETED --- --- Servlet16.gif DELETED --- --- Servlet24.gif DELETED --- --- SessionBean16.gif DELETED --- --- StatefulSessionBean16.gif DELETED --- --- StatelessSessionBean16.gif DELETED --- --- URLResource16.gif DELETED --- --- URLResource24.gif DELETED --- --- WebModule16.gif DELETED --- --- WebModule24.gif DELETED --- --- duke.tga DELETED --- --- icons.html DELETED --- --- plug.tga DELETED --- |
Update of /cvsroot/ejtools/applications/jmx.browser/src/resources/net/sourceforge/ejtools/jmxbrowser/web/taglib In directory usw-pr-cvs1:/tmp/cvs-serv14188/jmx.browser/src/resources/net/sourceforge/ejtools/jmxbrowser/web/taglib Added Files: MBeanAttributeInfoAccess.properties MBeanAttributeInfoEditor.properties Log Message: In progress --- NEW FILE: MBeanAttributeInfoAccess.properties --- access.ro=RO access.rw=RW access.wo=WO --- NEW FILE: MBeanAttributeInfoEditor.properties --- boolean.true=True boolean.false=False hyperlink.go=View |
Update of /cvsroot/ejtools/applications/jmx.browser/src/resources/net/sourceforge/ejtools/jmxbrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv14188/jmx.browser/src/resources/net/sourceforge/ejtools/jmxbrowser/model Removed Files: DomainBeanInfo.properties ResourceBeanInfo.properties ServerBeanInfo.properties Log Message: In progress --- DomainBeanInfo.properties DELETED --- --- ResourceBeanInfo.properties DELETED --- --- ServerBeanInfo.properties DELETED --- |
From: <let...@us...> - 2002-06-10 07:50:11
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/resources/images In directory usw-pr-cvs1:/tmp/cvs-serv14188/jmx.browser/src/resources/images Modified Files: logo.png Removed Files: Application24.gif Container16.gif File16.gif Folder16.gif Home16.gif Home24.gif Jar24.gif Server24.gif Stop24.gif War24.gif icons.xcf icons16.xcf icons24.xcf Log Message: In progress Index: logo.png =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/resources/images/logo.png,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsWbIeyv and /tmp/cvs2FHORQ differ --- Application24.gif DELETED --- --- Container16.gif DELETED --- --- File16.gif DELETED --- --- Folder16.gif DELETED --- --- Home16.gif DELETED --- --- Home24.gif DELETED --- --- Jar24.gif DELETED --- --- Server24.gif DELETED --- --- Stop24.gif DELETED --- --- War24.gif DELETED --- --- icons.xcf DELETED --- --- icons16.xcf DELETED --- --- icons24.xcf DELETED --- |
From: <let...@us...> - 2002-06-10 07:50:11
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/resources/images/jms In directory usw-pr-cvs1:/tmp/cvs-serv14188/jmx.browser/src/resources/images/jms Removed Files: ByteMessage16.gif MapMessage16.gif Message16.gif ObjectMessage16.gif Queue16.gif StreamMessage16.gif TextMessage16.gif Topic16.gif Log Message: In progress --- ByteMessage16.gif DELETED --- --- MapMessage16.gif DELETED --- --- Message16.gif DELETED --- --- ObjectMessage16.gif DELETED --- --- Queue16.gif DELETED --- --- StreamMessage16.gif DELETED --- --- TextMessage16.gif DELETED --- --- Topic16.gif DELETED --- |
Update of /cvsroot/ejtools/applications/jmx.browser/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv14188/jmx.browser/src/resources Modified Files: ApplicationResources.properties Removed Files: MBeanAttributeInfoAccess.properties MBeanAttributeInfoAccess_fr_FR.properties Log Message: In progress Index: ApplicationResources.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/resources/ApplicationResources.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ApplicationResources.properties 15 May 2002 20:58:09 -0000 1.2 --- ApplicationResources.properties 10 Jun 2002 07:50:08 -0000 1.3 *************** *** 1,24 **** ! action.next=Next ! action.previous=Previous ! action.back=Back ! button.search=Search ! button.reset=Reset ! errors.footer=</ul> ! errors.header=Messages :<ul> ! error.factory.required=<li>Factory is required</li> ! error.packages.required=<li>Packages is required</li> ! error.url.required=<li>URL is required</li> ! error.mejb.required=<li>JNDI Name is required</li> ! error.cannot.connect=<li>Cannot connect to the server</li> ! title.index=MIB Starter Application ! title.connect.mejb=MIB Login Search ! prompt.factory=Factory : ! prompt.packages=Packages : ! prompt.url=URL : ! prompt.mejb=JNDI Name : --- 1,51 ---- ! errors.header=<tr bgcolor="#FFFFFF"><td align="left" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="3"><tr><td> ! errors.footer=</td></tr></table></td></tr> ! # Web texts ! web.index.title=Agent View ! web.detail.title=MBean Detail ! web.search.title=Search ! web.admin.title=Administration ! web.button.admin=Administration ! web.button.cancel=Cancel ! web.button.notifications=Notifications ! web.button.search=Search ! web.button.update=Update ! web.label.mbean.domain=Domain : ! web.label.mbean.name=Name : ! web.label.mbean.className=Class Name : ! web.label.mbean.description=Description : ! web.label.search.filter=ObjectName filter : ! web.label.search.attribute=Attribute : ! web.label.search.query=Query : ! web.label.search.value=Value : ! web.label.search.type=Type : ! web.table.header.name=Name ! web.table.header.className=Class Name ! web.table.header.access=Access ! web.table.header.value=Value ! web.table.header.constructor=Constructor ! web.table.header.operation=Operation ! web.table.header.parameters=Parameters ! web.table.header.notification=Notification ! web.table.header.types=Types ! web.text.server=JMX Server ! web.text.agent.registered.1=This agent is registered on the domain ! web.text.agent.registered.2=. ! web.text.agent.domain.1=This domain contains ! web.text.agent.domain.2= MBean(s). ! web.text.search.nota=Note, use *:* to query all MBeans registered. + web.error.no.reference=No MBean reference found + web.error.no.form=Request has not the correct form + web.error.no.mbean=No MBean found for this ObjectName + web.error.cannot.connect=Cannot connect to JMX Server + web.error.mbean.attribute=<b>Error while setting attribute : </b>{0}<br/> + web.error.exception.message=<b>Exception occured with the following message : </b>{0}<br/> + web.error.exception.stack=<b>Exception Stack Trace : </b><pre>{0}</pre> + web.error.query.filter=<b>Malformed filter : </b>{0}<br/> + web.error.filter.required=A valid filter is required --- MBeanAttributeInfoAccess.properties DELETED --- --- MBeanAttributeInfoAccess_fr_FR.properties DELETED --- |