Re: I can't include tags at runtime!!!

Frank Meißner <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
Erik_Mautsch wrote:
> Hello! 
> 
> I'm the first time here  
> 
> I tried to include a tag, consists of button tags, which i will include to an  
>  

Hello Eric,

I did not work with the "include" attribute yet. First, you must not use 
the id "but" more than once. This is IMHO generally a bad idea -- how to 
you want to fetch a specific button programatically if the id is not unique?

Also, as far as I understand the docu, the content of the tag specified 
by id "but" is inserted at the place where you put your "include=..." 
attribute. So, in your sample code, <panel id="test" id="but" icon... 
action...> would result. Did you get any error message complaining about 
something?

Usually, swixml does throw exceptions which you *must not* ignore.

If this does'nt help you, include the complete files you are refering to 
or at least the smallest possible files showing the same behaviour.

Frank

> existing panel tag. 
> 
> pseudocode: 
> 
> file_1.xml 
> ######### 
> <panel id="test" include="file_2.xml#but"> 
>        <!--buttons after rendering the xml file --> 
> </panel> 
> ######### 
> 
> 
> 
> file_2.xml 
> ####### 
> <button id="but" icon...  action.../> 
> <button id="but" icon...  action../> 
> <button id="but" icon...  action.../> 
> 
> I can't see the included Buttons. What is the problem? It's impossible to   
> include Button tags? 
> 
> Thanks in advance. 
> Regards 
> Erik 
> 
> _______________________________________________
> Forum mailing list
> [email protected]
> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
> 
> .
> 


-- 
AuthentiDate International AG
Großenbaumer Weg 6
40472 Düsseldorf / Germany
Phone   : +49(0)211 43 69 89-0
FAX     : +49(0)211 43 69 89-19

IT Sicherheit in Chemie-
und Pharma-Unternehmen
25. Nov. 2003, Düsseldorf

Erfahren Sie mehr unter:
www.authentidate.de
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.