You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Martijn Brinkers (List)" <ma...@gmail.com> on 2008/08/21 02:11:29 UTC

Re: Someone know how can I configure a WYSIWYG editor on a Tapestry web app?

You should post your questions to the Tapestry users
<us...@tapestry.apache.org> list. The dev list just for developer
related questions and you'll also have a greater chance of getting you
questions answered if you post them to the users list.

Martijn
 
On Wed, 2008-08-20 at 17:06 -0700, marcelo_Java wrote:
> Sorry, I'm new at this forum, should I keep updating in here?
> 
> So, I was not aware of this component, what would be the best way to
> implement this solution in this code?:
> <t:loop source="lkWindowProducts" value="productInstance">
>                 <div id="AdvertisingBoard">
>                 	<div id="space_"></div>
>                 	<div id="title_box">
>                        <div id="ad_txt"> # ${productInstance.name} </div>
>                     </div>
>                     <div id="space__"></div>
>                     <div id="space_ad2"></div>
>                     <div id="img_ad2"> ${productInstance.productPhoto}
> </div>
>                     <div id="space_ad3"></div>
> 
> <!-- Here's the problem -->
> 
>                    <div
> id="descricao_anuncio">${productInstance.description}</div>
> 
> <!-- Here's the problem -->
> 
>                     <div id="box_price">
>                     	<div id="price">$ ${productInstance.price}</div>
>                     </div>
>                     <div id="details"> # Details </div>
>                     <div id="toShopCar"> # Put it in the bag </div>
>                 </div>
> 	</t:loop>
> 
> 
> Filip S. Adamsen-2 wrote:
> > 
> > Hi,
> > 
> > This is really a question for the users list.
> > 
> > That said, you want to use the OutputRaw component:
> > http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/OutputRaw.html
> > 
> > -Filip
> > 
> > On 2008-08-21 00:23, marcelo_Java wrote:
> >> I'm using the TinyMCE, but when I format my text inside the textarea and
> >> submit the form and save the content to the database, the content get
> >> stored
> >> this way:
> >> <p><strong>dsgdeftgdsgdsfgd</strong></p>
> >> 
> >> An when I use an expansion like:
> >> 
> >> ${productInstance.description}
> >> 
> >> The text that appears on the page come out like this:
> >> <p><strong>dsgdeftgdsgdsfgd</strong></p>
> >> 
> >> And when you see the source of the page, this part gets its simbols
> >> replaced:
> >> &lt;p&gt;&lt;strong&gt;dsgdeftgdsgdsfgd&lt;/strong&gt;&lt;/p&gt;
> >> 
> >> Anybody have any idea?
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: dev-help@tapestry.apache.org
> > 
> > 
> > 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org