[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

ToolBar.htc, xml & xsl, toolbar not loading

Subject: ToolBar.htc, xml & xsl, toolbar not loading
From: "Alan Flaherty" <alan@xxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Nov 2002 19:32:40 -0000
toolbar not loading
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.