7 Replies Latest reply on Apr 14, 2009 8:19 AM by tkuprevich

    colorPicker 3.3.1.BETA4

    mdesignz

      I'm trying to use colorPicker in a Seam 2.1.1.GA application. I have the value bound to a String type. The control displays properly, and is preset correctly to whatever I have the value initialized to, but the form won't submit. If I remove the control from my form, it behaves properly. Any suggestions?

        • 1. Re: colorPicker 3.3.1.BETA4
          nbelaevski

          Hello,

          Add rich:messages to the page and check if there are any.

          • 2. Re: colorPicker 3.3.1.BETA4
            mdesignz

            No exceptions, no messages. Here's what I have in the xhtml:

            <s:decorate id="mapBackgroundColorDecoration"
            template="includes/formFieldDecorate.xhtml">
            <ui:define name="label">Background Color</ui:define>
            <rich:colorPicker id="backgroundColor" value="#{fieldLocation.backgroundColor}" />
            </s:decorate>

            <s:decorate id="mapTextColorDecoration"
            template="includes/formFieldDecorate.xhtml">
            <ui:define name="label">Text Color</ui:define>
            <rich:colorPicker id="textColor" value="#{fieldLocation.textColor}" />
            </s:decorate>

            • 3. Re: colorPicker 3.3.1.BETA4
              ilya_shaikovsky

              add phaseTracker jar to your application and check if all the JSF phases actually gets executed.

              • 4. Re: colorPicker 3.3.1.BETA4
                mdesignz

                Very strange. After the form is rendered, when I click on any of the h:commandLink buttons, nothing happens. No messages are emitted from phaseTracker. It's as though the buttons are disabled. If I remove the colorPicker controls, everything works fine.

                • 5. Re: colorPicker 3.3.1.BETA4
                  ilya_shaikovsky

                  yesterday I've added colorPicker page to RF demo... and there is submit functionality present. unfortunately it works on my side.. maybe you could check within latest snapshot? It could be some fixed issue :/

                  • 6. Re: colorPicker 3.3.1.BETA4
                    tkuprevich

                    Hi, motorh!

                    Could you please show you page and template code? I'm not able to reproduce your problem either.

                    Thanks!
                    Tsikhon Kuprevich

                    • 7. Re: colorPicker 3.3.1.BETA4
                      tkuprevich

                      Sorry, mdesignz, I misspelled your name unfortunately.