Author: mvitenkov
Date: 2008-12-09 14:02:41 -0500 (Tue, 09 Dec 2008)
New Revision: 11681
Modified:
trunk/test-applications/facelets/src/main/java/queue/QueueComponent.java
Log:
Thread.sleep(5000)
Modified: trunk/test-applications/facelets/src/main/java/queue/QueueComponent.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/queue/QueueComponent.java 2008-12-09
18:56:49 UTC (rev 11680)
+++ trunk/test-applications/facelets/src/main/java/queue/QueueComponent.java 2008-12-09
19:02:41 UTC (rev 11681)
@@ -3,6 +3,7 @@
import java.util.ArrayList;
import java.util.Date;
+import javax.faces.event.ActionEvent;
import javax.faces.model.SelectItem;
public class QueueComponent {
@@ -23,6 +24,15 @@
private String suggestionValue;
private String suggestionQueue;
+ public void sleepThread(ActionEvent e){
+ try {
+ Thread.sleep(5000);
+ } catch (InterruptedException e1) {
+ // TODO Auto-generated catch block
+ e1.printStackTrace();
+ }
+ }
+
public String getSuggestionValue() {
return suggestionValue;
}