How to run file-to-file scenario
Hello,
I have just done my first exercise in XI, File-to-File Scenario.
I ran the scenario in RWB in Component Monitoring by giving the Payload from the Message Mapping. It ran successfully.
But I am not able to run the same scenario by giving my source file. What are the inputs to be given while running the scenario to read from the Input File ?
Could any help me out, how to run my scenario using my Input File.
Thanks,
hi
after creating your IR and ID
then check the sender channel and Receiver channel
check the path of sender channel and put the payload file that is check message mapping and test it a
after the testing copy the file and store in to the folder that you have
created
and
in Receiver channel same thing give the path of the target folder and
chcek in to the runtime workbench
there is no any prob in the runtime workbench means its showing the succsfulley in RW and file on coming in to the target system
if all work correctly then also not showing means the file is in queue
so Refrsh the queue athewise delete the queue
thanks
i hope it will solved
Regards
Vijay
Edited by: Vijay Yewale on Apr 3, 2008 3:12 PM
Similar Messages
-
How to run a jar file in JBuilder
Hi there
I need to know how to run a jar file using JBuilder. Thanks :)
Countesswell i have a german version of jbuilder and there it is under
experten Archiv-builder
look at something that has a similar name -
How to run a JAR file in Unix system?
hi there
ca anyone tell me how to run a JAR file in unix system or X window, thank youYou want to create an executable JAR file? You do it in the following way.
Create a manifest file such as manif.txt and the contents should contain
Main-Class: foo
assuming foo is the name of your main class. Then create the jar as follows
jar cvfm foo.jar manif.txt foo.class
I hope that helps you!
you can find more info here http://java.sun.com/docs/books/tutorial/jar/ -
How to run an exe file in a java program
Hi,
Can somebody tell me how to run an exe file in a java program.
Thank you!Yes, java.lang.Runtime.exec().
Read this carefully before you do:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
Don't write a line of code before you're reviewed and understood the article completely. - MOD -
How to run a batch file as windows Nt service
Hi friends
I want to know how to run a batch file as windows NT service.
I got some information in the following link
http://support.microsoft.com/kb/q243486/
I tried it but i want to know what we need to include in Autoexnt.bat
And one thing i need Instexnt.exe file. I cannot find tht file.
Please search tht file and send me tht file or else send the link in which this file is present
Please give me reply fast.its very urgent.
Thanks in advance.Hi,
My aim is to run a MS-DOS Batch file, that I created to run a Java Prgram.
I need to call the Batch File from the Oracle Procedure, Also I may need to change the content of the Batch File (Argument to the Java JAR File ).
I can keep the JAR FIle either in the Oracle Server or in the Application Server.
The Java program is to convert XML Format FIle to PDF and MS Word format.
Oracle Version : 10g 2.0.1.0.
Thanks in advance
Rizly -
Hi,
How to run a batch file from Oracle. Is it possible directly from PLSQl, or should I write the java code.
Oracle Version: 10g 2.0.1.0.
Thanks in advance
RizlyHi,
My aim is to run a MS-DOS Batch file, that I created to run a Java Prgram.
I need to call the Batch File from the Oracle Procedure, Also I may need to change the content of the Batch File (Argument to the Java JAR File ).
I can keep the JAR FIle either in the Oracle Server or in the Application Server.
The Java program is to convert XML Format FIle to PDF and MS Word format.
Oracle Version : 10g 2.0.1.0.
Thanks in advance
Rizly -
Hi Experts,
I am trying to implement automatic cache purging every day at specified time and i created txt file with SApurge All cache() and created bat file with nqcmd -q Analyticsweb -u username -p password -s (txt file location).
Now i want to run this bat file daily at specified time with out executing manually may i know how to run the batch file at specified time .
Thanks,There is task type as command in workflow manager if you want you can go for that during the load
nqcmd -d "AnalyticsWeb" -u Administrator -p Administrator -s "D:\PowerCenter8.1.1\server\infa_shared\SrcFiles\1_BIPurgeCache.txt"
Check these urls
http://docs.oracle.com/cd/E12103_01/books/AnySched/AnySched_Scripts3.html
http://deliverbi.blogspot.com/2011/12/purge-all-cache-from-dashboard.html -
hi
can anybody tell me how to run a jar file in java,is there any need to unzip a jar file before running it?
Thanks in advance.Set the classptha, if you want to run it by double clicking.
I assume that you know, how to set the classpath.I though that if it is an executable jar, the classpath environment variable will be completely ignored. Are you saying something to the contrary? -
How to run a batch file clicking a button?
Hi All,
Can you tell me anyone how to run a batch file clicking a button? And also the progress bar showing the progress.
ArifAs said: write the insert statement like above (of course replace the databaselink, column and table names with your own) in a stored procedure and call this procedure in the WHEN-BUTTON-PRESSED Trigger.
As for the progress bar: how many records are you processing and how is the network connection between your database server? As above method is rather fast it might take just a few seconds and you could spare you the progress bar (this might be a little tricky to implement).
cheers -
How to run a jar file in a browswer?
Hi, everyone:
I got a problem here. I would like to run my jar file in a html-based brower, should I write another applet for my jar file? How can I do that? (I don't have applet in my jar file, but only JFrame) Is there any way I can put a runnable jar file into an applet and show on the brower? Could anyone show me how to write this code? Thank you very much!!
-jxchouAt first you need a java plug-in for your browser.
Next you have to implement an applet in your jar-file.
The tag in your html-document should look like:
<applet code="Sample.class" archive="sample.jar" width="400" height="400"></applet> -
How to run start.sh file of Tomcat4.0.1 on Mac os 8.6
Hi there,
Iam new to Mac operating system and iam trying to work on Mac os 8.6.I am trying to install Tomcat on Mac os 8.6.For that I download jakarta-tomcat-4.0.1.tar from appache site.I also extract it in my desktopfolder directly.For running start.sh file I prepare my own Tomcat_Start.sh like that:-
(#!/bin/sh
export CATALINA_HOME=/sun/desktopfolder/jakarta-tomcat-4.0.1
export JAVA_HOME=/sun/desktopfolder/MRJSDK 2.2/Tools/JDK Tools)
In Mac os 8.6 I installed MRJ2.2.4(based on jdk1.1.8) and MRJ SDK 2.2 for Java runtime enviornment.I tried with one java file and it is working perfectly that means JVM working perfectly.But I don't know how I run this Tomcat_Start.sh file on Mac.I already worked with Tomact on Windows operating system.In windows I excecute start.bat file on Dos-prompt.Can any one tell how and where I can execute my Tomcat_Strat.sh file on Mac os 8.6.And which version of Tomact support MRJ2.2.4 which is based on jdk1.1.8. It is required for my one application to install Tomcat on Mac.Presently Iam working On WinNT4.0.Any Help will be highly appreciated.
Thanks for ur Valuable Time
BikashIam new to Mac operating system and iam trying to work
on Mac os 8.6.I am trying to install Tomcat on Mac os
8.6.For that I download jakarta-tomcat-4.0.1.tar from
appache site.I also extract it in my desktopfolder
directly.For running start.sh file I prepare my own
Tomcat_Start.sh like that:-.sh files are usually Shell scripts for UNIX shells. I don't think Mac OS 8.6 has a shell interpreter (could be wrong. :/) so getting it to work is going to be difficult, if not impossible.
If you have Mac OS X, however, I believe it could work on there. Not sure of exact details though.
Bhav -
How to run windows dll files and driver loaded in remote system?
Dear Friends,
I need some valuable info regd how to run a remote windows dll files and the drivers of the system using java
reply regd thanking youPlease don't make duplicate posts like this.
-
How to run a Jar file during runtime
Runtime.getRuntime().exec("javaw -jar MYJAR.jar");was what I used to run the jar originally, and it worked. Recently I created an installer for my program, where the user runs a batch-file shortcut which launches the main application. Because the main application is launched from the desktop, rather than directly, the "user.dir" property is different which makes the above code not work. How do I get the name of the folder that contains the running java application?
ThanksYou don't. You fix the installer so that it puts the correct working directory into the shortcut that it creates.
-
How to run a batch file using tigger....
Hi, i am trying run a batch file using a trigger on a table.
say i have a table XYZ(col_1 varchar2 primary key, col_2 varchar2)
the values of col_2 keeps changing and col_1 are constant
whenever the value of col_2 in any row changes from "on" to "off" i want to run a batch file C:\Users\ABC\Desktop\test.bat
i did some searching but couldn't find any solution. Thanks in advance
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
sorry wrong foum to post.
will post in the correct one
how to run batch file using trigger?Hallo,
welcome to the forum.
This is the forum for the tool {forum:id=260}. Your question should be placed in {forum:id=75} or {forum:id=61}.
When you post your question there please provide additional information like db version, what kind of trigger you want to use, how you want to prevent the execution when the transaction is rolled back... {message:id=9360002}
Regards
Marcus -
How to Run a .sql file from simple java class
How to execute a .sql file consisting of Complex Queries,procedures through simple java class.
The queries may have different delimiters,queries independant of each other.
I am able to do with Specific De-limiter.But I need in such a way that there should not be any
Constraints. Since My .sql may Contain different De-limiters.
If any one can Suggest Some Solution.
It will be Great Help.
regards
AnilCheck out ibatis script runner, it' a third party library but quite handy for running sql files...
m -
How to RUN a XML file directly in JDeveloper
Can any one please suggest me for running a XML file directly in Jdeveloper?
I need the step how to do itactually I am calling xsl inside my xml....
the XMl code
=================
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="SfATranslation.xsl"?>
<SfAForm>
<SfAFormHeader>
<Name>ACM Maintain Code Table</Name>
<Notes></Notes>
<HeaderText>ACM Maintain Transaction Code Table</HeaderText>
<ItemID></ItemID>
<LogoImage>cpfb.gif</LogoImage>
<SubmitTo>FormAction.asp</SubmitTo>
<Title>Account Management</Title>
<TranslationRule>SfATranslation</TranslationRule>
</SfAFormHeader>
<SfASection>
<VisibilityRule></VisibilityRule>
<SfASectionHeader>
<Name>ACM - Maintain Transaction Code Table</Name>
<Notes>ACM Maintain Transaction Code Table</Notes>
<ItemID>TX Code</ItemID>
</SfASectionHeader>
<SfAComponent>
<VisibilityRule></VisibilityRule>
<SfAComponentHeader>
<Name>Code Table Information</Name>
<ItemID>A1</ItemID>
</SfAComponentHeader>
<SfAItem>
<Name>Scheme Code</Name>
<Type>SfA_Select</Type>
<VisibilityRule></VisibilityRule>
<Information>Select Scheme</Information>
<ItemID></ItemID>
<Required>*</Required>
<Value></Value>
<SfA_SelectOptions>
<Name>Education</Name>
<ItemID>EDN</ItemID>
<Multiple>Y</Multiple>
<Selected></Selected>
</SfA_SelectOptions>
<SfA_SelectOptions>
<Name>Housing</Name>
<ItemID>HU</ItemID>
<Multiple>Y</Multiple>
<Selected></Selected>
</SfA_SelectOptions>
<SfA_SelectOptions>
<Name>Investment</Name>
<ItemID>INV</ItemID>
<Multiple>Y</Multiple>
<Selected></Selected>
</SfA_SelectOptions>
</SfAItem>
<SfAItem>
<Name>Transaction Code</Name>
<Type>SfA_Text</Type>
<VisibilityRule></VisibilityRule>
<Information>Enter Transaction Code</Information>
<ItemID>TXCode</ItemID>
<Required>*</Required>
<Value></Value>
</SfAItem>
<SfAItem>
<Name>Reason Code</Name>
<Type>SfA_Text</Type>
<VisibilityRule></VisibilityRule>
<Information>Enter Reason</Information>
<ItemID>Reason</ItemID>
<Required>*</Required>
<Value></Value>
<ItemError>
<Name>Error Test</Name>
<ItemID>ER001</ItemID>
<Message>Please enter valid data . . .</Message>
<SupportLink>http://www.google.co.nz/</SupportLink>
</ItemError>
</SfAItem>
<SfAItem>
<Name>Description</Name>
<Type>SfA_Textarea</Type>
<VisibilityRule></VisibilityRule>
<Cols>60</Cols>
<Information>Enter Description</Information>
<ItemID>Description</ItemID>
<Required>*</Required>
<Rows>5</Rows>
<Value></Value>
</SfAItem>
<SfAItem>
<Name>Interest Computation</Name>
<Type>SfA_Checkbox</Type>
<VisibilityRule></VisibilityRule>
<Information></Information>
<ItemID>Interest</ItemID>
<Required></Required>
<Value></Value>
<SfA_CheckboxOptions>
<Name>Interest</Name>
<ItemID>IDInterest</ItemID>
<Multiple>Y</Multiple>
<Selected></Selected>
</SfA_CheckboxOptions>
</SfAItem>
<SfAItem>
<Name>Interest Information</Name>
<Type>SfA_Information</Type>
<VisibilityRule>IDInterest!='IDInterest'</VisibilityRule>
<BeginText>For information</BeginText>
<EndText>or look up admin manual</EndText>
<ItemID></ItemID>
<Link>http://www.google.co.nz/</Link>
<LinkLabel>see sss</LinkLabel>
</SfAItem>
</SfAComponent>
<SfAComponent>
<VisibilityRule>IDInterest!='IDInterest'</VisibilityRule>
<SfAComponentHeader>
<Name>Interest Calculation Applicable Dates</Name>
<ItemID>A2</ItemID>
</SfAComponentHeader>
<SfAItem>
<Name>Effective Start Date</Name>
<Type>SfA_Text</Type>
<VisibilityRule></VisibilityRule>
<Information>dd/mm/yyyy</Information>
<ItemID></ItemID>
<Required></Required>
<Value></Value>
</SfAItem>
<SfAItem>
<Name>Effective End Date</Name>
<Type>SfA_Text</Type>
<VisibilityRule></VisibilityRule>
<Information>dd/mm/yyyy</Information>
<ItemID></ItemID>
<Required></Required>
<Value></Value>
</SfAItem>
</SfAComponent>
</SfASection>
<SfAMenuHeader>
<MenuItem>
<Name>Account Management</Name>
<Href>Form.xml</Href>
<Image></Image>
<ItemID></ItemID>
<Target>_self</Target>
</MenuItem>
<MenuItem>
<Name>Asset Enhancement</Name>
<Href>Form.xml</Href>
<Image></Image>
<ItemID></ItemID>
<Target>_self</Target>
</MenuItem>
<MenuItem>
<Name>Common Biz Services</Name>
<Href>Form.xml</Href>
<Image></Image>
<ItemID></ItemID>
<Target>_self</Target>
</MenuItem>
<MenuItem>
<Name>Common Sys Services</Name>
<Href>Form.xml</Href>
<Image></Image>
<ItemID></ItemID>
<Target>_self</Target>
</MenuItem>
<MenuItem>
<Name>Operations</Name>
<Href>Form.xml</Href>
<Image></Image>
<ItemID></ItemID>
<Target>_self</Target>
</MenuItem>
<MenuItem>
<Name>System Messages</Name>
<Href>Form.xml</Href>
<Image></Image>
<ItemID></ItemID>
<Target>_self</Target>
</MenuItem>
</SfAMenuHeader>
<SfAButtonHeader>
<ButtonItem>
<Name>Save</Name>
<ItemID></ItemID>
</ButtonItem>
<ButtonItem>
<Name>Update</Name>
<ItemID></ItemID>
</ButtonItem>
<ButtonItem>
<Name>Deactivate</Name>
<ItemID></ItemID>
</ButtonItem>
<ButtonItem>
<Name>Help</Name>
<ItemID></ItemID>
</ButtonItem>
<ButtonItem>
<Name>Cancel</Name>
<ItemID></ItemID>
</ButtonItem>
</SfAButtonHeader>
</SfAForm>
The Xsl code
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="SfAForm">
<html>
<head>
<title>HP Smart Forms Demo</title>
<link rel="stylesheet" href="../shared/css/useragentmanExample.css" type="text/css" media="all" />
<link rel="stylesheet" href="../shared/css/visibleIf.css" type="text/css" media="all" />
<link rel="stylesheet" href="../shared/css/style.css" type="text/css" media="all" />
<script type="text/javascript" src="../shared/js/EventHelpers.js"></script>
<script type="text/javascript" src="../shared/js/visibleIf.js"></script>
</head>
<body>
<xsl:apply-templates select="SfAFormHeader"/>
</body>
</html>
</xsl:template>
<xsl:template match="SfAFormHeader">
<xsl:variable name="tmpformID"><xsl:value-of select="ItemID"/></xsl:variable>
<xsl:variable name="tmpformName"><xsl:value-of select="Name"/></xsl:variable>
<xsl:variable name="tmpformAction"><xsl:value-of select="SubmitTo"/></xsl:variable>
<xsl:variable name="tmpformImage"><xsl:value-of select="LogoImage"/></xsl:variable>
<div id="stylized" class="myform">
<form id="{$tmpformID}" name="{$tmpformName}" method="post" action="{$tmpformAction}" class="visibleIf-disableIfInvisible">
<table>
<tr>
<td valign="top"><IMG src="{$tmpformImage}" ALT=""/></td>
<td valign="top" rowspan="1">
<h1> <xsl:value-of select="Title"/> </h1>
<p>
<xsl:call-template name="PreserveLineBreaks">
<xsl:with-param name="text" select="Notes"/>
</xsl:call-template>
</p>
<!-- <xsl:apply-templates select="//SfASection"/> -->
</td>
</tr>
<tr>
<td valign="top">
<xsl:apply-templates select="//SfAMenuHeader"/>
</td>
<td valign="top">
<xsl:apply-templates select="//SfASection"/>
</td>
</tr>
<tr>
<td></td> <!--Blank cell below the menu-->
<td>
<p></p>
<xsl:apply-templates select="//SfAButtonHeader"/>
</td>
</tr>
</table>
</form>
</div>
</xsl:template>
<xsl:template match="SfAMenuHeader">
<xsl:apply-templates select="MenuItem"/>
</xsl:template>
<xsl:template match="MenuItem">
<xsl:variable name="tmpappMenuHref"><xsl:value-of select="Href"/></xsl:variable>
<xsl:variable name="tmpappMenuTarget"><xsl:value-of select="Target"/></xsl:variable>
<xsl:variable name="tmpappMenuImage"><xsl:value-of select="Image"/></xsl:variable>
<a class="menulink" href="{$tmpappMenuHref}" target="{$tmpappMenuTarget}"> <xsl:value-of select="Name"/> </a>
<xsl:choose>
<xsl:when test="$tmpappMenuImage=''">
</xsl:when>
<xsl:otherwise>
<IMG src="{$tmpappMenuImage}" ALT=""/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="SfAButtonHeader">
<xsl:apply-templates select="ButtonItem"/>
</xsl:template>
<xsl:template match="ButtonItem">
<button type="submit"><xsl:value-of select="Name"/></button>
</xsl:template>
<xsl:template match="SfASection">
<xsl:variable name="tmpSectionVisibleRule"><xsl:value-of select="VisibilityRule"/></xsl:variable>
<xsl:choose>
<xsl:when test="$tmpSectionVisibleRule=''">
<xsl:apply-templates select="SfASectionHeader"/>
<xsl:apply-templates select="SfAComponent"/>
</xsl:when>
<xsl:otherwise>
<span class="visibleIf" data-visibleif-rule="{$tmpSectionVisibleRule}"> <!--&&=AND ||==OR -->
<xsl:apply-templates select="SfASectionHeader"/>
<xsl:apply-templates select="SfAComponent"/>
</span>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="SfAComponent">
<xsl:variable name="tmpComponentVisibleRule"><xsl:value-of select="VisibilityRule"/></xsl:variable>
<xsl:choose>
<xsl:when test="$tmpComponentVisibleRule=''">
<xsl:apply-templates select="SfAComponentHeader"/>
<xsl:apply-templates select="SfAItem"/>
</xsl:when>
<xsl:otherwise>
<span class="visibleIf" data-visibleif-rule="{$tmpComponentVisibleRule}"> <!--&&=AND ||==OR -->
<xsl:apply-templates select="SfAComponentHeader"/>
<xsl:apply-templates select="SfAItem"/>
</span>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="SfASectionHeader">
<h3 class="sectionID"> <xsl:value-of select="ItemID"/> </h3>
<h2 class ="sectionTitle"> <xsl:value-of select="Name"/> </h2>
<!-- <p> <xsl:value-of select="Notes"/></p> -->
<p>
<xsl:call-template name="PreserveLineBreaks">
<xsl:with-param name="text" select="Notes"/>
</xsl:call-template>
</p>
</xsl:template>
<xsl:template match="SfAComponentHeader">
<h3 class="questionCode"> <xsl:value-of select="ItemID"/> </h3>
<h3 class ="questionTitle"> <xsl:value-of select="Name"/> </h3>
</xsl:template>
<xsl:template match="SfAItem">
<xsl:variable name="tmpItemVisibleRule"><xsl:value-of select="VisibilityRule"/></xsl:variable>
<xsl:choose>
<xsl:when test="$tmpItemVisibleRule=''">
<xsl:call-template name="processItem">
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<span class="visibleIf" data-visibleif-rule="{$tmpItemVisibleRule}"> <!--&&=AND ||==OR -->
<xsl:call-template name="processItem">
</xsl:call-template>
</span>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="processItem">
<xsl:variable name="tmpID"><xsl:value-of select="ItemID"/></xsl:variable>
<xsl:variable name="tmpItemValue"><xsl:value-of select="Value"/></xsl:variable>
<xsl:variable name="tmpItemType"><xsl:value-of select="Type"/></xsl:variable>
<xsl:apply-templates select="ItemError"/>
<xsl:choose>
<xsl:when test="$tmpItemType='SfA_Select'">
<label>
<xsl:value-of select="Name"/><b><font color="red"><xsl:value-of select="Required"/></font></b>
<span class="small"> <xsl:value-of select="Information"/> </span>
</label>
<select class="dropdown" name="{$tmpID}" value="{$tmpItemValue}">
<xsl:apply-templates select="SfA_SelectOptions"/>
</select>
</xsl:when>
<xsl:when test="$tmpItemType='SfA_Checkbox'">
<label>
<xsl:value-of select="Name"/><b><font color="red"><xsl:value-of select="Required"/></font></b>
<span class="small"> <xsl:value-of select="Information"/> </span>
</label>
<div>
<xsl:apply-templates select="SfA_CheckboxOptions"/>
</div>
</xsl:when>
<xsl:when test="$tmpItemType='SfA_Radio'">
<label>
<xsl:value-of select="Name"/><b><font color="red"><xsl:value-of select="Required"/></font></b>
<span class="small"> <xsl:value-of select="Information"/> </span>
</label>
<div>
<xsl:apply-templates select="SfA_RadioOptions"/>
</div>
</xsl:when>
<xsl:when test="$tmpItemType='SfA_Information'">
<xsl:variable name="tmpLink"><xsl:value-of select="Link"/></xsl:variable>
<span class="para">
<xsl:value-of select="BeginText"/>
<xsl:if test="$tmpLink!=''">
<xsl:text> </xsl:text>
<xsl:value-of select="LinkLabel"/>
</xsl:if>
<xsl:text> </xsl:text>
<xsl:value-of select="EndText"/>
</span>
</xsl:when>
<xsl:when test="$tmpItemType='SfA_Textarea'">
<xsl:variable name="tmpRows"><xsl:value-of select="Rows"/></xsl:variable>
<xsl:variable name="tmpCols"><xsl:value-of select="Cols"/></xsl:variable>
<label>
<xsl:value-of select="Name"/><b><font color="red"><xsl:value-of select="Required"/></font></b>
<span class="small"> <xsl:value-of select="Information"/> </span>
</label>
<textarea class="text" rows="{$tmpRows}" cols="{$tmpCols}" name="{$tmpID}"><xsl:value-of select="Value"/></textarea>
</xsl:when>
<xsl:otherwise>
<label>
<xsl:value-of select="Name"/><b><font color="red"><xsl:value-of select="Required"/></font></b>
<span class="small"> <xsl:value-of select="Information"/> </span>
</label>
<input class="text" type="text" name="{$tmpID}" id="{$tmpID}" value="{$tmpItemValue}"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="ItemError">
<xsl:variable name="tmpSupportLink"><xsl:value-of select="SupportLink"/></xsl:variable>
<!--Add error message if it exists. Add below the data entry -->
<!-- <label><xsl:text>Error: </xsl:text><xsl:value-of select="ItemID"/></label> -->
<label></label>
<xsl:choose>
<xsl:when test="$tmpSupportLink=''">
<span class="error"><xsl:value-of select="Message"/></span>
</xsl:when>
<xsl:otherwise>
<a class="error" href="{$tmpSupportLink}" target="_blank"><xsl:value-of select="Message"/></a>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="SfA_CheckboxOptions">
<xsl:variable name="tmpItemOptionID"><xsl:value-of select="ItemID"/></xsl:variable>
<xsl:variable name="tmpItemOptionValue"><xsl:value-of select="Value"/></xsl:variable>
<xsl:variable name="tmpItemOptionSelected"><xsl:value-of select="Selected"/></xsl:variable>
<xsl:variable name="tmpItemOptionMultiple"><xsl:value-of select="Multiple"/></xsl:variable>
<input type="checkbox" name="{$tmpItemOptionID}" value="{$tmpItemOptionID}">
<xsl:if test="$tmpItemOptionSelected='Y'">
<xsl:attribute name="checked">checked</xsl:attribute>
</xsl:if>
</input>
<xsl:choose>
<xsl:when test="$tmpItemOptionMultiple='Y'">
<span class="checklabelMultiple"><xsl:value-of select="Name"/></span>
</xsl:when>
<xsl:otherwise>
<span class="checklabelSingle"><xsl:value-of select="Name"/></span>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="SfA_RadioOptions">
<xsl:variable name="tmpItemOptionID"><xsl:value-of select="ItemID"/></xsl:variable>
<xsl:variable name="tmpItemOptionValue"><xsl:value-of select="Value"/></xsl:variable>
<xsl:variable name="tmpItemOptionSelected"><xsl:value-of select="Selected"/></xsl:variable>
<xsl:variable name="tmpItemOptionMultiple"><xsl:value-of select="Multiple"/></xsl:variable>
<input type="radio" name="{$tmpItemOptionID}" value="{$tmpItemOptionValue}">
<xsl:if test="$tmpItemOptionSelected='Y'">
<xsl:attribute name="checked">checked</xsl:attribute>
</xsl:if>
</input>
<xsl:choose>
<xsl:when test="$tmpItemOptionMultiple='Y'">
<span class="checklabelMultiple"><xsl:value-of select="Name"/></span>
</xsl:when>
<xsl:otherwise>
<span class="checklabelSingle"><xsl:value-of select="Name"/></span>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="SfA_SelectOptions">
<xsl:variable name="tmpItemOptionValue"><xsl:value-of select="ItemID"/></xsl:variable>
<xsl:variable name="tmpItemOptionSelected"><xsl:value-of select="Selected"/></xsl:variable>
<xsl:choose>
<xsl:when test="$tmpItemOptionSelected=''">
<option value="{$tmpItemOptionValue}"><xsl:value-of select="Name"/></option>
</xsl:when>
<xsl:otherwise>
<option value="{$tmpItemOptionValue}" selected="{$tmpItemOptionSelected}"><xsl:value-of select="Name"/></option>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="PreserveLineBreaks">
<xsl:param name="text"/>
<xsl:choose>
<xsl:when test="contains($text,'
')">
<xsl:value-of select="substring-before($text,'
')"/>
<xsl:call-template name="PreserveLineBreaks">
<xsl:with-param name="text">
<xsl:value-of select="substring-after($text,'
')"/>
</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
Maybe you are looking for
-
How to create a drop down box and text box in screen painter?
Hi i am totally new to this concept of screen painter..please can any tell me how to create drop down box in screen painter? How to create or display default date and time values? How to create text box for giving comments? How to store the records t
-
It is really important that I be able to finalize this project very soon. Please help!
-
Re: Availabili​ty of this model:
Hello, I'm inquiring into the future availability of the follwoing make and model: Dell - Inspiron Laptop / Intel® Pentium® Processor / 14" Display / 4GB Memory / 500GB Hard Drive - M... Model: I14R-1440MRB | SKU: 1287179 Currently, this item is list
-
WAR files (Tomcat) and deployment descriptor
Hello, I am currently writing a small utility to package a web application for Jakarta Tomcat as a .war file. I have a functional version that imports the deployment descriptor web.xml, but I'd like to make it possible for the user to edit or create
-
Navigation Bar does not appear on website after upload
I use i-web to create my website, save it to a folder and then upload to the web using GoDaddy. For some reason, the navigation bar at the top of every page does not appear. Instead, there's a black dot to the left of the page. When in the i-web prog