Skip to main content

Nested Widget tags.

2 replies [Last post]
jhobby
Offline
Joined: 2007-04-30

Is it possible to create widgets inside of widgets?

This produces nothing between the outer tags. Placing the cards tags inside component.htm of the cardtable widget, although not as generic, just passes through the tags as is.

What is the preferred method of mixing widgets in a parent/child relationship? Maybe this is just not done.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31

removed.

Message was edited by: gmurray71

gmurray71
Offline
Joined: 2003-07-31

HI,

The JSP jMaki does not allow this type of behavior because we do not have the option to do the same type of inclusion across technologies and it complicates the model a bit.

That said we have the injector for including content from another source, and the jmaki.DContainer to include content (including another widgets) loaded from a separate URL

Find out more about the injector which is a really a low level API for widget developers at:

https://ajax.dev.java.net/injector.html

Find out more about using the Dcontainer at:

http://weblogs.java.net/blog/carlavmott/archive/2007/01/building_web_20....

The other option if you are a JSF developer is to use the visual web pack which does allow you to do inclusion as you specified. Find out more about it here:

http://blogs.sun.com/edwingo/entry/jmaki_support_for_netbeans_visual