Help with detail view on photo page... no help from previous post!
I posted these questions a few days ago and although people have been looking no one has any suggestions yet...
Is my request too complicated?
Old Toad, Wyodor, Cyclosaurus... would you have any tips?
Many thanks
I am using iweb to create my site and have an album that contains photo pages. I used a web widget / HTML snippet, to jump from my album page straight to 'detail view mode' on my photo page.
I'd like to customize the look of my 'detail view' a little (I'm using the 'White' Theme).
I have removed 'subscribe' and 'download' and do not have a slide show.
How do I:
1. Remove the text 'previous', and 'next' that appear under the image leaving just the arrows?
2. Change the look of those arrows (from 'canvasarrow-right03.png' and 'canvasarrow-left03.png' to 'canvastransport-left-N03.png' and 'canvastransport-right-N03.png')?
3. Remove the arrow that is next to 'Back to album' leaving just text?
4. Change the font and colour of this text ('Back to album') to Aerial Regular 12pt caps, 65% black?
5. The thumbnails have a blue frame to indicate which image is in large view, how do I change the colour to an orange?
6. Remove the buttons in blue and grey, top centre (that change the view from thumbnails and large pic to just large pic)?
I can't change the "Sending Page" because it uses custom "Filtering & Sorting" to drill down to the addresses..
Once the User has "Checked" the records to be mapped, they click the Map button, and it takes them to this Detail page (with the ID's in the URL)
Now that you mention it, the Detail form does have all of the Form fields/wkRptID's (for each of the addresses) on the page.. but how would I iterate thru the form data of each record, and grab the wkRptID's and add them to the WHERE statement..?
Either way, once I have the Query correct, it is then fed to my Google Map to plot the addresses..
Similar Messages
-
Help with Detail Navigation Node Landing Page
Hi, When a user clicks on a Detail Navigation Node I have a landing page that says "Welcome to the <Text> Report Area>. I have a different page for each DTN node so right now I'm maintaining quite a few landing pages.
I'd like to have 1 dynamic page that says welcome to "Node Text". Where the Node Text is the text of the detail navigation node they selected.
Does anyone know if this is possible to pull off?
Thanks, Ken MurrayBelow is what your HTML should look like.
<div id='welcomemessage'></div>
<scripta>
document.getElementById('welcomemessage') innerhtml = 'Welcome to' + EPCM.getSAPTop().document.title;
</scripta>
Replace the scripta with script above, since if I put the script out there this forum throws some exception.
Also add a . and remove the space before innerhtml because even doing so the forum is throwing error. SAP needs to get there act together at least on forum and not blindly filter certain characters. -
Hi I'm running Addressbook and cannot clear previous entry easily when searching my data base of around 5,000 contacts.
I prefer to view in All contacts on a double page spread with details on the right page. Searching doesn't seem to work correctly in this view.
It's always the second search that is problematic.
I've tried typing over and all it seems to do is confine the search to the the entries that have come up for the previous search.
I've tried to use the x to clear the previous entry and then type the next search, same problem. The only way seems to be to move from "All Contacts" to "Groups". Then the searched name appears and I can return to All Contacts to see full details.
Surely three key press' are not the way it's supposed to work?
FYI
Processor 2.7 GHz Intel Core i7
Memory 8 GB 1333 MHz DDR3
Graphics Intel HD Graphics 3000 512 MB
Software Mac OS X Lion 10.7.3 (11D50d)
Address book Version 6.1 (1083)
MacBook Pro, Mac OS X (10.7.1), 8Mb RAM 2.7Ghz i7AddressBook experts are here:
https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion#/?tagSet=1386 -
how do i transfer my itunes account (with all my music, photos and ipad apps) from a macbook pro to a new macbook air?
thanks but exactly how do I do this. I tried setting the new macair up using migration assistant but for some reason not everything has come through. I bought a thunderbolt cable to improve the transfer rate.
Now my question is how do I transfer the iTunes folder. I have authorised the new macair for iTunes and am within the 5 computer limit. -
Can anyone help give me detailed info re: how to transfer files from PC to ipad using my icloud and Pages? Thanks.
If you go to iCloud.com you can actually just upload all your documents there qnd convert them to a pages file. You can then go to your iPad and go to your pages app and have access to all the documents that you've recently uploaded on to iCloud.com. You just need to make sure that on your iPad in settings->iCloud->documents and data is turned on. If it is then anything you do on the iCloud or iPad will all sync and you can access both items from either platform.
If you have any other questions feel free to ask. You can also visit an apple store where they have free classes on iCloud and other topics.
Hope this helps. -
HELP! Cant view my photos on publish site...
Having created my website in iweb, I have added a photo gallery, once the site is 'published' no one can view the photos on the big wide web, have deleted page and re-designed, re-added, but no joy, can anyone help and advise? I'm at a complete blank and really dont know what to do, please help!
Thanks in advanceGlad someone can see the pics, I can see it on my Mac but hubby, family and friends are still on PC and cant see gallery at all, they get the an error that says 'undefined' is null or not an object line 46Char
Really cant understand whats going on, should I try a different version of displaying my pictures?? Am open to suggestions! -
Help with Flash code in web page
I have a Flash file in the masthead of my web site that shows
a slideshow. I want to code the page so that if the viewer doesn't
have Flashplayer, an alternative jpeg comes up in the masthead
instead of the file with the flash slideshow. I'm afraid I'm new to
most of this.... I'd very much appreciate help with the
programming.
Thank you!
Here's the file:
http://www.ewgaphilly.com/cs3index.html
(the slide show isn't working at the moment -- a server issue). The
alternate file I want to put in is:
http://www.ewgaphilly.com/alternate_mast.jpgI'm sorry to be so dull on this, but I'd appreciate if you
could tell me specifically which is the embed code (the codes in
the <head>? What to I change here? I really appreciate your
help.
Here is what I get when I publish the movie and the open the
html file:
<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>main_slideshow_philly</title>
<script language="JavaScript" type="text/javascript">
<!--
// Globals
// Major version of Flash required
var requiredMajorVersion = 7;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 0;
// the version of javascript supported
var jsVersion = 1.0;
// -->
</script>
<script language="VBScript" type="text/vbscript">
<!-- // Visual basic helper required to detect Flash
Player ActiveX control version information
Function VBGetSwfVer(i)
on error resume next
Dim swControl, swVersion
swVersion = 0
set swControl =
CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i))
if (IsObject(swControl)) then
swVersion = swControl.GetVariable("$version")
end if
VBGetSwfVer = swVersion
End Function
// -->
</script>
<script language="JavaScript1.1"
type="text/javascript">
<!-- // Detect Client Browser type
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ?
true : false;
var isWin =
(navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true :
false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ?
true : false;
jsVersion = 1.1;
// JavaScript helper required to detect Flash Player PlugIn
version information
function JSGetSwfVer(i){
// NS/Opera version >= 3 check for Flash plugin in plugin
array
if (navigator.plugins != null &&
navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] ||
navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? "
2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" +
swVer2].description;
descArray = flashDescription.split(" ");
tempArrayMajor = descArray[2].split(".");
versionMajor = tempArrayMajor[0];
versionMinor = tempArrayMajor[1];
if ( descArray[3] != "" ) {
tempArrayMinor = descArray[3].split("r");
} else {
tempArrayMinor = descArray[4].split("r");
versionRevision = tempArrayMinor[1] > 0 ?
tempArrayMinor[1] : 0;
flashVer = versionMajor + "." + versionMinor + "." +
versionRevision;
} else {
flashVer = -1;
// MSN/WebTV 2.6 supports Flash 4
else if
(navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1)
flashVer = 4;
// WebTV 2.5 supports Flash 3
else if
(navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1)
flashVer = 3;
// older WebTV supports Flash 2
else if (navigator.userAgent.toLowerCase().indexOf("webtv")
!= -1) flashVer = 2;
// Can't detect in all other cases
else {
flashVer = -1;
return flashVer;
// If called with no parameters this function returns a
floating point value
// which should be the version of the Flash Player or 0.0
// ex: Flash Player 7r14 returns 7.14
// If called with reqMajorVer, reqMinorVer, reqRevision
returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer,
reqRevision)
reqVer = parseFloat(reqMajorVer + "." + reqRevision);
// loop backwards through the versions until we find the
newest version
for (i=25;i>0;i--) {
if (isIE && isWin && !isOpera) {
versionStr = VBGetSwfVer(i);
} else {
versionStr = JSGetSwfVer(i);
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
tempArray = versionStr.split(" ");
tempString = tempArray[1];
versionArray = tempString .split(",");
} else {
versionArray = versionStr.split(".");
versionMajor = versionArray[0];
versionMinor = versionArray[1];
versionRevision = versionArray[2];
versionString = versionMajor + "." + versionRevision; //
7.0r24 == 7.24
versionNum = parseFloat(versionString);
// is the major.revision >= requested major.revision AND
the minor version >= requested minor
if ( (versionMajor > reqMajorVer) && (versionNum
>= reqVer) ) {
return true;
} else {
return ((versionNum >= reqVer && versionMinor
>= reqMinorVer) ? true : false );
return (reqVer ? false : 0.0);
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion,
requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable
version
var oeTags = '<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="780" height="444"'
+ 'codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="main_slideshow_philly.swf"
/><param name="quality" value="high" /><param
name="bgcolor" value="#ffffff" />'
+ '<embed src="main_slideshow_philly.swf" quality="high"
bgcolor="#ffffff" '
+ 'width="780" height="444" name="main_slideshow_philly"
align="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="
http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object>';
document.write(oeTags); // embed the flash movie
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'alternate.giv';
document.write(alternateContent); // insert non-flash
content
// -->
</script>
<noscript>
// Provide alternate content for browsers that do not
support scripting
// or for those that have scripting disabled.
Alternate HTML content should be placed here. This content
requires the Macromedia Flash Player.
<a href="
http://www.macromedia.com/go/getflash/">Get
Flash</a>
</noscript>
</body>
</html>
Here is my existing code in my home 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">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>EWGA Greater Philadelphia Executive Women's Golf
Association</title>
<style type="text/css">
<!--
@import url("/ewgacss.css");
-->
</style>
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<style type="text/css" media="screen">
<!--
@import url("p7tbm/p7tbm_center_08.css");
-->
</style>
<script type="text/javascript"
src="p7tbm/p7tbmenu.js"></script>
</head>
some other stuff goes in here!!
then...
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','780','height','444','title','EWGA
Greater
Philadelphia','src','/main_slideshow_philly','quality','high','pluginspage','
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','/main_slideshow_philly'
); //end AC code
</script>
<noscript>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
width="780" height="444" title="EWGA Greater Philadelphia">
<param name="movie" value="/main_slideshow_philly.swf"
/>
<param name="quality" value="high" />
<embed src="/main_slideshow_philly.swf" quality="high"
pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="780"
height="444"></embed>
</object>
</noscript> -
Help with Live View - Links Not Working
Hello,
I am having a problem with Live View. It had been working just fine, until recently. Now, when I load a site stored locally, the page looks normal and links highlight when I cursor over them, but when I click them no navigation takes place. I just remain on the index page. The site does test fine in IE8, Chrome, Firefox and used to test fine in Live View. The same happens with all my sites. No changes have been made to my system. Maybe I changed a setting unknowingly? Is there some type of setting that I am missing perhaps? Any help would be appreciated.
JasonDid you close and restart DW to see if that helps?
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Post Author: Lee XI
CA Forum: General
Hello all. I'm currently using CR XI (not server) and downloaded the Viewer yesterday to test on a spare pc. Reason for this is I want others to be able to view and set parameters I designed in the report(s). However, when you open the Viewer, no parameters that I set up are showing. (IE: date, State, Customer, etc) When I am in CR XI and I hit refresh it brings up all the parameters that should be available to the end users to adjust the report manually.The reason I'm trying to go this route is that our company is small and running CR server is out of the budget. Should the viewer allow for prompted params for those using the CR Viewer or not? I do not want to waste time with this if the Viewer cannot or will not allow end users to select a date range or state, or other params I want them to? I do not want to purchase another CR XI version because I do not want these users to have design access to the reports. I simply want them to be able to select certain params that I have set up for them. Thanks in advance! LeePost Author: DRCL
CA Forum: General
I have discovered another issue with the viewer also.
If a report is designed/saved in LANDSCAPE mode, but the recipient opens in the viewer and the printer default is PORTRAIT, then it automatically prints in Portrait. It scales to fit to the page.
If the user overrides the default and changes it to LANDSCAPE, it still prints in Portrait.
Any ideas on this or the linked OLE issues would be much appreciated. -
Need Help with Crystal viewer and ActiveX
Hi !!
I have a problem that i cant seem to be able to solve. I had alot of help from the forum but i think i got everything mixtup now...
From my addon i can print with CrystalReport Viewer or i cant print a Crystal report directly to my default printer, so thats good and working well. The problem is with Crystal Viewer that drags on the SBO screen and stays on the task bar.
It is strongly recommended to use an Activex to display my Crystal Viewer report. I tried so many differrent ways allways ending up with class id errors, or private class errors.
My report is called c:\report.rpt
My Working CrystalViewer form is called 'frmCRV'
Can some one help me thru this last step... I tried with the Activex sample in SDK but i think i dont have to use the Tree function ??? am i right ??
I'm running on SBO 2005 SP1 PL3
Crystal Report .net V10 and .net for code.
Thanks you all for your patience.Hi Again !
I can now open a form with an Activex part but i cant pass my CrystalViewer in it. Always says specified cast not valid.
Thanks -
Random viewing of photos on iPod - help
I have a 20GB iPod photo and trying to look at my photo collection from a recent vacation.
If I view the photos on my iPod they display in what seems like a random sequence. I want to see them in chronological order. I have tried renaming all the photos so they are all in alphanumerical order, but they still display in a random order.
I also tried putting photos in subfolders, but that does not seem to work.
Anyone else experiencing this problem?
PeterThat's exactly what I've been fighting with since receiving my iPod photo 20GB 3 days ago.
I've noticed that if I just copy the photos from the camera to the PC and then sync with that folder, the order seems to be preserved; however if I try to edit the photos (e.g., rotate some of them), then after that the photos will show up randomly on the ipod. I've even tried using utilities to manually change the "creation date" to match the "modified date" or renaming the pictures so that they only contain numbers in the file name but none seems to work.
I believe it's a problem in the iTune. I'd like to see a solution to this problem.
BTW, I don't have a MAC - Winxp Pro only. -
Would love some help with this one.. I am new so please bare with me. This app just reads contents of a txt file. What I am trying to add is the ability to display an image inside the program frame with scrolls bars.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
public class Viewer extends JFrame
private JMenuBar menuBar;
private JMenu fileMenu;
private JMenu fontMenu;
private JMenuItem newItem;
private JMenuItem openItem;
private JMenuItem saveItem;
private JMenuItem saveAsItem;
private JMenuItem exitItem;
private JRadioButtonMenuItem monoItem;
private JRadioButtonMenuItem serifItem;
private JRadioButtonMenuItem sansSerifItem;
private JCheckBoxMenuItem italicItem;
private JCheckBoxMenuItem boldItem;
private String filename;
private JTextArea editorText;
private JLabel label;
private final int NUM_LINES = 20;
private final int NUM_CHARS = 40;
public Viewer()
setTitle("Viewer");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
editorText = new JTextArea(NUM_LINES, NUM_CHARS);
editorText.setLineWrap(true);
editorText.setWrapStyleWord(true);
JScrollPane scrollPane = new JScrollPane(editorText);
add(scrollPane);
buildMenuBar();
pack();
setVisible(true);
private void buildMenuBar()
buildFileMenu();
buildFontMenu();
menuBar = new JMenuBar();
menuBar.add(fileMenu);
menuBar.add(fontMenu);
setJMenuBar(menuBar);
private void buildFileMenu()
newItem = new JMenuItem("New");
newItem.setMnemonic(KeyEvent.VK_N);
newItem.addActionListener(new NewListener());
openItem = new JMenuItem("Open");
openItem.setMnemonic(KeyEvent.VK_O);
openItem.addActionListener(new OpenListener());
saveItem = new JMenuItem("Save");
saveItem.setMnemonic(KeyEvent.VK_S);
saveItem.addActionListener(new SaveListener());
saveAsItem = new JMenuItem("Save As");
saveAsItem.setMnemonic(KeyEvent.VK_A);
saveAsItem.addActionListener(new SaveListener());
exitItem = new JMenuItem("Exit");
exitItem.setMnemonic(KeyEvent.VK_X);
exitItem.addActionListener(new ExitListener());
fileMenu = new JMenu("File");
fileMenu.setMnemonic(KeyEvent.VK_F);
fileMenu.add(newItem);
fileMenu.add(openItem);
fileMenu.addSeparator();
fileMenu.add(saveItem);
fileMenu.add(saveAsItem);
fileMenu.addSeparator();
fileMenu.add(exitItem);
private void buildFontMenu()
monoItem = new JRadioButtonMenuItem("Monospaced");
monoItem.addActionListener(new FontListener());
serifItem = new JRadioButtonMenuItem("Serif");
serifItem.addActionListener(new FontListener());
sansSerifItem =
new JRadioButtonMenuItem("SansSerif", true);
sansSerifItem.addActionListener(new FontListener());
ButtonGroup group = new ButtonGroup();
group.add(monoItem);
group.add(serifItem);
group.add(sansSerifItem);
italicItem = new JCheckBoxMenuItem("Italic");
italicItem.addActionListener(new FontListener());
boldItem = new JCheckBoxMenuItem("Bold");
boldItem.addActionListener(new FontListener());
fontMenu = new JMenu("Font");
fontMenu.setMnemonic(KeyEvent.VK_T);
fontMenu.add(monoItem);
fontMenu.add(serifItem);
fontMenu.add(sansSerifItem);
fontMenu.addSeparator();
fontMenu.add(italicItem);
fontMenu.add(boldItem);
private class NewListener implements ActionListener
public void actionPerformed(ActionEvent e)
editorText.setText("");
filename = null;
private class OpenListener implements ActionListener
public void actionPerformed(ActionEvent e)
int chooserStatus;
JFileChooser chooser = new JFileChooser();
chooserStatus = chooser.showOpenDialog(null);
if (chooserStatus == JFileChooser.APPROVE_OPTION)
File selectedFile = chooser.getSelectedFile();
filename = selectedFile.getPath();
if (!openFile(filename))
JOptionPane.showMessageDialog(null,
"Error reading " +
filename, "Error",
JOptionPane.ERROR_MESSAGE);
private boolean openFile(String filename)
boolean success;
String inputLine, editorString = "";
FileReader freader;
BufferedReader inputFile;
label = new JLabel();
add(label);
try
freader = new FileReader(filename);
inputFile = new BufferedReader(freader);
inputLine = inputFile.readLine();
while (inputLine != null)
editorString = editorString +
inputLine + "\n";
inputLine = inputFile.readLine();
editorText.setText(editorString);
inputFile.close();
success = true;
catch (IOException e)
success = false;
return success;
private class SaveListener implements ActionListener
public void actionPerformed(ActionEvent e)
int chooserStatus;
if (e.getActionCommand() == "Save As" ||
filename == null)
JFileChooser chooser = new JFileChooser();
chooserStatus = chooser.showSaveDialog(null);
if (chooserStatus == JFileChooser.APPROVE_OPTION)
File selectedFile =
chooser.getSelectedFile();
filename = selectedFile.getPath();
if (!saveFile(filename))
JOptionPane.showMessageDialog(null,
"Error saving " +
filename,
"Error",
JOptionPane.ERROR_MESSAGE);
private boolean saveFile(String filename)
boolean success;
String editorString;
FileWriter fwriter;
PrintWriter outputFile;
try
fwriter = new FileWriter(filename);
outputFile = new PrintWriter(fwriter);
editorString = editorText.getText();
outputFile.print(editorString);
outputFile.close();
success = true;
catch (IOException e)
success = false;
return success;
private class ExitListener implements ActionListener
public void actionPerformed(ActionEvent e)
System.exit(0);
private class FontListener implements ActionListener
public void actionPerformed(ActionEvent e)
Font textFont = editorText.getFont();
String fontName = textFont.getName();
int fontSize = textFont.getSize();
int fontStyle = Font.PLAIN;
if (monoItem.isSelected())
fontName = "Monospaced";
else if (serifItem.isSelected())
fontName = "Serif";
else if (sansSerifItem.isSelected())
fontName = "SansSerif";
if (italicItem.isSelected())
fontStyle += Font.ITALIC;
if (boldItem.isSelected())
fontStyle += Font.BOLD;
editorText.setFont(new Font(fontName,
fontStyle, fontSize));
public static void main(String[] args)
Viewer ve = new Viewer();
}I tried using JLabel() but I cant seem to make it work. Whenever i browse and select a .jpg it displays "�������t���o\�[��+�p��B3�+�p��B3�"In the future, Swing related questions should be posted in the Swing forum.
Whenever i browse and select a .jpg it displays "�������t���o\�[��+�p��B3�+�p��B3�" You can read in a jpg file and treat it like a text file.
Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html]How to Use Icons for the proper way to read images. -
I have i cloud id , i amunable to view my photos @ icloud need help
i have i cloud id , i amunable to view my photos @ icloud need help
Photos can't be viewed at icloud.com.
Photo Stream merely "pushes" your photos to other supported devices. -
Hi
I have written a query that is supposed to return the following result.
LOCATION YOUNGEST ELDEST
york Name Name
Luton Name NameI am having trouble with the INNER JOIN of the outer query. I cannot seem to match up both the YOUNGEST and ELDEST COLUMNS, only one of them. Does anyone know how I match it up to produce the appropriate result
SELECT
res.ldes,
a.first_name||' '||a.last_name YOUNGEST,
a.first_name||' '||a.last_name ELDEST
FROM
SELECT
l.description ldes,
MAX(a.birth_date) maxbd,
MIN(a.birth_date) minbd
FROM
locations l
INNER JOIN
agents a
ON
l.location_id=a.location_id
GROUP BY
l.description
) res
INNER JOIN
agents a
ON
a.birth_date = res.maxbd --PROBLEM IS HERE need to match up a.birth_date with res.minbd also but cannot get it
ORDER BY
res.ldesThanks for any responsemetzquar gave your answer.
try
with locations as(select 10 location_id,'ABC' description from dual union all
select 20,'XYZ' from dual union all
select 30,'RPF' from dual),
agents as(select 10 location_id,'IM' first_name,'ELDEST' last_name,to_date('08/08/1988','mm/dd/yyyy') birth_date from dual union all
select 20,'IM','ELDEST', to_date('08/08/1988','mm/dd/yyyy') from dual union all
select 30,'IM','ELDEST', to_date('08/08/1988','mm/dd/yyyy') from dual union all
select 10,'IM','MIDAGE', to_date('07/07/1977','mm/dd/yyyy') from dual union all
select 20,'IM','MIDAGE', to_date('07/07/1977','mm/dd/yyyy') from dual union all
select 30,'IM','MIDAGE', to_date('07/07/1977','mm/dd/yyyy') from dual union all
select 10,'IM','YOUNGEST', to_date('06/06/1966','mm/dd/yyyy') from dual union all
select 20,'IM','YOUNGEST', to_date('06/06/1966','mm/dd/yyyy') from dual union all
select 30,'IM','YOUNGEST', to_date('06/06/1966','mm/dd/yyyy') from dual)
SELECT l.description ldes,
MIN(a.first_name || ' ' || a.last_name)KEEP (DENSE_RANK FIRST ORDER BY a.birth_date) AS youngest,
MIN(a.first_name || ' ' || a.last_name)KEEP (DENSE_RANK LAST ORDER BY a.birth_date) AS eldest
FROM locations l INNER JOIN agents a ON l.location_id = a.location_id
GROUP BY l.description
ORDER BY 1;
O/P:-
LDES YOUNGEST ELDEST
ABC IM YOUNGEST IM ELDEST
RPF IM YOUNGEST IM ELDEST
XYZ IM YOUNGEST IM ELDEST -
Help with how to forward the page from the serlet
Hello,
I previously post this page in a different place, sorry about that, however, i have small problem in forwarding servlet,
here is my servlet class
public class UploadTransferServlet extends HttpServlet {
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
HttpSession session = request.getSession(true);
UploadTransferForm uForm = (UploadTransferForm)session.getAttribute("form");
Session sess = null;
try {
sess = Waterfind.getSessionFactory().openSession();
} catch (net.sf.hibernate.HibernateException e) {
logger.error("Error opening hibernate session", e);
try {
} catch (Exception e) {
logger.error("Error adding image to the database", e);
try {
sess.close();
} catch (net.sf.hibernate.HibernateException ee) {
logger.warn("Exception closing session", ee);
if (sess != null) {
try {
sess.close();
} catch (net.sf.hibernate.HibernateException e) {
logger.warn("Exception closing session");
ServletContext servletContext = this.getServletContext();
RequestDispatcher requestDispatcher = servletContext.getRequestDispatcher(uForm.getForward());
logger.debug("forwarding " + uForm.getForward());
requestDispatcher.forward(request, response);
} // doPost
} // ImageUploadand i do get forwarding /admin-add-trasnfer-form.html?formId=30402
in my log f ile,
however, in browser, it wouldnt forward to the page.. why is that?
only half of the page load up, inc the html header,
and address bar, it shows the servlet name.. not the actual page,
how do i get to load the complete page,
and is there is a way to update the actual page address in the address bar as well?i found the problem. its a jsp related problem, not wasnt getting the id, fixed it, thanks :)
Maybe you are looking for
-
How do I change the Apple id against a certain telephone number? I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?
-
How can I make row labels appear on the right
I am creating a timeline for a web development project in numbers I have changed the content scale to get it to fit on two pages (it's illegible on one page) but the tasks are overlaid on the grey column containing row labels How can I make the row l
-
Why can't I place an html snippet where I want it?
I am trying to place a snippet at the bottom of one of my pages. I save the page. Publish it, and when I view the page after refreshing, it is somewhere else entirely, covering up text on another part of the page. Thanks in advance for your help. Her
-
Multiple JVMs on same server.
I have two JVMs on same server. Both JVMs are has been associated with different and independent applications. There were some errors reported by one JVMs. My question is Is error reported from one JVMs could affect the another JVM/Application? If ye
-
HELP!!! I have a black screen on my iPhone 4 saying iTunes with the usb picture underneath. Have connected it to macbook and opened iTunes. It recommends I restore and update which I have tried. I then get a message saying it cannot be restored. erro