]
Yura Zhishko closed JBIDE-4816.
-------------------------------
Verified in 3.1.0.v200910220041N-H228-M4
Dump Source give us different results before and after refresh
--------------------------------------------------------------
Key: JBIDE-4816
URL:
https://jira.jboss.org/jira/browse/JBIDE-4816
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M3
Reporter: Yura Zhishko
Assignee: Yura Zhishko
Fix For: 3.1.0.M4
1) Run VPE with Debug options enabled
2) Create JSF 1.2 kick start project
3) Open hello.jsp page
4) Call context menu on the Visual Pane and choose "Dump source":
5) Check Eclipse Console log
RESULT:
BODY element has the next content:
<BODY ID="__content__area__">
<!--This comment is of JBIDE-3396 -->
<DIV STYLE="-moz-user-modify: read-write;">
<DIV STYLE="display: none; -moz-user-modify: read-only;">
<H1 STYLE="-moz-user-modify: read-write;">
Hello!
</H1>
</DIV>
<DIV>
<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
<TR>
<TD>
<DIV>
<H3 STYLE="-moz-user-modify: read-write;">
<SPAN CLASS="vpe-text">
Hello
</SPAN>
<SPAN CLASS="vpe-text">
,
</SPAN>
<SPAN CLASS="vpe-text">
Any name
</SPAN>
<SPAN CLASS="vpe-text">
!
</SPAN>
</H3>
</DIV>
</TD>
</TR>
</TABLE>
</DIV>
</DIV>
</BODY>
6) Press refresh button and make Dump Source again
RESULT:
<BODY ID="__content__area__">
<DIV STYLE="-moz-user-modify: read-write;">
<DIV STYLE="display: none; -moz-user-modify: read-only;">
<H1 STYLE="-moz-user-modify: read-write;">
Hello!
</H1>
</DIV>
<DIV>
<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
<TR>
<TD>
<DIV>
<H3 STYLE="-moz-user-modify: read-write;" CLASS="">
<SPAN CLASS="vpe-text">
Hello
</SPAN>
<SPAN CLASS="vpe-text">
,
</SPAN>
<SPAN CLASS="vpe-text">
Any name
</SPAN>
<SPAN CLASS="vpe-text">
!
</SPAN>
</H3>
</DIV>
</TD>
</TR>
</TABLE>
</DIV>
</DIV>
</BODY>
The difference between previous and last sources is that <!--This comment is of
JBIDE-3396 --> element has gone in last source.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: