cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Missing functionality: Asked

SEARCH does not read variable

Hi there

I got a Problem, which i cant solve and i did not found any helps on the internet.

We have a Template which generates e Wiki Page, on this page we set some variables, like that:
%CALC{"$SET( SHORTCUT, shortcut)"}%

On the page, we read the variable and replace it wiht the value, like that:
| Webhome | https://apps.pnet.ch/%CALC{"$GET( SHORTCUT )"}% 

Now we are building a dynamic table, which should read some infos from the generated page, this works fine, but not when we have variables

This does not work:
|$pattern(.*\}\%.*Webhome\s*\|([^\|\%]*).*) 

Output is (without the value):
https://apps.pnet.ch/

the other things we can read out correctly for exampel we set this on the generated page:
| Kunde | beispiel@post.ch |

and the result is correct like that:
$pattern(.*\}\%.*Kunde\s*\|([^\|\%]*).*) \


returns:
beispiel@post.ch

so is there a way, to read the value of the variable? sorry for my englisch is not the best, i hope u understand what i wanted to ask smile

thx a lot for any help or clue

Greetz from Switzerland
Sven

Edit: 13.3.2012 - I guess there is no answer for that problem, so then we gone do it without variable frown, sad smile
*

QuestionForm edit

Subject Missing functionality
Extension SetVariablePlugin
Version Foswiki 1.1.2
Status Asked
Related Topics
Topic revision: r2 - 13 Mar 2012, SvenLauber - This page was cached on 22 Mar 2018 - 12:42.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License