You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2009/07/14 14:46:15 UTC
[jira] Updated: (PIVOT-79) wtk:include without specifying namespace
results in wtk:id values being lost
[ https://issues.apache.org/jira/browse/PIVOT-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown updated PIVOT-79:
----------------------------
Fix Version/s: (was: 1.3.1)
1.3
Assignee: Greg Brown
> wtk:include without specifying namespace results in wtk:id values being lost
> ----------------------------------------------------------------------------
>
> Key: PIVOT-79
> URL: https://issues.apache.org/jira/browse/PIVOT-79
> Project: Pivot
> Issue Type: Bug
> Components: wtk-wtkx
> Reporter: Noel Grandin
> Assignee: Greg Brown
> Priority: Minor
> Fix For: 1.3
>
>
> just got bitten by an unexpected problem. I had 2 files like this:
> first file:
> <Window>
> <wtkx:include "other.wtkx"/>
> </Window>
> other.wtkx:
> <Border>
> <TreeView wtkx:id="myid" />
> </Border>
> Now, when I load this, the identifier "myid" is not visible anywhere.
> This is because I failed to specify a namespace for the included file.
> This took me quite a while to work out, because my mental model of
> include says that the default is that the included file is fully
> visible, which should mean that the identifiers are visible from
> getObjectByName().
> I suggest that either
> (a) if I include a file without a namespace, and I specify
> identifiers, an error should be thrown
> or
> (b) if I include a file without a namespace, identifiers should be
> visible from getObjectByName()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.