[ 
https://jira.jboss.org/jira/browse/RF-6134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Belaevski updated RF-6134:
-------------------------------

    Fix Version/s: Future
         Assignee: Anton Belevich  (was: Nick Belaevski)


> inplaceInput: incorrect place of Save and Cancel controls for Controls facet
> ----------------------------------------------------------------------------
>
>                 Key: RF-6134
>                 URL: https://jira.jboss.org/jira/browse/RF-6134
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: FF-3.0, IE-6
> Tomcat 6.0
> sun RI 1.2.10
> jsp 
>            Reporter: Inna Shchibrya
>            Assignee: Anton Belevich
>             Fix For: Future
>
>         Attachments: InplaceInput_controls.png
>
>
> For example: 
> <?xml version="1.0" encoding="UTF-8"?>
> <jsp:root version="2.1" xmlns:jsp="http://java.sun.com/JSP/Page";
>       xmlns:c="http://java.sun.com/jsp/jstl/core";
>       xmlns:f="http://java.sun.com/jsf/core";
>       xmlns:h="http://java.sun.com/jsf/html";
>       xmlns:rich="http://richfaces.org/rich";
>       xmlns:a4j="http://richfaces.org/a4j";>
>       <jsp:directive.page contentType="text/html;charset=UTF-8"
>               pageEncoding="UTF-8" />
>       <jsp:output doctype-root-element="html"
>               doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
>               
> doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"; />
>       <f:view>
>               <html xmlns="http://www.w3.org/1999/xhtml";>
>               <body>
>               <h:form id="formID">
>                       <f:verbatim>
>                               <br />
>                               <br />
>                       </f:verbatim>
>       This is because such an error can easily be made at programming level, 
> <br />
>       and while invisible for the user who does not understand or cannot <br 
> />
>       acquire the source code, many of those  
>       <rich:inplaceInput defaultLabel="Click here to edit"
>                               showControls="true" 
> controlsHorizontalPosition="left"
>                               controlsVerticalPosition="bottom" 
> id="inplaceInputId">
>                               <f:facet name="controls">
>                                       <button 
> onclick="$('formID:inplaceInputId').component.save();"
>                                               type="button">Save</button>
>                                       <button 
> onclick="$('formID:inplaceInputId').component.cancel();"
>                                               type="button">Cancel</button>
>                               </f:facet>
>                       </rich:inplaceInput>
>        are easy to exploit. 
>                       </h:form>
>               </body>
>               </html>
>       </f:view>
> </jsp:root>
> Actual result: Save and Cancel control buttons are at the left of the 
> component.
> Click on the component. --> Save and Cancel control icons are appeared.
> Expected result: Save and Cancel control buttons should be at the bottom of 
> the component.  Save and Cancel control icons shouldn't be appeared.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to