Search Contact Interests
Last changed: -62.189.67.12

.
PageType
Title
Summary
Keywords
Author
Owner
SuggestedBack
SuggestedNext

Can I parse keywords from the properties of another page and pipe them into a Wiki search?

Page Name: KyleMacarthur

    1. Particular Interest: WikiTalk
      1. Particular Interest: Arrays
      1. Particular Interest: Functions
 @@namespace.AllTopicsWith("Title","KyleMacarthur").Collect{
   aPage| 
   [
     "'''Page Name:''' ",aPage.Name,Newline,
       PrnSearchForm({aPage.GetListProperty("Interests").Collect{i|[i,"|"]}}.Value.ToString),
       Newline,
    Tab,"* '''Individual Interests:'''",Newline,
    aPage.GetListProperty("Interests").Collect{
      particularInterest|
      [
        Tab,Tab,"1. Particular Interest: ",particularInterest," ",
        Presentations.FormStart(federation.LinkMaker.LinkToSearchNamespace(topic.Namespace.Name), "get"),
        Presentations.HiddenField("namespace", topic.Namespace.Name),
        Presentations.InputField("search",particularInterest, 15),
        Presentations.ImageButton("goButton", federation.LinkMaker.LinkToImage("images/go-dark.gif"), "Find"),
       Presentations.FormEnd()
      ]
    }
  ]
 }@@


 :PrnSearchForm:{
  aSearchString |
  [
   Presentations.FormStart(federation.LinkMaker.LinkToSearchNamespace(topic.Namespace.Name), "get"),
   Presentations.HiddenField("namespace", topic.Namespace.Name),
   Presentations.InputField("search",aSearchString.Substring(0,aSearchString.Length.Subtract(1)), 30),
   Presentations.ImageButton("goButton", federation.LinkMaker.LinkToImage("images/go-dark.gif"), "Find"),
   Presentations.FormEnd()
  ]
 }












KyleMacarthur | SearchContactInterests | DailyTipPage