heh, didn't think of that ;)
the correct way would be to override the methode getDomainFilter
and return IDomainFilter.ALL (or something like that)

Gerolf

On Wed, Apr 30, 2008 at 11:49 AM, Paolo Di Tommaso <
[EMAIL PROTECTED]> wrote:

> YESS! You are right, now it works.
>
> Thank you, Paolo
>
>
>
> On Wed, Apr 30, 2008 at 11:15 AM, Benjamin Ernst <[EMAIL PROTECTED]
> >
> wrote:
>
> > Hi Paolo,
> >
> > I had just the same problem as you.
> >
> > The "display:none" has nothing to do with this. It just hides the root
> of
> > the tree.
> >
> > The problem was that the domain is skipped, because it doesen´t have the
> > same name as my Application.
> >
> > So I removed the the filter part from the createTreeModel()-Method in
> the
> > JmxPanel.java like this:
> >
> > // process all available domains
> >        for (int i = 0; i < domains.length; i++)
> >        {
> >            // skip unwanted domains
> > *//            if (!getDomainFilter().accept(domains[i]))
> > //            {
> > //                continue;
> > //            }*
> >            // create domain tree node and add to root
> >            JmxTreeNode domain = new JmxTreeNode(domains[i], null);
> >            rootNode.add(domain);
> >                        ......
> >
> > Now I can see all domains in my jmx-Panel
> >
> > I hope it helps.
> >
> > Benjamin
> >
> >
> >
> >
> >
> > On Wed, Apr 23, 2008 at 11:09 PM, Paolo Di Tommaso <
> > [EMAIL PROTECTED]> wrote:
> >
> > > No. Just a plain html page without any custom css.
> > >
> > > What version of Wicket/Wicket-stuff-jmx-panel are you using ?
> > >
> > >
> > > Thanks,
> > >
> > > // Paolo
> > >
> > > On Wed, Apr 23, 2008 at 7:20 PM, Gerolf Seitz <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > nope, did the same thing you did.
> > > > do you have any custom css that might cause this?
> > > >
> > > >  Gerolf
> > > >
> > > > On Wed, Apr 23, 2008 at 7:02 PM, Paolo Di Tommaso <
> > > > [EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > > > Absolutely, JMX feature is enabled.
> > > > >
> > > > > I'm adding a JmxPanel in my page using a simple:
> > > > >
> > > > > add(new JmxPanel("jmx"));
> > > > >
> > > > >
> > > > > but nothing is displayed ..
> > > > >
> > > > > You have it working? Have you used any trick?
> > > > >
> > > > > // Paolo
> > > > >
> > > > >
> > > > > On Wed, Apr 23, 2008 at 3:46 PM, Gerolf Seitz <
> > [EMAIL PROTECTED]>
> > > > > wrote:
> > > > >
> > > > > > Paolo,
> > > > > > I'm not sure where the "display:none" comes from,
> > > > > > but i'm pretty sure it's not from the JmxPanel.
> > > > > >
> > > > > > do you have jmx enabled at all?
> > > > > >
> > > > > > Gerolf
> > > > > >
> > > > > > On Thu, Apr 17, 2008 at 9:07 AM, Paolo Di Tommaso <
> > > > > > [EMAIL PROTECTED]>
> > > > > > wrote:
> > > > > >
> > > > > > > Guys,
> > > > > > >
> > > > > > > someone has soem experience with the nice JmxPanel describe
> > here?
> > > > > > >
> > > > > > > http://chillenious.wordpress.com/2007/08/29/jmx-wicket-panel/
> > > > > > >
> > > > > > > Adding a JmxPanel instance to my page I always get the
> following
> > > > EMPTY
> > > > > > > panel
> > > > > > > ..
> > > > > > >
> > > > > > >
> > > > > > > <div class="jmxTreePanel">
> > > > > > > <table>
> > > > > > > <tr>
> > > > > > >  <td><div id="tree1" class="jmxTree">
> > > > > > >  <div style="display:none" id="tree1_0"></div>
> > > > > > >  </div></td>
> > > > > > >            <td><div id="detailPanel2">
> > > > > > > </div></td>
> > > > > > > </tr>
> > > > > > > </table>
> > > > > > > </div>
> > > > > > > <div style="clear:both"></div>
> > > > > > >
> > > > > > >
> > > > > > > Any ideas ?
> > > > > > >
> > > > > > > Thanks.
> > > > > > >
> > > > > > > // Paolo
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to