Subject: [xsl] ToolBar.htc, xml & xsl, toolbar not loading From: "Alan Flaherty" <alan@xxxxxxxxxxxxxxxxxx> Date: Tue, 12 Nov 2002 19:32:40 -0000 |
Hi List, Does anyone know of any lists specifically for the new htc controls, Toolbar in particular, Im working on a toolbar for a client interface(all in jscript, xml & xsl) and this is the last UI piece that I have to do but, being the last one it would have to be a pig. The code bellow is generated by an xsl transformation on an xml file sent from the server, <?xml version="1.0" encoding="UTF-16"?> <tb:TOOLBAR ID="oToolBar" style=" display:inline; behavior : url(./production framework/Controlsource/toolbar.htc); top:0; left:0;" MOVEMENT="dock" DEFAULTSTYLE="BORDER: threedface 1px solid; background-color: #D6D3CE; text-align: left;vertical-align: middle;white-space: no-wrap;" HOVERSTYLE="BORDER: #000000 1px solid; background-color: #B5BED6; text-align: left;vertical-align: middle;white-space: no-wrap;" SELECTEDSTYLE="BORDER: threedface 1px solid; background-color:#8492B5; text-align: left;vertical-align: middle;white-space: no-wrap;" xmlns:tb="uri"> <tb:TOOLBARGRIPPER /> <tb:TOOLBARBUTTON TEXT="Site Properties" IMAGEURL="button_properties.gif" onbuttonclick="Application.showPropertyPage('AppProperties');" /> <tb:TOOLBARSEPARATOR /> <tb:TOOLBARBUTTON TEXT="Next" IMAGEURL="button_next.gif" onbuttonclick="Application.DataGrid.Next();" /> <tb:TOOLBARBUTTON TEXT="Previous" IMAGEURL="button_previous.gif" onbuttonclick="Application.DataGrid.Previous();" /> <tb:TOOLBARSEPARATOR /> <tb:TOOLBARBUTTON TEXT="New" IMAGEURL="button_new.gif" onbuttonclick="Application.NewElement();" /> <tb:TOOLBARBUTTON TEXT="Previous" IMAGEURL="button_previous.gif" onbuttonclick="Application.DataGrid.Previous();" /> </tb:TOOLBAR> This is then "pasted" into a container div(jscript), if I pause execution (using a prompt or confirm) just before I paste the above code into the container it appears (almost) correctly (bar the images, but that's not a serious problem), however if I just let the code execute normally it does absolutely nothing :(, Odd ! Im quite sure that I need to use the onreadystatechange event of the toolbar and then add the controls for the toolbar, but I would like to be able to generate any changes for the interface from the xml & xsl files Only, ie no recoding javascript functions, so I would like to keep the final toolbar definition in the xsl file(then I could change the structure of the toolbar at a later stage without too much hassle, i.e. use another form of toolbar instead of the toolbar.htc), but at the moment it doesn't look like I can do this :( Anyone got any ideas/lists?? Thanks list Alan XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Finding list items in XHTML, Chris Loschen | Thread | RE: [xsl] ToolBar.htc, xml & xsl, t, bryan |
RE: [xsl] How can I obtain a JSP fr, sara . mitchell | Date | [xsl] Any interest in a full-day ha, G. Ken Holman |
Month |