0 Replies Latest reply on Jul 6, 2009 3:51 PM by Vladimir Guerra Miller

    Problem rendering dynamic interfaces from an xml

    Vladimir Guerra Miller Newbie
      I´m trying to render dynamic interfaces from an xml file applying an xsl StyleSheet using richfaces components. But I don´t get the butty or the behavior of richfaces components or worse I get an error. 

      I put something like this:

      <xsl:element name="rich:component">
      ...
      </xsl:element>
      <xsl:element name="ui:component">
      ...
      </xsl:element>
      <xsl:element name="...:component">
      ...
      </xsl:element>

      example:
      <xsl:element name="rich:panel">
        <xsl:attribute name="styleClass">
          <xsl:text>className</xsl:text>
        </xsl:attribute>
        <xsl:element name="f:facet">
          <xsl:attribute name="name">
            <xsl:text>header</xsl:text>
          </xsl:attribute>
          <xsl:text>PANEL</xsl:text>
        </xsl:element>
      </xsl:element>

      At the end I get nothing, but when I create a rich:datatable I get only the organized data, but nothing about the style and if I put this line <!DOCTYPE ...> in the xsl file it displays an error.