3 Replies Latest reply on Feb 8, 2010 8:04 AM by Pavel Zelenka

    rich:listShuttle

    Pavel Zelenka Newbie

      Hi,

       

      I use rich:listShuttle which works fine when backing bean is session scope. If I change the bean to request scope I alway get message : Component j_id14:box has invalid value expression ...

      Where could be the problem?

       

      Thanks

        • 2. Re: rich:listShuttle
          Ilya Shaikovsky Master
          not enough info. add code snippets.
          • 3. Re: rich:listShuttle
            Pavel Zelenka Newbie

            rich:listShuttle sourceValue (StatistikaBean.vykladkaList) is filled based on this inputbox

            <h:inputText value="#{StatistikaBean.cislo}">
                 <a4j:support event="onkeyup" reRender="box" ajaxSingle="true" ignoreDupResponses="true"/>
            </h:inputText>

            <rich:listShuttle sourceValue="#{StatistikaBean.vykladkaList}"
                                                                      targetValue="#{StatistikaBean.selectedVykladka}"

                                                                      var="items" listsHeight="250"
                                                                      sourceListWidth="300" targetListWidth="300"

                                                                      targetRequired="true"
                                                                      converter="VykladkaItemConverter"
                                                                      id="box">

             

            StatistikaBean

             

            private List<Vykladka> vykladkaList;
            private String cislo = "";
            private List<Vykladka> selectedVykladka;
            .....