[seam-commits] Seam SVN: r15483 - in branches/enterprise/JBPAPP_5_0/examples/itext: view and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Apr 23 09:20:04 EDT 2013


Author: manaRH
Date: 2013-04-23 09:20:04 -0400 (Tue, 23 Apr 2013)
New Revision: 15483

Modified:
   branches/enterprise/JBPAPP_5_0/examples/itext/src/org/jboss/seam/example/pdf/FillInForms.java
   branches/enterprise/JBPAPP_5_0/examples/itext/view/fillform.xhtml
Log:
JBPAPP-10540 - removed multiple selection from fill-in-forms itext showcase

Modified: branches/enterprise/JBPAPP_5_0/examples/itext/src/org/jboss/seam/example/pdf/FillInForms.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/itext/src/org/jboss/seam/example/pdf/FillInForms.java	2013-04-23 12:35:35 UTC (rev 15482)
+++ branches/enterprise/JBPAPP_5_0/examples/itext/src/org/jboss/seam/example/pdf/FillInForms.java	2013-04-23 13:20:04 UTC (rev 15483)
@@ -19,7 +19,7 @@
    private String address;
    private String postalCode;
    private String email;
-   private String[] programming;
+   private String programming;
    private String language;
    private String preferred;
    private List<String> knowledge;
@@ -114,12 +114,12 @@
       this.email = email;
    }
 
-   public String[] getProgramming()
+   public String getProgramming()
    {
       return programming;
    }
 
-   public void setProgramming(String[] programming)
+   public void setProgramming(String programming)
    {
       this.programming = programming;
    }

Modified: branches/enterprise/JBPAPP_5_0/examples/itext/view/fillform.xhtml
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/itext/view/fillform.xhtml	2013-04-23 12:35:35 UTC (rev 15482)
+++ branches/enterprise/JBPAPP_5_0/examples/itext/view/fillform.xhtml	2013-04-23 13:20:04 UTC (rev 15483)
@@ -22,10 +22,10 @@
 			<h:inputText value="#{fillInForms.postalCode}" />
 			<h:outputText value="Your email address:" />
 			<h:inputText value="#{fillInForms.email}" />
-			<h:outputText value="Programming skills:" />
-			<h:selectManyListbox value="#{fillInForms.programming}">
+			<h:outputText value="Programming skill:" />
+			<h:selectOneListbox value="#{fillInForms.programming}">
 				<f:selectItems value="#{fillInForms.programmingLanguages}" />
-			</h:selectManyListbox>
+			</h:selectOneListbox>
 			<h:outputText value="Mother tongue" />
 			<h:selectOneMenu value="#{fillInForms.language}">
 				<f:selectItems value="#{fillInForms.languages}" />



More information about the seam-commits mailing list