[JBoss JIRA] Created: (JBIDE-9569) Remove VpeVisualDomBuilder.getNodeForUpdate rudiment method
by Maxim Areshkau (JIRA)
Remove VpeVisualDomBuilder.getNodeForUpdate rudiment method
-----------------------------------------------------------
Key: JBIDE-9569
URL: https://issues.jboss.org/browse/JBIDE-9569
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.3.0.M2
Reporter: Maxim Areshkau
Assignee: Yahor Radtsevich
Priority: Optional
For updating tables was added method VpeVisualDomBuilder.getNodeForUpdate which checks if element table-cell and if such returns parent. Such functionality implements template, so template for tr and td need to be updated and this rudiment method should be deleted.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (JBIDE-9548) StringIndexOutOfBoundsException possilbe during selection text nodes
by Maxim Areshkau (JIRA)
StringIndexOutOfBoundsException possilbe during selection text nodes
--------------------------------------------------------------------
Key: JBIDE-9548
URL: https://issues.jboss.org/browse/JBIDE-9548
Project: Tools (JBoss Tools)
Issue Type: Bug
Reporter: Maxim Areshkau
Assignee: Denis Maliarevich
StringIndexOutOfBoundsException possilbe during selection text nodes when we not wrap text nodes into span(see template for text nodes);
In some cases wrap text nodes into span broke layout. But if we change template for text nodes to not wrap into span it brokes selections.
#1 Create page with followint content "<html><body>test1<p>test2</p></body></html>"
#2 try to select from test1 till test2 in source page
#3 out of bounds exception will be thrown.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (JBIDE-10089) Remove updating <style> tag from VpeVisualDomBuilder.updateElement(Node sourceNode) method
by Denis Maliarevich (Created) (JIRA)
Remove updating <style> tag from VpeVisualDomBuilder.updateElement(Node sourceNode) method
------------------------------------------------------------------------------------------
Key: JBIDE-10089
URL: https://issues.jboss.org/browse/JBIDE-10089
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 3.3.0.M4
Reporter: Denis Maliarevich
Assignee: Denis Maliarevich
Priority: Optional
Fix For: 3.3.0.Beta1
There is a bad way of updating <style> tag in updateElement(Node sourceNode) method:
{code}
/*
* special processing of "style" element
*
* for unification of updating nodes - or redevelop updating
* mechanism (for example : transfer this function to template )
* or redevelop template of "style" element
*/
if (HTML.TAG_STYLE.equalsIgnoreCase(sourceNode.getNodeName())) {
// refresh style node
VpeStyleUtil.refreshStyleElement(this, elementMapping);
return;
}
{code}
Should be removed to the style template.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (JBIDE-9829) @PathParam validation broken
by Jozef Hartinger (Created) (JIRA)
@PathParam validation broken
----------------------------
Key: JBIDE-9829
URL: https://issues.jboss.org/browse/JBIDE-9829
Project: Tools (JBoss Tools)
Issue Type: Bug
Environment: JBoss JAX-RS Tools 1.2.2.v20110915-1723-H22-M3
Reporter: Jozef Hartinger
Fix For: 3.3.0.M4
Having a class:
@Path("/foo/{id}")
public class Foo {
@Path("/bar")
public void bar(@PathParam("id") String id)
{
// noop
}
}
the following error is recognized by JBoss Tools:
"@PathParam annotation value 'id' does not match any parameter of the same method or type @Path annotation(s)."
Although the "id" parameter matches the id path parameter defined within class-level @Path annotation.
Besides, to implement this correctly, it is also important to consider that the JAX-RS resource may actually be a sub-resource. Thus, a path parameter can be defined on the resource that delegates to Foo and not on Foo itself.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (JBIDE-9747) Possibility of update node instead of recreating has been removed in VPE templates
by Maxim Areshkau (JIRA)
Possibility of update node instead of recreating has been removed in VPE templates
----------------------------------------------------------------------------------
Key: JBIDE-9747
URL: https://issues.jboss.org/browse/JBIDE-9747
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 3.3.0.M2
Reporter: Maxim Areshkau
Assignee: Yahor Radtsevich
Priority: Critical
Possibility of update node instead of recreating has been removed in VPE templates what is reason of performance issues. For example when we update style in some div, it will call rebuild of all div chidren, instead of updating style in visual div. Previously the updating was done via VpeAbstractTemplate.recreateAtAttrChange function.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months