Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » no tree is shown for the outline
no tree is shown for the outline [message #1088113] Fri, 16 August 2013 15:47 Go to next message
Chris Snow is currently offline Chris SnowFriend
Messages: 50
Registered: December 2011
Member
I've just created a new empty project, added an outline to the desktop and some pages to the outline.

When I start up the (RAP) client, the tree of nodes is not shown - all I can see is the outline tabs.

index.php/fa/15933/0/

I'm using scout juno.

Any ideas?

Many thanks,

Chris
  • Attachment: Untitled.png
    (Size: 34.91KB, Downloaded 323 times)

[Updated on: Fri, 16 August 2013 16:00]

Report message to a moderator

Re: no tree is shown for the outline [message #1088292 is a reply to message #1088113] Fri, 16 August 2013 22:05 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Scout proposes different types of applications. Are you sure you have created an "Outline based application" ?

Can you post here the content of <your app>.client.ui.desktop.Desktop#execOpened()

For a desktop based application it should looks like:

@Override
protected void execOpened() throws ProcessingException {
  //If it is a mobile or tablet device, the DesktopExtension in the mobile plugin takes care of starting the correct forms.
  if (!UserAgentUtility.isDesktopDevice()) {
    return;
  }

  // outline tree
  DefaultOutlineTreeForm treeForm = new DefaultOutlineTreeForm();
  treeForm.setIconId(Icons.VCard);
  treeForm.startView();

  //outline table
  DefaultOutlineTableForm tableForm = new DefaultOutlineTableForm();
  tableForm.setIconId(Icons.VCard);
  tableForm.startView();

  if (getAvailableOutlines().length > 0) {
    setOutline(getAvailableOutlines()[0]);
  }

}


Can you also compare with the swing rendering of the same application? Do you see the page tree or not?

Have you checked your console output?

[Updated on: Fri, 16 August 2013 22:07]

Report message to a moderator

Previous Topic:Scout+Gemini JPA
Next Topic:Webservice content type
Goto Forum:
  


Current Time: Fri Mar 29 13:33:03 GMT 2024

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

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

Back to the top