Bing,
To change the code you reference, see line 122 of the following file:
http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.8.2/dspace-discovery/dspace-discovery-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/discovery/SimpleSearch.java
That said, I am not familiar with the Discovery handling code. It is possible
that you will need to adapt the code that handles this request to handle a POST
instead of a GET.
Perhaps a developer acquainted with this area of the code-base will chime in.
If you wanted to in the meantime though, you could flip this to METHOD_POST and
see if the code handles both cases already.
Cheers,
--
sands fish
Senior Software Engineer
MIT Libraries
Technology Research & Development
[email protected]<mailto:[email protected]>
E25-131
On Apr 30, 2012, at 2:59 AM, bingbingwang wrote:
Hi, All,
I am using Dspace1.8.2 with Discovery enabled (Solr search server). Every time
I submit a query on the xmlui, I can see the following. Since I am handling
Chinese characters encoding, I hope the default method can be "post" instead of
"get". Can anyone help to point out where I should change the METHOD in the
source code? Thank you.
<form id="aspect_discovery_SimpleSearch_div_general-query"
class="ds-interactive-div discover-search-box search"
onsubmit="javascript:tSubmit(this);" method="get" action="discover">
Best Regards,
Bing
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Dspace-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/dspace-devel
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel