Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 10th, 2007, 03:38 AM
Friend of Wrox
 
Join Date: Jan 2007
Location: durban, Africa, South Africa.
Posts: 115
Thanks: 2
Thanked 0 Times in 0 Posts
Default Change Drop down Border style

Hi, Please I need help!

I have xslt file which i have no clue but html skills, the xslt file is used by our flowcentric application. I wanted to change the dropdowns border style but this can't be done in HTML - so is saw i link where I want the drop down style but it's not in html.

How do i incorporate the following code into my existing Flowcentric xslt file?

[u]Example i got from net - i want to incorporate this to xslt file</u>
<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white">

    <mx:Style>
        .myComboBoxDropdown {
            dropShadowEnabled: true;
            shadowDistance: 3;
            shadowDirection: "right";
            cornerRadius: 5;
        }
    </mx:Style>

    <mx:ComboBox dropdownStyleName="myComboBoxDropdown">
        <mx:dataProvider>
            <mx:String>one</mx:String>
            <mx:String>two</mx:String>
            <mx:String>three</mx:String>
            <mx:String>four</mx:String>
            <mx:String>five</mx:String>
        </mx:dataProvider>
    </mx:ComboBox>
</mx:Application>


[u]Flowcentric xslt file: </u>

<xsl:when test="$Object/@type[.='drop down' or .='lookup' or .='team select']">
<xsl:call-template name="ListValueType">
<xsl:with-param name="Name" select="$Object/@name" />
<xsl:with-param name="Attributes" select="$Object/Attributes" />
<xsl:with-param name="Options" select="$Object/Options" />
<xsl:with-param name="Value" select="$Object/Value" />
</xsl:call-template>
</xsl:when>

<xsl:template name="ListValueType">
<xsl:param name="Name" />
<xsl:param name="Attributes" />
<xsl:param name="Options" />
<xsl:param name="Value" />
<xsl:element name="asp:dropdownlist">
<xsl:attribute name='id'><xsl:value-of select='$Name' /></xsl:attribute>
<xsl:attribute name='runat'>server</xsl:attribute>
<xsl:for-each select="$Attributes/Attribute">
<xsl:attribute name='{@name}'><xsl:value-of select='.' /></xsl:attribute>
</xsl:for-each>
<xsl:for-each select='$Value/Options/Option'>
<xsl:element name="asp:ListItem">
<xsl:attribute name='Value'><xsl:value-of select='.' /></xsl:attribute>
<xsl:if test="@selected[. = 'true']"><xsl:attribute name='selected'>true</xsl:attribute></xsl:if>
<xsl:value-of select='.' />
</xsl:element>
</xsl:for-each>
</xsl:element>
</xsl:template>

Please Anyone, Help!!!

Regards,
Ismail



Reply With Quote
  #2 (permalink)  
Old December 10th, 2007, 05:26 AM
mhkay's Avatar
Wrox Author
Points: 18,277, Level: 58
Points: 18,277, Level: 58 Points: 18,277, Level: 58 Points: 18,277, Level: 58
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,933
Thanks: 0
Thanked 282 Times in 277 Posts
Default

I think you need to get help from someone who understands the Adobe mxml vocabulary. It's too specialist an area for this list.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
Reply With Quote
  #3 (permalink)  
Old December 10th, 2007, 07:25 AM
Friend of Wrox
 
Join Date: Jan 2007
Location: durban, Africa, South Africa.
Posts: 115
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by mhkay
 I think you need to get help from someone who understands the Adobe mxml vocabulary. It's too specialist an area for this list.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
Thank You

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change border color for every cell of a table jdang67 CSS Cascading Style Sheets 10 May 6th, 2010 01:21 AM
Incorporate HTML Code in XSLT (Drop down border) ismailc XSLT 3 January 14th, 2008 09:18 AM
Different Font Style For Elements in Drop Down Box kunal_kishan HTML Code Clinic 1 July 11th, 2006 10:01 AM
How to avoid jumpings when change border style liliarum BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 October 11th, 2005 05:44 PM



All times are GMT -4. The time now is 06:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.