[Wicket-user] ModalWindow AjaxLink

2007-05-14 Thread Scott Swank
Is there any reason not to have a factory method like the following on ModalWindow? public AjaxLink createAjaxLink(String linkId) { return new AjaxLink(linkId) { private static final long serialVersionUID = 0L;

Re: [Wicket-user] ModalWindow AjaxLink

2007-05-14 Thread Matej Knopp
Hi. Not that I know of :) But what is it supposed to solve? -Matej On 5/14/07, Scott Swank [EMAIL PROTECTED] wrote: Is there any reason not to have a factory method like the following on ModalWindow? public AjaxLink createAjaxLink(String linkId) { return

Re: [Wicket-user] ModalWindow AjaxLink

2007-05-14 Thread Scott Swank
It just saves a few lines of code. yourPanel.add(new AjaxLink(foo){ private static final long serialVersionUID = 0L; @Override public void onClick(AjaxRequestTarget target) { yourModalWindow.show(target); }); vs. yourPanel.add(yourModalWindow.createAjaxLink(foo)); It's

Re: [Wicket-user] ModalWindow AjaxLink

2007-05-14 Thread Matej Knopp
Well, you can create a RFE and assign it to me, i can add this to 1.3. -Matej On 5/14/07, Scott Swank [EMAIL PROTECTED] wrote: It just saves a few lines of code. yourPanel.add(new AjaxLink(foo){ private static final long serialVersionUID = 0L; @Override public void

Re: [Wicket-user] ModalWindow AjaxLink

2007-05-14 Thread Scott Swank
Do I create a RFE via the JIRA? On 5/14/07, Matej Knopp [EMAIL PROTECTED] wrote: Well, you can create a RFE and assign it to me, i can add this to 1.3. -Matej On 5/14/07, Scott Swank [EMAIL PROTECTED] wrote: It just saves a few lines of code. yourPanel.add(new AjaxLink(foo){

Re: [Wicket-user] ModalWindow AjaxLink

2007-05-14 Thread Eelco Hillenius
Yes. Create new issue - issue type new feature or improvement. Eelco On 5/14/07, Scott Swank [EMAIL PROTECTED] wrote: Do I create a RFE via the JIRA? On 5/14/07, Matej Knopp [EMAIL PROTECTED] wrote: Well, you can create a RFE and assign it to me, i can add this to 1.3. -Matej On

Re: [Wicket-user] ModalWindow AjaxLink

2007-05-14 Thread Scott Swank
It's WICKET-569. I couldn't see how to assign it, and so didn't. Scott On 5/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Yes. Create new issue - issue type new feature or improvement. Eelco On 5/14/07, Scott Swank [EMAIL PROTECTED] wrote: Do I create a RFE via the JIRA? On