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

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu May 14 09:36:06 EDT 2009


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

Viacheslav Kabanovich commented on JBIDE-4263:
----------------------------------------------

Seam Model is updated correctly.
When declaration is not available method getLocationFor(String) returns not null but the dummy text source reference (0,0). Daniel already added check for this case which solves the issue.

> 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: Viacheslav Kabanovich
>             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