• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

As agreed on TWiki:Codev.EdinburghReleaseMeeting2006x10x30, named sections should be available as a selection criterion for bin/view directly.

Unfortunately I'm short of ideas of how to automate tests for that feature within the current unit test or TestCases web framework, so there's just a manual testcase frown

I don't know if it would be of any help to use javascript to check for the results?


If so, then I could not figure out how yet. I think it would be easier for testing including sections, where I can push the inclusion into a named div and then compare the contents of that div with its expected value from another named div. But with a view this would need to use a rather static template (quite unlike pattern skin) to "catch" the actual value, and then some javascript way to identify the expected value. Unlike with includes, it can't be just written to another named div because there isn't any room for other divs!

Anyway, even with javascript you need to open the page in a javascript enabled browser, all javascript can do is to flag "success" in an easily visible way. I'd rather go for running a complete view script in backticks and capture the results if I were to automate that.


Re-opening for two reasons:

  1. The new parameter isn't documented in TWikiScripts.
  2. Thanks to TWiki:Plugins.CliRunnerContrib, there's finally a way to automate the tests.


...and closing again after 11972 has arrived. Thanks smile -- haj

Thanks for implementing! -- AC

Updated headline for release note KJL

4.1.0 released


Summary Enable selecting to view named section given by URL when viewing topic.
ReportedBy TWiki:Main.HaraldJoerg
Codebase ~twiki4
SVN Range TWiki-4.1, Mon, 30 Oct 2006, build 11853
AppliesTo Engine

Priority Enhancement
CurrentState Closed

Checkins 11888 11890 11972
TargetRelease minor
Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r13 - 2007-01-16 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback