You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Matt Carbone (JIRA)" <xa...@incubator.apache.org> on 2007/05/10 19:41:15 UTC
[jira] Created: (XAP-432) htmlView: xap button conflicts with html
button - causes error
htmlView: xap button conflicts with html button - causes error
--------------------------------------------------------------
Key: XAP-432
URL: https://issues.apache.org/jira/browse/XAP-432
Project: XAP
Issue Type: Bug
Components: Widgets: Other
Reporter: Matt Carbone
Priority: Critical
exception is thrown if the html button tag is used in htmlView
<xal xmlns="http://openxal.org/ui/html">
<freePane width="1024px" height="768px">
<htmlView borderWidth="2px" borderStyle="solid" borderColor="red" width="500px" height="500px">
<button>Click Me!</button>
</htmlView>
</freePane>
</xal>
ERROR exception] Exception occured exception: Exception:Problem inserting component managed by [a xap.bridges.xap.ButtonBridge] into a container managed by [a xap.bridges.basic.HtmlViewBridge]; parent doesn't have a suitable container.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (XAP-432) htmlView: xap button conflicts with
html button - causes error
Posted by "Matt Carbone (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494825 ]
Matt Carbone commented on XAP-432:
----------------------------------
The common way to create a button with <input> works fine. This is less common, but it's still a valid tag and shouldn't break.
> htmlView: xap button conflicts with html button - causes error
> --------------------------------------------------------------
>
> Key: XAP-432
> URL: https://issues.apache.org/jira/browse/XAP-432
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Other
> Reporter: Matt Carbone
> Priority: Critical
>
> exception is thrown if the html button tag is used in htmlView
> <xal xmlns="http://openxal.org/ui/html">
> <freePane width="1024px" height="768px">
> <htmlView borderWidth="2px" borderStyle="solid" borderColor="red" width="500px" height="500px">
> <button>Click Me!</button>
> </htmlView>
> </freePane>
> </xal>
> ERROR exception] Exception occured exception: Exception:Problem inserting component managed by [a xap.bridges.xap.ButtonBridge] into a container managed by [a xap.bridges.basic.HtmlViewBridge]; parent doesn't have a suitable container.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (XAP-432) htmlView: xap button conflicts with
html button - causes error
Posted by "Rob Gagne (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494833 ]
Rob Gagne commented on XAP-432:
-------------------------------
The child elements of htmlView are still in the XAL namespace, so the button element is processed as XAL. To resolve, the children of htmlView should be assigned a different namespace, or be wrapped with CDATA. If namespaced, using the XHTML namespace is the most appropriate.
> htmlView: xap button conflicts with html button - causes error
> --------------------------------------------------------------
>
> Key: XAP-432
> URL: https://issues.apache.org/jira/browse/XAP-432
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Other
> Reporter: Matt Carbone
> Priority: Critical
>
> exception is thrown if the html button tag is used in htmlView
> <xal xmlns="http://openxal.org/ui/html">
> <freePane width="1024px" height="768px">
> <htmlView borderWidth="2px" borderStyle="solid" borderColor="red" width="500px" height="500px">
> <button>Click Me!</button>
> </htmlView>
> </freePane>
> </xal>
> ERROR exception] Exception occured exception: Exception:Problem inserting component managed by [a xap.bridges.xap.ButtonBridge] into a container managed by [a xap.bridges.basic.HtmlViewBridge]; parent doesn't have a suitable container.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (XAP-432) htmlView: xap button conflicts with html
button - causes error
Posted by "Rob Gagne (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Gagne resolved XAP-432.
---------------------------
Resolution: Invalid
Assignee: Matt Carbone
see comment
> htmlView: xap button conflicts with html button - causes error
> --------------------------------------------------------------
>
> Key: XAP-432
> URL: https://issues.apache.org/jira/browse/XAP-432
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Other
> Reporter: Matt Carbone
> Assigned To: Matt Carbone
> Priority: Critical
>
> exception is thrown if the html button tag is used in htmlView
> <xal xmlns="http://openxal.org/ui/html">
> <freePane width="1024px" height="768px">
> <htmlView borderWidth="2px" borderStyle="solid" borderColor="red" width="500px" height="500px">
> <button>Click Me!</button>
> </htmlView>
> </freePane>
> </xal>
> ERROR exception] Exception occured exception: Exception:Problem inserting component managed by [a xap.bridges.xap.ButtonBridge] into a container managed by [a xap.bridges.basic.HtmlViewBridge]; parent doesn't have a suitable container.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (XAP-432) htmlView: xap button conflicts with html
button - causes error
Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trevor Oldak closed XAP-432.
----------------------------
> htmlView: xap button conflicts with html button - causes error
> --------------------------------------------------------------
>
> Key: XAP-432
> URL: https://issues.apache.org/jira/browse/XAP-432
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Other
> Reporter: Matt Carbone
> Assigned To: Matt Carbone
> Priority: Critical
>
> exception is thrown if the html button tag is used in htmlView
> <xal xmlns="http://openxal.org/ui/html">
> <freePane width="1024px" height="768px">
> <htmlView borderWidth="2px" borderStyle="solid" borderColor="red" width="500px" height="500px">
> <button>Click Me!</button>
> </htmlView>
> </freePane>
> </xal>
> ERROR exception] Exception occured exception: Exception:Problem inserting component managed by [a xap.bridges.xap.ButtonBridge] into a container managed by [a xap.bridges.basic.HtmlViewBridge]; parent doesn't have a suitable container.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.