[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2334) Replacement of first inputed letters to Seam EL using CA doesn't work.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Jun 17 07:36:50 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-2334?page=comments#action_12417539 ] 
            
Alexey Kazakov commented on JBIDE-2334:
---------------------------------------

Actually I think it's not correct to replace whole attribute value (that is not EL!) by selected EL from proposal list. We should just add EL to it.
So IMO we should fix JSF CA here instead of Seam CA.
It should work as Seam EL CA does:

EXECUTE: Add <h:outputText value="a"/>
EXECUTE: Set cursor on  value="a|"
EXECUTE: Ctrl+Space
EXECUTE: Select #{actor} or #{applicationScope}. Press enter.
ASSERT: <h:outputText value="a#{actor}"/> or <h:outputText value="a#{applicationScope}"/> is inserted.

EXECUTE: Add <h:outputText value="#{a"/>
EXECUTE: Set cursor on  value="#{a|"
EXECUTE: Ctrl+Space
EXECUTE: Select #{actor} or #{applicationScope}.  Press enter.
ASSERT: <h:outputText value="#{actor}"/> or <h:outputText value="#{applicationScope}"/> is inserted.

> Replacement of first inputed letters to Seam EL using CA doesn't work.
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-2334
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2334
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor
>    Affects Versions: 2.1.1
>            Reporter: Anton Klimkovich
>         Assigned To: Victor Rubezhny
>             Fix For: 2.1.2
>
>
> EXECUTE: Create Seam project.
> EXECUTE: Open home.xhtml
> EXECUTE: Type <h:outputText value="a"/>
> EXECUTE: Set cursor aftre "a" (Example: <h:outputText value="a{cursor}"/> )
> EXECUTE: Call CA
> EXECUTE: Select #{actor} from prpoosal list
> FAILURE:   <h:outputText value="a#{actor}"/> will be inserted
> ASSERT:    <h:outputText value="#{actor}"/>
> If select #{applicationScope} replacement will be correct.  <h:outputText value="#{applicationScope}"/>

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

        



More information about the jbosstools-issues mailing list