Help: Very simple HTTPService issue

I have created very simple test :
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute"
width="100%" height="100%">
<mx:Script><![CDATA[
import mx.rpc.http.HTTPService;
[Bindable]
public var srv:HTTPService;
]]></mx:Script>
<mx:Label text="Is it working?" />
</mx:Application>
This application is rendered by tomcat here :
http://jc.studiogdo.com (you can
test)
As the HTTPService is declared, you can see that nothing is
rendered!!!! On a local machine (tomcat running on my localhost)
then it works on IE. On real server like this example nothing
works!!! Of course without declaring the HTTPService everything
works... I've created this example with Flex Builder2 on eclipse
useProxy is false, so no need for a crossdomain.xml... Where
is the error????
Many thanks for help..

The issue is that : declaring the HTTPService stops the
player (even if the play parameter is set to true for the embed
object) when the application is served from a tomcat server (not a
local file), so it works only if I forces (right menu) the play
menu item.
What happens :
On a local file : FF and IE accepts to autoplay the
application
On a local tomcat (localhost url) : FF refuses to auto play,
IE accepts.
On a real distant tomcat server : FF and IE refuses to
autoplay
I think this is for security reason? But how to force the
play parameter to be used anyway... (I repeat to be sure
understanding : the simple HTTPService declaration changes the way
the play parameter is evaluated..)

Similar Messages

  • Need help with simple volume issue

    I recently bought an Ipod Touch 3G 64Gig model, I was impressed with the mp3 player and loved it.
    I have a small issue with it though, I am unable to find any app or help in fixing the volume issue I face. Basically I suffer from hearing impairment in which I can hear 40% in left ear, and 75% in my right ear, this usually leads to me hearing significant portion of audio on my right ear. I was able to fix this by changing sound balance in my previous mp3 player, I was surprised the new Ipod touch never had it when it is the norm for all mp3 players to have a decent audio balance settings
    Are there any solutions at all or am I stuck with not being able to change a basic setting?
    Any help would be appreciated

    Wracken:
    You will not be able to change the Balance Control (L/R Audio) from your iPod Touch. You will not be able to adjust your Audio files from the iTunes interface either. I am not sure if there are any apps that are available out there to address this issue.
    There is one thing that comes to mind that will solve this for you is the [*_Sennheiser HZR-62 Stero Volume Control Device_*|http://www.amazon.com/Sennheiser-HZR-62-Stereo-Volume-Control/dp/B000H 0K8VY]. This device controls audio on individual audio channels (Left/Right). Cost a little over $25.00 from Amazon. You might want to give it a try.
    Axel F.

  • Help me:Simple MIDlet Issue

    Hi friends,
    I am having 3 questions:
    1:In midlet ,how can i give space in between two textfields suppose We have two textfields userName and Passowrd ,and it should display in middle of the screen .
    2nd: How can i create a link (href) ,On click of that link it should display some form.
    3rd: How can i create a submit button on the screen ,onclick of that the form should be submitted.
    Please reply as early as possible.
    Best regards
    karan

    Hi friends,
    I am having 3 questions:
    1:In midlet ,how can i give space in between two
    textfields suppose We have two textfields userName
    and Passowrd ,and it should display in middle of the
    screen .
    2nd: How can i create a link (href) ,On click of that
    link it should display some form.
    3rd: How can i create a submit button on the screen
    ,onclick of that the form should be submitted.
    run the ktoolbar bin from your WTK and run UIDemo. everything that you want is in !
    (hyperlink in StringItem,...)

  • Need help with simple "OnClick" issue

    I have a page that has 4 Spry tabbed panels...within each panel are sets of sliding panels.  All works perfectly.
    However, if I navigate to tab 1, sliding panel 3, then click on tab 2, and then back to tab 1, the sliding panel in tab 1 has remained at sliding panel 3 ... but I always want the sliding panel to start at panel 1 when you click on a tab.
    My solution was to add an OnClick event where tab 1 is defined to return the sliding panel to the first position:
    <li class="TabbedPanelsTab" tabindex="0" onclick="sp1.showPanel(0); return false;">
    But this doesn't work...
    How can I add an onclick event when a tab is clicked?

    Here is the URL of the page...
    http://www.parishpublishing.org/index_test.html

  • Every time apple sends an update for my Itunes it goes wrong. last time this happened I got someone to fix it for me. I am very techno phobic and do not understand the on line instructions for uninstalling and reenstalling.Please help in simple English.

    when ever Apple sends an update to my pc, it knackers up my itunes. The last time this happened I got someone to fix the problem for me, I am very techno phobic and do not understand the uninstalling and reinstalling. It comes up error MSVCR80. Please can someone help in simple English , as the technical jargon just goes over my head.
    much Thanks

    The last time this happened I got someone to fix the problem for me, I am very techno phobic and do not understand the uninstalling and reinstalling.
    I think you should get a friend or family member who knows a bit more about computers to fix this for you.
    They should try the following instructions.
    Uninstall your existing copy of iTunes. Delete any copies of the iTunesSetup.exe (or iTunes64Setup.exe) installer files from your downloads areas for your web browsers and download a fresh copy of the iTunes installer from the Apple website:
    http://www.apple.com/itunes/download/
    (The current build of the 11.1.4.62 installer was changed a few days ago, which fixed the bulk of the reports of MSVCR80.dll/R6034/APSDaemon.exe/Error-7/AMDS-could-not-start trouble ... but the build number on the installer was not changed. So we're trying to make sure you do the reinstall using a "new good" 11.1.4.62 installer instead of an "old bad".)
    Does the install with the new copy of the installer go through properly? If so, does that clear up the error message?
    If you still have the same error messages cropping up, then try the procedures from the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Help with a very simple horizontal Spry menu

    Hi,
    I’ve always received great help here and I’m sure that if I explain the issue I’m having properly I’ll get some good input.
    This is to do with a very simple horizontal Spry menu, there’s no dropdown involved, only a color change on the rollover.  The menu items are in a shade of blue, then on the rollover each menu item changes to a shade of red, the font color remains white for both.
    What’s mentioned above works flawlessly, the problem I’m having is this … On the rollover when the menu block items turn red, I’m attempting to add a 1px border around the entire block, but when I do the block item seems to want to change its width and height slightly when it’s rolled-over.  As I said, without the border it works perfect.
    Any suggestions will be appreciated.

    steve0308 wrote:
    Hi,
    I’ve always received great help here and I’m sure that if I explain the issue I’m having properly I’ll get some good input.
    This is to do with a very simple horizontal Spry menu, there’s no dropdown involved, only a color change on the rollover.  The menu items are in a shade of blue, then on the rollover each menu item changes to a shade of red, the font color remains white for both.
    What’s mentioned above works flawlessly, the problem I’m having is this … On the rollover when the menu block items turn red, I’m attempting to add a 1px border around the entire block, but when I do the block item seems to want to change its width and height slightly when it’s rolled-over.  As I said, without the border it works perfect.
    Any suggestions will be appreciated.
    You also have to apply the border to the 'a' css selector. If you just apply it to the 'a:hover' css selector then the tab will grow slightly bigger because its adding more width and height to the overall structure.

  • Very Simple Problem-- Need help in method selection process

    Hello,
    It's difficult to explain the background of the program I am making-- but I am stuck at a very simple problem, that I can only solve with a very long block of if statements:
    I have 3 possible numbers-- 1, 2, or 3.
    Imagine two numbers are already taken-- say 1 and 2. I want a variable to set itself to the number that's not taken (3).
    So, again: If two numbers were taken say 2 or 3-- I want the variable to be sent to the other one that isn't taken-- 1.
    Thank you for your help,
    Evan.

    Actually, I'll just tell you the context of the program-- here is what I have so far:
    This program is meant to simulate Monty Hall Problem:
    http://en.wikipedia.org/wiki/Monty_Hall_problem
    The program sets up an array of three possible values. Each one of those values represents a door with either a goat or a car behind it. It then randomly sets one of those values to 1 (in order to represent a car as per the Monty Hall problem), and 0's represent goats.
    The user, which is simulated by the program (does not involve actual interaction), chooses a door initially.
    The game show hosts then reveals a door that is not the users initial choice, but IS a goat ( an array value of 0).
    For example if the array was [0][0][1]
    The user could pick door one (array position 0). Which is a goat.
    The game show host then reveals a goat that is not the users choice-- which would be array position 1.
    After the game show host reveals the goat-- I want the user to always switch his decision to the only other remaining door that was not his first choice.
    Then I wanted the computer to test to see if his final choice is the one with a car. And to tally up the amount of times he got it right.
    --Sorry that was long winded:
    import TerminalIO.*;//imports TerminalIO package for system.out.println
    import java.util.*;//import java.util for random
    public class Monty_Problem
         int doors[]= {0,0,0};
         Random rand= new Random();
         double wins,totals=0;
         public void carAssignment()
              int car_door= rand.nextInt(3);
              doors[car_door]=1;
         public int judgesChoice(int judgeDoor, int initialChoice)
              if(judgeDoor != initialChoice && doors[judgeDoor]!=1)
                   return judgeDoor;
              else
                   return judgesChoice(rand.nextInt(3), initialChoice); //infinite loop right here that I cannot remedy.  I want the program to have the judge pick a location that is not occupied by a  '1' and is not the user's choice. 
         public void gamePlaySwitches()
              int initialChoice= rand.nextInt(3);
              int judgeDoor = 0;
              int secondChoice= 0;
              judgeDoor= judgesChoice(rand.nextInt(3), initialChoice);
              //This part is meant to have the user switch choices from his initial choice
                   // to the only other choice that hasn't been revealed by the judge. 
              while(secondChoice == initialChoice || secondChoice== judgeDoor)
                   secondChoice++;
              if(doors[secondChoice]==1)
                   wins++;
                   totals++;
              else
                   totals++;          
         public static void main(String [] args)//creates the main menu
              Monty_Problem a= new Monty_Problem();
              int games=0;
              while(games!=100)
                        a.carAssignment();
                        a.gamePlaySwitches();
                        games++;
              System.out.println(a.wins/a.totals);
    }Edited by: EvanD on Jan 11, 2008 4:17 PM

  • Need help with a very simple example.  Trying to reference a value

    Im very new to Sql Load and have created this very simple example of what I need to do.
    I just want to reference the ID column from one table to be inserted into another table as DEV_ID.
    Below are my: 1) Control File, 2) Datafile, 3) Table Description, 4) Table Description
    1) CONTROL FILE:
    LOAD DATA
    INFILE 'test.dat'
    APPEND
    INTO TABLE p_ports
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    DEV_id REF(CONSTANT 'P_DEVICES',NAME),
    NAME FILLER ,
    PORT_NO
    2) DATAFILE:
    COMM881-0326ES09,6
    3) TABLE DESCRIPTION:
    SQL> describe p_ports
    Name Null? Type
    ID NOT NULL NUMBER(10)
    DEV_ID NOT NULL NUMBER(10)
    PORT_NO     NUMBER(3)

    hi,
    i managed to do this for my app. (think i referred to viewTransitions sample code and modified quite a bit)
    i can't remember this well cos i did this quite a while back, but i will try to help as much as possible
    1) from the appdelegate i initialize a root controller (view controller class)
    2) this root controller actually contains two other view controllers, let's call it viewAController and viewBController, for the screens which u are going to toggle in between. and there's also a function, let's call it toggleMenu, which will set the menus to and fro. i copied this whole chunk from the sample code. it actually defines the code on what to do, i.e. if current view is A switch to B and vice versa.
    3) inside the controller files, you need to implement the toggleMenu function too, which basically calls the rootController's toggleMenu
    4) we also need viewA and viewB files(view class)
    5) need to add the .xib files for the respective views and link them up to the controller class. i did not use the .xib files for ui layout though, because of my app's needs. however, it will not work properly without the .xib files.
    5) inside the view class of both views, i.e. viewA.m and viewB.m, you need to create a button, that will call the toggleMenu function inside the respective controller class.
    it will look something like this:
    [Button addTarget:ViewAController action:@selector(toggleMenu:) forControlEvents:UIControlEventTouchUpInside];
    so the flow is really button (in view)-> toggleMenu(viewController) -> toggleMenu(rootController)
    i'm sorry it sounds pretty hazy, i did this part weeks before and can't really remember. i hope it helps.

  • Can't run very simple DOM parsing source on my machine - please help :(

    Hi Guys,
    I am trying to run the following very simple program on my machine to parse a very simple XML file.
    It just returns Document object NULL.
    Same code is working fine on another machine.
    Note: there is no silly mistake. i have valid xml file at valid place.
    Please help.
    import org.apache.xerces.parsers.*;
    import org.w3c.dom.*;
    import org.xml.sax.*;
    import java.io.*;
    class XML
         public static void main(String[] args)
              try{
                   String caseFile = "c:\\case-config\\config.xml";
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   factory.setValidating(true);
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   Document doc = builder.parse(caseFile);
                   System.out.println("\n\n----" + doc);
              }catch(Exception e)
                   e.printStackTrace();
    }

    You could also work with JDOM, which I find easier to use than regular DOM:
    import org.xml.sax.InputSource;
    import java.io.FileReader;
    import org.jdom.input.SAXBuilder;
    import org.jdom.Document;
    String caseFile = "c:/case-config/config.xml";
    InputSource inputSource = new InputSource(new FileReader(caseFile));
    SAXBuilder builder= new SAXBuilder();
    Document document = builder.build(inputSource);Just an alternate suggestion.

  • HELP, most probably a very simple solution!

    I can compile the following file but I can't get it to run. I know something very simple is needed but I am still learning this java business and am currently brain dead. Please help as this is quite important for me! Any advice is much appreciated, thanks. It is basically meant to be a program to give co-ordinates in a JPanel etc... Please don't abuse me for not understanding!!! lol
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    //import com.borland.jbcl.layout.*;
    public class Picker extends JPanel
         String imageFile = "Images/knob.jpg";
         // Create JPanel and set the dimensions so that the crosshairs go in the right place
         Image img = Toolkit.getDefaultToolkit().getImage(imageFile);
         JPanel hSPickerPanel = new JPanel()
              public Dimension getPreferredSize(){return new Dimension(100, 100);}
              public Dimension getMaximumSize(){return getPreferredSize();}
              public Dimension getMinimumSize(){return getPreferredSize();}
              //PaintComponent method for this JPanel Component. Each component needs
              //its own so that each can be redrawn.
              public void paintComponent(Graphics g)
                   super.paintComponent(g);
                   //     Graphics2D g2D = (Graphics2D)g;
                   g.setClip(0, 0, getSize().width, getSize().height);
                   // g2D.drawImage(BC, null, 0, 0);
                   g.setXORMode(Color.WHITE);
                   //Problem.
                   // Draws the cross relating to the coordinates of the whole JPanel.
                   // Not hSPickerPanel. Sorted. 01/08/03. each panel wants to have its
                   //own paintComponent method.
                   g.drawImage(img, xCoord, yCoord,15,15,this);
                   // g.drawOval(xCoord, yCoord, 15, 15);
                   //g.fillOval(xCoord, yCoord, 15,15);
                   // g.drawLine(xCoord + 10 , yCoord,xCoord - 10 , yCoord);
                   // g.drawLine(xCoord, yCoord + 10, xCoord, yCoord - 10);
                   g.drawString(String.valueOf(xCoord) + ":" + String.valueOf(100 - yCoord), 54, 47);
         JLabel HueSatTitleLabel = new JLabel();
         JLabel hueSatLabel = new JLabel();
         int xCoord = 50;
         int yCoord = 50;
         String coordinates;
         String xString;
         String yString;
         GridBagLayout gridBagLayout1 = new GridBagLayout();
         JButton jButton1 = new JButton();
         public Picker()
              try
                   jbInit(); // calls the method below that adds the button to 'this'
              catch(Exception e)
                   e.printStackTrace();
         //dddddddddddddddddddddddddddddddddddddddddddddddddddddddd
         // BrtnsCtrstPckrPnl = new JPanel() creates JPanel.
         //     public void paintComponent(Graphics g)
         /*     super.paintComponent(g);
                   Graphics2D g2D = (Graphics2D)g;
                   g2D.setClip(0, 0, getSize().width, getSize().height);
                   // g2D.drawImage(BC, null, 0, 0);
                   g2D.setXORMode(Color.WHITE);
                   g2D.drawLine(xCoord - 10, yCoord, xCoord + 10, yCoord);
                   g2D.drawLine(xCoord, yCoord - 10, xCoord, yCoord + 10);
                   g2D.drawString(String.valueOf(xCoord) + ":" + String.valueOf(100 - yCoord), 54, 47);
         /*          super.paintComponent(g);
                   //     Graphics2D g2D = (Graphics2D)g;
                             g.setClip(0, 0, getSize().width, getSize().height);
                             // g2D.drawImage(BC, null, 0, 0);
                             g.setXORMode(Color.WHITE);
                             g.drawLine(xCoord + 10 , yCoord,xCoord - 10 , yCoord);
                             g.drawLine(xCoord, yCoord + 10, xCoord, yCoord - 10);
                             g.drawString(String.valueOf(xCoord) + ":" + String.valueOf(100 - yCoord), 54, 47);
         //ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
         private void jbInit() throws Exception
              this.setLayout(gridBagLayout1);
              hSPickerPanel.setBorder(BorderFactory.createEtchedBorder());
              HueSatTitleLabel.setBorder(BorderFactory.createEtchedBorder());
              HueSatTitleLabel.setText("Hue & Saturation");
              hueSatLabel.setBorder(BorderFactory.createEtchedBorder());
              xString = Integer.toString(xCoord);
              yString = Integer.toString(yCoord);
              coordinates = xString +" : "+ yString;
              hueSatLabel.setText(coordinates);
              hSPickerPanel.addMouseListener(new MouseAdapter()
                        public void mouseReleased(MouseEvent e)
                             xCoord = Math.max(Math.min(e.getX(), 100), 0);
                             yCoord = Math.max(Math.min(e.getY(), 100), 0);
                             displayCoordinates(xCoord,yCoord);
                             hSPickerPanel.repaint();
                        public void mousePressed(MouseEvent e)
                             xCoord = Math.max(Math.min(e.getX(), 100), 0);
                             yCoord = Math.max(Math.min(e.getY(), 100), 0);
                             displayCoordinates(xCoord,yCoord);
                             hSPickerPanel.repaint();
              hSPickerPanel.addMouseMotionListener(new MouseMotionAdapter()
                        public void mouseDragged(MouseEvent e)
                             xCoord = Math.max(Math.min(e.getX(), 100), 0);
                             yCoord = Math.max(Math.min(e.getY(), 100), 0);
                             displayCoordinates(xCoord,yCoord);
                             hSPickerPanel.repaint();
              //Add components to Back Panel (this)
              this.setMaximumSize(new Dimension(118, 165));
              this.setMinimumSize(new Dimension(118, 165));
              jButton1.setText("Reset");
              jButton1.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                             jButton1_actionPerformed(e);
              this.add(hSPickerPanel, new GridBagConstraints(0, 1, 2, 1, 1.0, 1.0
                   ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 3, 0, 0), 101, 102));
              this.add(HueSatTitleLabel, new GridBagConstraints(0, 0, 2, 1, 0.0, 0.0
                   ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 3, 0, 0), 30, 1));
              this.add(hueSatLabel, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0
                   ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 3, 5, 0), 4, 3));
              this.add(jButton1, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0
                   ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 3, 0));
         public void displayCoordinates(int x, int y)
              xString = Integer.toString(x);
              yString = Integer.toString(y);
              coordinates = xString +" : "+ yString;
              hueSatLabel.setText(coordinates);
         void jButton1_actionPerformed(ActionEvent e)
              xCoord = 50;
              yCoord = 50;
              displayCoordinates(xCoord, yCoord);
              hSPickerPanel.repaint();

    Use a URL object to locate your image instead of a string. To do that, import the java.net.* library and create a URL object for your image:
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    //import com.borland.jbcl.layout.*;
    import java.net.*;
    public class Picker extends JPanel
        //String imageFile = "Images/knob.jpg";
        Class cl = ((Picker) this).getClass();
        URL imageURL=cl.getResource("Images/knob.jpg");
        // Create JPanel and set the dimensions so that the crosshairs go in the right place
        Image img = Toolkit.getDefaultToolkit().getImage(imageURL);
        JPanel hSPickerPanel = new JPanel()
    }To view your Panel, you have to add a "main" method and create a frame to display your panel:
    public class Picker extends JPanel
        void jButton1_actionPerformed(ActionEvent e)
        public static void main(String[] args)
         Picker p=new Picker();
         JFrame frame=new JFrame("Picker Example");
         frame.getContentPane().add(p);
         frame.setVisible(true);
         frame.pack();
    }You can see your panel by:
    - compiling: javac Picker.java
    - and running your application with the "main" method: java Picker

  • Set Page "HEIGHT" ---Very Urgent, Please Help me on this issue. Please.

    Hi all ,
    Very Urgent, Please Help me on this issue.
    when_now_form trigger i set set maximize the window and MDI. And my window and canvas is same height (1500). The formsweb.cfg also changed to 1500. But still I can not view full page on web. Where to I change the properties. Please help.
    Selvam

    Is your form running inside the browser window (with SeparateFrame=False)? If the browser is maximized, and your form is maximized, yet you cannot see the entire screen, you can run with SeparateFrame=True. You can do that on the browser line.

  • Need help with something VERY SIMPLE

    I'm brand new to Motion - as if today - but I'm only trying to do some VERY simple motions with photos - a simultaneous zoom in and reposition. What I've been doing is setting the starting key frame at one position (adjusting the x, y) and setting the scale. Then I create a second key frame and adjust the postion and scale. It will do the zoom, but then it re adjusts the starting position. If I readjust the starting key frame, it automatically readjusts the second key frame. I don't get it! Applying the various 'behaviors' doesn't seen to help. Certainly there's something obvious here that I'm missing - as I was able to do this in FCP. For some reason the key frames are not fixed when it comes to position.

    hi,
    a couple of thoughts?
    did you actually set a keyframe for position at the first frame?
    Also unless you are parked right on a keyframe or have the record button on, if you adjust a value, all the values for all keyframes adjust accordingly. I often mess something up because I wasnt parked on a keyframe.
    hth
    adam

  • HELP MAKING VERY SIMPLE ANIMATION - Adobe Flash CS5

    - First off, apologies for the simplicity of the task I need to carry out- cannot seem to find any tutorials on this. (All aimed at After Effects)
    - I am hoping to make two simple animations;
    1. Animate the word "water" so it appears to be moving like water itself.
    2. Animate the word "sand" so it appears to crumble into sand itself.
    Appreciate any help, very new to Flash - still no luck after Lynda and other tutorials.

    Not exactly the answer to your question but found a tutorial page that could help you.
    Text Effects with Flash Professional 8 « Wonder How To

  • Very simple question about webapp list layout.

    Hi Everyone!
    I am having a very simple issue. I have created a web app and it has a default list layout looks like:
    <table><tbody><tr><td>{tag_counter}. {tag_name}</td></tr></tbody></table>
    I have placed web app module (using {module_webapps,14273,a} ) in one of my page. In front-end it has show every thing fine except it shows table tag for each item:
    <table>
        <tbody>
            <tr>
                <td>1. <a href="/lot/lot-101">Castlepoint Lot 101</a></td>
            </tr>
        </tbody>
    </table>
    <table>
        <tbody>
            <tr>
                <td>2. <a href="/lot/efg-lot">EFG Lot</a></td>
            </tr>
        </tbody>
    </table>
    <table>
        <tbody>
            <tr>
                <td>3. <a href="/lot/some-lot">Some Lot</a></td>
            </tr>
        </tbody>
    </table>
    <table>
        <tbody>
            <tr>
                <td>4. <a href="/lot/some-other-lot">Some Other Lot</a></td>
            </tr>
        </tbody>
    </table>
    When I delete table and tbody tags from list view, it stop showing table related tags instead it start showing it without any tag.
    How to correct this issue? Please help!!!

    Here is what you can do:
    -edit the webapp list layout via FTP or via the "alpha" File Manager. The WYSIWYG editor will attempt to "correct" your HTML code. Enter something like this:
    <tr>
    <td>
    {tag_counter}. {tag_name}
    </td>
    </tr>
    -on the page you need the listing placed on enter this code:
    <table>
    <tbody>
    {webappmodule here}
    </tbody>
    </table>
    When the page renders you will get the desired result:
    <table>
    <tbody>
    <tr><td>1</td><td>Item1</td></tr>
    <tr><td>2</td><td>Item2</td></tr>
    <tr><td>3</td><td>Item3</td></tr>
    <tr><td>4</td><td>Item4</td></tr>
    </tbody>
    </table>

  • A very very very simple question

    Hi guys,
    I have a very simple question and standard but I cant find anywhere...
    I have two dateTime variables, i need to calculate difference between this dates in days, thats it.
    I tried all functions and tried without success a Java Embed task but I couldnt retrieve this objects as java.util.Date so I couldnt calculate exactly the difference in days like this pure java code:
    (dataVencimento.getTime() - dataReferencia.getTime()) / 86400000L)
    can you help me this?

    Hi Jose
    Just see if these alternate approaches works. I know there may be lot like this and you may be lucky to find out simple out of box solution itself. If you want to solve this issue and move ahead, gives these approaches a shot.
    1. Create a very simple standalone WebService that takes 2 input date elements (can be of Date type or String type. If string type, convert to date in your java code). Create a simple operation like getDaysBetween(firstDate, secondDate). In the generated webservice impl class, use the java code apis (refer earlier link for usage), and get the difference. Return this value. NOW, invoke this WebService in your BPEL Process, and pass your 2 inputs (if the bpel payload elemetns are date object or string objects of date), and get output, and then use this output in your continuing bpel process.
    2. This approach, I did a long back. When we insert any expression using XPath, in that editor window on bottom right side, we see many categories and for each category we see list of functions we can use, like for String, we can use concat etc. I vaguely remember reading somewhere, that we can add our own custom functions also in this section. So explore this direction and see if you can add your own function and then use that fucntion with your 2 input dates.
    I have not given solution to your problem, but may be these directions can help you move ahead. Or something along these lines.
    Thanks
    Ravi Jegga

Maybe you are looking for

  • Can not open FXML files in DataApp example

    Hi, I download javafx_samples-2_2_0-windows.zip and unzip, and open DataApp project. I build and run, it's ok. but I cannot open many fxml files, for example, it gives me following error messages: Error loading file 'C:/work/tianqing/Java/JavaFX/Test

  • Edit in External Editor (photoshop)?

    I want to do a quick edit of an image in my new version of photoshop and when I select the image in the Album or in the Published Album Aperture is not giving me an option to Photo > Edit in External Editor because this is greyed out for some reason.

  • PS cs5 unable to print

    I have cs5 extended photoshop. But it does not print any picture from it anymore. But ms word can print the image inserted. I use USB port and my pc is using window 7 ultimate. How can I correct this problem?

  • Negetive value in script

    hi experts,    I have Script,In that all values are coming in positive only.Actually in my Driver program some value in final table are contain negative value.My Problem is ,If final contain any negative values ,thoise should be in negative only. but

  • B85M-G43 CPU won't go Package C6/C7

    Hi there, My problem affects the system in my sig but without the dedicated VGA. The idle power consumption of this system should be well under 20W, but it remains above - at around 23W (my power meter is working and measures with sufficing accuracy)