Vaadin Flow TextField Browser AutoFill - vaadin

According to this old thread:
https://vaadin.com/forum/thread/18510843/textfield-browser-autofill
It's possible to tell the browser to auto fill a form. I am able to get the browser to populate values by setting the "name" and "autocomplete" attributes, however the browser does not seem to remember new values entered into the Vaadin form. There are appear to be some restrictions on when Chrome/Firefox will do this (https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) but some of those restrictions are not easily implemented in Vaadin.
Does anyone have an example of auto fill working both directions (browser filling in values and also remembering new values)?

you can take a look at the LoginForm, it does what you want.
Edited :
Or to control it with vaadin you could try it with this autosuggest add-on and update the list of suggestions with the new values.

Related

Obreon: screen reader doesn't read dropdown items

NVDA Screen reader doesn't read items of dropdowns with search when user is hovering them or focusing them with Tab key. Instead it is reading the content of search field. Is it a known issue? Will that be changed in future releases?
Here is an trivial example:
https://demo.orbeon.com/demo/fr/orbeon/builder/edit/785b85a843a9910091915ecab6a12a83a8281cc9
Indeed, and unfortunately this is due to issue #3735 of Select2, the component used by Orbeon Forms for the dropdowns with search. On the Orbeon Forms side, this is tracked as issue #4854.

importxml function in Googlesheet

First of all, I'm completely incompetent and my hours-long attempts at trying to make this work have been fruitless. So, please, there's someone that can help me.
I have
table id="..........." tablesorter class="........"
They are in the same line of code ad I'm able to scrape until the first element. For me it's important to scrape by the second one. I'm tryng different way but nothing
investing
In the image, in the part highlighted on the left where there is the drop-down menu, it's possible to select the different American markets (Nasdaq, DowJones,
S&P500 etc.). When I select a market other than DowJones, the URL of the page always remains the same, while the part that I highlighted on the right changes (tablesorter class = "............").
In my sheet, I've done this but it can't allow me to scrape different market (only the default table thay you see when open the webpage)
spreadsheet
Your main problem is that IMPORTXML can only retrieve information from static content in websites. Therefore, any content inserted dynamically can't be retrieved by this function.
In your case, you can check what content is not static by heading over to the website https://it.investing.com/equities/americas and then disabling JavaScript on it. To do so if you are using Chrome please follow this guide.
As Javascript will add dynamic content to the site, when you disable it you will observe that the information subject to change with the dropdown doesn't actually change which means that it was dynamically inserted and therefore can't be accessed by IMPORTXML. I have attached an image below showing this.
As a workaround to this you will need to use other web scraping techniques.

Google Forms Prefilled URL Limit (Workaround?)

I have a Google Form that I programmatically pre-fill with data (Using Apps Script). I face the problem that, if the URL is too large, the server responses with HTTP Status 400 (Bad Request). The tested URL has 9.000+ characters
Is there a known workaround this issue?
Thanks
It seems that it is not possible GET an infinitely large URL to Google.
A workaround is the following:
Add a checkbox to the form, with only one possible answer.
Programmatically prefill the form with all the field, except checkbox above, and submit() it.
Give your user the Edit Link using FormApp.FormResponse.getEditResponseUrl() (documentation)
Programmatically ignore / delete items that do not have the checkbox checked.
This works because checkboxes with only one value get automatically filled when the form is opened (and submitted) in a browser, but not before.

DotNetOpenAuth.AspNet - How to avoid popupui=1 on Windows Live?

In contrast to all the other questions I've found here on SO, I DON'T want a popup window. The trouble is that it seems by default that with Windows Live/Microsoft Account DotNetOpenAuth seems to set popupui=1 on the query string from RequestAuthentication by default.
There's a UIMode enum but that only seems to have the single value popup.
Does anyone know how to prevent it doing this?
update
According to the docs Windows Live has a display parameter which accepts touch, page, popup or none. Unfortunately, "page" results in popupui=1 in exactly the same way as "popup" does.
It seems that this isn't possible after all;
http://social.msdn.microsoft.com/Forums/en-US/90a2d464-afd9-44ba-970c-8290353a259d/how-do-i-avoid-windows-live-appending-popopui1-to-my-authorize-request?forum=messengerconnect

openWYSIWYG disabled textarea

Is there anyone here uses openWYSIWYG 1.4.7?
I wanted to display only my textarea by calling
WYSIWYG.display('textarea1');
And I want the text on my textarea not to be selectable that's why I tried this
<textarea1 id=textarea1 name='test1' disabled ></textarea>
but it doesn't work.
Any suggestion?
I doubt if you can prevent selecting the text in text area directly.
You can try placing an element like iframe on top of with with higher Z-index.. so when the user selects what they see as a test area, he will actually be interacting with transparent iframe.
Please keep in mind that any such protection(including the one above) should be not used as a security option. User can always find a way to go select the text or even edit it before submitting it.. they can use web developer plugins like Firebug to do the trick.
Even HTTPS cant prevent this, when the user is itself doing the trick in his browser.
You do your validation in server side, if applicable.

Resources