NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
mcs130
Joined: 27 Aug 2008 Posts: 14
|
Posted: Mon Sep 08, 2008 6:31 pm Post subject: NB 6.1 - Portlet Sample/JMaki Tabbed View |
|
|
I originally submitted this to the Ajax Users forum but was not getting much input so I am trying here. If there is a more appropriate group that I should post to, please advse. Thanks.
----------------------------------------------------------------------------
I am following (exactly to the letter) the tutorial at:
http://java.sun.com/developer/technicalArticles/tools/nb_portlets/
I drag the JMaki Yahoo Tabbed View from the JMaki palette onto the simple view JSP for the portlet, and then run the Clean and Build and then Run by righ-clicking on the Project. This project is also a Portlet 2.0 project (as described in the article referenced above). Making no code changes to the JSP other than dragging the JMaki Yahoo Tabbed View control onto the page.
Code:
<a:widget name="yahoo.tabbedview"
value="{items:[
{label : 'My Tab', content : 'Some Content'},
{id : 'bar', label : 'My Tab 2', include : 'test.jsp ', lazyLoad : true },
{label : 'My Tab 3', content : 'More Content', selected : true}
]
}" />
When the page loads, I get the following error:
Error loading jmaki.widgets.yahoo.tabbedview.Widget : id=yahoo_tabbedview1
Script: http://localhost:28080/portletdriver/dt (line: 268).
Message: Invalid argument.
I have no clue as to why this occurs - I have never used Jmaki before and am following the tutorial exactly at every step.
Any ideas would be appreciated. Thanks in advance.
________
Jaguar R5 history
Last edited by mcs130 on Tue Feb 01, 2011 1:45 pm; edited 1 time in total |
|
| Back to top |
|
 |
ciaranastuart
Joined: 04 Nov 2009 Posts: 1
|
Posted: Wed Nov 04, 2009 6:28 am Post subject: |
|
|
Looking at the first error there:
"IDE Branding - The module named org.netbeans.modules.ide.kit was needed
and not found."
it looks like your install of NetBeans is corrupted, or something went
very wrong with your userdir (place where settings are kept).
Basically, it is saying that a bunch of very basic pieces of NetBeans
are missing.
The first thing to try would be to delete the directory C:\Documents and
Settings\dduniec\.netbeans - things *conceivably* could have gotten
messed up by trying to import settings from a very old version of
NetBeans, although that's not supposed to happen.
And many thanks for this useful information which you have presenting online. It is very valuable resource for me. I just have finished my vmware practice exam which i had given for attaining the certification. Although! it was so hard to get certified but I was well prepared for it. Frankly speaking this kept me a lot busy for last two months. I have also attained the certification of another course of hp practice exam which I had passed six months back. Meanwhile I have completed my thesis of pmp practice exam which I will submit soon. I really like your website and want to visit it again. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|