From: P N. <pn...@gm...> - 2009-03-16 12:08:32
|
Good moring all, The #show function can be used to retrieve properties that were set on the current page. For example you could have: *{{#show:{{PAGENAME}}|?Property Name}}*. It seems to work fine. Also I've found that #geocode works, given a postal address it gets the longitude and latitude. However, I've found that when I combine #show with #geocode, something like: {{#geocode: {{#show:{{PAGENAME}}|?Postal Address}} }} it sometimes works, for example when it is all wrapped up in a template, but very often it does not work. To see an example of this bug on a page, have a look at this page<http://gingerwiki.com/wiki/Bug_report,_combining_show_and_geocode> My question: is there a way to get #show and #geocode to work together consistently? Thanks Philip |
From: Sergey C. <ser...@gm...> - 2009-03-23 01:55:47
|
Geocode just takes input string - I'm not sure why #show does not return what you expect. More over, the page you're linking to seems to be working fine. Another idea is that you better add geocoded value on the page that defines "Postal Address" and create another property like "Postal geocode" instead of defining it on the resulting page, then you can use * {{#show:{{PAGENAME}}|?*Postal geocode*}}* instead of {{#geocode: {{#show:{{PAGENAME}}|?Postal Address}} }} Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Mon, Mar 16, 2009 at 8:08 AM, P Nelnik <pn...@gm...> wrote: > Good moring all, > > The #show function can be used to retrieve properties that were set on the > current page. For example you could have: *{{#show:{{PAGENAME}}|?Property > Name}}*. It seems to work fine. > Also I've found that #geocode works, given a postal address it gets the > longitude and latitude. However, I've found that when I combine #show with > #geocode, something like: > > {{#geocode: {{#show:{{PAGENAME}}|?Postal Address}} }} > > it sometimes works, for example when it is all wrapped up in a template, > but very often it does not work. To see an example of this bug on a page, > have a look at this page<http://gingerwiki.com/wiki/Bug_report,_combining_show_and_geocode> > My question: is there a way to get #show and #geocode to work together > consistently? > > Thanks > Philip > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > |
From: P N. <pn...@gm...> - 2009-03-23 11:08:22
|
Thanks for the reply Sergey, In the end the solution was to set the Postal Address property to have type string. Then it worked fine. That solution was suggested by zeh...@mo... On Mon, Mar 23, 2009 at 1:55 AM, Sergey Chernyshev < ser...@gm...> wrote: > Geocode just takes input string - I'm not sure why #show does not return > what you expect. More over, the page you're linking to seems to be working > fine. Another idea is that you better add geocoded value on the page that > defines "Postal Address" and create another property like "Postal geocode" > instead of defining it on the resulting page, then you can use * > {{#show:{{PAGENAME}}|?*Postal geocode*}}* instead of {{#geocode: > {{#show:{{PAGENAME}}|?Postal Address}} }} > > Sergey > > > -- > Sergey Chernyshev > http://www.sergeychernyshev.com/ > > > On Mon, Mar 16, 2009 at 8:08 AM, P Nelnik <pn...@gm...> wrote: > >> Good moring all, >> >> The #show function can be used to retrieve properties that were set on the >> current page. For example you could have: *{{#show:{{PAGENAME}}|?Property >> Name}}*. It seems to work fine. >> Also I've found that #geocode works, given a postal address it gets the >> longitude and latitude. However, I've found that when I combine #show with >> #geocode, something like: >> >> {{#geocode: {{#show:{{PAGENAME}}|?Postal Address}} }} >> >> it sometimes works, for example when it is all wrapped up in a template, >> but very often it does not work. To see an example of this bug on a page, >> have a look at this page<http://gingerwiki.com/wiki/Bug_report,_combining_show_and_geocode> >> My question: is there a way to get #show and #geocode to work together >> consistently? >> >> Thanks >> Philip >> >> >> ------------------------------------------------------------------------------ >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> Semediawiki-user mailing list >> Sem...@li... >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >> >> > |