Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

9/13/2007 2:49:42 PM
-74.15.247.173
7/20/2007 11:28:07 PM
-10.10.192.236
List all versions List all versions

RSS feed for the TestJwd namespace

Related Topics

Topic Property Table
.

I don't like the standard way FlexWiki displays TopicProperties. It takes up too much valuable screen space. So I made a tabular version.

First, define your properties using the hidden property syntax.

:Owner:JamesRoeSmith
:Age:35
:EyeColour:Blue

Then include a call to the TopicPropertyTable WikiTalk method.

 @@TopicPropertyTable(topic,["Owner","Age","EyeColour"])@@
Property Value
Topic TopicPropertyTable
Owner JamesRoeSmith
Age 35
EyeColour Blue

The TopicPropertyTable WikiTalk method is as follows:

:TopicPropertyTable:{ thistopic, listofproperties |
        [
                "||{!}*Property*||{!}*Value*||", Newline,
                "||{!}%purple%*Topic*%%||", "[", thistopic.Name, "]", "||", Newline,
                listofproperties.Collect { thisproperty |
                        [
                                "||{!}*", thisproperty, "*||", thistopic.GetProperty(thisproperty), "||", Newline,
                        ]
                }
        ]
}

Not logged in. Log in

The wiki for all things Objective Design Solutions

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics