I found that PageProxy can be used to get data from page, but I don't understand what does it mean exaclty and what's the difference with HttpProxy.
In particular:
who/when starts the request?
how does the request interact with the page life cycle?
where does the data come from? There is no url property on PageProxy.
Thank you.
First see the following sample
http://examples1.ext.net/#/GridPanel/Paging_and_Sorting/Page/
If you use PageProxy then you have to set OnRefreshData event handler in the store
Related
Thanks for stopping by.
I'm trying to update a SQL row using azure logic apps I'm stuck on this bit, the idea is to get data from a webpage and then update the SQL row. But i dont know what to fill in?
To pass the ID from the http request, you need to change the body of your https trigger . Then you can use the add dynamic content to add the output of first step into 2nd step.
Your question sounds similar to this one answer. Can you check if the answer helps you?
Okay. I know this question was a bit confusing, so let me decompose my question a bit further. For example, let's say I have the URL: https://example.com. I have an open GET endpoint at: https://example.com/user/* that will return a specific user's information based on what the contents of the "*" is. Lets say a specific user is at: https://example.com/user/12345. On an HTML page, I would like to put that user's profile contents and some of their hobbies. Again, this is theoretical. I have explored various solutions such as Handlebars.js which can dynamically change values based on the server request. However, this solution does not always work. Take a search engine for example at: https://mysearchengine.com/search?query=dogs. Here, we have a search query for dogs. How do I render all of the results to a HTML document without using a dynamic content module like Handlebars?
This question was particularly difficult to ask, so please do not mark this as "not enough information". I would be more than happy to clarify any questions you may have about the nature of my query. Thank you so much in advance,
Flight Dude.
Just wanted to let y'all know I found my answer: EJS. Thanks!
I would like to illustrate a problem with the pagination of the results of the OAI-PMH Data Provider of DSpace.
Let's assume that I display the first page of results of a specific type, in the context the Identifiers.
The URL of the request ends as shown here:
".../oaidl.jsp?verb=&ListIdentifiers&metadataPrefix=pico"
Until here, no problem. However, when selecting the Show More button, using exactly the Resumption Token indicated at the end of the first request response:
".../oaidl.jsp?verb=ListIdentifiers&resumptionToken=9999-12-31|1753-01-01|null|pico|982|2019-03-02T14%3A29%3A11Z"
I get an error page with the following message:
"XML interpretation error: no root element found..."
Can you tell me my mistake and, if possible, how can I solve it?
Thank you very much in advance!
Which version of DSpace are you running? The reference implementation at demo.dspace.org has a different url pattern than your example.
http://demo.dspace.org/oai/request?verb=Identify
i need some help related to masked field in web form. Syntax of phone field is (___)___-_____, if i execute this code in ruby shell
browser.text_field(:id => 'txtphone').set '7893457889'
... nothing has been added in the phone field.
then i find this solution in one blog, someone said first unmask this field using this code.
browser.text_field(:id,'txtphone').fire_event("unmask")
then write the above code again.
browser.text_field(:id => 'txtphone').set '7893457889'
but still nothing has happened. kindly help me out...am i doing right or still there is a mistake.
If you could provide some sample of the page HTML it will be easier to give you an answer more likely to work.
Given what you have provided us to work from, we have to go with the normal way that such masked input fields typically work and go from there. Usually pages with this kind of thing are calling a javascript function which is triggered by a specific event. Most often this is an event such as onchange but it may be something like keypress or any other even that happens when a normal user types or pasts text into the cell.
You likely need to experiment with using the '.fire_event' method to fire the proper javascript event, or if that fails entirely making a direct call to execute the proper script
When doing this do not confuse the name of a script such as 'applymask' or somesuch with the javascript event which causes that script to be invoked.
The answers to this question How to find out which JavaScript events fired? include some good information on how to use firebug or the chrome developer tools to figure out what events are being fired when you interact with an object on the browser screen.
Update: instead of responding here to indicate if this answer was of any use the OP reposted their question here Masked Text Box issue and by digging around on the vendor's demo site (since that time he actually had posted some of the HTML when we asked for it) I was able to find a solution using watir-webdriver that worked for him.
I'm inserting images to editor with id param. after that i'm trying to access it with Dom.get('id'), but it returns null.
I understand that it returns null because it works under parent window's scope. Is there any standard way to access it?
For specialized YUI-related questions, and especially if you don't get the answer you're looking for on StackOverflow, you may want to post to http://yuilibrary.com/forum -- the YUI devs and many YUI specialists spend time there, and that's typically the best place to get YUI-related help.