Aleks87 wrote:
>
> 1)
> I have a ToolClass with objects: Description (Description: TextArea),
> Title (Title: String), URL (URL: String).
> Creating a new Tool I have to fill out these objects. "Description" is a
> TextArea object (editor: PureText) and it can contain line breaks. In my
> Livetable I show these objects and their contents. But if I have a line
> break in "Description" my Livetable doesn't show anything.
>
> How can I solve this problem? Does anyone has an idea? Or do I have to
> remove "Description" from my Livetable list? Perhaps it is possible to
> transform all line breaks to one blank line? Or is this to complex?^^
>
> Ps. What for are "Validation Regular Expression" and "Validation Message"
> in the "Description" object made. I tried to put things like [a-zA-Z] in
> but it doesnt work. Entering numbers still work.
>
Here is a part of my ToolClassSheet file:
<td
class="label"><label>#displayPropName($class.get("Description")):</label></td>
<td>$doc.display("Description", $obj)</td>
I'm not allowed to enter line breaks in the Description field 'cause
Livetable doesn't work then.
Can someone tell me how to modify the $doc.display to filter out line
breaks?
--
View this message in context:
http://xwiki.475771.n2.nabble.com/4-Questions-Livetable-1-3-Photo-Album-4-tp5297342p5311652.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users