syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmarte...@apache.org
Subject svn commit: r1363709 - /incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java
Date Fri, 20 Jul 2012 10:20:36 GMT
Author: fmartelli
Date: Fri Jul 20 10:20:36 2012
New Revision: 1363709

URL: http://svn.apache.org/viewvc?rev=1363709&view=rev
Log:
SYNCOPE-114 #comment forced focus on edit link

Modified:
    incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java

Modified: incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java?rev=1363709&r1=1363708&r2=1363709&view=diff
==============================================================================
--- incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java
(original)
+++ incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java
Fri Jul 20 10:20:36 2012
@@ -68,6 +68,7 @@ import org.apache.syncope.console.wicket
 import org.apache.syncope.console.wicket.markup.html.form.ActionLinksPanel;
 import org.apache.syncope.console.wicket.markup.html.form.AjaxTextFieldPanel;
 import org.apache.syncope.console.wicket.markup.html.form.SingleColumnPalette;
+import org.apache.wicket.extensions.ajax.markup.html.IndicatingAjaxLink;
 
 public class ReportModalPage extends BaseModalPage {
 
@@ -281,7 +282,7 @@ public class ReportModalPage extends Bas
         reportlets.setAddLink(new AjaxLink(ADD_BUTTON_ID) {
 
             private static final long serialVersionUID = -7978723352517770644L;
-
+            
             @Override
             public void onClick(final AjaxRequestTarget target) {
                 reportletConfWin.setPageCreator(new ModalWindow.PageCreator() {
@@ -305,6 +306,7 @@ public class ReportModalPage extends Bas
 
             @Override
             public void onClick(final AjaxRequestTarget target) {
+                target.focusComponent(this);
             }
 
             @Override



Mime
View raw message