3 Replies Latest reply on Jun 11, 2009 3:18 PM by lvdberg

    using just formattedText JSF component

    webmascon

      Guys! I would like to use just formattedText component since it supports wiki formatting.


      It appears that for using jboss-seam-ui.jar I will have to drag all seam jar files and seam enable my application which I do not want. When I put jboss-seam-ui.jar (which contains formattedText tag) into my application, it complains aboiut logging classes not found. Those logging classes are in jboss-seam.jar. So when I add jboss-seam.jar to my app - Seam strats screaming that there are no intereceptors, no EL, no IOC no application scope etc.


      But I do not need Seam. I just need formattedTExt component!


      Is it possible to get just that without having trouble with seam at all?

        • 1. Re: using just formattedText JSF component
          lvdberg

          Hi,


          Yesterday I answered a similar question. Do not complicate your project piggy-backing parts of the huge seam framework. Look for simpler solutions. For instance if you just want simple text formatting you could use the RichFaces insert tag or see how for instance Maven Doxia does the job (converts all kind of text formats to all kinds of text formats)


          Leo.


          P.S. but give Seam a full try in another project !

          • 2. Re: using just formattedText JSF component
            webmascon

            so what's the reason of creating UI components in Seam framework? What is so special in formattedTExt (wiki style formatting) that is should belong to Seam? Why there is no such component in RichFaces?

            • 3. Re: using just formattedText JSF component
              lvdberg

              Yes, there is a RichFaces component : the Insert tag.


              Look it up in the RichFaces documentation. There are also numerous possibilities to include all kind of text formatting components. I mentioned Doxia, but there are others.


              The reason to include the ui-tags is just to ease/trelax you work by using Facelet templating.


              (this is my personal number one objective to use Seam; do not invent what is already invented and abstract away what should be abstracted away).