[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4110) Seam components aren't refreshed automatically.

Denis Maliarevich (JIRA) jira-events at lists.jboss.org
Tue Apr 7 14:52:22 EDT 2009


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

Denis Maliarevich commented on JBIDE-4110:
------------------------------------------

After deleting the attribute method VpeVisualDomBuilder.removeAttribute() is called. During conditions specifived above (in the previous comment) template won't be updated.

So there could be several solutions:
1) Add to xml templates additional option to set need of update, like recreateAtAttrChange() in VpeAbstractTemplate.
2) Recreate any template on attribute deleting (we can either leave or delete recreateAtAttrChange() method from templates).


> Seam components aren't refreshed automatically.
> -----------------------------------------------
>
>                 Key: JBIDE-4110
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4110
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor Templates
>    Affects Versions: 3.1.0
>            Reporter: Yura Zhishko
>            Assignee: Denis Maliarevich
>            Priority: Minor
>             Fix For: 3.1.0
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> 1) Create Seam 2.0.1 project
> 2) Put attached pages into WebContent folder
> 3) Open components.xhtml
> 4) Put next line into any place of the page: <s:label styleClass="btn">Text Label</s:label>
> ASSERT: Text Label has a correct style (see screenshot-1)
> 5) Delete styleClass attribute with the value
> EXPECTED: style disappeared on the Visual Pane
> ACTUAL: Nothing happens. Component hasn't been updated (screenshot-2).
> 6) Repeat all steps using style attribute. RESULT is the same.
> <s:div>, <s:fileUpload> have the same behavior.

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