otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Branding, Screen Sets, XSL/CSS and Translations Customizing and Branding the UI of OTM / G-Log for your site, using Custom Screen Sets, Menu Managers, XSL/CSS customizations, Translations and more.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old February 18th, 2008, 06:40
Junior Member
 
Join Date: Jun 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
sn1405 is on a distinguished road
Convert PickList to Text box

Hi all,

I am trying to change the PickList to text box by using the xsl,The code for pickList used in the xsl is

<td>
<xsl:call-template name="fieldPickList">
<xsl:with-param name="name">hazmat_item/region/xid</xsl:with-param>
<xsl:with-param name="label"><xsl:value-of select="translator:get-translated-value('field.hazmat_item/region/xid')"/></xsl:with-param>
<xsl:with-param name="form">management_main</xsl:with-param>
<xsl:with-param name="value"><xsl:value-of select="region/xid"/></xsl:with-param>
<xsl:with-param name="valueID"><xsl:value-of select="<A href="mailto:region/xid/@ID"/></xsl:with-param">region/xid/@ID"/></xsl:with-param>
<xsl:with-param name="required">true</xsl:with-param>
<xsl:with-param name="query">false</xsl:with-param>
<xsl:with-param name="query_name">glog.server.query.powerdata.Regi onQuery</xsl:with-param>
</xsl:call-template>
</td>

The above code i changed to

<td>
<xsl:call-template name="fieldText">
<xsl:with-param name="name">hazmat_item/region/xid</xsl:with-param>
<xsl:with-param name="label"><xsl:value-of select="translator:get-translated-value('field.hazmat_item/region/xid')"/></xsl:with-param>
<xsl:with-param name="form">management_main</xsl:with-param>
<xsl:with-param name="value"><xsl:value-of select="region/xid"/></xsl:with-param>
<xsl:with-param name="query">false</xsl:with-param>
<xsl:with-param name="max">101</xsl:with-param>
</xsl:call-template>
</td>

By this change the PickList is changed to Text box but the value is not storing in that field.

Kindly guide me in this.

Regards,
Pradeep
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

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



All times are GMT. The time now is 01:18.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37