Hi everybodyI’ve created a Lotus Web application. And I got some problems.
When I created an input Search form,after submit this form, I need to navigate to the result page.
I used $$SearchTemplateDefault form to show the result.
But in my input form, I use some Javascript, so I have to check the property “Use JavaScript when generating pages” of my current database. But in this case, my result page $$SearchTemplateDefault returns empty.
If I do not check this, the $$SearchTemplateDefault result form excutes normal.
In my input search form, my $$Return field value is looks like this (Query filed contains key word to search):
@If(Query!=“”;
@Do(
DBName:=@Subset(@DbName;-1);
“[[/”+DBName+“/WEB_TRACUU/?SearchView&Query= “+Query+”&SearchOrder=”+@Text(Sort)+“&SearchMax=”+@Text(MaxResults)+“&SearchWV=”+@If(ExactMatch=“”;“TRUE”;“FALSE”)+“&SearchThesaurus=”+@If(UseThesaurus=“”;“FALSE”;“TRUE”)+“]]”);
“You must enter the key value!”)
And my button to submit the form use this JavaScript: document.forms[0].submit();
Thanks for your help.