[richfaces-issues] [JBoss JIRA] (RF-13343) Page Fragments: Re-implement setupFragmentFromWidget() methods using component options access

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon Dec 2 15:33:06 EST 2013


    [ https://issues.jboss.org/browse/RF-13343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928006#comment-12928006 ] 

Lukáš Fryč commented on RF-13343:
---------------------------------

Reporting my comment:

RF 4: (BaseComponent)

{code}
RichFaces.component(..).options
{code}
https://github.com/richfaces/richfaces/blob/0855b61d55533ad9c1b31555f222608911806cb0/framework/src/main/resources/META-INF/resources/org.richfaces/common/richfaces-base-component.js#L92

RF 5: (Widget Factory)

{code}
RichFaces.component(..).options
{code}
https://github.com/jquery/jquery-ui/blob/47db52b9c98a5c593eb86e5b75309568d11b3bef/ui/jquery.ui.widget.js#L240
                
> 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



More information about the richfaces-issues mailing list