[
https://issues.jboss.org/browse/RF-13343?page=com.atlassian.jira.plugin.s...
]
Juraj Húska commented on RF-13343:
----------------------------------
[~lfryc], [~bleathem], [~ppitonak]
Do you think guys that those page fragments methods which depend on JSON parsing - aka
various {{setupFromWidget}} should throw {{UnsupportedOperationException}} till this issue
is resolved ?
IMHO not, as we can quite quickly implement this, right ?
Page Fragments: Re-implement setupFragmentFromWidget() methods using
component options access
---------------------------------------------------------------------------------------------
Key: RF-13343
URL:
https://issues.jboss.org/browse/RF-13343
Project: RichFaces
Issue Type: Task
Security Level: Public(Everyone can see)
Components: page-fragments, qe
Affects Versions: 5.0.0.Alpha2
Reporter: Lukáš Fryč
As we have discussed in RF-13335, we have two options available for accessing component
options:
* component uses {{BaseComponent}} (RF4 components)
{code}
RichFaces.component("j_idt108").options
{code}
* component uses {{jQuery UI Widget Factory}} (RF5 components)
{code}
$(document.getElementById("j_idt163:j_idt165Input")).autocomplete("option",
"autoFocus")
{code}
We can use WebDriver's {{JavascriptExecutor}} to access widget settings.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira