tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulrich Stärk" <...@spielviel.de>
Subject Re: [t5.3.1] Tapestry encodes <br /> to "&lt;br /&gt;"
Date Mon, 02 Jan 2012 22:50:32 GMT
The CMS can be extended with either custom pre-processors that kick in
before the markdown compilation or we can write a new markdown element
that mimicks the scrollbar macro's behaviour.

Uli

Am Mo, 2.01.2012, 21:38 schrieb Bob Harner:
> We already have a separate documentation "component" within the TAP5
> "project" in JIRA. I like it that way and wouldn't want to have the
> documentation in a separate Tapestry documentation "project", if
> that's what you have in mind. We already have "Tapestry" and "Tapestry
> 5" projects, and that's already too many for my tastes. I think
> creating a 3rd one for documentation will cause more problems than it
> solves.
>
> By the way, the {scrollbar} macro is one the many things that we'll
> probably lose when we go to the Apache CMS :-(
>
> On Mon, Jan 2, 2012 at 10:55 AM, Howard Lewis Ship <hlship@gmail.com>
> wrote:
>> Wow .. the  component templates page has gotten pretty huge.  I think
>> it should be broken up into multiple pages, using the {scrollbar}
>> macro.
>>
>> On a related note; I've thought about creating a separate JIRA just
>> for documentation bugs.  Why seperate? To reflect the fact that
>> documentation bugs are immediate and not tied to a release schedule.
>>
>> On Mon, Jan 2, 2012 at 12:40 AM, Muhammad Gelbana <m.gelbana@gmail.com>
>> wrote:
>>> Yea when I started searching for a solution I looked into the
>>> "Component
>>> templates" page for a solution  I think your choice to add it to the
>>> Expansions section is the best I can think of.
>>>
>>> Thank you for the follow up.
>>>
>>> On Mon, Jan 2, 2012 at 3:52 AM, Bob Harner <bobharner@gmail.com> wrote:
>>>
>>>> You're right, more documentation is needed for this.
>>>>
>>>> I'm updating the "Expansions" section of
>>>> http://tapestry.apache.org/component-templates.html now. Is there
>>>> anywhere else you think this information should go? (Where do you
>>>> think it would have been the most helpful for you to find it?)
>>>>
>>>> On Sun, Jan 1, 2012 at 1:12 PM, Muhammad Gelbana <m.gelbana@gmail.com>
>>>> wrote:
>>>> > Just tried it and it works perfectly. Thanks a lot :)
>>>> >
>>>> > <td style="text-align: left;"><t:OutputRaw
>>>> > value="pingResponseSummary.output"/></td>
>>>> >
>>>> >
>>>> > Shouldn't this be mentioned in the documentation ? Or is it
>>>> somewhere ?!
>>>> > Should I open a minor jira issue for this to act as a reminder ?
>>>> >
>>>> >
>>>> > On Sun, Jan 1, 2012 at 4:51 PM, Bob Harner <bobharner@gmail.com>
>>>> wrote:
>>>> >
>>>> >> I think you'll just want to use the OutputRaw component there.
>>>> >>
>>>> >>
>>>> >>
>>>> http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/OutputRaw.html
>>>> >>
>>>> >> Bob Harner
>>>> >> On Jan 1, 2012 9:40 AM, "Muhammad Gelbana" <m.gelbana@gmail.com>
>>>> wrote:
>>>> >>
>>>> >> > Hi everyone,
>>>> >> >
>>>> >> > First thanks to whoever participated to develop the latest
>>>> version :)
>>>> >> >
>>>> >> > Now to the problem. I have a table with more than one column.
A
>>>> loop
>>>> >> > component loops over a list of objects to fill that table with
>>>> rows.
>>>> >> > One of the columns should be filled with a string value obtained
>>>> from
>>>> >> that
>>>> >> > object. The string value is expected to have "<br />"
in it to
>>>> produce
>>>> >> new
>>>> >> > lines in the html page when rendered but after upgrading to
>>>> 5.3.1, the
>>>> >> "<br
>>>> >> > />" is encoded to " &lt;br /&gt; " !
>>>> >> >
>>>> >> > <table>
>>>> >> > <tr t:type="loop" source="0 .. cmdResponsesSize"
>>>> >> value="cmdResponsesIndex"
>>>> >> > bgcolor="${responseRowColor}">
>>>> >> >                        ...........
>>>> >> >                        ...........
>>>> >> > <td style="text-align: left;">${pingResponseSummary.output}</td>
>>>> >> > *<<<<<<<<<<br
>>>> >> > /> encoded "&lt;br /&gt;"*
>>>> >> >                        ...........
>>>> >> >                        ...........
>>>> >> > </tr>
>>>> >> > </table>
>>>> >> >
>>>> >> > I bet this is explained somewhere in the docs but I can't find
a
>>>> page
>>>> >> > discussing similar issues or a symbol to disable the
>>>> functionality of
>>>> >> > encoding html entities.
>>>> >> >
>>>> >> > Thanks in advance :)
>>>> >> >
>>>> >> > --
>>>> >> > *Regards,*
>>>> >> > *Muhammad Gelbana
>>>> >> > Java Developer*
>>>> >> >
>>>> >>
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > *Regards,*
>>>> > *Muhammad Gelbana
>>>> > Java Developer*
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>
>>>>
>>>
>>>
>>> --
>>> *Regards,*
>>> *Muhammad Gelbana
>>> Java Developer*
>>
>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>> ---------------------------------------------------------------------
>> 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
>
>



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


Mime
View raw message