Hi,
Easy. Just change
<div id="descricao_anuncio">
${productInstance.description}
</div>
to
<div id="descricao_anuncio">
<t:outputraw value="productInstance.description"/>
</div>
That's all there is to it.
-Filip
On 2008-08-21 02:06, 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:
<p><strong>dsgdeftgdsgdsfgd</strong></p>
Anybody have any idea?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]