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

Juraj Húska (JIRA) jira-events at lists.jboss.org
Mon Dec 2 08:14:05 EST 2013


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

Juraj Húska commented on RF-13343:
----------------------------------

According to [this|https://issues.jboss.org/browse/RF-13335?focusedCommentId=12927834&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12927834] Lukas's comment, in most cases it will be the same for RF4 and RF5.

Therefore, where possible I will use: {{RichFaces.component("j_idt108").options}}
                
> 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