How to display values after doing some business logic in data action

hi guys i got the same problem but iam unable to display the values..in my display page when iam trying to do some business logic in my data action class..
can u guys help me out
iam pasting my code which iam working here
my struts-config.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean name="DataForm" type="oracle.adf.controller.struts.forms.BindingContainerActionForm"/>
</form-beans>
<action-mappings>
<action path="/inputform" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/inputform.uix">
<set-property property="modelReference" value="inputformUIModel"/>
<forward name="success" path="/inputAction.do"/>
</action>
<action path="/inputAction" className="oracle.adf.controller.struts.actions.DataActionMapping" type="order.view.InputAction" name="DataForm">
<set-property property="modelReference" value="displaypageUIModel"/>
<forward name="success" path="/displaypage.do"/>
</action>
<action path="/displaypage" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/displaypage.uix">
<set-property property="modelReference" value="displaypageUIModel"/>
</action>
</action-mappings>
<message-resources parameter="order.view.ApplicationResources"/>
</struts-config>
my input form uix
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
expressionLanguage="el">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<body>
<contents>
<form name="form0" method="post">
<contents>
<messageTextInput model="${bindings.password}" text="username"/>
<messageTextInput model="${bindings.username}" text="password"/>
<submitButton text="submit" event="success" destination="inputAction.do"/>
</contents>
</form>
</contents>
</body>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
</handlers>
</page>
my display uix
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
expressionLanguage="el">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<body>
<contents>
<form name="form0">
<contents>
<messageStyledText model="${bindings.password}" prompt="Prompt 0"/>
<messageStyledText model="${bindings.username}" prompt="Prompt 1"/>
</contents>
</form>
</contents>
</body>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
</handlers>
</page>
my model bean
package order.model;
public class TestBean
private String username;
private String password;
public TestBean()
public String getUsername()
return username;
public void setUsername(String username)
this.username=username;
System.out.println("the username after actions class:"+username);
public String getPassword()
return password;
public void setPassword(String password)
this.password=password;
my data Action class
package order.view;
import oracle.adf.controller.struts.actions.DataAction;
import oracle.adf.controller.struts.actions.DataActionContext;
import oracle.jbo.uicli.binding.JUCtrlActionBinding;
import oracle.jbo.uicli.binding.JUCtrlAttrsBinding;
import order.model.TestBean;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForward;
public class InputAction extends DataAction
* Delegate to the Struts page lifecycle implementation
* {@link StrutsJspLifecycle#findForward findForward}
* @param actionContext the lifecycle context for the DataAction
* @throws Exception
protected void findForward(DataActionContext actionContext) throws Exception
// TODO: Override this oracle.adf.controller.struts.actions.DataAction method
//super.findForward(actionContext);
TestBean testbean=new TestBean();
System.out.println("this is action form"+actionContext.getActionForm());
String username=(String)((JUCtrlAttrsBinding)actionContext.getBindingContainer().findCtrlBinding("username")).getInputValue();
System.out.println("this is username"+username);
String username1=username+"hye wats up";
testbean.setUsername(username1);
ActionForward forward=actionContext.getActionForward();
ActionMapping mapping =actionContext.getActionMapping();
System.out.println("this is mapping"+mapping);
mapping.findForward("success");
// To handle an event named "yourname" add a method:
// public void onYourname(DataActionContext ctx)
// To override a method of the lifecycle, go to
// the main menu "Tools/Override Methods...".
check this out iam unable to display in my display page so help me out if any one can

No, in this case, I'm using standard JSP with ADF and struts validator.
If I don't use struts validator and there are errors (such as putting a string into a number which produces a jbo-25009), the list value will be retained.
When using the validator, it appears that it is NOT retained.
I've written some code to attempt to set the list element back, which "looks like" it's working right now.
There's still a problem with the second scenario:
1. user clicks checkbox and hits [submit]
2. get's error - you have to enter 5 address items
3. User wants to backout, so he unchecks the box and resubmits
4. The box redisplays as "checked"
SO, at that point, I thought... can't I use YOUR EXAMPLE on how to handle a checkbox.
I place some code in the reset method of the form to perform this:
map.put("AddressChangeFlag", (String) "" );
(that is, I've detected via the request that this flag is null), so I'm trying to make sure it retains it!
I do that and it runs into a problem during the processUpdateModel aT:
BindingContainerValidationForm updateForm= (BindingContainerValidationForm) actionContext.getActionForm();
//Get the binding for our particular column JUCtrlAttrsBinding checkBoxBinding = (JUCtrlAttrsBinding)updateForm.get("AddressChangeFlag");
call, with an error:
JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=java.lang.String
java.lang.String
The value for updateForm.get("AddressChangeFlag") is "", which I'm assuming means the form field is no longer in the request object??
I'm lost at this point, and have been working on it for more than 1 day.
Thanks for responding though, and I await feedback ;)

Similar Messages

  • How to display values and new char line (blank line)

    Hi,
    In database, one field contains values followed by new character lines (blank lines) after blank lines there is no values. Finally, I would say the field contains values and blank lines. Every thing is fine in database.
    In Crystal Reports the field is displaying only values. Need to display values and blank line.
    User is asking after values new character lines (blank line) to be shown. They enter like that in an application. The user doubt is why report is not showing what they enter in the application.
    In detail explanation, front end tool is ASP.NET and backend is SQL Server.
    User enter some values in note field, after that they hit enter button in the same field, cursor will go next line...user may hit u2018enter buttonu2019 more than 5 times. So note field contain values and some blank lines which are created by after hitting enter button.
    If user opens the application, they could see values plus blank lines in the note field.
    They are fine with the application.
    In Crystal Reports, the note field shows only values.
    User is questioning that why we could not see in report we enter.
    I checked in .Net application and SQL server database it is fine. It is displaying values and blank line.
    Please help me out how to display values followed by blank lines in Crystal Reports - the way they enter in the application.
    Thanks and Regards,
    Manjunath N. Jogin

    Hi,
    Sharonmat,
    I tried as you suggested. It is still displaying only values.
    I would like to explain again.
    it is not exactly null values.
    In .Net application it is called 'new char line'.
    it shows those many lines look like null.
    it is working fine in database.
    Why it is not working in Crystal Reports? I am wondering...
    Thanks for your suggestion.
    Debi,
    User may enter any number of blank lines or they may not enter blank lines.
    That is the reason I can not always give more height or blank text object.
    Thanks for your suggestion.
    Please suggest me some more suggestions,
    Thanks and Regards,
    Manjunath N. Jogin

  • My mac book pro does not boot up correctly anymore after doing some updates. I did have my ipod charging to my mac book. I ran the simple updates and never go to the maverick update and now my computer will not boot correctly. Help!

    Please help my computer is not repsonding after doing some simple updates. I follow the instructions and which is simply click for the update to take place. I did what I was instructed to do. I did not do the new update for the Mavericks yet. I just did simple updates. The computer shutted down and restarted but would never get pass the grey screen with the spinning wheel and the booting bar that would not go past a certain point befor shutting off again. The computer is practically brand new. I purchased the computer from best by 2012 and the warrenty just ended the past October. I hardly use the computer maybe 4 times since I have had it because I have another main computer that I uses. However, I don't want to do a hard rest becuase I do have the entire adobe suits software that I paid for and don't want to loose. I have an appointment with apple today to see what they say but I hope that my computer that I hardly every use is not defected after doing a updated pushed by Apple. Any thoughts or suggestions???? Thanks in advance Apple Family :-)

    Well, I was at Apple for sometime on that day. I got a Genius that did not want to work. She basically jumped to the money to tell me that my hard drive was no good and that I was out of warranty (October 2013). I began to explain to her that I had only used the computer 5 times and that I don't use this computer as my main computer because I also have a Toshiba that is less expensive that I have had for several years and not one issue out of it. The rep told me that I could by a new hard drive for $161.00 and that I would loose all of my software and photos that I have on this computer. However, I told her that it's bazaar that it happens right after my warranty goes out and had I used it more often when in warranty before October then I would have been covered. Keeping in mind that I would still be very disappointed with the product because I would loose all of my information and it would not make sense to me why the hard drive fails on a very gently used computer. So I asked for a manager and it took her some time to get one. In the mean time I watched how the other Geniuses interacted with the other customers and seen that they were very engaging with convo and very help. I guess I just I got another lemon when I got my rep. When the manager finally came. I went from A-Z with the issues and that I felt that something could or should be done because the rep said that she did tests on my machine and it read to her that my hard drive was bad and there was nothing that could be done. I explained that I was not looking forward to paying for services to have my new computer repaired. The manager offered to give me 25% off the cost but I still didn't feel that it was effective. After he left and the rep wrote the notes in the system, I told her that I didn't think that all options had been exhausted and that there was something else that could be done. I told her to erase the machine and see if the updates could be installed and if the system would continue to do the same thing. The rep was hesitant and said that I would loose everything which we already know that we were at conclusion from the beginning. She assured me that I would happen again and that I would need a new hard drive. I just told her to erase the machine and get me another manager because I was just getting tired of her unhelpfulness and negative perspective. The new manager came and was very pleasant and I explained everything once again from A-Z. I informed him that I had the machine erased and that I need his help with options because I don't feel that the rep or the last manager was resourceful or helpful. He apologies for the actions of the reps and proceed to tell me that they will run all the updates in the store and that if it booted correctly that I should continue to use the machine with out adding the adobe software back on just incase that it crashes again and I'm out of money once again. However, if it does happen again and it is a hard drive issues that he would work with me to resolve the issues. As my computer went through the process of rebooting from out of the box stage another rep approached me because he could tell that I was upset and not happy. I told he what had happen and he said I think I can help you a little more. He said that I just want to run further testing on you computer for different components to make sure that everything would work properly and pin point any issues. I was delighted with that option. Anything would help at this time especially someone who is willing to help. The first test that he ran was to for the hard drive and he said that since it failed the test the first time could be because the software update glitch and did update correctly which would make the test faulty and be negative. As I sit with finger crossed the test came back as a pass test that my hard drive was not the issue and that the update was the cause and that I did not have to buy a new hard drive. I was happy that the computer was ok but I lost information. All of the updates were done in the store and everything works fine now. If I was not persistent about my gut feeling then I would had left out thinking that I had to pay for a new hard drive that I really didn't needed. Now I can invest that money in a external hard drive to start backing up my information. Lesson learned by I'm still on the fence about things but I hope all is well. I really went through a lot. No help or no service was not an option that I was taken.  I hope that it helps.

  • How To Display Value In inputText When List Is Used

    Hello,
    I have a question regarding how to display value from List in a jsf page?
    From a Map, i could display like
    <ice:inputText  id="plantno" value="#{bean.detailedRowData['plantno']}"So if I am using a List instead of Map, how can I refer value in List so that I could display my plantno?
    <ice:inputText  id="plantno" value="#{bean.?????}"Thanks

    Create a backing bean method that fetches the value from the list for you.
    <ice:inputText  id="plantno" value="#{bean.plantNo}"/>
    public class MyFunkyBean {
      private List<String> rowdata;
      public String getPlantNo(){
        return rowdata.get(INDEX_AT_WHICH_THE_PLANTNO_IS_STORED);
    }It really isn't possible to turn the list into a regular bean/entity?

  • How to display value in memory

    How to display value in memory, except call function 'LIST_FROM_MEMORY' .
    Thanks.

    Hi
    See this
    may be useful
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens
    SAP global memory retains field value through out session.
    set parameter id 'MAT' field v_matnr.
    get parameter id 'MAT' field v_matnr.
    They are stored in table TPARA.
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data
    to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
    ABAP memory is temporary and values are retained in same LUW.
    export itab to memory id 'TEST'.
    import itab from memory Id 'TEST'.
    Here itab should be declared of same type and length.
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    ABAP Memmory & SAP Memmory
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Reward points for useful Answers
    Regards
    Anji

  • After doing some editing in Lightroom I want to continue the edit in CS 5 but Lightroom is not exporting the edited version, this has not happened before, what am I doing wrong please? anybody

    After doing some editing in Lightroom I want to continue the edit in CS 5 but Lightroom is not exporting the edited version, this has not happened before, what am I doing wrong please? anybody

    You should be getting an error message that PS CS5 requires a higher version of ACR with two options "render using Lightroom" or "open anyway". You should choose the first option. If you are not seeing the error message then go to your Lightroom prefrences >General Tab> under Prompts> select "Reset all warning dialogs", then try the edit in function again. 

  • How to read bytes(image) from a server ?how to display image after read byt

    How to read bytes(image) from a server ?how to display image after reading bytes?
    i have tried coding tis , but i couldnt get the image to be display:
    BufferedInputStream in1=new BufferedInputStream(kkSocket.getInputStream());
    int length1;
    byte [] data=new byte[1048576];
    if((length1=in1.read(data))!=-1){
    System.out.println("???");
    }System.out.println("length "+length1);
    Integer inter=new Integer(length1);
    byte d=inter.byteValue();

    didn't I tell you about using javax.imageio.ImageIO.read(InputStream) in another thread?

  • How can I use JTA in my business logic and execute process with PAPI?

    HI All,
    How can I use JTA in my business logic and execute process with PAPI?
    When my business logic has exception, the process will rollback.
    or the process has some exceptions, my business logic also will rollback.
    I don't know how to do it.
    Does anyone know how to do it?

    Thank you for your reply, Daniel.
    But I think I did not express my mind clearly.
    There is a scene that I have 2 Application Server.
    My business code is deployed in one Server.
    The BPM is deployed in another Server.
    I want to execute Task use PAPI.(ProcessServiceSession.runActivity)
    In my business code, I will do something before execute Task.
    I need my business logic and Task in same transaction.
    To ensure them "all-or-nothing" .
    As you say, if The transactions are managed by Oracle BPM.
    then can I retrieve OBPM transcaction in my business code?

  • I just sold my iPhone 4s after doing a reset and deleting data and settings. Is there anyway the buyer can see any of my old photos, texts, or data? I have confidential info for work and family photos and freaked out that they can be found somehow.

    I just sold my iPhone 4s after doing a reset and deleting data and settings. Is there anyway the buyer can see any of my old photos, texts, or data? I have confidential info for work and family photos and freaked out that they can be found somehow.

    No, but if the answer was yes it's a little late to start getting freaked out about it.

  • How to display value withing some range?

    Hi,
    I am trying to display months name using map and my results are as below:-
    1)January
    2)February
    3)March
    4)April
    5)May
    6)Jun
    Now I want to display the result in some range i.e. display from 2) to 5) or from 4) to 9); whatever user inputs the range.
    So how can I achieve this?
    Regards,
    Prateek

    Hi,
    With the help of Range droplet I am able to set the limit of my month list like if I give the value as 3 in howmany parameter;it shows the following result-
    1)january
    2)february
    3)march
    But as I said previously how can I show te result as below if user gives some input like (3-4):-
    3)march
    4)april
    5)march
    Thanks.

  • How to display value in two rows?

    Hi,
    There are two column value in db which will be displayed in on table cell.
    How to display them in different row in the same cell?
    thanks!
    Beavey

    Hi Saichand.V,
    Thank you for your replay!
    I try it, but the layout is not right.
    I using the following method:
    Using "Edit Formula" in table, then "Column Formula" is set as "CONCAT(CONCAT('Facility: ',PRO_M_FACILITY.ABBR_NAME), CONCAT('<&#13;>Department: ',PRO_M_DEPARTMENT.DEPARTMENT_NAME) )". I want to use "<&#13;>" to display "Department: XXXXXXX" in the second row, but it also does not work.
    Regards,
    Beavey
    Edited by: Beavey on Dec 6, 2009 4:37 PM

  • Urgent :How to get values after parsing

    Hi ..
    I am using SAX parser for parsing a xml document.
    After parsing i want to get the valuse to make a jsp page. how do i get the Values after parsing.
    the code i am working on is:
    import java.util.*;
    import java.lang.*;
    import java.io.*;
    import java.io.IOException;
    import org.apache.xerces.parsers.SAXParser;
    import org.xml.sax.Attributes;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    public class performDemo
    public static void main(String args[]) throws Exception
         performDemo p =new performDemo();
         p.performDemo(args[0]);
    public void performDemo(String uri)
    System.out.println("Parsing XML File: " + uri + "\n\n");
    try {
    XMLReader parser = new SAXParser();
    ContentHandler contentHandler = new MyContentHandler();
    parser.setContentHandler(contentHandler);
    parser.parse(uri);
    } //try ends here
    catch (IOException e)
    System.out.println("Error reading URI: " + e.getMessage());
         } //catch ends here
    catch (SAXException e)
    System.out.println("Error in parsing: " + e.getMessage());
    } //catch ends here
    } //function ends here
    class MyContentHandler implements ContentHandler {
    private Locator locator;
    public void setDocumentLocator(Locator locator) {
    System.out.println(" * setDocumentLocator() called");
    this.locator = locator;
    public void startDocument() throws SAXException {
    System.out.println("Parsing begins...");
    public void endDocument() throws SAXException {
    System.out.println("...Parsing ends.");
    public void processingInstruction(String target, String data)
    throws SAXException {
    System.out.println("PI: Target:" + target + " and Data:" + data);
    public void startPrefixMapping(String prefix, String uri) {
    System.out.println("Mapping starts for prefix " + prefix +
    " mapped to URI " + uri);
    public void endPrefixMapping(String prefix) {
    System.out.println("Mapping ends for prefix " + prefix);
    public void startElement(String namespaceURI, String localName,
    String rawName, Attributes atts)
    throws SAXException {
    System.out.print("startElement: " + localName);
    if (!namespaceURI.equals("")) {
    System.out.println(" in namespace " + namespaceURI +
    " (" + rawName + ")");
    } else {
    System.out.println(" has no associated namespace");
    for (int i=0; i<atts.getLength(); i++)
    System.out.println(" Attribute: " + atts.getLocalName(i) +
    "=" + atts.getValue(i));
    public void endElement(String namespaceURI, String localName,
    String rawName)
    throws SAXException {
    System.out.println("endElement: " + localName + "\n");
    public void characters(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    System.out.println("characters: " + s);
    public void ignorableWhitespace(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    System.out.println("ignorableWhitespace: [" + s + "]");
    public void skippedEntity(String name) throws SAXException {
    System.out.println("Skipping entity " + name);
    PLese suggests.

    Dear Gaurav
    Please consider the blow JSP CODE:
    <%@ page import="sax.*,java.io.*,java.util.*,java.lang.*,java.text.*;" autoFlush="true" session="true" buffer="8kb"%>
    <HTML>
    <HEAD>
    <TITLE> SAX PARSER BEAN</TITLE>
    </HEAD>
    <BODY>
    <jsp:useBean id="p" class="sax.performDemo" scope="page"/>
    <%
    String file = request.getParameter("loc");
    String xpath = request.getParameter("xpath");
    %>
    <br> In <%=file%> and for <%=xpath%> is <br> <%=p.performDemo(file,xpath)%>
    <br><br>Node Names: <%=p.getNodes()%>
    <br><br>AttNames: <%=p.getAttNames()%>
    <br><br>AttValues: <%=p.getAttValues()%>
    <br><br><%=p.clearAll()%>
    </BODY>
    </HTML>
    THIS IS CORRESPONDING SAX BEAN TO THE ABOVE JSP CODE
    I am using "sax" package. PLease make changes accordingly.
    package sax;
    import java.util.*;
    import java.lang.*;
    import java.io.*;
    import java.io.IOException;
    import org.apache.xerces.parsers.SAXParser;
    import org.xml.sax.Attributes;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    public class performDemo
    public static ArrayList NodeNames = new ArrayList();
    public static ArrayList attNames = new ArrayList();
    public static ArrayList attValues = new ArrayList();
    public static String QueryString="",QString1="", QString2="",start="",end="";
    public static boolean start_collecting=false;
    public static void main(String args[]) throws Exception
    performDemo p =new performDemo();
    System.out.println("\nResult: "+p.performDemo(args[0],args[1]));
    System.out.println("\nNodes "+p.getNodes());
    System.out.println("\nAttNames "+p.getAttNames());
    System.out.println("\nAttValues "+p.getAttValues());
    public String performDemo(String uri,String xpath)
    //System.out.println("Parsing XML File: " + uri + "\n\n");
    QueryString=xpath;
    StringTokenizer QueryString_ST = new StringTokenizer(QueryString,"/");
    if(QueryString_ST!=null)
         int stLen = QueryString_ST.countTokens();
         while(QueryString_ST.hasMoreTokens())
              if((QueryString_ST.countTokens())>1)
              QString1 = QueryString_ST.nextToken();
    else if((QueryString_ST.countTokens())>0)
                   QString2 = QueryString_ST.nextToken();
    try
    XMLReader parser = new SAXParser();
    ContentHandler contentHandler = new MyContentHandler();
    parser.setContentHandler(contentHandler);
    parser.parse(uri);
    return("Given File Parsed Successfully!");
    } //try ends here
    catch (IOException e)
    //System.out.println("Error reading URI: " + e.getMessage());
    return("IO Exception Occured!! \n \n Check the file name and path");
    } //catch ends here
    catch (SAXException e)
    //System.out.println("Error in parsing: " + e.getMessage());
    return("SAX Exception Occured!!! \n \n Check the xpath ");
    } //catch ends here
    } //function ends here
    public ArrayList getNodes()
    return NodeNames;
    public ArrayList getAttNames()
    return attNames;
    public ArrayList getAttValues()
    return attValues;
    public String clearAll()
    NodeNames.clear();
    attNames.clear();
    attValues.clear();
    return("Cleared!!");
    class MyContentHandler extends performDemo implements ContentHandler {
    private Locator locator;
    public void setDocumentLocator(Locator locator) {
    //System.out.println(" * setDocumentLocator() called");
    this.locator = locator;
    public void startDocument() throws SAXException {
    //System.out.println("Parsing begins...");
    public void endDocument() throws SAXException {
    //System.out.println("...Parsing ends.");
    public void processingInstruction(String target, String data)
    throws SAXException {
    //System.out.println("PI: Target:" + target + " and Data:" + data);
    public void startPrefixMapping(String prefix, String uri) {
    //System.out.println("Mapping starts for prefix " + prefix + " mapped to URI " + uri);
    public void endPrefixMapping(String prefix) {
    //System.out.println("Mapping ends for prefix " + prefix);
    public void startElement(String namespaceURI, String localName,String rawName, Attributes atts)throws SAXException
    start=localName;
    if(start.equals(QString2))
    start_collecting=true; //start collecting nodes
                   if(start_collecting)
    if((atts.getLength())>1)
                   NodeNames.add(localName);
                   for(int i=0;i<=(atts.getLength()-1);i++)
              attNames.add((String)atts.getLocalName(i));
              attValues.add((String)atts.getValue(i));
    //System.out.print("startElement: " + localName);
    //if (!namespaceURI.equals("")) {
    ////System.out.println(" in namespace " + namespaceURI + " (" + rawName + ")");
    //} else {
    //System.out.println(" has no associated namespace");
    //for (int i=0; i<atts.getLength(); i++)
    //System.out.println(" Attribute: " + atts.getLocalName(i) +"=" + atts.getValue(i));
    public void endElement(String namespaceURI, String localName,String rawName) throws SAXException
         end=localName;
         if(end.equals(QString2))
              start_collecting=false;
    //System.out.println("endElement: " + localName + "\n");
    public void characters(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    //System.out.println("characters: " + s);
    public void ignorableWhitespace(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    //System.out.println("ignorableWhitespace: [" + s + "]");
    public void skippedEntity(String name) throws SAXException
    //System.out.println("Skipping entity " + name);
    Cheers....!!
    Newton
    Bangalore, INDIA

  • How to display Values(Numbers) in 3D Graph?

    Hi!
    PFA below. Its regarding the screen shot of 3D Graph.
    As we can see in the picture that the values are not accurate to view. So its better to display values(numbers) on top of each tower in 3D Graph.
    How to display that? Kindly suggest me any solution.
    With Regards,
    Yarnagula Sudhir.

    Hi!
    PFA below. Its regarding the screen shot of 3D Graph.
    As we can see in the picture that the values are not accurate to view. So its better to display values(numbers) on top of each tower in 3D Graph.
    How to display that? Kindly suggest me any solution.
    With Regards,
    Yarnagula Sudhir.

  • How to display Values(Numbers) over every individual Towers in 3D Graph?

    Hi!
    PFA below. Its regarding the screen shot of 3D Graph.
    As we can see in the picture that the values are not accurate to view. So its better to display values(numbers) on top of each tower in 3D Graph.
    How to display that? Kindly suggest me any solution.
    With Regards,
    Yarnagula Sudhir.
    Message was edited by: Yarnagula Sudhir
    Message was edited by: Yarnagula Sudhir

    You do realize that this forum is for Adobe InDesign?

  • How to display values inside the Pie chart?

    Hi Expert,
    How to display the values inside the Pie chart, instead of Mouse over values. Can u pls help me to do this one.
    Is it possible can we use mentioned below kind of pie charts in Xcelsius 2008.
    Thanks & Regards,
    Tamil
    Edited by: Rajesh Kumar Thoppe on Dec 13, 2010 10:41 AM

    Hi A G,
    Thank You for quick response!!!
    in this Text tab I am able to see below check box only
    1) Chart Title
    2) Sub Title
    3) Legend
    4) Mouse-Over
    Kindly advise me if i am wrong and let me know how to achieve this.
    Note: We have Xcelsius 2008 environment
    Thanks & Regards,
    Tamil
    Edited by: Rajesh Kumar Thoppe on Dec 13, 2010 1:58 PM

Maybe you are looking for