How to run db.xml from ORPOS 13.4 version on standalone
Hi All,
How to run db.xml from ORPOS 13.4, We dont have ORBO.
Thanks & Regards
GM
Go to the location where your installer is residing and execute the following command:
install.cmd ant install-database
Regards,
Uttam Kumar
Similar Messages
-
How to run buil.xml from commandprompt
Hi,
I dont know wether this is right forum to ask this question.I wanted to run buil.xml from commondprompt.I dont have any ant.
please provide me steps to run build.xml.we need to download ant?jp.kavita wrote:
without ant can we run build.xml from commond prompt* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk *
* headdesk * -
How to run a report from oracle 10g form in .csv format
dear all,
how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
i'm using
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
Please Help..i have already tried.
but the report show in htm or html format. that file will not save into csv. please help. -
How to run java program from website?
Hello
I'd like to know how to run java program from my web page.
I'd like to push some button in this web page so java program that would be on my server
would pop-up. Can it be done automaticaly upon running this web site? (without any buttons - I just enter website and program pops up).
CheersI rather thought about RMI. But I could try servlets. So how it would look like?.
I would make http request in browser (enter address) and program would show up in its window?. And I would not have to change anything in my program?. This program would run then on both boxes?. One remotely and one not?.
But I would have to learn some basics, I've never worked with servlets. Could you suggest some good sites about it?. With ready examples so I could tweak them to my purpose.
Message was edited by:
macmacmac -
How to run ZAC CDP from a Linux Bundle
Hi all,
I am trying to work out how to run "ZAC CDP" from a Linux bundle. We have 330 Satelites that I need to force the replication of the TFTP folder too in one staggered process.
Is there any reason why this would not work? would a script do it and anyone have a sample?
cheers,
Trev.I would imagine it's possible.
I'm assuming something (run as root user?)
#!/bin/bash
zac cdp
(you may have to put the absolute path in for the location of "zac")
I'm not a linux guru by any means, just that if you can script this via a cron job, I'm sure it can be done via ZCM Bundle. -
How to run batch file from oracle forms 9i
Hi everyone.
i have a data in csv file. i want to upload it to my database. i am using sql loader for it.
i have made a batch file which run the sql loader and transfer my data to database.
How to run batch file from oracle forms 9i.
when i press the button, nothing uploads in my database. (when i simply run the batch file it works).
here is my code
Begin
HOST('C:\temp\batchfile.bat');
message('done');
end;
Thanks in advance
regards
sajidthis is my log file, when i run manually.
SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 1 23:27:53 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: file_to_upload.ctl
There are 2 data files:
Data File: sk.csv
Bad File: sk.bad
Discard File: none specified
(Allow all discards)
Data File: sk1.csv
Bad File: sk1.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table KHAN, loaded from every logical record.
Insert option in effect for this table: APPEND
Column Name Position Len Term Encl Datatype
SR FIRST * , O(") CHARACTER
DATES NEXT * , O(") CHARACTER
AGENT NEXT * , O(") CHARACTER
COUNTRY NEXT * , O(") CHARACTER
TRANSACTIONS NEXT * , O(") CHARACTER
PKR NEXT * , O(") CHARACTER
USD NEXT * , O(") CHARACTER
BANK NEXT * , O(") CHARACTER
Table KHAN:
11088 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 132096 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 11088
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Thu Jul 01 23:27:53 2010
Run ended on Thu Jul 01 23:27:54 2010
Elapsed time was: 00:00:00.63
CPU time was: 00:00:00.17 -
How do run my library from an external drive?
How do run my library from an external drive? I've tried changing destination locations but nothing seems to work. help please
You might find this article useful, there's a section in it on moving to an external drive:
iLounge - Transferring your iTunes Library to Another Drive -
how do I STOP this from updating to NEW VERSION? I am getting tired of uninstalling and reinstalling every 10 uses. Ver.10 is Garbage!!!!!
WHEN it decides to run it does NOT member passwords.
And besides, if I WANTED NEW I would DOWNLOAD NEW!!!
''[Profanity removed by moderator. Please read [[Forum and chat rules and guidelines]], thanks.]''This issue can be caused by the presence of leftover files in the Firefox program folder (defaults\pref) like a file firefox.js that overrides the update URL with a wrong link.
Do a clean reinstall and be sure to remove the Firefox program folder.
* Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
* Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
* Uninstall your current Firefox version.
* Do not remove personal data when you uninstall the current version.
Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
* It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
* [/questions/826858] -
How to generate decrypted RTLOG in ORPOS 13.0 version?
Appreciate if anyone can help me to figure out how to generate decrypted rtlog in ORPOS 13.0 version.
I tried below metalink but seems but it does not help:
"How to Generate the Key for Decrypting the RTLOG File [ID 1218455.1]"
Thx.Here is the utility which helped:
java oracle.retail.stores.exportfile.utility.KeyStoreFileDecryptionUtility EncryptedDirectoryName DecryptedfileName
where
EncryptedDirectoryName - the pathname of the directory of *.ENC files
DecryptedFileName - the pathname of the decrypted file -
How to run an XML Report from Oracle Forms 10G
Hello Friends,
I am in need of showing a xml report output through a button press trigger in Oracle Forms10G.
I have designed the report in XML Publisher and the report looks fine.I found few scripts useful in running the Oracle Report from Oracle forms10G like Run_Report_Object.But I am not aware of any script that could run a XML report and show the output directly from a Form.
All I want is to run a XML report from an Oracle Form with a button press trigger and show the output in an html version.
Can this be achieved?
If so, Kindly advise as this is an immediate work.
Regards,
Badrul.Hi,
If I am not wrong the XML publisher is same as BI publisher ...
There is one document which explains how to integrate using web service
You want to check this
http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v22.pdf
or you can also try web.show_document .. -
Hi,
I have one intro.swf from that am loading one interface.swf by using loader.In interface i am loading some of the swf and xml am getting the swf but the xml files are not loading.When i run from interface file it is loading fine. only when i load the intro file the xml files are not loading. can any one tell me what is the problem how to access the xml content.
This is the code am using in interface.swf to to get the xmlpath
MovieClip(root).param1 = xmlPath;
to access the xml content i have written the code
var xmlPath:String=MovieClip(stage.getChildAt(0)).param1;
I am using one moviclip in interface to load the other swf and xml. I am not using any moviclip in intro file to load the interface swf for that i am using only the loader.Where are the files located relative to each other? If the intro and interface are in different folders then the problem could be that you need to adjust the path the interface uses for targeting the files it loads.
-
How to create an xml from xsd in abap
HI Experts,
i want to create an xml file from xsd and i want to validate an xml file against an xds.is this possible in abap.if it is possible can any one give me an sample code
for this one.
how to create an xml file in abap.i have seen so many blogs which parses the xml file but i didn't get blog for creating an xml file.how can we do that one.
any suggestions will be appriciated
thanks in advance
With Regards
NaiduHI
GOOD
IT IS POSSIBLE IN ABAP
Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML (ISO 8879). Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.
XSD->
XML Schemas express shared vocabularies and allow machines to carry out rules made by people. They provide a means for defining the structure, content and semantics of XML documents. in more detail.
XDS->
XDS can process data images from CCD-, imaging-plate, and multiwire-detectors in a variety of formats. Detector specific Input file templates greatly simplify the use of XDS; they are provided as part of the documentation.
XDS runs under Unix or Linux on a single server or a grid of up to 99 machines of the same type managed by the MOSIX system; in addition, by using OpenMP, it can be executed in parallel on up to 32 processors at each node that share the same address space.
http://www2.stylusstudio.com/SSDN/default.asp?action=9&fid=23&read=2926
/people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
THANKS
MRUTYUN -
How to associate an xml from httpservice to datagrid if the xml element name contains periods in it
Following is the xml from an http service, how to associate
this xml to a data grid (employee name, number) since it contains
periods(dots) in xml element name.
An early help is appreciated.....
<?xml version="1.0" encoding="ISO-8859-1"?>
<com.companyx>
<person>
<employee.data>
<employee.name>mrx</employee.name>
<employee.number>1001</employee.number>
</employee.data>
<employee.data>
<employee.name>mry</employee.name>
<employee.number>1002</employee.number>
</employee.data>
<employee.data>
<employee.name>mrz</employee.name>
<employee.number>1003</employee.number>
</employee.data>
<page>0</page>
</person>
</com.companyx>
Thanks,
Vijay KarthikHI
GOOD
IT IS POSSIBLE IN ABAP
Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML (ISO 8879). Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.
XSD->
XML Schemas express shared vocabularies and allow machines to carry out rules made by people. They provide a means for defining the structure, content and semantics of XML documents. in more detail.
XDS->
XDS can process data images from CCD-, imaging-plate, and multiwire-detectors in a variety of formats. Detector specific Input file templates greatly simplify the use of XDS; they are provided as part of the documentation.
XDS runs under Unix or Linux on a single server or a grid of up to 99 machines of the same type managed by the MOSIX system; in addition, by using OpenMP, it can be executed in parallel on up to 32 processors at each node that share the same address space.
http://www2.stylusstudio.com/SSDN/default.asp?action=9&fid=23&read=2926
/people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
THANKS
MRUTYUN -
hi,
I am trying to run a report from a WCF service application, and then render it in PDF Format to a caller WPF application. But I cant get it! In more detail, this is what my app should do
1. from WPF, call a web service procedure, pass a report name, report path and parameters. Report is store at the same server where Web Service is installed
2. WCF procedure loads report, set parameters, retrieve data from DB and renders it as an array of bytes
3. WPF gets the array, save it into a PDF file, then open it.
this is the code of the WCF procedure.
Function DownloadCRReport(codEnte As String, connString As String, reportDir As String, reportName As String, Parameters As Dictionary(Of String, Object)) As Byte() Implements IGesiService.DownloadCRReport
Try
Dim bytes As Byte()
Dim infile As BinaryReader
Dim fs As FileStream
Dim rep As New ReportDocument
Dim RepAddress As String
logPath = reportDir & "log\"
sb = New StringBuilder()
timestamp = Now.Year.ToString & Now.Month.ToString & Now.Day.ToString & Now.Hour.ToString & Now.Minute.ToString & Now.Second.ToString
logFileName = timestamp & "_" & reportName & ".txt"
logFile = New StreamWriter(logPath & logFileName, FileMode.CreateNew)
logFile.WriteLine("----
Date and time: " & Now.ToString & " -
If My.Computer.FileSystem.FileExists(reportDir & reportName & ".rpt") = False Then
Throw New Exception("file RPT non found in: " & reportDir)
End If
RepAddress = reportDir & reportName & ".rpt"
logFile.WriteLine("rep address: " & RepAddress)
rep.Load(RepAddress, OpenReportMethod.OpenReportByDefault)
logFile.WriteLine("load rep")
If rep.DataSourceConnections.Count > 0 Then
rep.DataSourceConnections.Item(0).SetLogon("usr", "pwd")
logFile.WriteLine("data source connection")
End If
For Each i In Parameters
rep.SetParameterValue(i.Key, i.Value)
logFile.WriteLine("param: " & i.Key & " - " & i.Value)
Next
Try
fs = rep.ExportToStream(ExportFormatType.PortableDocFormat)
logFile.WriteLine("export to stream")
infile = New BinaryReader(fs)
logFile.WriteLine("created binaryreader")
bytes = infile.ReadBytes(CInt(fs.Length))
logFile.WriteLine("render pdf. fine")
logFile.Close()
Return bytes
Catch ex As Exception
logFile.WriteLine("vbCrLf & ex.Message & vbCrLf & ex.InnerException.Message)
logFile.Close()
Return Nothing
End Try
Catch ex As Exception
logFile.WriteLine("vbCrLf & ex.Message & "-" & vbCrLf & ex.InnerException.Message)
logFile.Close()
Return Nothing
End Try
End Function
I detected that error occurs on rep.ExportToStream(ExportFormatType.PortableDocFormat). I should point out that the same procedure works under WPF application. In the WCF server I installed CR Runtime engine for .NET framework (13.0.9.1312) and CR version for Microsoft Visual Studio (same version). Moreover, all DB operations are stored into the report, so I should not pass any dataset, just parameters.
Anyway, just to begin, I tried to call a simple report with just two string parameters and no queries, but I alwais get error ("An exception of type 'System.NullReferenceException' occurred in MyApp... Object reference not set to an instance of an object)!
How can I make it work? thanks for helphi Ludek,
Im trying to change DB connection info at runtime for all of the report tables. this is the code I used in my Web Service
Function DownloadCRReport(...)
If rep.DataSourceConnections.Count > 0 Then
Dim conn As New ConnectionInfo
Dim tabLogon As TableLogOnInfo
conn.ServerName = "10.10.15.90" 'IP address of DB server
conn.DatabaseName = "MyDB" 'Database name as set in TNSNAMES.ORA
conn.UserID = "newuser"
conn.Password = "newpwd"
For Each t As Table In rep.Database.Tables
tabLogon = t.LogOnInfo
tabLogon.ConnectionInfo = conn
t.ApplyLogOnInfo(tabLogon)
logFile.WriteLine("changed logon tab. " & t.Name)
Next
rep.Refresh()
logFile.WriteLine("changed data source connection")
End If
'set parameters
If Not IsNothing(Parameters) Then
For Each i In Parameters
rep.SetParameterValue(i.Key, i.Value)
logFile.WriteLine("set parameter" & i.Key & " - " & i.Value)
Next
End If
fs = rep.ExportToStream(ExportFormatType.PortableDocFormat)
End Function
that comes to an error on rep.ExportToStream: "Unable to access database".
Running web service in debug mode, I noticed that, after t.ApplyLogonInfo(tabLogon), the new ConnectionInfo has "password" property empty. Maybe this could cause the error, or is there some mistake in the new connectioninfo? -
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
-
Screen coming up with a sad faced Ipod with a ! next to it
my ipod wont load at all and only gets as far as a screen where it shows an ipod with a sad face and a ! next to it with the website for apple support underneath it? It makes funny noises when its trying to load and doesnt get any further then the un
-
Podcast episodes won't update in iTunes since July - Please help!
I've had a podcast posted in iTunes since May and everything has worked fine up until a month ago. It's showing that the last episode update was on 7/27, when we've posted three new videos since then. Subscribers do receive the new videos, but the "A
-
Setting up NW Developer Studio ???
Hey Web Dynpro Community, we've got a requirement to develop a web calendar. so i wanted to have a look on th calendar ui elemnts of web dynpro java, which are missing in web dynpro for abap i downloaded and installed the NetWeaver Developer Studio (
-
ScanToPCActivationApp.exe is using a lot of memory even though the printer is off.
ScanToPCActivationApp.exe is using a lot of memory even though the printer is off. Upon computer boot up, Task Manager shows it is using 45mb, and after researching this topic using IE, 10 minutes later it now shows it is using 74 mg, although it di
-
Conversation lower case to upper case by default not wanted
Hi, Oracle converts lower case table names and columns names to upper case by default. To keep lower case letters names must be quoted. This "work around" is not acceptable. Is there a way to change this behavior either for the database or for a sess