Hi Clinton,
That code is behaving correctly. Spaces are only generated automatically
when being displayed as the title of the topic. One way to get the display
as you want is to put a Title: property in each page and then display the
title property
@@LatestTopics(6).Collect{ each |
[ " * ", Presentations.Link(federation.LinkMaker.LinkToTopic(
each.Name),
each.Title, each.Name), Newline]
}@@
The other way is more complex and I don't have any sample code that will do
it for you right away (it would take a couple of hours at least) is to split
the string at each Capital letter where that capital is followed by a
non-capital letter. This is somewhat difficult to do in WikiTalk, but
perhaps could be done.
It might also be possible to expose the auto-generate title (with spaces) to
WikiTalk.
If you need more help(?) let us know.
John Davidson
On Sun, Mar 2, 2008 at 7:30 PM, Astralis Lux <[EMAIL PROTECTED]>
wrote:
> I'm using the following wikitalk to display recent topics on a page. The
> wiki is configured to provide spaces in topic names but for some reason this
> wikitalk does not place spaces in the names. I sort of remember why this
> happens but at the moment I cannot recall:
>
> !Recent Topics
> :LatestTopics:{ topicCount |
> namespace.Topics.SortBy
> { each | DateTime.Now.SpanBetween(each.Created) }.Snip(topicCount).Collect
> { each | each }
> }
>
> @@LatestTopics(6).Collect{ each |
> [ " * ", Presentations.Link(federation.LinkMaker.LinkToTopic(
> each.Name),
> each.Name, each.Name), Newline]
> }@@
>
> Output:
>
> * ArticleOne
> * ArticleTwo
> * ArticleThree
>
> Desired Output:
>
> * Article One
> * Article Two
> * Article Three
>
>
> ------------------------------
> Helping your favorite cause is as easy as instant messaging. You IM, we
> give. Learn
> more.<http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users