The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » Project jMaki

Thread: Embeding JMAKI widgets in a JMAKI grid widget

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 6 - Last Post: Sep 25, 2007 10:10 PM by: carlavmott
hat27533

Posts: 29
Embeding JMAKI widgets in a JMAKI grid widget
Posted: Aug 17, 2007 3:05 AM
 
  Click to reply to this thread Reply

Does anyone know if it is possible to embed a widget within a widget, such as a combo with in a column in a grid widget. I can add rows and put regular html such as a select in a column, I can not figure out if it is possible to add another widget, I am sure we must be able to ?

gmurray71

Posts: 659
Re: Embeding JMAKI widgets in a JMAKI grid widget
Posted: Aug 17, 2007 7:33 PM   in response to: hat27533
 
  Click to reply to this thread Reply

hi,

Currently it is not possible in a grid. The tabbedviews, accordions, and dcontainers all allow for includes via a "include" property where you provide a separate page with widgets in it.

What kind of things were you wanting to put in a grid widget?

I ask because we are considering an API to allow for this in the future but I'd like to know how this might be used.

Thanks,

-Greg

hat27533

Posts: 29
Re: Embeding JMAKI widgets in a JMAKI grid widget
Posted: Aug 19, 2007 3:25 PM   in response to: gmurray71
 
  Click to reply to this thread Reply

Hi Greg,

What I am looking to do is be able to put something like the jmaki combo in a cell and pick values as the cell value, or add a button/link to a cell that enables popup windows etc.

The kind of stuff you can do with the Nitobi grid editors (which is not jmaki friendly)
http://www.nitobi.com/products/completeui/demos/explorer/demos/grid/asp/editors/

The following snippet has a html select in one of the cells, I would like to be able to replace it with a widget such as the jmaki combo and use all the type ahead/lookup functionality to pick the cell value.

<a:widget name="Ext.grid"
value="{columns : [
{ 'label' : 'Title', 'id' : 'title'},
{ 'label':'Author', 'id' : 'author'},
{ 'label': 'ISBN', 'id' : 'isbn'},
{ 'label': 'Description', 'id' : 'description'}
],
rows : [
{ 'title' : 'Book Title 1', 'author' : 'Author 1', 'isbn': '4412', 'description' : 'A Some long description'},
{ id : 'foo', 'title' : '<select id=options ><option value=1 >One</option><option value=2>Two</option></select>'
, 'author' : 'Author 2', 'isbn': '4412', 'description' : 'A Some long description'}
]
}" />

also set the cell width etc.

Neil

hat27533

Posts: 29
Re: Embeding JMAKI widgets in a JMAKI grid widget
Posted: Aug 21, 2007 4:25 AM   in response to: gmurray71
 
  Click to reply to this thread Reply

Greg

Forget the Nitobi grid.

Take a look at this demo on , http://extjs.com/deploy/ext/docs/index.html
grid > Inline editing this is the kind of thing I am looking for.

Could there be a JMAKI version of this inline editor grid made available ?

hat27533

Posts: 29
Re: Embeding JMAKI widgets in a JMAKI grid widget
Posted: Sep 21, 2007 2:08 AM   in response to: hat27533
 
  Click to reply to this thread Reply

Any news on the Ext widgets?

I understand they have disappeared from jmaki because of a licensing issue?

Anyone working on a similar grid widget they want to share, in particular I am interested in being able to embed other widgets in a cell such as drop downs sub grids - see my previous post.

wisem

Posts: 2
Re: Embeding JMAKI widgets in a JMAKI grid widget
Posted: Sep 24, 2007 1:41 AM   in response to: hat27533
 
  Click to reply to this thread Reply

Hi,

I too want to use the Ext widgets within JMaki, and in what little spare time I have I am currently working on adding various Ext widgets. An older release of JMaki came with the Ext menu, tree and editable grid widgets bundled in a .zip file. This is what I am adding to in the hope that they can be used in the future. It may be an option for you to use the library from this older release (don't know if the Ext licensing would permit this), but I know from a previous post of mine that the JMaki team were hoping to be able to distribute Ext widgets as a separate bundle.

Cheers,
Malc

carlavmott

Posts: 210
Re: Embeding JMAKI widgets in a JMAKI grid widget
Posted: Sep 25, 2007 10:10 PM   in response to: wisem
 
  Click to reply to this thread Reply

Hi guys,

At this time we can not distribute jMaki wrappers for ExtJS on our site. Their website clearly
states that they want to license the technology and that will keep us from posting the bits.

I'm hoping that will change and that at some point they will go back to a dual license.

Carla




 XML java.net RSS