Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble retrieving number value of a read-only inputText without number formatter #7

Open
dveerman opened this issue May 7, 2015 · 0 comments

Comments

@dveerman
Copy link
Contributor

dveerman commented May 7, 2015

The getValue() method returns 'null' on a selenium AdfInputText component for an af:inputText with read-only="true" on a number field without number formatter.

EDIT: Also happens with an AdfOutputText on a number field without number formatter.

Work-around 1: convertNumber (one without a pattern removing grouping seperators, that will make it null again)
Work-around 2: use getElement().getText()
Work-around 3: in case of aread-only inputText, use getSubmittedValue()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant