Tags:
create new tag
view all tags

Question

Would like to "merge" %URLPARAM{"VAR"}% and %VAR% to be the same values in a Topic.

Currently I do the following for a topic with a search form and running into problems:

% INCLUDE{"WebName.TopicTest" warn="on" qAvGeo="County"} %

When including into the TopicTest I can output the value %qAvGeo% and it is correctly shown, however this topic also has a search form which uses URLPARAM so when the user gets to the topic on their own, they can select from a choice of search filters, the page is then refreshed and the table is output based on the filter. The search is using URLPARAM to recognize the filter.

I pretty much want the topic to be able to use whichever one is available, either URLPARAM or the %Variable% from the include. If you have any questions, you can usually find me in #twiki under the name TJCRI. TJ

Environment

TWiki version: TWikiRelease04x01x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Centos 5
Web server: Apache 2
Perl version: 5.8
Client OS:  
Web Browser:  
Categories: Missing functionality

-- TjMaciak - 18 Sep 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

DatasetAge LevelCollection Frequency
Summary RecommendationYears AvailableAvailable Geography Level
Clear selection

Searched: META:FIELD.*?DataSet.*?%<nop>URLPARAM{
Number of topics: 0
.*;META:FIELD.*?AgeLevel.*?%URLPARAM{"qAgeLev"}%.*;META:FIELD.*?CollFreq.*?%URLPARAM{"qCollection"}%.*;META:FIELD.*?YearsAvail.*?%URLPARAM{"qYears"}%.*;META:FIELD.*?AvailGeoLev.*?%URLPARAM{"qAvGeo"}%.*;META:FIELD.*?SummaryRec.*?%URLPARAM{"qSumRec"}%" topic="MeasuresFormDetails.*" web="Support" scope="text" type="regex" nosearch="on" nototal="off" noheader="on" format="" }%
  Measure Dataset Age Level Collection Frequency Years Available Available Geography Level Geography Description Summary Recommendation Construct Data Items
MeasureID)?topicparent=Support.URLPARAMandINCLUDES;nowysiwyg=0" rel="nofollow" title="view (this topic does not yet exist; you can create it)">view $formfield(Measure) $formfield(DataSet) $formfield(AgeLevel) $formfield(CollFreq) $formfield(YearsAvail) $formfield(AvailGeoLev) $formfield(AvailGeoDesc) $formfield(SummaryRec) $percntSEARCH{\"C\" topic=\"$formfield(ConstructId)\" web=\"$percntWEB$percnt\" nosearch=\"on\" nototal=\"on\" format=\"$dollarformfield(ConstructName)\" }$nop% $percntCALC{$SET(numd,0)}$percnt $percntCALC{$GET(numd)}$percnt



-- TjMaciak - 18 Sep 2008

I theory I think we should be able to invoke this as http://twiki.org/cgi-bin/view/Support/URLPARAMandINCLUDES?qSumRec=4;qYears=10;qAvGeo=Whereever

-- MartinCleaver - 18 Sep 2008

Closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 07 Nov 2008

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-11-07 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.