Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7996005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:35:20+00:00 2026-06-04T14:35:20+00:00

As it is, ExtJS 4.1 with a Rest proxy and a Json reader asks

  • 0

As it is, ExtJS 4.1 with a Rest proxy and a Json reader asks for a URI like this (urlencoded, though):

http://localhost:8000/api/v1/choice/?filter=[{"property":"question_id","value":2}]

my server wants filter requests to look like:

http://localhost:8000/api/v1/choice/?question_id=2

I’ve looked at the filterParam config for the proxy, but it doesn’t seem relevant. Is there a practical way to achieve the request URI that the server needs?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:35:21+00:00Added an answer on June 4, 2026 at 2:35 pm

    Following ain’t pretty, but it works. Now to fix the damn Store…

    /**
             * Customized to send ../?prop=val&prop2=val2 urls.
             */
            buildUrl: function(request) {
                var url = this.url;
                var filters = eval(request.params['filter']);
                if (filters) {
                    delete request.params['filter'];
                    url += '?'
                    for (var i = 0; i < filters.length; i++) {
                        var filterString = filters[i].property + "=" + filters[i].value;
                        if (url.slice(url.length-1) === '?') {
                            url += filterString;
                        } else {
                            url += '&' + filterstring;
                        } 
                    }
                };
                return url;
            },
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this ExtJS REST proxy to get and post data to my REST
I'm designing a web service that serves up JSON through a REST API. This
I wanna know if it's possible to call php api like in extjs 3.x.x.
I am calling a rest webscript using Extjs with JSON,but unable to display on
in extjs 3.3.0, i can do that like this var row = grid.getView().getRow(0); var
In extjs, if I have a grid definition like this: xtype: 'grid', store: 'someStore',
So I declare an ExtJS radio button object like this: .AddExtObject({xtype:'radiogroup', ref:'../AndOr', defaults:{name:'rdo-payee2'}, width:120,
ExtJS 1.7.3 on FF 3.6 ² keeps stopping on this line 9863, every time
We have got an extjs 3.1.1 form with file upload field ( http://www.extjs.com/deploy/dev/examples/form/file-upload.html from
The Extjs API site adds a new tab for each search you do. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.