Page 1 of 1

Submit problem

Posted: Thu Dec 02, 2010 6:01 am
by roboto
I have problem with ajax links on this site.
http://www.element-14.com/community/groups
But I always get first page, no matter what parameter i submit.
Here is sample of my code.
<strfmt
"%s=%U&%s=%U&%s=%U&%s=%U"
'start' '15'
'range' '15'
'numResults' '15'
'sort' 'updated'>
<$dataGet = $ret>
<submit method=get URL="http://www.element-14.com/community/list-groups.jspa" DATA=$dataGet CONTENT-TYPE="application/x-www-form-urlencoded">

Submit problem

Posted: Thu Dec 02, 2010 9:32 am
by mark
You're saying method get then giving post data. Use method post or put the data on the url as a query string.

Submit problem

Posted: Thu Dec 02, 2010 10:14 am
by roboto
I always get

100 838: Document access forbidden: http://www.element-14.com/community/__s ... 011&page=0 returned code 403 (Forbidden)

via submitdata:
throw 'allowIllegalResourceCall is false.';
{"error":{"code":4026,"message":"The request could not be validated as originating from within the SBS application"}}

Submit problem

Posted: Thu Dec 02, 2010 10:50 am
by mark
You have to figure out what that site's application is using to verify "as originating from within the SBS application" and provide that. Perhaps a cookie or referer url?