Sofiane Cherchalli wrote:
> Hi Edwin,
>
> I applied all your instructions from the wiki page. The NBMs are
> installed under Libraries category in the module manager. I still
> cannot see the components on the palette when I open a visual web
> page. Is there something more to do? Meanwhile, I created a complib
> file, it works well :)
Is the visual web project a Java EE 5 project? If not, then you will not
see the Woodstock components on the palette. I need to be able to
reproduce your problem so need more information. I'm glad you got a
complib file working.
>
> I also developed a simple component that extends a woodstock TextField
> component using annotations. I added a new property and assigned to it
> a StringPropertyEditor. The property appears well in the component
> properties. Now, I would like to have a kinda of Combobox Property
> editor with data filled reading from a DB for that new component
> property. I have no idea how to do it, any clue?
NetBeans VWP supports a design-time API which has an extended version of
a JavaBeans PropertyEditor called PropertyEditor2 IIRC. Now that VWP is
open sourced, you can check out the code in the NetBeans
"visualweb/propertyeditors" module for examples that may be useful.
-Edwin
http://blogs.sun.com/edwingo/
>
> Thanks in advance
>
> Sofiane
>
> 2007/3/10, Edwin Goei <Edwin.Goei_at_sun.com <mailto:Edwin.Goei_at_sun.com>>:
>
> > Hi All,
> >
> > I compiled and generated the NBM modules :
> > com-sun-rave-webui-jsf-themes-defaulttheme.nbm and
> com-sun-webui-jsf.nbm.
> >
> > I installed then as global modules but nothing changed in the
> palette.
> > I can't see Masthead and Mastfooter for instance.
> >
> > Did I do something wrong?
> >
> > Thanks for any help
>
> The reason is because the code under visual-web-nbsuite was not
> complete. I just recently fixed this. The instructions should
> probably
> be posted on the main java.net <http://java.net> project site but
> in the mean time, I
> created a java.net <http://java.net> wiki page at
> http://wiki.java.net/bin/view/Javatools/InstallingWoodstockComponentsInNetBeans.
> You can also get to it from a link from my java.net
> <http://java.net> wiki page:
> http://wiki.java.net/bin/view/People/EdwinGoei.
>
> BTW, I know the build process isn't as efficient as it could be but I
> don't yet know enough about NetBeans to know how to fix it.
> Comments are
> welcome.
> -Edwin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> <mailto:users-unsubscribe_at_woodstock.dev.java.net>
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
> <mailto:users-help_at_woodstock.dev.java.net>
>
>