On 12/7/07, Jo Vermeulen <> wrote:
> On Dec 4, 2007 10:33 AM, <> wrote:
<snip>
> >
> > <uiml>
> > <interface>
> > <structure>
> > <part id="id1" source="#tpl" how="replace">
> > </part>
> > </structure>
> > </interface>
> > <template id="tpl">
> > <part>
> > <part id="entry_copy" class="Entry"/>
> > <part id="btn_copy" class="Button">
> > <style> <!-- The original Listing 9 misses it -->
> > <property name="label">Click to copy</property>
> > </style> <!-- The original Listing 9 misses it -->
> > </part>
> > </part>
> > </template>
> > </uiml>
> >
> > I think this results in the following listing when the template is
> > inserted.
> >
> > <uiml>
> > <interface>
> > <structure>
> > <part id="id1">
> > <part id="id1_tpl_entry_copy" class="Entry"/>
> > <part id="id1_tpl_btn_copy" class="Button">
> > <style>
> > <property name="label">Click to copy</property>
> > </style>
> > </part>
> > </part>
> > </structure>
> > </interface>
> > </uiml>
> >
> > The top part "id1" survives. And the FQIDs contain "id1_tpl_".
> >
>
> You are right in my opinion, the top part does survive. I will update it.
>
> Does everyone else agree?
>
I agree. The placeholder ID is preserved and all children should get the FQID.
Thanks!
Jim