users@glassfish.java.net

Re: Web Admin console : suppress link to URL sun.com

From: <glassfish_at_javadesktop.org>
Date: Tue, 01 Apr 2008 03:58:20 PST

I found the solution to my problem.

If like me you want to change / suppress the link to sun.com

Extract homePage.jsf from
<GlassFish_RootDir>/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/admin-jsf.jar

Change the URL write in these lines :

<!if !#{supportCluster}>
                <sun:frame name="home" title="$resource{i18n.display.contentArea}" scrolling="auto" url="/commonTask.jsf" marginHeight="$int{10}" marginWidth="$int{20}" longdesc="" />
                <sun:frame name="upselling" title="$resource{i18n.display.contentArea}" scrolling="auto" url="[b]http://www.sun.com/software/products/appsrvr/promotions/appserver9_1pe.html[/b]" marginHeight="$int{10}" marginWidth="$int{20}" longdesc=""/>
</!if>
<!if #{supportCluster}>
                <sun:frame name="home" title="$resource{i18n.display.contentArea}" scrolling="auto" url="/clusterCommonTask.jsf" marginHeight="$int{10}" marginWidth="$int{20}" longdesc="" />
                <sun:frame name="upselling" title="$resource{i18n.display.contentArea}" scrolling="auto" url="[b]http://www.sun.com/software/products/appsrvr/promotions/appserver9_1ee.html[/b]" marginHeight="$int{10}" marginWidth="$int{20}" longdesc="" />
</!if>

Update homePage.jsf in admin-jsf.jar.

Stop / start your domain. The link is changed.
[Message sent by forum member 'bbulte' (bbulte)]

http://forums.java.net/jive/thread.jspa?messageID=267043