[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2101) XPath pattern matches disappear

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Apr 21 18:38:44 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-2101?page=comments#action_12409908 ] 
            
Rob Stryker commented on JBIDE-2101:
------------------------------------

This is actually not a really weird bug at all, but perhaps a UI error in not informing the user properly of what's needed.

The problem is, the xpath you're referencing has the following text (or something like it depending on your configuration):

               <interceptors>
                  <interceptor code="org.jboss.jmx.connector.invoker.SerializableInterceptor"
                     policyClass="StripModelMBeanInfoPolicy"/>
               </interceptors>

Judging by your screen, you've entered in the xpath properly, but *not* an attribute. What this basically means is that you're trying to edit the TEXT of the element, not any one of the elements' attributes.   I'll be attaching two screen shots that demonstrate what I mean.

I'm going to leave the bug opened and lower it's priority, to allow any users to suggest a UI enhancement that would make this more clear. 

Basically, if you want to be able to edit the "code" portion of the xml element, then put "code" in the attribute name. If you want to edit the "policyClass" portion, then put that into the attribute section.

Good luck!

> XPath pattern matches disappear
> -------------------------------
>
>                 Key: JBIDE-2101
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2101
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 2.1.0.beta1
>            Reporter: Galder Zamarreno
>         Assigned To: Rob Stryker
>             Fix For: 2.1, 2.1.x
>
>         Attachments: xpath-matches-dissapear-1.png, xpath-matches-dissapear-2.png
>
>
> I created a new category in the XML configuration view of the server 
> called Server and added a new XPath like this:
> Name: jmx invoker
> XPath Pattern: /server/mbean/xmbean/operation/descriptors/interceptors/interceptor
> It worked fine first time around but now, although I can see the XPath, I can't see the 
> matched XML files. Same happens in the "Ports" category.
> I'll attach screenshot.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list