Re: visural-wicket 0.6.5 released!

2010-11-25 Thread Mark Doyle
Great library. I always expected more of these since component creation and reuse is one of Wickets a key strengths. What I like about this lib is it's clean and finished. There is no feeling of immaturity or of a project that has died off. On Thu, Nov 25, 2010 at 2:02 PM, alex shubert

Re: Accessing the cells in a row of a DataTable

2010-10-27 Thread Mark Doyle
for the dropdownchoice creation (in your panel) On Tue, Oct 26, 2010 at 6:14 PM, Mark Doyle markjohndo...@googlemail.com wrote: I suppose this is related so I'll keep the thread going. As part of the above use case I have created a custom PropertyColumn that uses a DropDownChoice

Re: Accessing the cells in a row of a DataTable

2010-10-27 Thread Mark Doyle
for the dropdownchoice creation (in your panel) On Tue, Oct 26, 2010 at 6:14 PM, Mark Doyle markjohndo...@googlemail.com wrote: I suppose this is related so I'll keep the thread going. As part of the above use case I have created a custom PropertyColumn that uses a DropDownChoice

Re: Accessing the cells in a row of a DataTable

2010-10-27 Thread Mark Doyle
I think I may have circumnavigated this issue by discovering the wonders of AjaxEditableLabel and AjaxEditableChoiceLabel :D I'll post my results when I've tested it. Hopefully this will be helpful to somebody else in the future. On Wed, Oct 27, 2010 at 10:59 AM, Mark Doyle markjohndo

Re: Accessing the cells in a row of a DataTable

2010-10-26 Thread Mark Doyle
at 11:56 AM, Mark Doyle markjohndo...@googlemail.comwrote: Oh and the table isn't the parent: // get the table to rerender target.addComponent(this.getParent()); I had to do a six step parental grab; I'm sure there is a better way! :D On Fri, Oct 22, 2010 at 11:54 AM, Mark

Re: Accessing the cells in a row of a DataTable

2010-10-23 Thread Mark Doyle
Ok, I've nearly got this finished. Does anybody know how to add a link in populateItem() that doesn't render as [cell]? I could create a customised Panel I suppose but it seems like overkill. Maybe a fragment...hmmm On Fri, Oct 22, 2010 at 11:56 AM, Mark Doyle markjohndo

Re: Accessing the cells in a row of a DataTable

2010-10-22 Thread Mark Doyle
Thanks Mike, this was definitely a great pointer in the right direction; I'm beginning to grasp the column system now. I do have some issues though as detailed below. Firstly, my business model is out of my control so I had to wrap that in a class that contains the editable state. I don't like

Re: Accessing the cells in a row of a DataTable

2010-10-22 Thread Mark Doyle
Oh and the table isn't the parent: // get the table to rerender target.addComponent(this.getParent()); I had to do a six step parental grab; I'm sure there is a better way! :D On Fri, Oct 22, 2010 at 11:54 AM, Mark Doyle markjohndo...@googlemail.comwrote: Thanks Mike, this was definitely

Accessing the cells in a row of a DataTable

2010-10-21 Thread Mark Doyle
Hi all, I'm having a bit of trouble wrapping my head around the DataTable with regards to what I need to do. The perfect example of my goal is in Wicket Examples, namely, the Ajax Editable Tree Table: http://wicketstuff.org/wicket14/ajax/tree/table/editable.0

Re: Trouble creating a behaviour that adds JS and also a Body onLoad event

2010-07-31 Thread Mark Doyle
try this: public class HomePage extends WebPage implements IHeaderContributor { @Override public void renderHead(IHeaderResponse response) { response.renderOnLoadJavascript(javascript) } ** Martin 2010/7/30 Mark Doyle markjohndo...@googlemail.com: Firstly, I'm having some

Re: Trouble creating a behaviour that adds JS and also a Body onLoad event

2010-07-31 Thread Mark Doyle
knowledge that Wicket has shielded me from in the past :) On Sat, Jul 31, 2010 at 12:48 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Headercontribution can be added to many things ... 2010/7/31 Mark Doyle markjohndo...@googlemail.com: Ah ok, I'll test that. I never thought

Trouble creating a behaviour that adds JS and also a Body onLoad event

2010-07-30 Thread Mark Doyle
Firstly, I'm having some trouble finding a decent behaviour tutorial. If anybody knows of one post a link up. Now, the problem I am having is creating a behaviour that adds some JS to the head and sets an onLoad method. The JS project instructs users to add: body onload=jsfunctionhere (

Re: Best way to hide a component

2010-07-23 Thread Mark Doyle
Yeah, I do something similar. You can override the isVisible method in your components, possibly adding some logic that ties the visibility to a variable. You only have to manage the one variable then and all the components will know when to display or not. On Fri, Jul 23, 2010 at 9:02 AM,

Sub tabs in Tabbed Panel

2010-07-23 Thread Mark Doyle
Hi all, Is there a component that will allows me to add a subset of panel links to a Tabbed panel which themselves link to new panels? Perhaps an example of the finished article would explain it better :) http://www.webdesignerwall.com/tutorials/css3-dropdown-menu/ I guess some tab links would