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;
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
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
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
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){
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
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