<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: A form doesn't proceed because of shown values why?</title><link>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why</link><description>&lt;p&gt;I try to show some values from different Primefaces "selectManyCheckbox" in a "inputText" field. The value in the inputText field is shown correctly, but the form doesn't proceed. I get no warnings or errors.
For instance:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;p:selectManyCheckbox id="motorSonderBox" value="#{data.datenAnfrage.motorSonder}" style="width:400px"&amp;gt;
    &amp;lt;f:selectItems value="#{data.datenAnfrage.motorSonder}" var="motorSonder" itemLabel="#{motorSonder}" itemValue="#{motorSonder}" /&amp;gt;
&amp;lt;/p:selectManyCheckbox&amp;gt;
&amp;lt;p:inputText style="width:180px" value="#{data.datenAnfrage.motorSonder}"/&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Can you help me?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 25 Feb 2016 11:20:52 -0500</lastBuildDate><item><title>Answer by Gabriele</title><link>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why/1671</link><description>&lt;p&gt;Now I got it. It is so simple, I use not a &amp;lt;p:inputText but a &amp;lt;h:outputText. 
Anyway thank's a lot for help.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabriele</dc:creator><pubDate>Thu, 25 Feb 2016 11:20:52 -0500</pubDate><guid>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why/1671</guid></item><item><title>Comment by Gabriele on roland's answer</title><link>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why#1670</link><description>&lt;p&gt;I can't put the Method toString() on this value because then an error comes up "Data Class member 'datenAnfrge.motorSonder.toString()' does not exist".
Now I don't get this message postet above in the logfile but this one:
Illegal Syntax for Set Operation&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabriele</dc:creator><pubDate>Wed, 24 Feb 2016 13:44:43 -0500</pubDate><guid>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why#1670</guid></item><item><title>Comment by Reguel Wermelinger on roland's answer</title><link>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why#1669</link><description>&lt;p&gt;did you try to invoke the toString() method explicitly?&lt;/p&gt;
&lt;p&gt;&amp;lt;p:inputtext style="width:180px" value="#{data.datenAnfrage.motorSonder.toString()}"/&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Wed, 24 Feb 2016 09:54:55 -0500</pubDate><guid>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why#1669</guid></item><item><title>Comment by Gabriele on roland's answer</title><link>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why#1668</link><description>&lt;p&gt;Hi Roland,
Thanks for your answer, but it still doesn't work.
My selectItems is a List of Strings and in my first form I use a different selectItems value "motorSonderList". By the way you can use the same list like in the value of p:selectManyCheckbox than only selected values are shown in further forms.&lt;/p&gt;
&lt;p&gt;My inputText should concatenate the selected string from motorSonder and other values from other inputText fields.
Something like that: 
p:inputText style="width:180px" value="#{data.datenAnfrage.motorSonder} #{data.datenAnfrage.drehzahl}" &amp;gt;&amp;lt;/p:inputtext&amp;gt;&lt;/p&gt;
&lt;p&gt;The following error is in the logfile:
Cannot convert [M48S] of type class java.lang.String to interface java.util.List&lt;/p&gt;
&lt;p&gt;Do you have any ideas how I can solve this problem?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabriele</dc:creator><pubDate>Tue, 23 Feb 2016 15:08:48 -0500</pubDate><guid>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why#1668</guid></item><item><title>Answer by roland</title><link>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why/1667</link><description>&lt;p&gt;Hi Gabriele,&lt;/p&gt;
&lt;p&gt;i guess the Problem is following.&lt;/p&gt;
&lt;p&gt;1st seltecitems.value Needs to be a list of String or objects .
2nd the value of p:selectmanycheckbox is a diffrent Attribute of the dataclass&lt;/p&gt;
&lt;p&gt;if the select items value is a list of obect you Need to define the Attribute of the object in itemvalue and itemlabel e.g. motorSonde.id&lt;/p&gt;
&lt;p&gt;then it should work.&lt;/p&gt;
&lt;p&gt;you could have a look at the Designer log in log Directory of designer dir, maybe there are more Errors logged.&lt;/p&gt;
&lt;p&gt;best reards 
Roland&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">roland</dc:creator><pubDate>Tue, 23 Feb 2016 11:12:00 -0500</pubDate><guid>https://answers.axonivy.com/questions/1666/a-form-doesn-t-proceed-because-of-shown-values-why/1667</guid></item></channel></rss>