0 Replies Latest reply on Feb 4, 2009 10:47 AM by Romain Cherchi

    XHTML issue with <a att="<b att1='' >" >

    Romain Cherchi Newbie

      Hi guys,


      I'm facing an XHTML issue (seam 2.1.1.GA) with this code :



      <fb:serverfbml style="width: 100%;">
      <script type="text/fbml">
      <fb:fbml>
      <fb:request-form 
                       action="/" 
                       method="POST" 
                       invite="true" 
                       type="#{propertiesManager.projectName}" 
                       content="#{messages['ShareOurFavoritePlace']}
                                <fb:req-choice url='http://www.easycity.com' label='Join Geodruid !' />"
                       <fb:multi-friend-selector showborder="false" rows="5" bypass="cancel" actiontext="Invite your friends to use Connect." exclude_ids="" />
      </fb:request-form>
      </fb:fbml>
      </script>
      </fb:serverfbml>
      



      Here is the error :


      10:36:07,328 ERROR [STDERR] 4 fÚvr. 2009 10:36:07 com.sun.facelets.FaceletViewHa
      ndler handleRenderException
      GRAVE: Error Rendering View[/community/home/friends/invite-friends.xhtml]
      com.sun.facelets.FaceletException: Error Parsing /community/home/friends/invite-
      friends.xhtml: Error Traced[line: 80] The value of attribute "content" associate
      d with an element type "fb:request-form" must not contain the '<' character.
              at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:234)
      
              at com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
      



      How can I include fb:req-choice in fb:request-form without problem ?


      Thanks for you help.