6 Replies Latest reply on Jan 14, 2009 3:14 PM by Alexey Kazakov

    JBoss Tools - RichFaces 3.3.0

    Krasimir Goutcev Apprentice

      RichFaces 3.3.0 GA is here. When JBTools is going to have content assistance for new components (rich:editor, a4j:queue).
      Also when DnD new TLD into palette, the components don't have icons
      [list=] http://screencast.com/t/RSt1YAWaYM [/img]

        • 1. Re: JBoss Tools - RichFaces 3.3.0
          Max Rydahl Andersen Master


          Contributions welcome to keep up to speed with additions.

          but report in jira about that with the icons - they should not just disappear.



          • 2. Re: JBoss Tools - RichFaces 3.3.0
            Alexey Kazakov Master

             

            "max.andersen@jboss.com" wrote:

            but report in jira about that with the icons - they should not just disappear.

            They didn't disapper. krasig imported new TLD (Richfaces 3.3). So it's different TLD for Palette and has default icons. Our Palette is not smart enough to update old lib if user imports another TLD with the same URI.

            I've created https://jira.jboss.org/jira/browse/JBIDE-3552 to support RichFaces 3.3.

            • 3. Re: JBoss Tools - RichFaces 3.3.0
              Krasimir Goutcev Apprentice

              Hi Max, Hi akazakov

              Contributions welcome to keep up to speed with additions.


              I know that all data for content assistance is in ...schemas\tld\RichFaces3.X.xml in format ;
              ...
              ...
              <element-type body-content="allowed" content="mixed"
               end-tag="required" name="editor" start-tag="required">
               <description>
               <![CDATA[The editor component is used for creating a WYSIWYG editor on a page.]]>
               </description>
               <attribute-type name="autoResize" required="false">
               <description>
               Attribute enables to get the Editor area to resize to the boundaries of the contents
               </description>
               <proposal type="beanProperty"/>
               <proposal type="bundleProperty"/>
               <proposal type="jsfVariables"/>
               <proposal type="enumeration">
               <param value="true"/>
               <param value="false"/>
               </proposal>
               </attribute-type>
               <attribute type="autoResize"/>
              ...
              ...
              </element-type>
              

              and i'm ready to help you with this

              Can't understand format of VPE template.

              P.S. in xml file many places where must have enumeration like "true","false" are empties.

              Regards.


              • 4. Re: JBoss Tools - RichFaces 3.3.0
                Alexey Kazakov Master

                Thank you krasig for help.
                You can attach new content assistent XML to https://jira.jboss.org/jira/browse/JBIDE-3553 and we check and commit it to SVN.
                We use some utils to generate such XMLs because there is a lot of work to do it manually..
                And we are going to improve this approach with use of XML in order to have content assistent for new TLD/Facelet libs in Facelets automaticly without need to generate such XML and adding it in JBoss Tools.

                • 5. Re: JBoss Tools - RichFaces 3.3.0
                  Krasimir Goutcev Apprentice

                  Hi akazakov.

                  I'm glad you have automated tool for this.

                  Only for pleasure i have tried to add assistance in RichFaces3_2.xml (for rich:editor) but this is not enough. Please tell me what else i should do to see content assistance in VPE?

                  • 6. Re: JBoss Tools - RichFaces 3.3.0
                    Alexey Kazakov Master

                    Nothing if you just edit existed schema. It should be picked up by XHTML editor. But if you add new one then you have to add it to plugin.xml
                    Please show the path to XML that you changed and part of it which you added. Also please show your xhtml when code assist doesn't work.