[richfaces-issues] [JBoss JIRA] Commented: (RF-10341) client api: inplaceInput api issues

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Fri Jan 28 04:39:04 EST 2011


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

Ilya Shaikovsky commented on RF-10341:
--------------------------------------

but 
<rich:inplaceInput defaultLabel="click to enter your name" saveOnBlur="true" onblur="#{rich:component('ii')}.cancel()" id="ii"/> has minor problem. It cancels value but "changed" red mark appeared.

I believe that that part is base for both component. ISelect has the same issue using 
			<rich:inplaceSelect defaultLabel="Click here to edit" id="is"
				openOnEdit="true" onblur="#{rich:component('is')}.cancel()" saveOnBlur="true" saveOnSelect="false">
				<f:selectItem itemValue="0" itemLabel="Option 1" />
				<f:selectItem itemValue="1" itemLabel="Option 2" />
				<f:selectItem itemValue="2" itemLabel="Option 3" />
				<f:selectItem itemValue="3" itemLabel="Option 4" />
				<f:selectItem itemValue="4" itemLabel="Option 5" />
			</rich:inplaceSelect>
So will not fire separate issue. Believe should be fixed in common code.

> client api: inplaceInput api issues
> -----------------------------------
>
>                 Key: RF-10341
>                 URL: https://issues.jboss.org/browse/RF-10341
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.0.0.Milestone5
>            Reporter: Ilya Shaikovsky
>            Assignee: Pavel Yaschenko
>             Fix For: 4.0.0.CR1
>
>
> 1) RF-10162 - seems works even worse now. now it throws undefined for me. But consider both issues. Should not throw undefined and should change state properly with new value applied and "changed" mark appeared.
> 2) cancel not works. I tried next cases:
> <rich:inplaceInput defaultLabel="click to enter your name" saveOnBlur="false" onblur="#{rich:component('ii')}.save()" id="ii"/> - works fine. according to saveOnBlur value should be reseted on blur but it sotered with onblur handler used api.
> but 
> <rich:inplaceInput defaultLabel="click to enter your name" saveOnBlur="true" onblur="#{rich:component('ii')}.cancel()" id="ii"/> has minor problem. It cancels value but "changed" red mark appeared.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list