Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » [SOLVED] Unable to show an HTML welcome page(The welcome page static content (HTML file) doesn't show up.)
[SOLVED] Unable to show an HTML welcome page [message #999263] Fri, 11 January 2013 17:19 Go to next message
Michele Borioli is currently offline Michele BorioliFriend
Messages: 2
Registered: January 2013
Junior Member
Hi all,
I'm facing the following situation: I'm working on a small RCP application (I'm using Helios release) where I defined a static Welcome page whose content is specified within an HTML file.

I did the following:

1) added to the plugin.xml the org.eclipse.ui.intro extension where the intro and the introProductBinding are defined:

.....
<extension
      point="org.eclipse.ui.intro">
   <intro
         class="org.eclipse.ui.intro.config.CustomizableIntroPart"
         id="net.borioli.homearchive.intro">
   </intro>
   <introProductBinding
         introId="net.borioli.homearchive.intro"
         productId="net.borioli.homearchive.HomeArchiveProduct">
   </introProductBinding>
</extension>
.....


2) added an org.eclipse.ui.intro.config extension to the same plugin.xml:

<extension
      id="intro"
      name="intro"
      point="org.eclipse.ui.intro.config">
    <config
            introId="net.borioli.homearchive.intro"
            id="net.borioli.homearchive.introConfig"
            content="introContent.xml">
         <presentation
               home-page-id="root">
            <implementation>
                kind="html"
            </implementation>
         </presentation>
      </config>
</extension>


3) added the following introContent.xml file to the plugin root dir:

<?xml version="1.0" encoding="utf-8" ?>
<introContent>
    <page 	id="root" url = "./static/rootPage.html" />  
        
</introContent>


4) created the rootPage.html file in the plugin 'static' dir (static HTML).


The whole thing doesn't work: the product starts correctly but opens a view named 'Welcome' completely empty, without any logged error (or, at least, I was unable to find any error).

Am I missing something?

After some serious Google digging I didn't figure out any solution....Anyway, I'm pretty sure that the introContent.xml is red correctly, since I got a 'File Not Found' error if I rename or move it.

Oh, I'm working on a win32 machine (XP sp 3).

Thank you in advance for any pointer / solution!

[Updated on: Sun, 13 January 2013 14:35]

Report message to a moderator

Re: [SOLVED] Unable to show an HTML welcome page [message #999949 is a reply to message #999263] Sun, 13 January 2013 14:37 Go to previous message
Michele Borioli is currently offline Michele BorioliFriend
Messages: 2
Registered: January 2013
Junior Member
Got it!
All the intro config was right, but I made a mistake while coding the initial app perspective (the content was not visible).
Previous Topic:How to use OpenWorkspaceAction
Next Topic:Eclipse 3.6 rcp to eclipse 4 rcp
Goto Forum:
  


Current Time: Mon Dec 22 10:05:49 GMT 2014

Powered by FUDForum. Page generated in 0.02631 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software