[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4263) Seam component renaming: New name of component is inserted in first position in java source file.

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Mon May 4 12:03:58 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12465613#action_12465613 ] 

Daniel Azarov commented on JBIDE-4263:
--------------------------------------

Seam Model does not update component after removing @Name annotation

I added SaveAll call in the beginning of Rename Seam Component wizard, but problem still happens,
so I assign this bug to Slava Kabanovich

> Seam component renaming: New name of component is inserted in first position in java source file.
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-4263
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4263
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam
>    Affects Versions: 3.1.0.M1
>            Reporter: Alexey Kazakov
>            Assignee: Daniel Azarov
>             Fix For: 3.1.0.M1
>
>
> 1. Create Seam Project (New Seam Project Wizard)
> 2. Open components.xml. Add <component class="org.domain.<project_name>.session.Authenticator" name="authenticator"/>
> 3. Open Authenticator.java. Remove @Name("authenticator")
> 4. Open Seam Components View. Right click on "authenticator" component ->Rename Component
> 5. Enter new name, press finish.
> 6. New name of component is inserted in first position in Authenticator.java:
> "new name"package org.domain.seamtest.session;
> import org.jboss.seam.annotations.In;
> import org.jboss.seam.annotations.Logger;
> ...

-- 
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

        



More information about the jbosstools-issues mailing list