admin@glassfish.java.net

Re: Proposal for adding pluggability into the Glassfish Admin GUI

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Tue, 07 Aug 2007 08:51:31 -0700

Hi Irfan,

I have been out of the office for a while.  I'm back now, sorry for the delayed response.

For #1, are you including the tree/breadcrumbs file?

#include treeBreadcrumbs.inc

Also if you are, make sure this line is not indented.  It only works if the '#' character is at the beginning of the line.

For #2, make sure you're updating the deployed version of the application.  For testing, you can make sure com.sun.jsftemplating.DEBUG is set to 'true' in the web.xml file:

    <context-param>
        <param-name>com.sun.jsftemplating.DEBUG</param-name>
        <param-value>rrue</param-value>
    </context-param>

This will allow you to make changes to the .jsf files in the docroot w/o restarting the application.  You can place your files that you have in your jar file in the docroot under the same directory structure contained in your .jar file.  If you have your .jsf files in the docroot, they will override the ones in the classpath (.jar file).

I hope this helps!

Ken


Irfan Ahmed wrote:
Hi Ken,

Any update on this.

Rgds
Irfan

Irfan Ahmed wrote:
Hi Ken,

Thanks for your changes. I applied the same and all seemed to work fine. There were two issues that I am not able to resolve.
  1. The breadcrumbs on the SIP Modules page do not come up
  2. I always get a Missing Resource exception. the resource it is not able to fine was sip.resources.Strings; This was wrongly mentioned in the modules*.jsf. The correct resource is resources.sip.Strings, however even after changing the same, updating the sip.jar and restarting GF, I still see this error.
Thanks and Warm Rgds,
Irfan.

--
<a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href=<a class="moz-txt-link-rfc2396E" href="mailto:irfan@sun.com">"mailto:irfan@sun.com"</a>><a class="moz-txt-link-rfc2396E" href="mailto:irfan@sun.com">"mailto:irfan@sun.com"</a></a>><a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:irfan@sun.com">"mailto:irfan@sun.com"</a>><a class="moz-txt-link-abbreviated" href="mailto:irfan@sun.com">irfan@sun.com</a></a></a>
Irfan Ahmed | Sun Microsystems Inc., Bangalore, India. | irfan@sun.com - 9180.66927726 - x27726



$page{configName}); /> $attribute{oldComp}); setAttribute(key="parent" value="#{oldComp.parent}"); // Replace it with something temporary to hold position // Needed, or it it will just find the old one vs. create it createComponent(type="staticText" component=>$attribute{temp}); replaceUIComponent(old="${oldComp}" new="$attribute{temp}"); // Rengenerate it getLayoutComponent(clientId="$requestParameter{updateTreeNode}" component=>$attribute{desc}); buildUIComponentTree(layoutElement="$attribute{desc}" parent="#{parent}" result=>$attribute{newComp}); replaceUIComponent(old="${temp}" new="$attribute{newComp}"); /> $page{treeId}); /> $attribute{encodedUrl}); redirect(page="webService/webServiceGeneral.jsf?webServiceKey=$attribute{encodedUrl}&webServiceName=#{click.parent.attributes.webServiceName}" ); /> "

--------------------------------------------------------------------- To unsubscribe, e-mail: admin-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: admin-help@glassfish.dev.java.net

--
<a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:irfan@sun.com">"mailto:irfan@sun.com"</a>><a class="moz-txt-link-abbreviated" href="mailto:irfan@sun.com">irfan@sun.com</a></a>
Irfan Ahmed | Sun Microsystems Inc., Bangalore, India. | irfan@sun.com - 9180.66927726 - x27726
--------------------------------------------------------------------- To unsubscribe, e-mail: admin-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: admin-help@glassfish.dev.java.net