Xml not displaying because of & symbol
Hi there
I have an issue with an xml file not displaying ..the reason
is the & symbol in the xml file. I created a scoreboard xml
file ..however when Texas A&M was inputted ..it does not
display any information in the xml file ..when removed ..it
displays fine.
Is there a code I can incorporate info the xsl file to over
right the & symbol so it still displays? Any help would be
greatly appreciated. Below is the working xml file ..and the xsl
file ..thanks Rob
<xsl:stylesheet version="1.0" exclude-result-prefixes="xsl
ddwrt msxsl" xmlns:ddwrt="
http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:ddwrt2="urn:frontpage:internal">
<xsl:param name="dvt_adhocmode"></xsl:param>
<xsl:param
name="dvt_adhocfiltermode">xsl</xsl:param>
<xsl:param name="dvt_fieldsort"></xsl:param>
<xsl:param name="dvt_sortfield"></xsl:param>
<xsl:param name="dvt_groupfield"></xsl:param>
<xsl:param name="dvt_groupdisplay"></xsl:param>
<xsl:param
name="dvt_sortdir">ascending</xsl:param>
<xsl:param
name="dvt_groupdir">ascending</xsl:param>
<xsl:param name="dvt_grouptype"></xsl:param>
<xsl:param name="dvt_sorttype">text</xsl:param>
<xsl:param
name="dvt_groupsorttype">text</xsl:param>
<xsl:param name="dvt_filterfield"></xsl:param>
<xsl:param name="dvt_filterval"></xsl:param>
<xsl:param name="dvt_filtertype"></xsl:param>
<xsl:param name="dvt_firstrow">1</xsl:param>
<xsl:param name="dvt_nextpagedata"></xsl:param>
<xsl:param name="dvt_apos">'</xsl:param>
<xsl:param name="filterParam"></xsl:param>
<xsl:template match="/">
<xsl:call-template name="dvt_1"/>
</xsl:template>
<xsl:template name="dvt_1">
<xsl:variable
name="StyleName">Table</xsl:variable>
<xsl:variable name="Rows" select="/channel/item"/>
<xsl:variable name="RowCount" select="count($Rows)"/>
<xsl:variable name="IsEmpty" select="$RowCount = 0"/>
<xsl:choose>
<xsl:when test="$IsEmpty">
<xsl:call-template name="dvt_1.empty"/>
</xsl:when>
<xsl:otherwise>
<table border="0" width="100%" cellpadding="2"
cellspacing="0">
<tr valign="top">
<th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family: Verdana; font-size: small; color: #FFFFFF;
width: 56px; background-color: #800000">Date</th>
<th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family: Verdana; font-size: small; color: #FFFFFF;
width: 122px; background-color: #800000">Sport</th>
<th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family: Verdana; font-size: small; color: #FFFFFF;
background-color: #800000">Final Score</th></tr>
<xsl:call-template name="dvt_1.body">
<xsl:with-param name="Rows" select="$Rows"/>
<xsl:with-param name="FirstRow" select="1"/>
<xsl:with-param name="LastRow" select="$RowCount"/>
</xsl:call-template>
</table>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="dvt_1.body">
<xsl:param name="Rows"/>
<xsl:param name="FirstRow"/>
<xsl:param name="LastRow"/>
<xsl:for-each select="$Rows">
<xsl:sort select="date" order="ascending" />
<xsl:sort select="title" order="descending" />
<xsl:variable name="KeepItemsTogether"
select="false()"/>
<xsl:variable name="HideGroupDetail"
select="false()"/>
<xsl:variable name="GroupStyle" select="'auto'"/>
<xsl:if test="true()">
<xsl:if test="not($HideGroupDetail)"
ddwrt:cf_ignore="1">
<tr style="display:{$GroupStyle}">
<td class="ms-vb" style="text-align: left; font-family:
Verdana; font-size: xx-small; width: 56px; border: 1px solid
#000000">
<xsl:value-of select="date"/>
</td>
<td class="ms-vb" style="text-align: left; font-family:
Verdana; font-size: xx-small; width: 122px; border: 1px solid
#000000">
<strong><xsl:value-of select="title"
/></strong></td>
<td class="ms-vb" style="text-align: left; font-family:
Verdana; font-size: xx-small; border: 1px solid #000000">
<strong><xsl:value-of select="description"
/></strong></td></tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template name="dvt_1.empty">
<xsl:variable name="ViewEmptyText">There are no items
to show in this view.</xsl:variable>
<table border="0" width="100%">
<tr>
<td class="ms-vb">
<xsl:value-of select="$ViewEmptyText"/>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="iso-8859-1"?>
<channel>
<title>Sports Scores</title>
<ttl></ttl>
<link></link>
<description>Latest Scores</description>
<language></language>
<pubDate></pubDate>
<item>
<title>College Football</title>
<date>31AUG07</date>
<description>Eastern Washington 52 - Montana-Western
13</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Carroll 17 - Black Hills State
0</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Carroll College 17 - Black Hills St.
0</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Eastern Washington 52 - Western
13</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Montana 37 - S. Utah
17</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Montana 37 - Southern Utah
17</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>MSU Northern 18 - Dickenson St.
10</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Northern 18 - Dickinson State
10</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Rocky 21 - Minot State
9</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Southern Oregon 45 - Eastern Oregon 42
(OT)</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Texas AM 38 - Montana St.
7</description>
</item>
</channel>
A&M
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"satjack1" <[email protected]> wrote in
message
news:[email protected]...
> Hi there
>
> I have an issue with an xml file not displaying ..the
reason is the &
> symbol
> in the xml file. I created a scoreboard xml file
..however when Texas A&M
> was
> inputted ..it does not display any information in the
xml file ..when
> removed
> ..it displays fine.
>
> Is there a code I can incorporate info the xsl file to
over right the &
> symbol
> so it still displays? Any help would be greatly
appreciated. Below is
> the
> working xml file ..and the xsl file ..thanks Rob
>
> <xsl:stylesheet version="1.0"
exclude-result-prefixes="xsl ddwrt msxsl"
> xmlns:ddwrt="
http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
> xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
> xmlns:msxsl="urn:schemas-microsoft-com:xslt"
> xmlns:ddwrt2="urn:frontpage:internal">
> <xsl:param name="dvt_adhocmode"></xsl:param>
> <xsl:param
name="dvt_adhocfiltermode">xsl</xsl:param>
> <xsl:param name="dvt_fieldsort"></xsl:param>
> <xsl:param name="dvt_sortfield"></xsl:param>
> <xsl:param
name="dvt_groupfield"></xsl:param>
> <xsl:param
name="dvt_groupdisplay"></xsl:param>
> <xsl:param
name="dvt_sortdir">ascending</xsl:param>
> <xsl:param
name="dvt_groupdir">ascending</xsl:param>
> <xsl:param name="dvt_grouptype"></xsl:param>
> <xsl:param
name="dvt_sorttype">text</xsl:param>
> <xsl:param
name="dvt_groupsorttype">text</xsl:param>
> <xsl:param
name="dvt_filterfield"></xsl:param>
> <xsl:param name="dvt_filterval"></xsl:param>
> <xsl:param
name="dvt_filtertype"></xsl:param>
> <xsl:param name="dvt_firstrow">1</xsl:param>
> <xsl:param
name="dvt_nextpagedata"></xsl:param>
> <xsl:param name="dvt_apos">'</xsl:param>
> <xsl:param name="filterParam"></xsl:param>
> <xsl:template match="/">
> <xsl:call-template name="dvt_1"/>
> </xsl:template>
> <xsl:template name="dvt_1">
> <xsl:variable
name="StyleName">Table</xsl:variable>
> <xsl:variable name="Rows" select="/channel/item"/>
> <xsl:variable name="RowCount"
select="count($Rows)"/>
> <xsl:variable name="IsEmpty" select="$RowCount =
0"/>
> <xsl:choose>
> <xsl:when test="$IsEmpty">
> <xsl:call-template name="dvt_1.empty"/>
> </xsl:when>
> <xsl:otherwise>
> <table border="0" width="100%" cellpadding="2"
cellspacing="0">
> <tr valign="top">
> <th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family:
> Verdana; font-size: small; color: #FFFFFF; width: 56px;
background-color:
> #800000">Date</th>
> <th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family:
> Verdana; font-size: small; color: #FFFFFF; width: 122px;
background-color:
> #800000">Sport</th>
> <th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family:
> Verdana; font-size: small; color: #FFFFFF;
background-color:
> #800000">Final
> Score</th></tr>
> <xsl:call-template name="dvt_1.body">
> <xsl:with-param name="Rows" select="$Rows"/>
> <xsl:with-param name="FirstRow" select="1"/>
> <xsl:with-param name="LastRow"
select="$RowCount"/>
> </xsl:call-template>
> </table>
> </xsl:otherwise>
> </xsl:choose>
> </xsl:template>
> <xsl:template name="dvt_1.body">
> <xsl:param name="Rows"/>
> <xsl:param name="FirstRow"/>
> <xsl:param name="LastRow"/>
> <xsl:for-each select="$Rows">
> <xsl:sort select="date" order="ascending" />
> <xsl:sort select="title" order="descending" />
> <xsl:variable name="KeepItemsTogether"
select="false()"/>
> <xsl:variable name="HideGroupDetail"
select="false()"/>
> <xsl:variable name="GroupStyle" select="'auto'"/>
> <xsl:if test="true()">
> <xsl:if test="not($HideGroupDetail)"
ddwrt:cf_ignore="1">
> <tr style="display:{$GroupStyle}">
> <td class="ms-vb" style="text-align: left;
font-family: Verdana;
> font-size: xx-small; width: 56px; border: 1px solid
#000000">
> <xsl:value-of select="date"/>
> </td>
> <td class="ms-vb" style="text-align: left;
font-family: Verdana;
> font-size: xx-small; width: 122px; border: 1px solid
#000000">
>
<xsl:value-of select="title" /></td>
> <td class="ms-vb" style="text-align: left;
font-family: Verdana;
> font-size: xx-small; border: 1px solid #000000">
>
<xsl:value-of select="description"
/></td></tr>
> </xsl:if>
> </xsl:if>
> </xsl:for-each>
> </xsl:template>
> <xsl:template name="dvt_1.empty">
> <xsl:variable name="ViewEmptyText">There are no
items to show in this
> view.</xsl:variable>
> <table border="0" width="100%">
> <tr>
> <td class="ms-vb">
> <xsl:value-of select="$ViewEmptyText"/>
> </td>
> </tr>
> </table>
> </xsl:template>
> </xsl:stylesheet>
>
>
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <channel>
> <title>Sports Scores</title>
> <ttl></ttl>
> <link></link>
> <description>Latest Scores</description>
> <language></language>
> <pubDate></pubDate>
> <item>
> <title>College Football</title>
> <date>31AUG07</date>
> <description>Eastern Washington 52 -
Montana-Western
> 13</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Carroll 17 - Black Hills State
0</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Carroll College 17 - Black Hills St.
0</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Eastern Washington 52 - Western
13</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Montana 37 - S. Utah
17</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Montana 37 - Southern Utah
17</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>MSU Northern 18 - Dickenson St.
10</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Northern 18 - Dickinson State
10</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Rocky 21 - Minot State
9</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Southern Oregon 45 - Eastern Oregon
42
> (OT)</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Texas AM 38 - Montana St.
7</description>
> </item>
> </channel>
>
>
>
>
Similar Messages
-
i am trying to complete a form but can't get to the final drop down question as it is not displayed because it falls below where my screen ends. i have tried changing the resolution but that doesn't work. any suggestions?
brilliant
google chrome works where safari doesn't on my macbook air. many thanks
i now have an embarrassing qu. have dowloaded spider solitaire (sad!) and i can't add cards at the bottom of a column for the same reason - the display cuts short. i have tried to extend it with the arrows in the bottom corners but it makes no difference. any ideas? -
Error: . fields not displayed because the HTML form was not yet opened.
I had created a data base application using Import from one workspace(schema1) to another workspace(schema2).
Created all the tables and data in schema2.
Now when I'm trying to run the page getting the following error
" Error: Item "P16_PRODUCT" was not displayed because the HTML form was not yet opened. "
I'm not able to figure out what is that I'm missing during import due to which form is not opening.
Removed the authorization from the pages in order to test the page. So, I don't think this is related to Authorization.
Please help me in identifying the issue.
Thanks,
Suresh.Hello Suresh,
>> I had created a data base application using Import from one workspace(schema1) to another workspace(schema2).
Is the APEX version on both workspaces are the same? What is the APEX version?
Please make sure that the page template you are using includes #FORM_OPEN# in the last line of the Header section.
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Author of Oracle Application Express 3.2 – The Essentials and More -
Dunning Letter XML not displaying XML version of Dunning Letter
I have changed the Output Format for "Dunning Letter Print from Dunning Letter Generate" to XML. When I run the Dunning Letter Generate process, though, the XML output in the Dunning Letter Print from Dunning Letter Generate does not display the XML of the Dunning Letter. Instead, the following XML is displayed:
<?xml version="1.0"?>
<!-- Generated by Oracle Reports version 6.0.8.27.0 -->
<ARDLP>
<LIST_G_CORRESPONDENCES>
</LIST_G_CORRESPONDENCES>
<R_INTEREST_RATE></R_INTEREST_RATE>
<R_DEFAULT_COUNTRY>NL</R_DEFAULT_COUNTRY>
<C_TRX_NUMBER>APP-00001: Unable to find message: AR_REPORTS_TRX_NUMBER</C_TRX_NUMBER>
<C_PO>APP-00001: Unable to find message: AR_REPORTS_PO</C_PO>
<C_DEBIT>APP-00001: Unable to find message: AR_REPORTS_DEBIT</C_DEBIT>
<R_DEFAULT_COUNTRY_DESC>M-3M-WM-4M-zM-6M-uM-5M-e</R_DEFAULT_COUNTRY_DESC>
</ARDLP>
Is there any specific setup required to generate the appropriate XML for the Dunning Letter?Kit
It is definitely possible to use XML Publisher for dunning letters. I would suggest your sample run did not select anything for dunning as the XML looks correct otherwise. The problem with this approach is that it is not a single step process to get the letters. You will only ever get XML from the dunning letter print report as there is nowhere in the submission screen to tell it what template to use. Therefore you will need to modify the after report trigger to submit the XML Report Publisher concurrent program to automatically pick up the XML and create the letters.
You might want to look at the standard functionality in collections or advanced collections (not sure about collections but definitely in advanced) as there is some standard functionality in there for Dunning which uses XML Publisher templates. The setup is a bit onerous (not sure what the developers were thinking) but at least you can use XMLP as standard.
Cheers,
Dave -
FrameMaker 11 not displaying some math symbols-how to correct or work around?
Hello,
I created a few equations for a manual, and everything displayed correctly. After I was upgraded to a new computer (same OS - Win 7), all the minus signs in the equations I made aren't displaying—all I get are (?)s.
I've tried creating a new equation, but the minus symbol still isn't displaying. Strange to me that it's only the minus symbol not displaying; all other operators display correctly.
I'm wondering if this is a symbol font issue, or a unicode issue, but after searching the forums all morning (and all afternoon yesterday) I haven't found any information on correcting the issue or working around it.
*Update*
I had a coworker open the file in question, and the minus symbols all displayed correctly. He is running Frame 11 on XP.
-BenThe font used for the math symbols is specified in the maker.ini with the MathFamily=Symbol entry in the [Fonts] section.
I've tried playing around with changing this in FM11 and FM12, but I always get the minus sign to appear in both versions. [There is a minor bug in FM12 no longer supporting the backslash sequences, so I was checking if other things were pooched.]
The math characters, on the other hand, are defined in the fminit\mathchar.cfg file, e.g.
< alpha 61 Symbol Regular>
< beta 62 Symbol Regular>
< plus 2b Times Regular>
< equal 3d Times Regular>
< minus d0 Times Regular>
etc.
Notice that there is a mix of Font Families specified in the cfg file. It could be that if Times is missing and FM doesn't properly substitute proprly, one may get the unknown character.
Try changing the font definitions in the mathchar.cfg file (and make a back-up so that it can be restored if this gets messed up). -
XML not displaying correctly when larger
Hi,
When my XML dataset exceeds 2350 lines, SpryDOMUtils.js seems to ad a <tab> to the XML string and it's not displayed correctly in it's container.
I included 2 screenshots to show what's happening. Tnx a lot!!Sorry for the delay, I have spent some time trying to find the culprit. Finally I decided to start afresh with the following markup, which works quite well in all browsers.
<!doctype html>
<htm>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 1</div>
<div class="AccordionPanelContent">
<div id="div1">
<table align="top" cellpadding="5">
<tr id="tr1">
<td valign="top">{datum}</td>
<td valign="top"><a href="{link}">{inhoud}</a></td>
</tr>
</table>
</div>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 2</div>
<div class="AccordionPanelContent">Content 2</div>
</div>
</div>
<script src="SpryAssets/SpryAccordion.js"></script>
<script src="SpryAssets/SpryData.js"></script>
<script src="SpryAssets/SpryDOMUtils.js"></script>
<script src="SpryAssets/SpryTooltip.js"></script>
<script src="design_template_info12.js"></script>
<script type="text/javascript">
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
</script>
</body>
</html>
May I suggest that you copy and paste the markup into a new document to then start adding your own stuff, making sure that you test in IE7 or IE8 at each step.
Note that I have left xpath.js out of the markup. I think it will work either way. Just keep an eye on it.
PS
I did reformat the XML to delete all of the empty lines. Not sure if this helped or not. You can do this within DW as follows
Message was edited by: Altruistic Gramps -
Fonts not displaying properly (square symbols)
I'm trying to troubleshoot an error in a 3rd party vendor's java applet where fonts are not displaying properly. It seems as though when the arial bold font is used, it does not display from a particular computer. (this is a company terminal server, by the way).
To illustrate what I mean, I've posted links to small images showing a working example from another machine:
http://img.photobucket.com/albums/v317/d0hboy/font_problem_working.gif
.. and a non-working example:
http://img.photobucket.com/albums/v317/d0hboy/font_problem_error.gif
(apologies, I don't know how to include images in this forum).
Vendor support can only provide support so far as requiring a certain version of a JRE is installed -- after that, it's up to me. I've tried comparing the two JRE/lib/Fonts directories and Windows regional settings but they are the same. I've also tried setting the Sun Java console trace level to DEBUG while Internet Explorer is running the applet.
Is there any where I can look to find out what font is missing, or whether the "JavaFontNotFound" exception is firing? Any help or pointers would be appreciated.Make sure that you're using the correct font. Arial Bold does not provide full Unicode support. Thsi webpage may assist you:
http://www.fileformat.info/info/unicode/font/index.htm -
XML not displaying in Safari when using a XSL.
Hi, has anyone encountered this issue where Safari, and all Mac browsers for that matter, don't display XML when using an XSL? When I use a XML file with an XSL stylesheet I get a "Document is Empty" error. It displays correctly when a CSS is used and also works just fine on a PC.
My goof. In the Safari preferences area I turned on Developer mode out of curiosity and then by accident turned off pictures. All is well now.
-
I can not open timeline and the canvas can not display because out of memory.
I can not open timeline and the canvas can not diplay. I get a pop up saying "error out of memory" what does it mean and what can I do?
Usually this is because you've got graphics that are cmyk or grayscale not RGB, or that are larger than 4000 by 4000 pixels. Move them on your hard disk so fcp can't find them and make them rgb and resize to an acceptable pixel dimension.
-
Menubar from dynamic xml not displaying
I can't get a Menubar to display the submenu items. The list
displays properly without any reference to the "menubar" class so I
think I must have something off in the area. I have searched the
examples, api, and forum but I haven't been able to find anything
to help me fix it. I have worked on this for a couple of hours so I
am turning to everyone for help. Here is my code.
<div spry:region="dsSubCat dsRefine dsRefineValue"
class="SpryHiddenRegion">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="#" class="MenuBarItemSubmenu">Sub
Category</a>
<ul>
<li spry:repeat="dsSubCat"><a href="#"
onclick="loadSubCatData('{dsSubCat::Value}');">{dsSubCat::Title}</a> ({dsSubCat::NumberOf Products})</li>
</ul>
</li>
<li spry:repeat="dsRefine"><a href="#"
class="MenuBarItemSubmenu">{dsRefine::@name}</a>
<ul>
<li spry:repeat="dsRefineValue"><a href="#"
onclick="loadRefineData('{dsRefineValue::Value}');">{dsRefineValue::Title}</a> ({dsRefine Value::NumberOfProducts})</li>
</ul>
</li>
</ul>
</div>
<script type="text/javascript"><var MenuBar1 = new
Spry.Widget.MenuBar("MenuBar1",
{imgDown:"../../images/SpryMenuBarDownHover.gif"})</script>Hey N,
When dynamically creating widgets with Spry data, the
constructor script tag needs to be within the spry:region.
This allows it to fire off after the markup has been
generated.
Let us know if this solves it.
Don -
Images not displayed in welcome-file
HI,
I am working on JBoss 4.0.4 G.A.
My applicaiton structure is as following
<web-app>
<web-app>/WEB-INF
<web-app>/jsp ---> contains all the jsps
<web-app>/images --> contains all the images
<web-app>/html --> contains all the htmls
<web-app>.js--> contains all the .js files
My problem is that my welcom file is under jsp directory.
I have made an appropriate entry in web.xml for the welcome page
Welcome page is working fine but the only problem is that all the images on the welcome page are not displayed.
Please help me solving this problem ....
Thanks in advanceHi,
Thanks for reply. I have checked that. I am refering to the correct directory. Bye the way, I have got the solution, the image files were not displayed because I was using relative path and context root was not set to my web app context itstead it was trying to take it relative to the server's bin directory. I just set <context-root>/<my web app root></context-root> in jbossweb.xml file and the problem was sloved.
Regards,
Jignesh
Message was edited by:
jignesh_shukla -
Page0 item won't display; Error: Item "P0_X" was not displayed
Hello,
On Page0 (which is rendered for every page in the app) I have an HTML area with some text (If you encounter any errors, please....) and a few links (email/feedback, etc) defined in a table structure and that displays fine. This is rendered in the "above header" section at the top of ever app page.
I thought I would add another HTML area with a navigation tool up there, so I tried to put an item into the new area where a user could type in a menu shortcut, but when I put the item up there and load a page in the app, I get an error:
Error: Item "P0_Jumpto" was not displayed because the HTML form was not yet opened.
Why is that? Can I put such an item on Page0? I don't want to have to define this structure on every page...So close, but...
In this case P0_X is a page alias, because people in general don't remember 192 as well as they would REPT. The problem is that EVERY page has an alias to standardize bug and enhancement reporting, and navigation tools (example: I have a problem with page REMD; the column.....) - - but not every page should "jumped" to by the method described of entering the page alias.
There needs to be a lookup table that indicates which are and which are not acceptable candidates to jump to. I've already got the table populated so I was thinking a "where EXISTS" condition on the application process, but the condition for this applicatin process is already used by Request=Expression 1...how can I add that second condition or can you suggest another method? -
Currency Symbol (�) not displaying
Hi,
I'm using PostgreSQL as my DB and the pg73jdbc3.jar driver to connect to my DB. I'm trying to display the pound sterling currency symbol (�) in my JTable but it will not display, it puts in a square instead. However, it will display the U.S. dollar symbol ($). The locale settings on the PostgreSQL server are set to en_GB.
What do I need to do to get the � symbol to display in my JTable.
Kind Regards,
ChrisThis has to do with JDBC and databases because I am querying a postgresql database (version 7.3.2) and the .getString() value from the resultset is giving me a square symbol rather than the pound sterling symbol.
I've tried modifying the font, the locale settings, and the character set used by the JDBC driver but neither of these have worked.
Anyone got any suggestions?
Kind Regards,
Chris -
DataGrid does not display XML data
Hello, and thanks for reading this...
I am having a problem displaying XMLList data in a DataGrid.
The data is coming from a Tree control, which is receiving it
from a database using HTTPService.
The data is a list of "Job Orders" from a MySQL database,
being formatted as XML by a PHP page.
If it would be helpful to see the actual XML, a sample is
here:
http://www.anaheimwib.com/_login/get_all_orders_test2.php
All is going well until I get to the DataGrid, which doesn't
display the data, although I know it is there as I can see it in
debug mode. I've checked the dataField property of the appropriate
DataGrid column, and it appears correct.
Following is a summary of the relevant code.
...An HTTPService named "get_all_job_orders" retrieves
records from a MySQL database via PHP...
...Results are formatted as E4X:
HTTPService resultFormat="e4x"
...An XMLListCollection's source property is set to the
returned E4X XML results:
...The "order" node is what is being used as the top-level of
the XML data.
<mx:XMLListCollection id="jobOrdersReviewXMLList"
source="{get_all_job_orders.lastResult.order}"/>
...The "jobOrdersReviewXMLList" collection is assigned to be
the dataProvider property of a Tree list, using the @name syntax to
display the nodes correctly, and a change event function is defined
to add the records to a DataGrid on a separate Component for
viewing the XML records:
<mx:Tree dataProvider="{jobOrdersReviewXMLList}"
labelField="@name"
change="jobPosForm.addTreePositionsToDG(event)"/>
...Here is the relevant "jobPosForm" code (the Job Positions
Form, a separate Component based on a Form) :
...A variable is declared:
[Bindable]
public var positionsArray:XMLList;
...The variable is initialized on CreationComplete event of
the Form:
positionsArray = new XMLList;
...The Tree's change event function is defined within the
"jobPosForm" Component.
...Clicking on a Tree node fires the Change event.
...This passes an event object to the function.
...This event object contains the XML from the selected Tree
node.
...The Tree node's XML data is passed into the positionsArray
XMLList.
...This array is the dataProvider for the DataGrid, as you
will see in the following block.
public function addTreePositionsToDG(event:Event):void{
this.positionsArray = selectedNode.positions.position;
...A datagrid has its dataProvider is bound to
positionsArray.
...(I will only show one column defined here for brevity.)
...This column has its dataField property set to "POS_TITLE",
a field in the returned XML record:
<mx:DataGrid width="100%" variableRowHeight="true"
height="75%" id="dgPositions"
dataProvider="{positionsArray}" editable="false">
<mx:columns>
<mx:DataGridColumn width="25" headerText="Position Title"
dataField="POS_TITLE"/>
</mx:columns>
</mx:DataGrid>
In debug mode, I can examine the datagrid's dataProvider
property, and see that the correct XML data from the Tree control
is present. However, The datagrid does not display the data in any
of its 6 columns.
Does anyone have any advice?
Thanks for your time.Hello again,
I came up with a method of populating the DataGrid from the
selected Item of a Tree Control which displays complex XML data and
XML attributes. After the user clicks on a Tree branch, I call this
function:
public function addTreePositionsToDG(event:Event):void{
//Retrieve all "position" nodes from tree.
//Loop thru each Position.
//Add Position data to the positionsArray Array Collection.
//The DataGrid dataprovider is bound to this array, and will
be updated.
positionsArray = new ArrayCollection();
var selectedNode:Object=event.target.selectedItem;//Contains
entire branch.
for each (var position:XML in
selectedNode.positions.position){
var posArray:Array = new Array();
posArray.PK_POSITIONID = position.@PK_POSITIONID;
posArray.FK_ORDERID = position.@FK_ORDERID;
posArray.POS_TITLE = position.@POS_TITLE;
posArray.NUM_YOUTH = position.@NUM_YOUTH;
posArray.AGE_1617 = position.@AGE_1617;
posArray.AGE_1821 = position.@AGE_1821;
posArray.HOURS_WK = position.@HOURS_WK;
posArray.WAGE_RANGE_FROM = position.@WAGE_RANGE_FROM;
posArray.WAGE_RANGE_TO = position.@WAGE_RANGE_TO;
posArray.JOB_DESCR = position.@JOB_DESCR;
posArray.DES_SKILLS = position.@DES_SKILLS;
positionsArray.addItem(posArray);
So, I just had to manually go through the selected Tree node,
copy each XML attribute into a simple Array, then ADD this Array to
an ArrayCollection being used as the DataProvider for the DataGrid.
It's not elegant, but it works and I don't have to use a Label
Function, which was getting way too complicated. I still think that
Flex should have an easier way of doing this. There probably is an
easier way, but the Flex documentation doesn't provide an easy path
to it.
I want to thank you, Tracy, for the all the help. I checked
out the examples you have at www.cflex.net and they are very
helpful. I bookmarked the site and will be using it as a resource
from now on. -
XML Publisher Report not displaying Chart/Graph in Excel Output
Hi All,
We are currently on Oracle EBS 11.5.10.2
I am facing an issue with XML Publisher based report when i try to fetch the output in Excel.
We have created an RTF in which i have embedded a graph. While viewing the output in PDF everything seems to work fine.
however when i try to run the report with output as Excel the Graph is not displayed.
Can you please let me know if i missed anything.
Also it would be very helpful if someone can tell me how to get the output of Excel in .XLSX format.
I have seen in various forums that you need to select the output type as Excel 2007, but i am not getting any such option while submitting the report.
I am on EBS version 11.5.10.2 do we need to install any patch to get the output option.
Regards,
SandeepHi,
Check this links that might help you..
https://forums.oracle.com/thread/1018488
http://docs.oracle.com/cd/E10091_01/doc/bip.1013/e05000/toc.htm
Here the Exact solution from Oracle
In the XML PUBLISHER ADMINISTRATOR Resp..
Click the administration..
then Click HTML Output
Then in the Base Image URI Give the url of your application for example
http://Test.Test.com:8000/OA_MEDIA/
And then
Image File Directory give this as per your application setup
/u01/app/oracle/apps/apps_st/comn/java/classes/oracle/apps/media/
Thanks & Regards
Srikkanth.M
Maybe you are looking for
-
How do I setup multiple users on 1 icloud
I am trying to figure out what the best setup is for the following: Myself: Ipad, Iphone 4s & ipod, apple tv Wife: iphone, ipod I am trying to have all our photos, music, etc be available on the cloud so that we have access to each others music and p
-
Wifi on A1427 is no longer working after 7.2 update.
I have model A1427 Apple TV. Once I updated to 7.2 the wifi no longer works. It will not search and find any networks. If I use the Ethernet cable it works fine. Any suggestions? Solutions? I have restored and restarted the device multiple times.
-
my starts siri by it self and when i desable siri so voice control starts talking even i didn't touch my fone its operating by its self in the middle of talking on fone or not using it. sometimes the home key is not working at all. it stuck and i hav
-
Slideshows (pics) in iDVD, can i put them to fit the screen
when im doing a video project in iDVD, if id like to do a slideshow, is it possible for the photos to fit to the screen and do the same effects (dissolve, page flip) as iPhoto?.. Im mostly concered for the pictures to fit the screen (when im going to
-
Single Oracle Database repository to support SOA and OIM is it possible
Hi, I'd like to install and configure SOA and OIM and would like to know if I can use one database as the repository to support SOA Suite install and OIM install ? In a development environment is it safe to install SOA Suite 11g and OIM 11g on the sa