[
https://jira.jboss.org/jira/browse/JBIDE-4110?page=com.atlassian.jira.plu...
]
Denis Maliarevich commented on JBIDE-4110:
------------------------------------------
I've tried changing style class and deleting it on different templates.
I've found that:
1) If template is implemented only through xml file and there are no any "if"
sectoins in it then component won't be updated on deleting the attribute. But
component will be updated when changing attribute's value.
2) If template is implemented only in xml file and there are some conditions (that are
descibed inside <vpe:if test="not(@type='')"> tags) then template
will be autorefreshed on attribute deleting.
3) When template renders through java class it will be autorefreshed on attribute
deleting.
I've checked it on seam and jsf templates that are implemented only in xml file and
has styleClass attribute (that changes of this attribute could be noticed).
So the problem not only in seam templates, but in machanism in general.
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