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

Rob Stryker (JIRA) jira-events at lists.jboss.org
Tue Apr 22 10:49:44 EDT 2008


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

I don't have a comment / uncomment option right now. It's something I could look into, but, the problem there is once it's commented, I'm not sure how I'd provide an easy way to uncomment it.... especially if there are any child elements. 

Your xpath was right to *locate* the element, and if you wanted to change the text *inside* that element, it would work. For example... 

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

As of now, you can edit the text by just using the xpath you chose... the TEXT TO EDIT section.  Or you can edit the "code" or "policyClass" values by setting the attribute name.  To comment out the whole block, well, that's not implemented.  You'll have to open the file via edit file.   Sad I know. I'll think about this for a while. 

> XPath UI is confusing  (Was XPath pattern matches disappear)
> ------------------------------------------------------------
>
>                 Key: JBIDE-2101
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2101
>             Project: Tools (JBoss Tools)
>          Issue Type: Quality Risk
>          Components: Archives
>    Affects Versions: 2.1.0.beta1
>            Reporter: Galder Zamarreno
>         Assigned To: Rob Stryker
>            Priority: Minor
>             Fix For: 2.2.x
>
>         Attachments: JBIDE-2101.b.jpg, JBIDE-2101.jpg, 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