Spry Data Set not display in chrome
I create a new spry Xml data set using adobe sample. I using Spry 1.6.1, Chrome 7.0.517.41 on windows 7. I test this in mozilla and firefox works fine, but chrome doesn't shows the data.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Spry Example</title>
<!--Link the Spry libraries-->
<script type="text/javascript" src="includes/xpath.js"></script>
<script type="text/javascript" src="includes/SpryData.js"></script>
<!--Create a data set object-->
<script type="text/javascript">
var dsSpecials = new Spry.Data.XMLDataSet("_xml/adobe.xml", "specials/menu_item");
dsSpecials.loadData();
</script>
</head>
<body>
<div spry:region="dsSpecials">
<ul><li spry:repeat="dsSpecials">{item}</li></ul></div>
</body>
</html>
I upload the site and check it, It works well...
Similar Messages
-
Spry data set not displaying in IE8
Hi,
I have inserted a spry data set based on an HTML table onto my page. The data displays in live view and in Safari, but when I try to preview in IE8 I get nothing. Here's the page:
http://www.emiliocorsetti.com/publish/maps.html
Any ideas? I didn't modify the CSS one iota.Ben,
Not sure what happened there. I was changing and deleting the spry data set so many times that I must have put the file up after I had deleted it. In any case, I put the correct file up. And a funny thing happened. The page works online but it won't work in browser preview. Any ideas?
Emilio -
Spry data set not displaying data in IE8
Ok probably sounds familiar to some of you - but I cant seem to get it to display the data in IE8 after everyone's suggestions on the Spry forum. When I load the page in FireFox it works, IE8 and Opera it doesn't. I am running CS5 and it looks fine in the preview pane...I have tried changing the name of the class, checked my internet settings for javascript, removing "caption" from the table, does anyone have any other suggestions?
I am having a similiar problem - I have Spry prerelease 1.6.1 and use Adobe Dreamweaver CS4
I have no problems viewing my sprybar on the left in Chrome, Firefox, and some versions of IE (or compatibility mode even)
Here is a link: http://www.livingwithcents.com/sneakpeek - on the left hand navigation (Education, Finance etc) only half of the menu views correctly. It seems to have trouble in IE8.
Here is a screenshot of what isn't viewing correctly:
http://i53.tinypic.com/jjn4lj.png
Thank you! -
Spry Data Set: not all members displaying
I have a simple data set showing membership in a group. About 100 members with 5 columns of information. When I preview the results only about 30 members are showing up & they are in the middle of the alphabet. I have not had problems updating the lsit in the past but now I am.
Unfortunately I cannot show an example because the information is password protected for members only.
Here is the code:
<script src="../SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var HSP = new Spry.Data.HTMLDataSet(null, "HSP");
//-->
</script>
<div spry:region="HSP">
<table width="100%" class="Directory">
<tr class="Directory">
<th spry:sort="First_Name">First_Name</th>
<th spry:sort="Last_Name">Last_Name</th>
<th spry:sort="Company">Company</th>
<th spry:sort="Phone">Phone</th>
<th spry:sort="E-MAIL">E-MAIL</th>
<th spry:sort="WebPage">WebPage</th>
</tr>
<tr class="Directory" spry:repeat="HSP" spry:odd="DirectoryOddRow" spry:even="DirectoryEvenRow" spry:hover="DirectoryHover" spry:select="Directory">
<td class="Directory">{First_Name}</td>
<td class="Directory">{Last_Name}</td>
<td class="Directory">{Company}</td>
<td class="Directory">{Phone}</td>
<td class="Directory"><a href="mailto:{E-MAIL}" >{E-MAIL}</a></td>
<td class="Directory"><a href="http://{WebPage}" target="_blank" >{WebPage}</a></td>
</tr>
</table>
</div>Arnout,
The table structure got messed up when I exported the CSV from the spreadsheet.
A few rows had an extra cell on the end I couldn't see. Thank you. -
Spry Data does not display in browser window.
Using CS4 I followed "Building a photo album with the Spry framework" by Don Booth.
I can run gallery.html in Dreamweaver CS4 “Live View” and it works, but does not work in a browser. Does not work in “Preview in browser” from Dreamweaver nor IE8 nor Firefox. The file structure online is same as in working site.
I briefly see the design screen then just an empty browser window with no images.
I'm trying to run this from another index.html but can't get it to work even running gallery.html.
I appreciate any help you can offer. Please see attached for online files and screen prints.
www.EricaEschmann.com
From the menu click on the last item, which is a “.” period. It is not labeled but is a “.”.
Thank you,
CherylIf I try to look at your XML file directly, I get an error.
http://www.ericaeschmann.com/photos.xml
That is likely the cause. Fix that closing tag issue and check it... -
I'm having trouble getting the Spry data set to display in my
local testing environment. Can someone glance at my code and give
me some tips? I have the XML file in the same folder as the HTML
page.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:spry="
http://ns.adobe.com/spry/">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
<title>Croxton Gray Commercial Properties, Greenville,
SC - Search Company Listings</title>
<link href="../css/master.css" rel="stylesheet"
type="text/css" />
<script type="text/javascript"
src="../includes/xpath.js"></script>
<script type="text/javascript"
src="../includes/SpryData.js"></script>
<script type="text/javascript">
var dsListings = Spry.Data.XMLDataSet("listings.xml",
"listings/property");
</script>
</head>
<body id="listings">
<div id="wrapper">
<div class="padding10">
<?php include('../php/header.php'); ?>
<p class="date"><?php
echo date('l, F jS, Y');
?></p>
<div id="contentWrapper">
<div id="contentInner">
<div id="contentColumn" spry:region="dsListings">
<table width="100%" border="0" cellspacing="0">
<tr>
<th>Property</th>
<th>Price</th>
<th>Availability</th>
</tr>
<tr spry:repeat="dsListings"
onclick="ds.Listings.setCurrentRow('{ds_RowID}')">
<td>{name}</td>
<td>{price}</td>
<td>{availability}</td>
</tr>
</table>
</div><!-- Closes content column -->
<div id="rightColumn" spry:detailregion="dsListings">
<h2>{name}</h2>
<p>{description}</p>
<p align="center"><img
src="assets/{img}"/></p>
<p><strong>Call</strong>: {contact}
</p>
</div><!-- Closes right column -->
</div><!-- Closes content inner -->
</div><!-- Closes content wrapper -->
Here's the sample XML file I'm testing with. Again, it's
located in the same folder as the HTML page.
<?xml version="1.0" encoding="ISO-8859-1"?>
<listings>
<property>
<name>100 South Main</name>
<price>$100,000</price>
<availability>for sale</availability>
<image>asset_images/sunset.jpg</image>
<description>This is a short description of the
property.</description>
</property>
<property>
<name>100 South Main</name>
<price>$100,000</price>
<availability>for sale</availability>
<image>asset_images/sunset.jpg</image>
<description>This is a short description of the
property.</description>
</property>
<property>
<name>100 South Main</name>
<price>$100,000</price>
<availability>for sale</availability>
<image>asset_images/sunset.jpg</image>
<description>This is a short description of the
property.</description>
</property>
<property>
<name>100 South Main</name>
<price>$100,000</price>
<availability>for sale</availability>
<image>asset_images/sunset.jpg</image>
<description>This is a short description of the
property.</description>
</property>
</listings>
Thanks to whomever takes the time. I really appreciate the
extra set of eyes and any tips!With those 2 changes I mentioned above ... and the fact that
I had to fix the markup because there were missing end tags, which
I was assuming was just a copy paste problem ... it all worked fine
for me. Of course I made sure the includes I used were in the
correct place.
After re-reading your original message above, you never
really mentioned what you are seeing in the browser. Are there any
errors being thrown? Are you seeing data references instead of
values? If you are in need of help, we could diagnose things much
faster if you had an URL we could take a peek at.
Also what platform and browser are you using?
Did you try loading the XML file directly in to your browser
like ZeusChicago suggested? That would instantly tell you if your
server was serving your XML up with the correct content-type or
not.
--== Kin ==-- -
Spry Data Sets and IE7 and IE8
Whiile in IE 7 or IE 8, my spry data set is not displaying
the data. However, using the Firefox browser, you can see the data
within the spry data set. For some reason unbeknownst to me, IE 7
and IE 8 in not allowing the spry data set to display the necessary
data. Is there a fix to this issue? Can changing or modifying the
HTML code help make the connection between the spry data set and
its data in IE 7 and IE 8? Any assistance would be helpful. Thank
you.
To view my site where the problem is at, go to
http://www.hrconsortium.net/hrworkshops.htmIt gags in IE because you are saying that the Course_Date
column is a date, but you have an "Open" word in the date column
instead of a date. You can work around the problem by creating a
custom column that replaces the "Open" keyword with a date in the
past or the future, depending on where you want it to land when
sorting (top or bottom). Then, leave your Course_Date column as a
"string" column type, and set the new custom column to the date
column type. Try something like this:
<script type="text/javascript">
<!--
function CustomDateFilter(ds,row,rowIndex)
if (row.Course_Date.search("Open") != -1)
row.Course_Date2 = "01/01/2000";
else
row.Course_Date2 = row.Course_Date;
return row;
var dshrworkshops = new
Spry.Data.HTMLDataSet("hrworkshop_table.htm", "hrworkshoptable",
{sortOnLoad: "Course_Date", sortOrderOnLoad: "ascending",
filterDataFunc: CustomDateFilter});
dshrworkshops.setColumnType("Course_Date2", "date");
//-->
</script>
--== Kin ==-- -
Spry Data Set will not Refresh with New Data?
I'm using the Dreamweaver CS4 "Spry Data Set" Wizard and created the following layout on one of my pages:
In the wizard, under "Specify a Data Source", I chose "HTML", and selected my cfm page that has a simple Table with the datasource below:
<cfparam name="URL.id_com" default="1">
<cfquery name="rsTickets" datasource="Ctickets">
SELECT ticketNum, ticketType, ticketDate, acctNum, firstName, lastName, businessName, city, status, owner, ticketDetails
FROM tickets
WHERE acctNum = <cfqueryparam value="#URL.id_com#" cfsqltype="cf_sql_numeric">
</cfquery>
When I display the page in IE8, The Spry Master/Detail page will not filter my records based on the URL parameter?
(Note: All my other "Non-Spry" datasets filter fine by the URL)
Question: How do I make the Spry data "Refresh" or "Re-run the query" so the data filters properly?
Thanks,
jligBen, Thanks for the reply..
Here is my Source Data page which I created & selected in the Spry Data Wizard: http://cerberus.clearwave.com/jerry/Spry2.jpg
(this page takes my query, filtered by the URL Acct field and makes a simple table to feed the Spry Wizard)
- In the Spry Data Wizard, I selected the file and it properly found the table data: http://cerberus.clearwave.com/jerry/Spry3.jpg
- Then I clicked Next and changed a few of the field types: http://cerberus.clearwave.com/jerry/Spry4.jpg
- Next I chose Master-Detail and used the Acct field to be the Master : http://cerberus.clearwave.com/jerry/Spry5.jpg
- Lastly, I open up the webpage, click on the Tickets Spry Tab: http://cerberus.clearwave.com/jerry/Spry6.jpg
As you can see in the picture on this page: http://cerberus.clearwave.com/jerry/Spry6.jpg, the URL parameter is = 3902 which is the Acct number
being passed from the previous page in my application. (Ex..http://192.168.1.77/COE/salespipeline_mi.cfm?id_com=3902)
The first one is correct, but once I move to a different Acct number the Spry data will not update to reflect the correct Tickets?
Once I move to say, Acct 4413, the Spry Tickets Tab does not change or update to reflect this Acct's tickets?
(see link--> http://cerberus.clearwave.com/jerry/Spry7.jpg)
Here is my code listing for the Tabbed Webpage: http://cerberus.clearwave.com/jerry/Spry8.txt (see images 6 & 7)
It seems like I'm missing some kind of "Trigger" or "Requery" or "Refresh" that "Re-runs" the Source Data page (http://cerberus.clearwave.com/jerry/Spry2.jpg)..?
Thanks again,
jlig -
Spry Data Set visible in Live View, but not on Site.
Hi,
I've used the spry data set widget to create a dynamic table. Everything looks fine in the live view. On the site itself, however, I see only a brief flash of the unpopulated spry table, and then nothing. All necessary files, including those in the SpryAssets folder, have been uploaded.
This is particularly frustating since my first crack at a spry data set worked with ease.
I have the feeling that I missing something simple. Any ideas?
Here is the table:
http://www.ldcsb.on.ca/ntip/teachphotos/profiletable.html
Here is the spry data set:
http://www.ldcsb.on.ca/ntip/teachphotos/profiles.html
Thanks for looking,
JimJim, Your page comes up fine in Firefox, but as you said it flashes and disappears in IE8.
I notice some differences in the ids and Spry:sort values. You might sort those out (make them the same) and see what happens.
This is in the profiletable:
<td id="Image">Image</td>
<td id="First">First </td>
<td wid="Last">Last </td> lose the w
<td id="Sschool">School</td> lose the extra s
<td id="Grade">Grade </td>
<td id="Subject1">Subject1</td>
<td id="Subject2">Subject2</td>
<td w id="Description">Description</td> lose the w and the extra space
And this in the Spry region:
<th spry:sort="Image">Image</th>
<th spry:sort="First">First</th>
<th spry:sort="Last">Last</th>
<th spry:sort="School">School</th>
<th spry:sort="Grade">Grade</th>
<th spry:sort="Subject1">Subject1</th>
<th spry:sort="Subject2">Subject2</th>
<th spry:sort="Description">Description</th>
It's possible that IE is pickier than Firefox that the names be the same.
Other than that, look for things to clean up, like tightening up the table...I notice several places in the data where there are blank lines between the </tr> of one line and the <tr> of the next. Make sure every entry in the table has a cell for every column.
You're right; it is an easy Widget to work with...unless some tiny thing goes wrong and it doesn't work! I have had a data set that had some of those tiny anomalies, fixed them, and now I know to look for them.
Beth -
Using alternate rows with Spry Data Set
Can anyone provide more information on how to implement alternate row colors with a Spry Data Set? What I have done is:
Create spry data set using HTML page as the data set
The html page that displays the data set is: <div spry:region="equipment">
In the default.css page that is linked, I added the info in note #1 below
When the page displays, no colors appear. Tried changing the colors and still no luck. Is there another step to do?
Note #1:
within the default.css, the following are declared:
#equipment odd {
background-color: #CCC;
#equipment even {
background-color: “#F2F2F2;
Note #2:
Here is a link to see the actual pages referenced above.
Any ideas? Getting frustrated!! Thanks in advance for any advice.You are going to kick yourself, but, you haven't assigned any page element the ID #equipment. The region is called that but the table or the DIV does not have an idea and your selector matches nothing...
-
Need a little help with Slimbox (Lightbox clone) and Spry data sets
Hello guys!
First of all let me say that I'm not a programmer in any way,
shape or form, and somehow I managed to build me a dynamic
thumbnail gallery that reads data from an XML file and displays it
on my webpage using a Spry data set and a slider widget (yay!)
This is of course only thanks to the many great examples
provided by the Adobe Spry team, and me being stubborn enough to
keep at it, even though I don't really understand what I'm doing :D
But I got to this point where I have basically everything
working, except that I can't get the Slimbox (Lightbox clone)
script to work with the Spry-generated thumbnail gallery.
From what I could understand from other threads on this
forum, is that I need to add an observer somewhere, only that I'm
not sure where and how (those threads are pretty old and the
examples aren't available anymore).
I'm sure you guys know what I'm talking about, anyway, here's
what I got so far:
http://www.riotdesign.com.ar/misc/gallery/test1.html
I have the thumbnail gallery populated from the external XML
file, a basic page navigation using the Sliding Panels widget, and
the Slimbox script which works only on the static test image.
Okay I guess that's it for now, sorry for the long post and
of course any help with this will be GREATLY appreciated :)
Thanks & bye!Kev,
Where exactly does the .evalScripts = true; text need to go?
Does it go in the href call?
<a href="ManageNotes.asp" title="Manage Notes" onClick="this.blur();
Modalbox.show(this.href, {title: 'Manage Notes', width: 575}); return false;">View your notes.</a>
Thanks for any assistance.
J Bishop -
Spry Data Sets and CFCs?
So, I've got the Spry Data Set working reading an XML file:
http://brad.melendy.com/projects/ajax/spry/test1.cfm
Which seems to work, the ID column sorts on click, all is
well. The actual
file it is reading is located here:
http://brad.melendy.com/projects/webservice/employee.xml
Then, I have it set to read the same data from my CFC in this
version here:
http://brad.melendy.com/projects/ajax/spry/test2.cfm
This isn't working? But I can see the data when I open the
CFC directly in
my browser like this:
http://brad.melendy.com/projects/flex/DataTest4/employees.cfc?method=FindAll
So finally, here is my code on test2.cfm that isn't working?
<!--- START CODE --->
<script src="../../../SpryAssets/xpath.js"
type="text/javascript"></script>
<script src="../../../SpryAssets/SpryData.js"
type="text/javascript"></script>
<script type="text/javascript">
<!--
var ds1 = new
Spry.Data.XMLDataSet("
http://brad.melendy.com/projects/flex/DataTest4/employees.cfc?method=FindAll",
"response/data/row",{sortOnLoad:"id",sortOrderOnLoad:"ascending",distinctOnLoad:true});
//-->
</script>
</head>
<body>
<div spry:region="ds1">
<table>
<tr>
<th spry:sort="id">Id</th>
<th>FirstName</th>
<th>LastName</th>
<th>OfficePhone</th>
</tr>
<tr spry:repeat="ds1" spry:setrow="ds1">
<td>{id}</td>
<td>{firstName}</td>
<td>{lastName}</td>
<td>{officePhone}</td>
</tr>
</table>
<!--- END CODE --->
The two files test1.cfm and test2.cfm are the same except for
the source of
the XMLDataSet which is the static XML document in test1.cfm
and the full
URL to the CFC in test2.cfm.
Thanks for any tips, this is exactly how it is suppose to
work according to
the livedocs but it isn't.
...BradI figured this out, my problem was that although IE was
displaying identical
XML documents from my CFC and employee.xml, the output
produced by the CFC
was not a true xml document. I'm not sure exactly what was
making it fail
to be seen as an xml document, but after updating the code to
use <cfxml>
the document was created properly and then Spry could see the
data and
display it.
"Brad Melendy" <[email protected]> wrote in
message
news:[email protected]...
> So, I've got the Spry Data Set working reading an XML
file:
>
>
http://brad.melendy.com/projects/ajax/spry/test1.cfm
>
> Which seems to work, the ID column sorts on click, all
is well. The
> actual file it is reading is located here:
>
>
http://brad.melendy.com/projects/webservice/employee.xml
>
> Then, I have it set to read the same data from my CFC in
this version
> here:
>
>
http://brad.melendy.com/projects/ajax/spry/test2.cfm
>
> This isn't working? But I can see the data when I open
the CFC directly
> in my browser like this:
>
>
http://brad.melendy.com/projects/flex/DataTest4/employees.cfc?method=FindAll
>
> So finally, here is my code on test2.cfm that isn't
working?
>
> <!--- START CODE --->
> <script src="../../../SpryAssets/xpath.js"
> type="text/javascript"></script>
> <script src="../../../SpryAssets/SpryData.js"
> type="text/javascript"></script>
> <script type="text/javascript">
> <!--
> var ds1 = new
> Spry.Data.XMLDataSet("
http://brad.melendy.com/projects/flex/DataTest4/employees.cfc?method=FindAll",
>
"response/data/row",{sortOnLoad:"id",sortOrderOnLoad:"ascending",distinctOnLoad:true});
> //-->
> </script>
> </head>
>
> <body>
> <div spry:region="ds1">
> <table>
> <tr>
> <th spry:sort="id">Id</th>
> <th>FirstName</th>
> <th>LastName</th>
> <th>OfficePhone</th>
> </tr>
> <tr spry:repeat="ds1" spry:setrow="ds1">
> <td>{id}</td>
> <td>{firstName}</td>
> <td>{lastName}</td>
> <td>{officePhone}</td>
> </tr>
> </table>
> <!--- END CODE --->
>
> The two files test1.cfm and test2.cfm are the same
except for the source
> of the XMLDataSet which is the static XML document in
test1.cfm and the
> full URL to the CFC in test2.cfm.
>
> Thanks for any tips, this is exactly how it is suppose
to work according
> to the livedocs but it isn't.
>
> ...Brad
>
> -
Hi everybody,
I included a Spry Data Set in my already existing HTML-File and got the problem that the Browser doesn't display it.Is there something I forgot to do after including the data set?
I hope somebody can help me out here.
Here's the link: http://media-powerplant.de/media-powerplant-webdesign-beispiele.html
And here's the Code of the HTML site:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Modernes Webdesign für Ihre erfogreiche Internetpräsenz" />
<meta name="keywords" content="Webdesign, Webspace ,Webhosting, Web-Design , Web, Domainregistrierung, Internetdesign, Internet, Provider, HTML, Web-Space, Design, Webdesign München, Grafikdesign, kreative, innovative, Homepage, Suchmaschinenoptimierung, Matthias Damoser, Michael Peh, Michi Peh, media powerplant, media-powerplant, München" />
<title>media powerplant *** Webdesign / Webspace & Hosting / Suchmaschinenoptimierung ***</title>
<meta name="author" content="[email protected]">
<meta name="copyright" content="Webdesign: Matthias Damoser / media powerplant">
<meta name="Content-Language" content="de">
<meta name="robots" content="INDEX,FOLLOW">
<meta name="revisit-after" content="7 days">
<link rel="SHORTCUT ICON" href="http://www.media-powerplant.de/favicon.ico">
<link href="mppLayout.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<style type="text/css">@import url(ie.css);</style>
<![endif]-->
<script src="SpryAssets/xpath.js" type="text/javascript"></script>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var dskategorien = new Spry.Data.XMLDataSet("webkategorien.xml", "produkte/kategorie");
function MM_effectAppearFade(targetElement, duration, from, to, toggle)
Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
var dsWebBeispiele = new Spry.Data.XMLDataSet("webexamples.xml", "websites/beispiel");
dsWebBeispiele.setColumnType("linkScreenshot", "html");
dsWebBeispiele.setColumnType("linkWebsite", "html");
dsWebBeispiele.setColumnType("screenshot", "html");
dsWebBeispiele.setColumnType("validHTML", "html");
dsWebBeispiele.setColumnType("validCSS", "html");
//-->
</script>
</head>
<body>
<div id="hauptfenster">
<div id="content">
<div id="mitte">
<div id="header">
<h1>media powerplant - Ihr Partner für Webdesign, Musikproduktion und Videoproduktion</h1>
</div>
<div id="mainnavi">
<div class="menuHome" onClick="MM_goToURL('parent','media-powerplant-home.html');return document.MM_returnValue" document.MM_returnValue></div>
<div class="menuMusik" onclick=MM_goToURL('parent','media-powerplant-musikproduktion.html');return document.MM_returnValue></div>
<div class="menuVideo" onclick="MM_goToURL('parent','media-powerplant-videoproduktion.html');return document.MM_returnValue"></div>
<div class="menuWeb" onclick=MM_goToURL('parent','media-powerplant-webdesign.html') document.MM_returnValue></div>
<div class="menuReferenzen" onclick="MM_goToURL('parent','media-powerplant-referenzen.html');return document.MM_returnValue"></div>
<div class="menuAbout" onclick=MM_goToURL('parent','media-powerplant-about.html') document.MM_returnValue></div>
<div class="menuKontakt" onclick="MM_goToURL('parent','media-powerplant-kontakt.html');return document.MM_returnValue"></div>
<div class="menuImpressum" onclick="MM_goToURL('parent','media-powerplant-impressum.html');return document.MM_returnValue"></div>
</div>
<div id="inhalt">
<h2><span class="mpp">media powerplant</span> <span class="bereich">Webdesign</span></h2>
<h2 class="unterüberschrift">Modernes Webdesign – standardkonform und flexibel.</h2>
<div id="haupthintergrundkalkulator">
<div id="fließtext">
<p>Modernes Webdesign umfasst nicht nur die Gestaltung, eine gute Struktur und eine benutzerfreundliche Navigation durch die Webseiten, sondern auch die ideale Umsetzung der Suchmaschinen-Optimierung und des barrierefreien Internets. Wir sorgen mit Seiten, die korrekt in XML oder HTML umgesetzt sind, für eine schicke Darstellung der Inhalte und fördern in gleicher Weise das gute Ranking bei Google und Co.</p>
</div>
<div id="webmain">
<div id="untermenu">
<div class="untermenuWeb" onclick=MM_goToURL('parent','media-powerplant-webdesign.html');return document.MM_returnValue document.MM_returnValue></div>
<div class="untermenuBeispiele" onclick=MM_goToURL('parent','media-powerplant-webdesign-beispiele.html');return document.MM_returnValue document.MM_returnValue></div>
<div class="untermenuKosten" onclick=MM_goToURL('parent','media-powerplant-webdesign-preiskalkulator.html');return document.MM_returnValue document.MM_returnValue></div>
</div>
<div id="Detailbereich">
<div id="beispieltext">
<h2>So könnte Ihre künftige Website aussehen</h2>
<p class="beschreibungtext">{dsWebBeispiele::nr}<br />{dsWebBeispiele::beschreibung}<br />
{dsWebBeispiele::linkScreenshot} {dsWebBeispiele::linkWebsite}</p>
<p class="hpimage">{dsWebBeispiele::screenshot}</p>
<p class="valide">{dsWebBeispiele::validText}</p>
<p class="w3c">{dsWebBeispiele::validHTML}</p>
<p class="w3c">{dsWebBeispiele::validCSS}</p>
</div>
<div class="copyrighthosting">Copyright © 2009 media powerplant | Alle Rechte vorbehalten | <a href="media-powerplant-impressum.html">Impressum</a> | <a href="media-powerplant-kontakt.html">Kontakt</a> | </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>Hi,
You do not have a Spry region enveloping your data details.
Try the following code
<div spry:region="dsWebBeispiele">
<div spry:repeat="dsWebBeispiele" spry:setrow="dsWebBeispiele" spry:hover="hover" spry:select="selected">
<p class="beschreibungtext">{nr}<br />{beschreibung}<br />
{linkScreenshot} {linkWebsite}</p>
<p class="hpimage">{screenshot}</p>
</div>
</div>
<div spry:detailregion="dsWebBeispiele">
<p class="valide">{validText}</p>
<p class="w3c">{validHTML}</p>
<p class="w3c">{validCSS}</p>
</div>
I hope this helps.
Ben -
How do you set up Paged View with Spry Data Sets
Hope someone can help. I have constructed a Spry data set using a html table and want to use the paged view javascript to limit the amount of rows displayed on one page at a time to 10 then forcing a new page. Have found the java script file in the spry 1.6 download and attached it to the spry assets folder and have followed the instructions found at the Adobe development center http://labs.adobe.com/technologies/spry/articles/pager/index.html with no luck. Have attached files to show what I have done. If someone could look at this and point out my error or suggest a better way I would be grateful. I am not a code warrior so simple instructions would be so helpful. Many thanks in advance.
Here is the code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
<script src="SpryAssets/SpryPagedView .js"></script>
<link href="SpryAssets/SpryMasterDetail.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
<!--
var ds1 = new Spry.Data.HTMLDataSet("table.html", "ds1", {sortOnLoad: "Name", sortOrderOnLoad: "ascending"});
ds1.setColumnType("Phone", "number");
var pv1 = new Spry.Data.PagedView( ds1 ,{pageSize: 10});
//-->
</script>
</head>
<body>
<input type="button" value="First" onclick="pv1.firstPage();" />
<input type="button" value="Prev" onclick="pv1.previousPage();" />
<input type="button" value="Next" onclick="pv1.nextPage();" />
<input type="button" value="Last" onclick="pv1.lastPage();" /
<div class="MasterDetail">
<div spry:region="ds1" class="MasterContainer">
<div class="MasterColumn" spry:repeat="ds1" spry:setrow="ds1" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">{Name}</div>
</div>
<div spry:detailregion="ds1" class="DetailContainer">
<div class="DetailColumn">{Name}</div>
<div class="DetailColumn">{Product}</div>
<div class="DetailColumn">{Contact}</div>
<div class="DetailColumn">{Phone}</div>
</div>
<br style="clear:both" />
</div>
<input type="button" value="First" onclick="pv1.firstPage();" />
<input type="button" value="Prev" onclick="pv1.previousPage();" />
<input type="button" value="Next" onclick="pv1.nextPage();" />
<input type="button" value="Last" onclick="pv1.lastPage();" /
</body>
</html>Your region needs to refer to the pageview, not the dataset. Your paged view var is already looking at/pulling in the ds.
I would change the following code:
<div spry:detailregion="ds1" class="DetailContainer">
<div class="DetailColumn">{Name}</div>
<div class="DetailColumn">{Product}</div>
<div class="DetailColumn">{Contact}</div>
<div class="DetailColumn">{Phone}</div>
</div>
to read the following:
<div spry:region="pv1">
<table>
<tr spry:repeat="pv1">
<td>{Name}</td>
<td>{Product}</td>
<td>{Contact}</td>
<td>{Phone}</td>
</tr>
</table>
Regards,
Michael -
Numeric data is not displayed in BI Publisher 11g report
Hi,
I'm using Oracle BI 11g (11.1.1.6.0).
I'm experiencing a serious issue with numeric data in reports created with Publisher.
When I define the query in the data model, numeric data gets declared as "integer" (even if it should be "double"). Anyway, when creating the layout all data is correctly shown.
The issue emerges when I run the report in interactive mode: numeric data is not displayed at all.
If I run it in HTML mode or other, I get proper results.
I tried to explicitly CAST numeric data in the query to number(21, 6) but I get no different result.
Any help or suggestion is warmly welcome.
Thanks,
CristinaYes, assuming that you are using the Standalone version, following are some excerpt from user guide.
10g see Oracle® Business Intelligence Publisher
Report Designer's Guide
Release 10.1.3.4
Part No. E12187-01
Chapter 6 Building a Data Template
Supported Column Types
CLOB (conditionally supported)
The CLOB must contain text or XML. Data cannot be escaped inside the CLOB column.
And for 11g see
Oracle® Fusion Middleware
Data Modeling Guide for Oracle Business Intelligence Publisher
Release 11g (11.1.1)
Part No. E18862-01
Chapter 3 Creating Data Sets
Using Data Stored as a Character Large Object (CLOB) in a Data Model
BI Publisher supports using data stored as a character large object (CLOB) data type in
your data models. This feature enables you to use XML data generated by a separate
process and stored in your database as input to a BI Publisher data model.
Use the Query Builder to retrieve the column in your SQL query, then use the data
model editor to specify how you want the data structured. When the data model is
executed, the data engine can structure the data either as:
• a plain character set within an XML tag name that can be displayed in a report (for
example, an Item Description)
• structured XML
Cheers,
ND
Maybe you are looking for
-
Data acquisition problem with NI-DAQmx 9205 and SignalExpress
Hi everyone, I am using a NI-DAQmx 9205 connected via ethernet to my computer and Labview SignalExpress running to acquire data. I am working with EMG and I use an amplifier system from GrassTechnologies (http://www.grasstechnologies.com/products/amp
-
How do I use fsg:ColHeadLine1 in a template?
I have created an FSG report and need to publish it with BI Publisher. The report should have columns with month names across the top, but the data may be "Actual" or "Budget". The data is contained in fields called <fsg:ColHeadLine1>, <fsg:ColHeadLi
-
How do you import quick time movies?
I downloaded a clip from a stock video company, and it does not want to import into Final Cut Pro.
-
Code source works fine from console application but not from SharePoint interface
Hi; Please can you help me to understand why my code below works fine from console application (VS 2010) and not working from interface of my SharePoint collection site : From console application : the subsite is created and I can to open without any
-
Delimiting IT0009 for Termination action
Hi All, I have a requirement to delimit the bank details IT0009 30days after termination of the employee. Can any one suggest me regarding. Thanks, Sang