setting bAjaxSubmission="false" in displaySearch.cfm did the trick.
<ft:form name="#stobj.typename#SearchForm" bAjaxSubmission="false"
ajaxMaskMsg="Searching..."
action="#actionURL#">
Thanks for help!!!
On 29 հնս, 17:49, smika <[email protected]> wrote:
> Thanks a lot for comments!
> Really helps! I did override some of the displayMethods, to make them
> look more consistent with other pages.
> Search works now, but when it bring paging it does not work properly.
> You can try it onwww.imchi.info.
> What i did besides standard actions to make plugin work:
> 1. Created under webskin/types displayPageStandard.cfm with
> <skin:view typename="#stobj.typename#" objectid="#stobj.objectid#"
> webskin="#url.bodyView#" />
> which sits inside my template.
> 2.I've copied farSolrSearch folder from plugin to my projects webskin
> and override some templates (added some translations)
>
> Now it works except paging. I thought i should do something here:
> displaySearch (49):
> <cfset actionURL = application.fapi.getLink(
> objectid=stobj.objectid,
> view="displaySearch",
> includeDomain=true
> ) />
>
> but it does not seems to work.
>
> Please advise.
>
> Thanks,
> Mika
>
> On 28 հնս, 22:05, Sean Coyne <[email protected]> wrote:
>
>
>
>
>
>
>
> > That is your problem. You are submitting a form that 1, does not have an
> > lCollections field, and 2, is not at all what the search handler expects.
> > It expects a formtools form farSolrSearch to be specific. If you are going
> > to write your own form, then you are also going to have to write your own
> > handler and search logic.
>
> > To make the plugin work, you simply have to copy it to the /farcry/plugins
> > directory, so it should be /farcry/plugins/farcrysolr. Once you have done
> > that, you will need to add "farcrysolr" to the this.plugins setting in your
> > project's farcryConstructor.cfm, then do an updateapp.
>
> > Once you have done this, the form, the custom types, webskins, etc will all
> > be available to your project. You will then need to define all your
> > collections (which you have stated you have already done) and index them.
>
> > Instead of creating your own dmInclude you can use the displayTypeBody.cfm
> > webskin in the farSolrSearch webskin folder. Just create an include
> > somewhere in the tree and point it at that webskin. I would also set the
> > alias for the navigation node to "search".
>
> > You can then use the displaySearch and displaySearchPod webskins to display
> > the search form on your site. If you don't like the output, you can always
> > override the webskin in your project and modify it as you need.
>
> > The form will submit to the "search" alias you created, which will invoke
> > the displayTypeBody.cfm webskin. This will lookup the form submission and
> > execute the method that you are seeing an error for.
>
> > You are going to continue to get an error unless you use the farSolrSearch
> > formtool form, or unless you write your own handler and search logic. The
> > plugin's handler and logic assume that it will come in as the formtool form.
--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry