[
https://issues.jboss.org/browse/RF-13343?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč edited comment on RF-13343 at 12/2/13 3:31 PM:
----------------------------------------------------------
Re-posting my comment:
RF 4: (BaseComponent)
{code}
RichFaces.component(..).options
{code}
https://github.com/richfaces/richfaces/blob/0855b61d55533ad9c1b31555f2226...
RF 5: (Widget Factory)
{code}
RichFaces.component(..).options
{code}
https://github.com/jquery/jquery-ui/blob/47db52b9c98a5c593eb86e5b75309568...
was (Author: lfryc):
Reporting my comment:
RF 4: (BaseComponent)
{code}
RichFaces.component(..).options
{code}
https://github.com/richfaces/richfaces/blob/0855b61d55533ad9c1b31555f2226...
RF 5: (Widget Factory)
{code}
RichFaces.component(..).options
{code}
https://github.com/jquery/jquery-ui/blob/47db52b9c98a5c593eb86e5b75309568...
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
Affects Versions: 5.0.0.Alpha2
Reporter: Lukáš Fryč
Assignee: Juraj Húska
Fix For: 5.0.0.Alpha2
Original Estimate: 2 hours
Remaining Estimate: 2 hours
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