ejtools-cvs Mailing List for EJTools (Page 85)
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
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib In directory usw-pr-cvs1:/tmp/cvs-serv8753/main/net/sourceforge/ejtools/jmxbrowser/web/taglib Removed Files: MBeanNameTag.java MBeanParameterEditorTag.java TreeRendererImpl.java Log Message: Correct binary/text format --- MBeanNameTag.java DELETED --- --- MBeanParameterEditorTag.java DELETED --- --- TreeRendererImpl.java DELETED --- |
From: <let...@us...> - 2002-06-13 20:19:21
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/form In directory usw-pr-cvs1:/tmp/cvs-serv8753/main/net/sourceforge/ejtools/jmxbrowser/web/form Removed Files: SearchForm.java Log Message: Correct binary/text format --- SearchForm.java DELETED --- |
From: <let...@us...> - 2002-06-13 20:19:21
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/action In directory usw-pr-cvs1:/tmp/cvs-serv8753/main/net/sourceforge/ejtools/jmxbrowser/web/action Removed Files: ClearSearchAction.java ConnectAction.java InvokeAction.java SearchAction.java UnregisterAction.java UpdateAction.java Log Message: Correct binary/text format --- ClearSearchAction.java DELETED --- --- ConnectAction.java DELETED --- --- InvokeAction.java DELETED --- --- SearchAction.java DELETED --- --- UnregisterAction.java DELETED --- --- UpdateAction.java DELETED --- |
From: <let...@us...> - 2002-06-13 20:19:20
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web In directory usw-pr-cvs1:/tmp/cvs-serv8753/main/net/sourceforge/ejtools/jmxbrowser/web Removed Files: JMXContainer.java QueryConstants.java Log Message: Correct binary/text format --- JMXContainer.java DELETED --- --- QueryConstants.java DELETED --- |
From: <let...@us...> - 2002-06-13 20:19:20
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/conf In directory usw-pr-cvs1:/tmp/cvs-serv8753/conf Removed Files: jndi.properties Log Message: Correct binary/text format --- jndi.properties DELETED --- |
From: <let...@us...> - 2002-06-13 20:11:41
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/conf In directory usw-pr-cvs1:/tmp/cvs-serv4951/conf Added Files: jndi.properties Log Message: Correct binary/text format |
From: <let...@us...> - 2002-06-13 20:11:13
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/action In directory usw-pr-cvs1:/tmp/cvs-serv4376/net/sourceforge/ejtools/jmxbrowser/web/action Modified Files: DetailAction.java Added Files: ClearSearchAction.java ConnectAction.java InvokeAction.java NotificationAction.java RefreshAction.java SearchAction.java UnregisterAction.java UpdateAction.java Log Message: Correct binary/text format --- NEW FILE: NotificationAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jmxbrowser.web.action; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.util.Locale; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sourceforge.ejtools.jmxbrowser.model.Resource; import net.sourceforge.ejtools.jmxbrowser.web.Constants; import net.sourceforge.ejtools.jmxbrowser.web.JMXContainer; import org.apache.log4j.Category; import org.apache.struts.action.Action; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.util.MessageResources; /** * Description of the Class * * @author letiemble * @created 12 novembre 2001 * @version $Revision: 1.1 $ * @todo Javadoc to complete */ public class NotificationAction extends Action { /** Description of the Field */ private static Category logger = Category.getInstance(NotificationAction.class); /** Constructor for the SearchLoginAction object */ public NotificationAction() { } /** * Description of the Method * * @param mapping Description of Parameter * @param form Description of Parameter * @param request Description of Parameter * @param response Description of Parameter * @return Description of the Returned Value * @exception IOException Description of Exception * @exception ServletException Description of Exception */ public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { String reference = null; // Extract attributes we will need Locale locale = getLocale(request); MessageResources messages = getResources(); // Validate the request parameters specified by the user ActionErrors errors = new ActionErrors(); reference = request.getParameter("reference"); logger.debug("ObjectName requested " + reference); ServletContext context = this.getServlet().getServletContext(); JMXContainer tree = (JMXContainer) context.getAttribute(Constants.TREE); if (tree != null) { logger.debug("Tree root found => " + tree); Resource res = (Resource) tree.searchObjectName(reference); if (res != null) { try { res.registerForNotifications(); } catch(Exception e){ logger.error("Exception occured " + e.getMessage()); errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("web.error.exception.message", e.getMessage())); StringWriter w = new StringWriter(); PrintWriter pw = new PrintWriter(w); e.printStackTrace(pw); pw.close(); errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("web.error.exception.stack", w.toString())); } } else { errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("web.error.no.mbean")); } } else { errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("web.error.cannot.connect")); } // Report any errors we have discovered back to the original form if (!errors.empty()) { saveErrors(request, errors); return (mapping.findForward("error")); } return (mapping.findForward("detail")); } } --- NEW FILE: RefreshAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jmxbrowser.web.action; import java.io.IOException; import java.util.Locale; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sourceforge.ejtools.jmxbrowser.web.Constants; import net.sourceforge.ejtools.jmxbrowser.web.JMXContainer; import org.apache.log4j.Category; import org.apache.struts.action.Action; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.util.MessageResources; /** * Description of the Class * * @author letiemble * @created 12 novembre 2001 * @version $Revision: 1.1 $ * @todo Javadoc to complete */ public class RefreshAction extends Action { /** Description of the Field */ private static Category logger = Category.getInstance(RefreshAction.class); /** Constructor for the FilterAction object */ public RefreshAction() { } /** * Description of the Method * * @param mapping Description of Parameter * @param form Description of Parameter * @param request Description of Parameter * @param response Description of Parameter * @return Description of the Returned Value * @exception IOException Description of Exception * @exception ServletException Description of Exception */ public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { JMXContainer tree = null; // Extract attributes we will need Locale locale = getLocale(request); MessageResources messages = getResources(); // Validate the request parameters specified by the user ActionErrors errors = new ActionErrors(); logger.debug("Connecting to JMX Server"); ServletContext context = this.getServlet().getServletContext(); tree = (JMXContainer) context.getAttribute(Constants.TREE); if (tree == null) { tree = new JMXContainer(); context.setAttribute(Constants.TREE, tree); } tree.refresh(); // Report any errors we have discovered back to the original form if (!errors.empty()) { saveErrors(request, errors); return (mapping.findForward("home")); } return (mapping.findForward("view")); } } Index: DetailAction.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/action/DetailAction.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 |
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv4376/net/sourceforge/ejtools/jmxbrowser/model Modified Files: ConnectionServiceProvider.java Resource.java Server.java Added Files: NotificationService.java NotificationServiceProvider.java Log Message: Correct binary/text format --- NEW FILE: NotificationService.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jmxbrowser.model; import java.io.Serializable; import java.util.Collection; import javax.management.ObjectName; /** * @author letiembl * @created 13 juin 2002 * @version $Revision: 1.1 $ * @todo Javadoc to complete */ public interface NotificationService extends Serializable { /** * Adds a feature to the ObjectName attribute of the NotificationService object * * @param object The feature to be added to the ObjectName attribute */ public void addObjectName(ObjectName object); /** * Description of the Method * * @param object Description of the Parameter */ public void removeObjectName(ObjectName object); /** * Description of the Method * * @param object Description of the Parameter * @return Description of the Return Value */ public boolean hasObjectName(ObjectName object); /** * Description of the Method * * @return Description of the Return Value */ public Collection listAll(); /** * Description of the Method * * @param object Description of the Parameter * @return Description of the Return Value */ public Collection listByObjectName(ObjectName object); } --- NEW FILE: NotificationServiceProvider.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jmxbrowser.model; import java.beans.beancontext.BeanContextServiceProvider; import java.beans.beancontext.BeanContextServices; import java.beans.beancontext.BeanContextServicesSupport; import java.util.Collection; import java.util.Hashtable; import java.util.Iterator; import java.util.Vector; import javax.management.Notification; import javax.management.NotificationListener; import javax.management.ObjectName; import org.apache.log4j.Category; /** * Description of the Class * * @author letiemble * @created 13 décembre 2001 * @version $Revision: 1.1 $ * @todo Javadoc to complete * @todo Service release to complete */ public class NotificationServiceProvider extends BeanContextServicesSupport implements BeanContextServiceProvider, NotificationService, NotificationListener { /** Description of the Field */ protected Vector notifications = new Vector(); /** Description of the Field */ protected Vector objectNames = new Vector(); /** Description of the Field */ protected NotificationService service = null; /** Description of the Field */ protected Hashtable types = new Hashtable(); /** Description of the Field */ protected final String NOTIFICATION_CLASS = "NOTIFICATION_CLASS"; /** Description of the Field */ protected final String NOTIFICATION_TYPE = "NOTIFICATION_TYPE"; /** Description of the Field */ protected final String OBJECT_NAME = "OBJECT_NAME"; /** Description of the Field */ private static Category logger = Category.getInstance(NotificationServiceProvider.class); /** Constructor for the ConnectionServiceProvider object */ public NotificationServiceProvider() { service = this; } /** * Adds a feature to the ObjectName attribute of the NotificationService object * * @param object The feature to be added to the ObjectName attribute */ public void addObjectName(ObjectName object) { BeanContextServices context = (BeanContextServices) getBeanContext(); if (context.hasService(ConnectionService.class)) { logger.debug("Using service ConnectionService..."); try { ConnectionService service = (ConnectionService) context.getService(this, this, ConnectionService.class, this, this); service.addNotificationListener(object, this, null, "JMX BROWSER"); objectNames.add(object.getCanonicalName()); } catch (Exception e) { logger.error("Error during utilisation of service ConnectionService (" + e.getMessage() + ")"); } } } /** * Getter for the currentServiceSelectors attribute * * @param bcs Description of Parameter * @param serviceClass Description of Parameter * @return The value */ public Iterator getCurrentServiceSelectors(BeanContextServices bcs, java.lang.Class serviceClass) { return (new Vector()).iterator(); } /** * Getter for the service attribute * * @param bcs Description of Parameter * @param requestor Description of Parameter * @param serviceClass Description of Parameter * @param serviceSelector Description of Parameter * @return The value */ public Object getService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector) { return service; } /** * Description of the Method * * @param notification Description of the Parameter * @param handback Description of the Parameter */ public void handleNotification(Notification notification, java.lang.Object handback) { logger.debug("Notification received (" + handback + ")"); storeNotification(notification); storeNotificationByType(OBJECT_NAME, notification.getSource(), notification); storeNotificationByType(NOTIFICATION_CLASS, notification.getClass().getName(), notification); storeNotificationByType(NOTIFICATION_TYPE, notification.getType(), notification); logger.debug("Notification stored"); } /** * Description of the Method * * @param object Description of the Parameter * @return Description of the Return Value */ public boolean hasObjectName(ObjectName object) { return objectNames.contains(object.getCanonicalName()); } /** * Description of the Method * * @return Description of the Return Value */ public Collection listAll() { Collection result = (Collection )notifications.clone(); return result; } /** * Description of the Method * * @param object Description of the Parameter * @return Description of the Return Value */ public Collection listByObjectName(ObjectName object) { Hashtable store = (Hashtable )types.get(OBJECT_NAME); if (store == null) { return new Vector(); } Vector notifs = (Vector )store.get(object.getCanonicalName()); if (notifs == null) { return new Vector(); } Collection result = (Collection )notifs.clone(); return result; } /** * Description of the Method * * @param bcs Description of Parameter * @param requestor Description of Parameter * @param service Description of Parameter */ public void releaseService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Object service) { } /** * Description of the Method * * @param object Description of the Parameter */ public void removeObjectName(ObjectName object) { BeanContextServices context = (BeanContextServices) getBeanContext(); if (context.hasService(ConnectionService.class)) { logger.debug("Using service ConnectionService..."); try { ConnectionService service = (ConnectionService) context.getService(this, this, ConnectionService.class, this, this); service.removeNotificationListener(object, this); objectNames.remove(object.getCanonicalName()); } catch (Exception e) { logger.error("Error during utilisation of service ConnectionService (" + e.getMessage() + ")"); } } } /** Description of the Method */ protected void initializeBeanContextResources() { ((BeanContextServices) getBeanContext()).addService(NotificationService.class, this); } /** * Description of the Method * * @param notification Description of the Parameter */ protected void storeNotification(Notification notification) { notifications.add(notification); } /** * Description of the Method * * @param type Description of the Parameter * @param criteria Description of the Parameter * @param notification Description of the Parameter */ protected void storeNotificationByType(String type, Object criteria, Notification notification) { // Categorize Hashtable store = (Hashtable )types.get(type); if (store == null) { store = new Hashtable(); types.put(type, store); } Vector notifs = (Vector )store.get(criteria); if (notifs == null) { notifs = new Vector(); store.put(criteria, notifs); } notifs.add(notification); } } Index: ConnectionServiceProvider.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/ConnectionServiceProvider.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Index: Resource.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/Resource.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 Index: Server.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model/Server.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 |
From: <let...@us...> - 2002-06-13 20:11:13
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/form In directory usw-pr-cvs1:/tmp/cvs-serv4376/net/sourceforge/ejtools/jmxbrowser/web/form Added Files: SearchForm.java Log Message: Correct binary/text format |
From: <let...@us...> - 2002-06-13 20:11:12
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web In directory usw-pr-cvs1:/tmp/cvs-serv4376/net/sourceforge/ejtools/jmxbrowser/web Modified Files: Constants.java Added 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.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 |
From: <let...@us...> - 2002-06-13 20:10:48
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib In directory usw-pr-cvs1:/tmp/cvs-serv4376/net/sourceforge/ejtools/jmxbrowser/web/taglib Modified Files: ConnectTag.java MBeanAttributeClassTag.java MBeanParameterClassTag.java Added Files: MBeanNameTag.java MBeanParameterEditorTag.java MBeanResultEditorTag.java TreeRendererImpl.java Log Message: Correct binary/text format --- NEW FILE: MBeanResultEditorTag.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jmxbrowser.web.taglib; import java.beans.PropertyEditor; import java.beans.PropertyEditorManager; import java.util.Hashtable; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.TagSupport; import org.apache.log4j.Category; import org.apache.struts.util.RequestUtils; import org.apache.struts.util.ResponseUtils; /** * Description of the Class * * @author letiemble * @created 25 avril 2002 * @version $Revision: 1.1 $ * @todo Javadoc to complete * @jsp:tag name="mbeanResultEditor" body-content="empty" */ public class MBeanResultEditorTag extends TagSupport { /** Filter the rendered output for characters that are sensitive in HTML? */ protected boolean filter = true; /** Should we ignore missing beans and simply output nothing? */ protected boolean ignore = false; /** Name of the bean that contains the data we will be rendering. */ protected String name = null; /** Description of the Field */ protected String page = "/detail.do"; /** The scope to be searched to retrieve the specified bean. */ protected String scope = null; /** Description of the Field */ private static Category logger = Category.getInstance(MBeanAttributeEditorTag.class); /** * Description of the Method * * @return Description of the Returned Value * @exception JspException Description of Exception */ public int doStartTag() throws JspException { // Look up the requested bean (if necessary) Object result = RequestUtils.lookup(pageContext, name, scope); if (ignore) { if (result == null) { return (SKIP_BODY); } // Nothing to output } PropertyEditor propertyeditor = null; Class c = result.getClass(); if (c.isArray()) { Class componentType = c.getComponentType(); propertyeditor = PropertyEditorManager.findEditor(componentType); if (propertyeditor == null) { propertyeditor = PropertyEditorManager.findEditor(String.class); } addArrayResult(result, propertyeditor, componentType); } else { propertyeditor = PropertyEditorManager.findEditor(c); if (propertyeditor == null) { propertyeditor = PropertyEditorManager.findEditor(String.class); } addResult(result, propertyeditor); } // Continue processing this page return (SKIP_BODY); } /** * Getter for the filter attribute * * @return The value of filter attribute * @jsp:attribute name="filter" required="false" rtexprvalue="true" */ public boolean getFilter() { return (this.filter); } /** * Getter for the ignore attribute * * @return The value of ignore attribute * @jsp:attribute name="ignore" required="false" rtexprvalue="true" */ public boolean getIgnore() { return (this.ignore); } /** * Getter for the name attribute * * @return The value of name attribute * @jsp:attribute name="name" required="true" rtexprvalue="true" */ public String getName() { return (this.name); } /** * Getter for the scope attribute * * @return The value of scope attribute * @jsp:attribute name="scope" required="false" rtexprvalue="true" */ public String getScope() { return (this.scope); } /** Release all allocated resources. */ public void release() { super.release(); filter = true; ignore = false; name = null; scope = null; } /** * Setter for the filter attribute * * @param filter The new value for filter attribute */ public void setFilter(boolean filter) { this.filter = filter; } /** * Setter for the ignore attribute * * @param ignore The new value for ignore attribute */ public void setIgnore(boolean ignore) { this.ignore = ignore; } /** * Setter for the name attribute * * @param name The new value for name attribute */ public void setName(String name) { this.name = name; } /** * Setter for the scope attribute * * @param scope The new value for scope attribute */ public void setScope(String scope) { this.scope = scope; } /** * Adds a feature to the ArrayProperty attribute of the MBeanAttributeEditorTag object * * @param propertyeditor The feature to be added to the ArrayProperty attribute * @param componentType The feature to be added to the ArrayProperty attribute * @param result The feature to be added to the ArrayResult attribute * @exception JspException Description of Exception */ protected void addArrayResult(Object result, PropertyEditor propertyeditor, Class componentType) throws JspException { StringBuffer buffer = new StringBuffer(); Object[] array = null; logger.debug("addArrayResult " + propertyeditor + " " + result.getClass().getName()); try { array = (Object[]) result; } catch (Throwable t) { logger.warn("Exception during result array reading " + t.getMessage()); } if (array != null) { String output = ""; for (int i = 0; i < array.length; i++) { try { PropertyEditor propertyeditor1 = (PropertyEditor) propertyeditor.getClass().newInstance(); propertyeditor1.setValue(array[i]); output = propertyeditor1.getAsText(); if (filter) { output = ResponseUtils.filter(output); } output = computeReadableEditor(result.getClass().getName(), output); buffer.append(output); buffer.append("<br/>"); } catch (Exception e) { logger.warn("Exception during array output " + e.getMessage()); } } ResponseUtils.write(pageContext, buffer.toString()); } } /** * Adds a feature to the UnsupportedProperty attribute of the MBeanAttributeEditorTag object * * @param propertyeditor The feature to be added to the Property attribute * @param result The feature to be added to the Result attribute * @exception JspException Description of Exception */ protected void addResult(Object result, PropertyEditor propertyeditor) throws JspException { StringBuffer buffer = new StringBuffer(); String output = ""; logger.debug("addArrayResult " + propertyeditor + " " + result.getClass().getName()); try { propertyeditor.setValue(result); } catch (Throwable t) { logger.warn("Exception during result reading " + t.getMessage()); } output = propertyeditor.getAsText(); if (filter) { output = ResponseUtils.filter(output); } output = computeReadableEditor(result.getClass().getName(), output); ResponseUtils.write(pageContext, output); } /** * Description of the Method * * @param type Description of the Parameter * @param value Description of the Parameter * @return Description of the Return Value */ protected String computeReadableEditor(String type, String value) { if ((value == null) || ("".equals(value)) || ("null".equals(value))) { return value; } if ("javax.management.ObjectName".equals(type)) { try { Hashtable params = new Hashtable(); params.put("reference", value); String url = RequestUtils.computeURL(pageContext, null, null, page, params, null, false); return ("<a href=\"" + url + "\">" + value + "</a>"); } catch (Exception e) { logger.warn("Exception during computation of readable editor " + e.getMessage()); } } return value; } static { PropertyEditorManager.setEditorSearchPath(new String[]{"sun.beans.editors", "net.sourceforge.ejtools.awt.editors"}); } } Index: ConnectTag.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib/ConnectTag.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 Index: MBeanAttributeClassTag.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib/MBeanAttributeClassTag.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Index: MBeanParameterClassTag.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/taglib/MBeanParameterClassTag.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 |
Update of /cvsroot/ejtools/applications/jmx.browser/src/resources/net/sourceforge/ejtools/jmxbrowser/web/taglib In directory usw-pr-cvs1:/tmp/cvs-serv4040/net/sourceforge/ejtools/jmxbrowser/web/taglib Added Files: MBeanAttributeInfoAccess.properties MBeanAttributeInfoEditor.properties Log Message: Correct binary/text format |
From: <let...@us...> - 2002-06-13 20:07:53
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/content In directory usw-pr-cvs1:/tmp/cvs-serv2975 Added Files: admin.jsp admin.xml detail.xml index.xml search.jsp search.xml Log Message: Correct binary/text format |
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/resources In directory usw-pr-cvs1:/tmp/cvs-serv2640 Added Files: ejtools.tld log.tld struts-bean.tld struts-form.tld struts-html.tld struts-logic.tld struts.tld Log Message: Correct binary/text format |
From: <let...@us...> - 2002-06-13 20:06:18
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/resources In directory usw-pr-cvs1:/tmp/cvs-serv2266 Added Files: struts-config.xml struts-template.tld Removed Files: ejtools.tld log.tld struts-bean.tld struts-form.tld struts-html.tld struts-logic.tld struts.tld Log Message: Correct binary/text format --- ejtools.tld DELETED --- --- log.tld DELETED --- --- struts-bean.tld DELETED --- --- struts-form.tld DELETED --- --- struts-html.tld DELETED --- --- struts-logic.tld DELETED --- --- struts.tld DELETED --- |
From: <let...@us...> - 2002-06-13 20:04:16
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv1305/src/resources Removed Files: jndi.properties Log Message: Correct binary/text format --- jndi.properties DELETED --- |
From: <let...@us...> - 2002-06-13 20:04:16
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/conf In directory usw-pr-cvs1:/tmp/cvs-serv1305/src/conf Removed Files: jndi.properties Log Message: Correct binary/text format --- jndi.properties DELETED --- |
From: <let...@us...> - 2002-06-13 20:04:16
|
Update of /cvsroot/ejtools/applications/jmx.browser In directory usw-pr-cvs1:/tmp/cvs-serv1305 Modified Files: lib.ext.properties lib.properties module.properties webapp.properties Log Message: Correct binary/text format Index: lib.ext.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/lib.ext.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lib.ext.properties 15 May 2002 20:58:35 -0000 1.3 --- lib.ext.properties 13 Jun 2002 20:04:13 -0000 1.4 *************** *** 1,7 **** ! # ! # Librairies to be put into the lib/ext directory ! # ! # $Revision$ ! # ! ${jboss.client.root}/*.jar ! ${jboss.jmx.root}/*.jar --- 1,5 ---- ! # ! # Librairies to be put into the lib/ext directory ! # ! # $Revision$ ! # Index: lib.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/lib.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lib.properties 15 May 2002 20:58:35 -0000 1.3 --- lib.properties 13 Jun 2002 20:04:13 -0000 1.4 *************** *** 1,17 **** ! # ! # Librairies to be put into the lib directory ! # ! # $Revision$ ! # ! ${apache.log4j.root}/*.jar ! ${dreambean.awt.root}/*.jar ! ${ejtools.adwt.root}/*.jar ! ${ejtools.common.root}/*.jar ! ${ejtools.icons.root}/*.jar ! ${jboss.client.root}/*.jar ! ${jboss.jmx.root}/*.jar ! ${sun.j2ee.root}/*.jar ! ${sun.jaxp.root}/*.jar ! #${sun.jmx.root}/*.jar ! ${sun.jndi.root}/*.jar ! ${sun.swing.root}/*.jar --- 1,17 ---- ! # ! # Librairies to be put into the lib directory ! # ! # $Revision$ ! # ! ${apache.log4j.root}/*.jar ! ${dreambean.awt.root}/*.jar ! ${ejtools.adwt.root}/*.jar ! ${ejtools.common.root}/*.jar ! ${ejtools.icons.root}/*.jar ! ${jboss.client.root}/*.jar ! ${jboss.jmx.root}/*.jar ! ${sun.j2ee.root}/*.jar ! ${sun.jaxp.root}/*.jar ! #${sun.jmx.root}/*.jar ! ${sun.jndi.root}/*.jar ! ${sun.swing.root}/*.jar Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/module.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** module.properties 15 May 2002 20:58:35 -0000 1.3 --- module.properties 13 Jun 2002 20:04:13 -0000 1.4 *************** *** 1,17 **** ! # ! # Module Properties ! # ! # $Revision$ ! # ! version.major=1 ! version.minor=0 ! version.revision=0 ! version.tag=alpha ! ! module.name=jmx.browser ! module.display.name=JMX Browser ! module.archive.name=ejtools.jmx.browser ! module.package=net.sourceforge.ejtools.jmxbrowser ! module.starter=net/sourceforge/ejtools/jmxbrowser/Main ! ! module.javadoc.title=EJTools - JMX Browser --- 1,17 ---- ! # ! # Module Properties ! # ! # $Revision$ ! # ! version.major=1 ! version.minor=0 ! version.revision=0 ! version.tag=alpha ! ! module.name=jmx.browser ! module.display.name=JMX Browser ! module.archive.name=ejtools.jmx.browser ! module.package=net.sourceforge.ejtools.jmxbrowser ! module.starter=net/sourceforge/ejtools/jmxbrowser/Main ! ! module.javadoc.title=EJTools - JMX Browser Index: webapp.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/webapp.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** webapp.properties 15 May 2002 20:58:35 -0000 1.4 --- webapp.properties 13 Jun 2002 20:04:13 -0000 1.5 *************** *** 1,9 **** ! # ! # Librairies to be put into the WEB-INF/lib directory ! # ! # $Revision$ ! # ! ${apache.log4j.root}/*.jar ! ${apache.struts.root}/*.jar ! ${apache.taglibs.root}/*.jar ! ${ejtools.common.root}/*.jar --- 1,11 ---- ! # ! # Librairies to be put into the WEB-INF/lib directory ! # ! # $Revision$ ! # ! ${apache.log4j.root}/*.jar ! ${apache.struts.root}/*.jar ! ${apache.taglibs.root}/*.jar ! ${ejtools.common.root}/*.jar ! ${ejtools.adwt.root}/*.jar ! ${ejtools.taglib.root}/*.jar |
From: <let...@us...> - 2002-06-13 20:04:02
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp In directory usw-pr-cvs1:/tmp/cvs-serv1156 Removed Files: web.xml Log Message: Add merge dir for webdoclet --- web.xml DELETED --- |
From: <let...@us...> - 2002-06-13 20:03:51
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/content In directory usw-pr-cvs1:/tmp/cvs-serv1029 Modified Files: detail.jsp index.jsp style.xsl Added Files: invoke.jsp invoke.xml notification.jsp notification.xml Removed Files: admin.jsp admin.xml detail.xml index.xml search.jsp search.xml Log Message: Add merge dir for webdoclet --- NEW FILE: invoke.jsp --- <?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> <td width="100%"> <table border="0" width="100%" cellspacing="0" cellpadding="3" bgcolor="#FFFFFF"> <tr> <td> <b> <font face="verdana,arial,sans-serif" color="#000000" size="6"> <bean:message key="web.invocation.title"/> </font> </b> </td> <td align="right" rowspan="2"> <img border="0" src="images/ejtools50.png" width="175" height="50"/> </td> </tr> <tr> <td> <html:link forward="home"> <bean:message key="web.index.title"/> </html:link> >> <html:link page="/detail.do" paramId="reference" paramName="detail" paramProperty="name"> <bean:message key="web.detail.title"/> </html:link> >> <bean:message key="web.invocation.title"/> </td> </tr> </table> </td> </tr> </table> <img border="0" src="images/white.png" width="5" height="15"/> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> <tr bgcolor="#EEEEEE"> <td align="left" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> <td> <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.operation.name"/> </b> </td> <td align="left" width="90%"> <bean:write name="operation.name"/> </td> </tr> <tr> <td align="right" nowrap="true"> <b> <bean:message key="web.label.operation.type"/> </b> </td> <td align="left" width="90%"> <bean:write name="operation.type"/> </td> </tr> </table> </td> </tr> </table> </td> </tr> <html:errors/> <logic:present name="invoke.result"> <tr bgcolor="#FFFFFF"> <td align="left" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> <td> <app:mbeanResultEditor name="invoke.result" filter="false"/> </td> </tr> </table> </td> </tr> </logic:present> </table> </body> </html> </jsp:root> --- NEW FILE: invoke.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.invocation.title"/> </Title> <Path> <Element> <html:link forward="home"> <bean:message key="web.index.title"/> </html:link> </Element> <Element> <html:link page="/detail.do" paramId="reference" paramName="detail" paramProperty="name"> <bean:message key="web.detail.title"/> </html:link> </Element> <Element> <bean:message key="web.invocation.title"/> </Element> </Path> </TitleBlock> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <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.operation.name"/> </b> </td> <td align="left" width="90%"> <bean:write name="operation.name"/> </td> </tr> <tr> <td align="right" nowrap="true"> <b> <bean:message key="web.label.operation.type"/> </b> </td> <td align="left" width="90%"> <bean:write name="operation.type"/> </td> </tr> </table> </HeaderBlock> <html:errors/> <logic:present name="invoke.result"> <ContentBlock> <app:mbeanResultEditor name="invoke.result" filter="false"/> </ContentBlock> </logic:present> </Frame> </Content> </Page> --- NEW FILE: notification.jsp --- <?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.notification.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> <td width="100%"> <table border="0" width="100%" cellspacing="0" cellpadding="3" bgcolor="#FFFFFF"> <tr> <td> <b> <font face="verdana,arial,sans-serif" color="#000000" size="6"> <bean:message key="web.notification.title"/> </font> </b> </td> <td align="right" rowspan="2"> <a href="http://ejtools.sourceforge.net"> <img border="0" src="images/ejtools50.png" width="175" height="50"/> </a> </td> </tr> <tr> <td> <html:link forward="home"> <bean:message key="web.index.title"/> </html:link> >> <bean:message key="web.notification.title"/> </td> </tr> </table> </td> </tr> </table> <img border="0" src="images/white.png" width="5" height="15"/> <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> <tr bgcolor="#EEEEEE"> <td align="left" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> <td/> </tr> </table> </td> </tr> </table> <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="20%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> <b> <bean:message key="web.table.header.source"/> </b> </font> </td> <td align="center" valign="top" width="10%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> <b> <bean:message key="web.table.header.timeStamp"/> </b> </font> </td> <td align="center" valign="top" width="10%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> <b> <bean:message key="web.table.header.sequence"/> </b> </font> </td> <td align="center" valign="top" width="10%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> <b> <bean:message key="web.table.header.type"/> </b> </font> </td> <td align="center" valign="top" width="50%"> <font face="verdana,arial,sans-serif" color="#ffffff" size="-1"> <b> <bean:message key="web.table.header.message"/> </b> </font> </td> </tr> <logic:iterate name="tree" property="notifications" id="event" type="javax.management.Notification"> <tr bgcolor="#EEEEEE"> <td valign="top" align="left"> <bean:write name="event" property="source"/> </td> <td valign="top" align="left"> <bean:write name="event" property="timeStamp"/> </td> <td valign="top" align="left"> <bean:write name="event" property="sequenceNumber"/> </td> <td valign="top" align="center"> <bean:write name="event" property="type"/> </td> <td class="attributeValue" valign="top" align="left"> <bean:write name="event" property="message"/> </td> </tr> </logic:iterate> </table> </body> </html> </jsp:root> --- NEW FILE: notification.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.notification.title"/> </Title> <Content> <!-- ======================================== --> <!-- Header --> <!-- ======================================== --> <TitleBlock> <Title> <bean:message key="web.notification.title"/> </Title> <Path> <Element> <html:link forward="home"> <bean:message key="web.index.title"/> </html:link> </Element> <Element> <bean:message key="web.notification.title"/> </Element> </Path> </TitleBlock> <!-- ======================================== --> <!-- Spacer --> <!-- ======================================== --> <Spacer/> <Frame> <HeaderBlock/> </Frame> <Spacer/> <!-- ======================================== --> <!-- Events --> <!-- ======================================== --> <EventsBlock> <!-- ======================================== --> <!-- List --> <!-- ======================================== --> <logic:iterate name="tree" property="notifications" id="event" type="javax.management.Notification"> <Event> <EventSource> <bean:write name="event" property="source"/> </EventSource> <EventTimeStamp> <bean:write name="event" property="timeStamp"/> </EventTimeStamp> <EventSequence> <bean:write name="event" property="sequenceNumber"/> </EventSequence> <EventType> <bean:write name="event" property="type"/> </EventType> <EventMessage> <bean:write name="event" property="message"/> </EventMessage> </Event> </logic:iterate> </EventsBlock> </Content> </Page> Index: detail.jsp =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/detail.jsp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** detail.jsp 10 Jun 2002 07:50:42 -0000 1.5 --- detail.jsp 13 Jun 2002 20:03:47 -0000 1.6 *************** *** 1,294 **** ! <?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> ! <td width="100%"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3" bgcolor="#FFFFFF"> ! <tr> ! <td> ! <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <bean:message key="web.detail.title"/> ! </font> ! </b> ! </td> ! <td align="right" rowspan="2"> ! <img border="0" src="images/ejtools50.png" width="175" height="50"/> ! </td> ! </tr> ! <tr> ! <td> ! <html:link forward="home"> ! <bean:message key="web.index.title"/> ! </html:link> >> <bean:message key="web.detail.title"/> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! <img border="0" src="images/white.png" width="5" height="15"/> ! <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> ! <tr bgcolor="#EEEEEE"> ! <td align="left" valign="top"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td> ! <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> ! </table> ! </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"/> ! <jsp:text>');"></jsp:text> ! <bean:write name="constructor" property="name"/> ! <jsp:text></a></jsp:text> ! </td> ! <td class="attributeValue" valign="top" align="left"> ! <logic:iterate name="constructor" property="signature" id="parameter" type="javax.management.MBeanParameterInfo"> ! <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:mbeanParameterClass name="parameter"/> ! <jsp:text>)</jsp:text> ! <jsp:text><br/></jsp:text> ! </logic:iterate> ! </td> ! </tr> ! </logic:iterate> ! </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"/> ! <jsp:text>');"></jsp:text> ! <bean:write name="notification" property="name"/> ! <jsp:text></a></jsp:text> ! </td> ! <td class="attributeValue" valign="top" align="left"> ! <logic:iterate name="notification" property="notifTypes" id="notif" type="java.lang.String"> ! <bean:write name="notif" filter="false"/> ! <jsp:text><br/></jsp:text> ! </logic:iterate> ! </td> ! </tr> ! </logic:iterate> ! </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> ! </logic:iterate> ! </table> ! </logic:greaterThan> ! </body> ! </html> ! </jsp:root> --- 1,327 ---- ! <?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> ! <td width="100%"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3" bgcolor="#FFFFFF"> ! <tr> ! <td> ! <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <bean:message key="web.detail.title"/> ! </font> ! </b> ! </td> ! <td align="right" rowspan="2"> ! <img border="0" src="images/ejtools50.png" width="175" height="50"/> ! </td> ! </tr> ! <tr> ! <td> ! <html:link forward="home"> ! <bean:message key="web.index.title"/> ! </html:link> >> <bean:message key="web.detail.title"/> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! <img border="0" src="images/white.png" width="5" height="15"/> ! <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> ! <tr bgcolor="#EEEEEE"> ! <td align="left" valign="top"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td> ! <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> ! <center> ! <table border="0" cellspacing="0" cellpadding="3"> ! <tr> ! <form action="unregister.do"> ! <ejtools:hidden id="reference" name="detail" property="name"/> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.unregister"/> ! </html:submit> ! </td> ! </form> ! <form action="addListener.do"> ! <ejtools:hidden id="reference" name="detail" property="name"/> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.listen"/> ! </html:submit> ! </td> ! </form> ! </tr> ! </table> ! </center> ! </td> ! </tr> ! </table> ! </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"/> ! <jsp:text>');"></jsp:text> ! <bean:write name="constructor" property="name"/> ! <jsp:text></a></jsp:text> ! </td> ! <td class="attributeValue" valign="top" align="left"> ! <logic:iterate name="constructor" property="signature" id="parameter" type="javax.management.MBeanParameterInfo"> ! <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> ! <jsp:text> (</jsp:text> ! <app:mbeanParameterClass name="parameter"/> ! <jsp:text>)</jsp:text> ! <jsp:text><br/></jsp:text> ! </logic:iterate> ! </td> ! </tr> ! </logic:iterate> ! </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"/> ! <jsp:text>');"></jsp:text> ! <bean:write name="notification" property="name"/> ! <jsp:text></a></jsp:text> ! </td> ! <td class="attributeValue" valign="top" align="left"> ! <logic:iterate name="notification" property="notifTypes" id="notif" type="java.lang.String"> ! <bean:write name="notif" filter="false"/> ! <jsp:text><br/></jsp:text> ! </logic:iterate> ! </td> ! </tr> ! </logic:iterate> ! </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"/> ! <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> ! <html:form action="/update" method="POST"> ! <ejtools:hidden id="reference" name="detail" property="name"/> ! <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> ! </html:form> ! </table> ! </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="25%"> ! <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="75%"> ! <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"> ! <form action="invoke.do" method="POST"> ! <ejtools:hidden id="reference" name="detail" property="name"/> ! <ejtools:hidden id="operation" name="operation" property="name"/> ! <ejtools:hidden id="type" name="operation" property="returnType"/> ! <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> ! <app:mbeanParameterClass name="parameter"/> ! <jsp:text>)</jsp:text> ! <jsp:text><br/></jsp:text> ! </logic:iterate> ! <html:submit styleClass="button"> ! <bean:message key="web.button.invoke"/> ! </html:submit> ! </td> ! </tr> ! </form> ! </logic:iterate> ! </table> ! </logic:greaterThan> ! </body> ! </html> ! </jsp:root> Index: index.jsp =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/index.jsp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.jsp 10 Jun 2002 07:50:42 -0000 1.5 --- index.jsp 13 Jun 2002 20:03:47 -0000 1.6 *************** *** 1,129 **** ! <?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> ! <td width="100%"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3" bgcolor="#FFFFFF"> ! <tr> ! <td> ! <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <bean:message key="web.index.title"/> ! </font> ! </b> ! </td> ! <td align="right" rowspan="2"> ! <img border="0" src="images/ejtools50.png" width="175" height="50"/> ! </td> ! </tr> ! <tr> ! <td> ! <bean:message key="web.index.title"/> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! <img border="0" src="images/white.png" width="5" height="15"/> ! <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> ! <tr bgcolor="#EEEEEE"> ! <td align="left" valign="top"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td> ! <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> ! </table> ! </body> ! </html> ! </jsp:root> --- 1,129 ---- ! <?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> ! <td width="100%"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3" bgcolor="#FFFFFF"> ! <tr> ! <td> ! <b> ! <font face="verdana,arial,sans-serif" color="#000000" size="6"> ! <bean:message key="web.index.title"/> ! </font> ! </b> ! </td> ! <td align="right" rowspan="2"> ! <img border="0" src="images/ejtools50.png" width="175" height="50"/> ! </td> ! </tr> ! <tr> ! <td> ! <bean:message key="web.index.title"/> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! <img border="0" src="images/white.png" width="5" height="15"/> ! <table border="0" cellspacing="1" bgcolor="#CCCCCC" width="100%"> ! <tr bgcolor="#EEEEEE"> ! <td align="left" valign="top"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td> ! <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="connect.do"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.refresh"/> ! </html:submit> ! </td> ! </form> ! <form action="search_form.do"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.search"/> ! </html:submit> ! </td> ! </form> ! <form action="notification.jsp"> ! <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> ! </table> ! </body> ! </html> ! </jsp:root> Index: style.xsl =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/style.xsl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** style.xsl 10 Jun 2002 07:50:42 -0000 1.3 --- style.xsl 13 Jun 2002 20:03:47 -0000 1.4 *************** *** 1,466 **** ! <?xml version="1.0"?> ! <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> ! <!-- ======================================== --> ! <!-- Root --> ! <!-- ======================================== --> ! <xsl:template match="/"> ! <jsp:root version="1.2"> ! <jsp:directive.page language="java" contentType="text/html"/> ! <app:connect/> [...993 lines suppressed...] ! <xsl:apply-templates select="@*"/> ! <xsl:apply-templates/> ! </xsl:copy> ! </xsl:template> ! <!-- ######################################## --> ! <!-- Taglib namespace : logic --> ! <!-- ######################################## --> ! <xsl:template match="logic:*"> ! <xsl:copy> ! <xsl:apply-templates select="@*"/> ! <xsl:apply-templates/> ! </xsl:copy> ! </xsl:template> ! <!-- ######################################## --> ! <!-- Generic match --> ! <!-- ######################################## --> ! <xsl:template match="*|@*"> ! <xsl:copy-of select="."/> ! </xsl:template> ! </xsl:stylesheet> --- admin.jsp DELETED --- --- admin.xml DELETED --- --- detail.xml DELETED --- --- index.xml DELETED --- --- search.jsp DELETED --- --- search.xml DELETED --- |
From: <let...@us...> - 2002-06-13 20:03:28
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/merge In directory usw-pr-cvs1:/tmp/cvs-serv893 Added Files: servlet-mappings.xml servlets.xml taglibs.xml welcomefiles.xml Log Message: Add merge dir for webdoclet --- NEW FILE: servlet-mappings.xml --- <!-- Standard Action Servlet Mapping --> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> <!-- Precompiled JSP overmapping --> <servlet-mapping> <servlet-name>ADMIN.JSP</servlet-name> <url-pattern>/admin.jsp</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>DETAIL.JSP</servlet-name> <url-pattern>/detail.jsp</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>INDEX.JSP</servlet-name> <url-pattern>/index.jsp</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>INVOKE.JSP</servlet-name> <url-pattern>/invoke.jsp</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>NOTIFICATION.JSP</servlet-name> <url-pattern>/notification.jsp</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>SEARCH.JSP</servlet-name> <url-pattern>/search.jsp</url-pattern> </servlet-mapping> --- NEW FILE: servlets.xml --- <!-- Standard Action Servlet Configuration (with debugging) --> <servlet> <servlet-name>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> <init-param> <param-name>application</param-name> <param-value>ApplicationResources</param-value> </init-param> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> <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> <param-name>validate</param-name> <param-value>true</param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> <!-- Precompiled JSP --> <servlet> <servlet-name>ADMIN.JSP</servlet-name> <servlet-class>admin</servlet-class> <load-on-startup>10</load-on-startup> </servlet> <servlet> <servlet-name>DETAIL.JSP</servlet-name> <servlet-class>detail</servlet-class> <load-on-startup>10</load-on-startup> </servlet> <servlet> <servlet-name>INDEX.JSP</servlet-name> <servlet-class>index</servlet-class> <load-on-startup>10</load-on-startup> </servlet> <servlet> <servlet-name>INVOKE.JSP</servlet-name> <servlet-class>invoke</servlet-class> <load-on-startup>10</load-on-startup> </servlet> <servlet> <servlet-name>NOTIFICATION.JSP</servlet-name> <servlet-class>notification</servlet-class> <load-on-startup>10</load-on-startup> </servlet> <servlet> <servlet-name>SEARCH.JSP</servlet-name> <servlet-class>search</servlet-class> <load-on-startup>10</load-on-startup> </servlet> --- NEW FILE: taglibs.xml --- <!-- Application TagLib --> <taglib> <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> <!-- Struts Tag Library Descriptors --> <taglib> <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> </taglib> <taglib> <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri> <taglib-location>/WEB-INF/struts-html.tld</taglib-location> </taglib> <taglib> <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri> <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> </taglib> <!-- Additional TagLib : log --> <taglib> <taglib-uri>/WEB-INF/log.tld</taglib-uri> <taglib-location>/WEB-INF/log.tld</taglib-location> </taglib> --- NEW FILE: welcomefiles.xml --- <!-- The Usual Welcome File List --> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> </welcome-file-list> |
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/resources In directory usw-pr-cvs1:/tmp/cvs-serv734 Removed Files: application.tld struts-config.xml struts-config_1_0.dtd struts-template.tld web-app_2_2.dtd web-app_2_3.dtd Log Message: Correct binary/text format --- application.tld DELETED --- --- struts-config.xml DELETED --- --- struts-config_1_0.dtd DELETED --- --- struts-template.tld DELETED --- --- web-app_2_2.dtd DELETED --- --- web-app_2_3.dtd DELETED --- |
Update of /cvsroot/ejtools/applications/jmx.browser/src/resources/net/sourceforge/ejtools/jmxbrowser/web/taglib In directory usw-pr-cvs1:/tmp/cvs-serv546/net/sourceforge/ejtools/jmxbrowser/web/taglib Removed Files: MBeanAttributeInfoAccess.properties MBeanAttributeInfoEditor.properties Log Message: Correct binary/text format --- MBeanAttributeInfoAccess.properties DELETED --- --- MBeanAttributeInfoEditor.properties DELETED --- |
From: <let...@us...> - 2002-06-13 20:02:47
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv546 Modified Files: ApplicationResources.properties Log Message: Correct binary/text format Index: ApplicationResources.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/resources/ApplicationResources.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ApplicationResources.properties 10 Jun 2002 07:50:08 -0000 1.3 --- ApplicationResources.properties 13 Jun 2002 20:02:44 -0000 1.4 *************** *** 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 --- 1,68 ---- ! 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.invocation.title=Invocation ! web.notification.title=Notifications ! ! web.button.admin=Administration ! web.button.cancel=Cancel ! web.button.invoke=Invoke ! web.button.notifications=Notifications ! web.button.not.supported=Unsupported ! web.button.search=Search ! web.button.update=Update ! web.button.refresh=Refresh ! web.button.unregister=Unregister ! web.button.listen=Listen ! ! 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.label.operation.name=Operation Name : ! web.label.operation.type=Return 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.table.header.source=Source ! web.table.header.timeStamp=TimeStamp ! web.table.header.sequence=Sequence ! web.table.header.type=Type ! web.table.header.message=Message ! ! 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.text.no.result=No result. ! ! 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.filter.required=A valid filter is required ! web.error.mbean.attribute=<b>Error while setting attribute : </b>{0}<br/> ! web.error.query.filter=<b>Malformed filter : </b>{0}<br/> ! web.error.mbean.unregister=<b>Error while unregistering MBean : </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> |
From: <let...@us...> - 2002-06-13 20:02:34
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser In directory usw-pr-cvs1:/tmp/cvs-serv438 Modified Files: Main.java Log Message: Correct binary/text format Index: Main.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/Main.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 |