Variable problem - createEmptyMovieClip dynamic

Hi, I don't understand what i am writing bad.
In this code :
If i replace
this.createEmptyMovieClip(name_mc,this.getNextHighestDepth());
with :this.createEmptyMovieClip(
"name_mc" ,this.getNextHighestDepth());
It works.
I need 50 square buttons and i need dynamic names, haw i'll
writhe the variable code ?
Thanks for the time,
Paul

name_mc is a string, not the name assigned to a movieclip. So
your code is trying to get a string to behave as a movieclip. In
this case, dasdasd is the name of the movieclip, so either of the
following will work.
var name_mc = "dasdasd";
this.createEmptyMovieClip(name_mc,this.getNextHighestDepth());
this[name_mc].beginFill(0xFF0000);
this[name_mc].moveTo(10, 10);
this[name_mc].lineTo(100, 10);
this[name_mc].lineTo(100, 100);
this[name_mc].lineTo(10, 100);
this[name_mc].lineTo(10, 10);
this[name_mc].endFill();
this[name_mc]._x=100;
var name_mc = "dasdasd";
this.createEmptyMovieClip(name_mc,this.getNextHighestDepth());
dasdasd.beginFill(0xFF0000);
dasdasd.moveTo(10, 10);
dasdasd.lineTo(100, 10);
dasdasd.lineTo(100, 100);
dasdasd.lineTo(10, 100);
dasdasd.lineTo(10, 10);
dasdasd.endFill();
dasdasd._x=100;
In the first version I show, the brackets surrounding the
string causes the string to be evaluated as an object (which has
the string value of "dasdasd"). The brackets are a very handy tool,
especially when you need to loop thru a number of objects or target
objects that have names that vary by a digit value... movie1,
movie2, etc... -> this["movie"+i]._x in a loop for example.
Hopefully now you can see why using "name_mc" worked... it
was a string assigned as the instance name, not the variable
name_mc, and AS2 is forgiving in such matters... AS3 would have
stopped you cold because you have two different types being called
the same thing.

Similar Messages

  • Get bind variables of a dynamic view object

    I seem unable to retrieve the bind variables for a dynamically created view object, even though I can do the same thing for a regular view object.
    Here is the code:
    newVO = repServ.createViewObjectFromQueryStmt("newQry",strSql);
    VariableValueManager vvm = newVO.ensureVariableManager();
    if (vvm != null)
    Variable vars[] = vvm.getVariables();
    vars will be empty, even though the sql statement in strSql has bind variables in it.
    Is there any way to determine the bind variables of a dynamic view object?
    Thanks!

    I got the same problem as yours and still could not find any way out.
    However, as I can see, you wanted to get VariableValueManager of newly created ViewObject that may be not available at this moment.
    If you find way to solve the problem, please help.
    Cheer,
    MinhTran

  • What is the difference btwn Variable Substitution and Dynami Configuration

    Hi Gurus
    Could you please explain the difference between the Variable Substituion and Dynamic Configuration.
    whn shall we use them and in what scenarios?
    thanx in advance

    Please go through this blog
    /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name
    Also this
    /people/madanmohan.agrawal/blog/2009/05/20/combining-three-different-aspects-of-pi-asma-af-module-and-variable-substitution-in-one-shot
    Edited by: Baskar Gopal on Mar 31, 2011 9:04 AM

  • Bad Bind Variable Problem

    Hi
    I am trying to create a trigger and facing Bad Bind Variable problem.
    Plz let me know, what's the problem in this trigger.
    CREATE OR REPLACE TRIGGER Tender_tax_update AFTER
    INSERT
    OR UPDATE
    OR DELETE OF ITEM_QTY,ITEM_RATE,TENDER_ACC_QTY ON TENDER_ENQUIRY_ITEM_D REFERENCING OLD AS OLD NEW AS NEW FOR EACH ROW
    Declare
         v_amt TENDER_VENDOR_TAX_D.TAX_AMOUNT%TYPE;
         v_tax_ty TENDER_VENDOR_TAX_D.TAX_TYPE%TYPE;
         v_tax_cd TENDER_VENDOR_TAX_D.TAX_CODE%TYPE;
         v_ven_cd TENDER_VENDOR_TAX_D.VENDOR_CODE%TYPE;     
         v_item_cd TENDER_VENDOR_TAX_D.item_cd%TYPE;     
         v_tenno TENDER_VENDOR_TAX_D.tender_enquiry_no%TYPE;
    Begin
         if inserting then
              v_tax_ty:=:new.TAX_TYPE;
              v_tax_cd:=:new.TAX_CODE;
              v_ven_cd:=:new.vendor_code;
              v_item_cd:=:new.item_cd;
              v_tenno:=:new.tender_enquiry_no;
    select TAX_AMOUNT into v_amt from TENDER_TAX_DETAILS where tender_enquiry_no=v_tenno and TAX_CODE=v_tax_cd and TAX_TYPE=v_tax_ty and item_cd=v_item_cd and vendor_code=v_ven_cd;
    update TENDER_VENDOR_TAX_D set TAX_AMOUNT=v_amt where tender_enquiry_no=v_tenno and TAX_CODE=v_tax_cd and TAX_TYPE=v_tax_ty and item_cd=v_item_cd and vendor_code=v_ven_cd;
         end if;
    End Tender_tax_update;
    Database deails are as follows:
    TENDER_VENDOR_TAX_D
    Name Null? Type
    TENDER_ENQUIRY_NO NOT NULL VARCHAR2(8)
    VENDOR_CODE NOT NULL VARCHAR2(4)
    TAX_CODE NOT NULL VARCHAR2(4)
    PERCENTAGE NUMBER(5,2)
    TAX_AMOUNT NUMBER(15,2)
    ITEM_CD NOT NULL VARCHAR2(10)
    TAX_FLAG VARCHAR2(1)
    TAX_TYPE CHAR(3)
    TENDER_TAX_DETAILS
    Name Null? Type
    TENDER_ENQUIRY_NO NOT NULL VARCHAR2(8)
    VENDOR_CODE VARCHAR2(4)
    ITEM_CD VARCHAR2(10)
    TAX_CODE NOT NULL VARCHAR2(4)
    TAX_TYPE CHAR(3)
    TAX_AMOUNT NUMBER
    Message was edited by:
    user648065

    facing Band Bind Variable problem.Doesn't the error message tell you which bind variable is the problem?

  • Problem in dynamically generating the file upload field

    Hello all
    I am using netbeans 5.5 and visualwebpack for my jsf project.
    i have a problem in dynamically generating the file upload field and using it.
    I have a panel say "panelA" which holds file upload fields.
    Depending upon the count value i generate the file upload field using following code snippet:
    Upload upload1 = new Upload();
    upload1.setId("upload1");
    getPanelA.getChildren().add(upload1);
    The page successfully shows up the file upload fields. While the user clicks the submit button, i have used following logic to perform upload:
    List components = getPanelA().getChildren();
    for(int i = 0; i<components.size(); i++){
    if(components.get(i) instanceof Upload){
    UploadedFile uploadedFile = ((Upload)components.get(i)).getUploadedFile();
    I am getting this UploadedFile object null.
    How can i solve this problem.

    Anyway,
    I solved the problem.
    Actually i was using label property of the upload field due to which i got null pointer exception.
    I removed the label property of the upload field and things worked as i wanted.

  • How to send 5th variable to maessage dynamically

    how to send 5th variable to maessage dynamically..
    we have only 4 like msgv1,msgv2,msgv3,msgv4.......
    how to send 5th variable
    thanks in advssssss

    hi,
    as per my knowledge it is not possible because Message texts in table T100 can contain up to four ampersand characters (&) as placeholders. You can replace these at runtime using the WITH addition in the MESSAGE statement:
    MESSAGE ... WITH f1 ... f4.
    The contents of fields f1 ... f4 are then inserted sequentially into the message text in place of the placeholders.
    for more information on messages follow this link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaaaf35c111d1829f0000e829fbfe/content.htm
    regards,
    Ashok reddy

  • After Effects won't close/Problems with dynamic links

    When I quit After Effects the icon still shows up and it says that it is still open, even force quit will not work. Also having problems with dynamically linked files between after effects and Premiere pro. Rendering in Premiere doesn't work unless I go to AE, save the project, then go back to Premiere. I have OSX Mavericks 10.9.2, a late 2012 mac pro, and AE CC 12.2.1.5

    Kevin: would appreciate further thoughts on this.
    I am using Pr2014, version 8.0.0 I am using AE2014, version 13.0.2.3. When I was on earlier versions of each, I had no problem importing AE comps into Pr. I'd choose import in Pr, then select the AE project, then select the comp. But with my new and improved versions of AE and Pr, I keep getting "importer reported a generic error."
    I also tried to go the other way. I selected in Pr the clips I wanted to work on in AE, and then tried "replace with AE comp" but got the "generic error" message again..
    Finally, I attempted to create a Dynamic Link from Pr via the File menu, but with each of the options from there, I got "failed to connect to AE Dynamic Link"
    Any advice you can share, would be most welcome.

  • Hangman: variable problem

    Good evening. I am in the final stages of finishing up my hangman project but I have encountered a variable problem on 3 lines of code. The compiler doesn't seem to like this line of code "r = in.readLine();" or "word = in.readLine();" obviously it doesn't like this way of reading in. I am seeking any help possible. It would be very much appreciated. Thanks!
    here's the code:
    package hangman;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2005</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    import java.io.*;
    import java.text.*;
    public class Hangman {
        public static void main(String[] args)throws IOException
            char[] theWord;
            char[] guesses;
            boolean[] correctGuesses;
            int maxWrong = 6; // We'll give them 6 incorrect
            int numWrong = 0;
            boolean badGuess;
            char guess;
            int numGuesses = 0;
            // Get the word
            theWord = getWord();
            // Initialize correctGuesses
            correctGuesses = new boolean[theWord.length];
            for(int i = 0; i < correctGuesses.length; i++) {
                correctGuesses[i] = false;
            // initialize guesses
            guesses = new char[theWord.length + maxWrong];
            // Keep going until they have guessed everything
    while(!gameOver(correctGuesses) && numWrong < maxWrong) {
                // Print out the current state
                System.out.println("-----");
                // Print out the status
                System.out.print("Status: ");
                for(int i = 0; i < theWord.length; i++)
                    if(correctGuesses)
    System.out.print(theWord[i]);
    else
    System.out.print('_');
    System.out.println();
    // Print out what has been guessed so far
    System.out.print("Guessed: ");
    for(int i = 0; i < numGuesses; i++)
    System.out.print(guesses[i]);
    System.out.println();
    System.out.println((maxWrong - numWrong) + " incorrect guesses remaining");
    System.out.println("*****");
    // Get the guess
    guess = getGuess(guesses, numGuesses);
    // Record it
    guesses[numGuesses] = guess;
    numGuesses++;
    // See if it is in the word
    badGuess = true;
    for(int i = 0; i < theWord.length; i++) {
    if(guess == theWord[i]) {
    correctGuesses[i] = true;
    badGuess = false;
    if(!badGuess) {
    System.out.println("Good guess!");
    } else {
    System.out.println("Bad guess!");
    // If the guess wasn't in the word, increment
    numWrong++;
    if(numWrong == maxWrong)
    System.out.println("Game Over: Sorry you entered too many bad guesses - better luck next time!");
    else
    System.out.println("Good Job - you win!");
    // Get the word
    public static char[] getWord() {
    String word;
    // Get a word
    System.out.print("Please enter a word: ");
    word = in.readLine();
    // And return it as a char array
    return word.toCharArray();
    // See if the game is finished (all the letters guessed)
    public static boolean gameOver(boolean[] g) {
    boolean allGuessed = true;
    // if any element of the array is false
    // then they haven't guessed everything yet
    // and the game is not over
    for(int i = 0; i < g.length; i++)
    if(g[i] == false)
    allGuessed = false;
    return allGuessed;
    // Get a guess
    public static char getGuess(char[] guesses, int numGuesses) {
    char r = 'a';
    boolean done = false;
    // Get a character
    while(!done) {
    // Read and discard the previous newline
    while(r != '\n')
    r = in.readLine();
    System.out.print("Your guess: ");
    r = in.readLine();
    // See if they already guessed this letter
    done = true;
    for(int i = 0; i < numGuesses; i++) {
    if(r == guesses[i]) {
    System.out.println("You already guessed that letter. Please try again.");
    done = false;
    // return the guess
    return r;

    THANKS! i just added a bufferedreader however, the same problem with the variable persists. if anyone can fix it i'd appreciate it dearly!
    code with bufferedreader:
    package hangman;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2005</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    import java.io.*;
    import java.text.*;
    public class Hangman {
        public static void main(String[] args)throws IOException
            char[] theWord;
            char[] guesses;
            boolean[] correctGuesses;
            int maxWrong = 6; // We'll give them 6 incorrect
            int numWrong = 0;
            boolean badGuess;
            char guess;
            int numGuesses = 0;
            BufferedReader in;
            in = new BufferedReader(new InputStreamReader(System.in));
            // Get the word
            theWord = getWord();
            // Initialize correctGuesses
            correctGuesses = new boolean[theWord.length];
            for(int i = 0; i < correctGuesses.length; i++) {
                correctGuesses[i] = false;
            // initialize guesses
            guesses = new char[theWord.length + maxWrong];
            // Keep going until they have guessed everything
    while(!gameOver(correctGuesses) && numWrong < maxWrong) {
                // Print out the current state
                System.out.println("-----");
                // Print out the status
                System.out.print("Status: ");
                for(int i = 0; i < theWord.length; i++)
                    if(correctGuesses)
    System.out.print(theWord[i]);
    else
    System.out.print('_');
    System.out.println();
    // Print out what has been guessed so far
    System.out.print("Guessed: ");
    for(int i = 0; i < numGuesses; i++)
    System.out.print(guesses[i]);
    System.out.println();
    System.out.println((maxWrong - numWrong) + " incorrect guesses remaining");
    System.out.println("*****");
    // Get the guess
    guess = getGuess(guesses, numGuesses);
    // Record it
    guesses[numGuesses] = guess;
    numGuesses++;
    // See if it is in the word
    badGuess = true;
    for(int i = 0; i < theWord.length; i++) {
    if(guess == theWord[i]) {
    correctGuesses[i] = true;
    badGuess = false;
    if(!badGuess) {
    System.out.println("Good guess!");
    } else {
    System.out.println("Bad guess!");
    // If the guess wasn't in the word, increment
    numWrong++;
    if(numWrong == maxWrong)
    System.out.println("Game Over: Sorry you entered too many bad guesses - better luck next time!");
    else
    System.out.println("Good Job - you win!");
    // Get the word
    public static char[] getWord() {
    String word;
    // Get a word
    System.out.print("Please enter a word: ");
    word = in.readLine();
    // And return it as a char array
    return word.toCharArray();
    // See if the game is finished (all the letters guessed)
    public static boolean gameOver(boolean[] g) {
    boolean allGuessed = true;
    // if any element of the array is false
    // then they haven't guessed everything yet
    // and the game is not over
    for(int i = 0; i < g.length; i++)
    if(g[i] == false)
    allGuessed = false;
    return allGuessed;
    // Get a guess
    public static char getGuess(char[] guesses, int numGuesses) {
    char r = 'a';
    boolean done = false;
    // Get a character
    while(!done) {
    // Read and discard the previous newline
    while(r != '\n')
    r = in.readLine();
    System.out.print("Your guess: ");
    r = in.readLine();
    // See if they already guessed this letter
    done = true;
    for(int i = 0; i < numGuesses; i++) {
    if(r == guesses[i]) {
    System.out.println("You already guessed that letter. Please try again.");
    done = false;
    // return the guess
    return r;

  • Problem using dynamic variable as HashMap key

    I have created a HashMap called instantHashMap and loaded it with data from a query.
    I can load a variable with a value for the HashMap key and successfully output the HashMap value:
    <c:set var = "gameno" value="150" />
    <c:out value = "${instantHashMap[gameno]}" />
    But when I load my variable value from my data like this...
    <c:set var = "gameno" value="${rvo.gameNo}" />
    <c:out value = "${instantHashMap[gameno]}" />
    ...it doesn't work.
    My loaded variable value is correct because this statement does work and reflects the data obtained from my query:
    <c:out value = "${gameno}" />
    Could rvo.gameNo be the wrong data type or something?

    My loaded variable value is correct because this statement does work >and reflects the data obtained from my query:In which case, check if your map contains a key which is the loaded variable value.
    ram.

  • Problem passing dynamically created variables

    Hi,
    I have a procedure in which i am creating an object dynamically and i am using that object in another package . I am calling first the procedure that creating the object and recompiling the package and calling to that package but i want to integrate them and instead of calling them individually want to call a single procedure to achieve the requirement . Here i am giving the details of the procedure and package please guide me ..
    CREATE TABLE ip_lov_hdr
    (table_id VARCHAR2(50) NOT NULL,
    table_name VARCHAR2(30) NOT NULL,
    col_name VARCHAR2(30) NOT NULL,
    codetype VARCHAR2(2))
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    ALTER TABLE ip_lov_hdr
    ADD CONSTRAINT pk_lov_hdr PRIMARY KEY (table_id)
    USING INDEX
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    CREATE TABLE ip_lov_dtl
    (table_id VARCHAR2(50) NOT NULL,
    col_name VARCHAR2(30) NOT NULL)
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    ALTER TABLE ip_lov_dtl
    ADD CONSTRAINT pk_lov_dtl PRIMARY KEY (table_id, col_name)
    USING INDEX
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    ALTER TABLE ip_lov_dtl
    ADD CONSTRAINT fk_lov_hdr FOREIGN KEY (table_id)
    REFERENCES ip_lov_hdr (table_id) ON DELETE SET NULL
    CREATE TABLE emp
    (ename VARCHAR2(50),
    empno VARCHAR2(9),
    dept VARCHAR2(4))
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    CREATE OR REPLACE
    TYPE out_rec_lov AS OBJECT(ename VARCHAR2(50),empno VARCHAR2(9))
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('titu','111','10')
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('naria','222',NULL)
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('tiks','123','55')
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('tiki','221',NULL)
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('narayan',NULL,NULL)
    INSERT INTO ip_lov_hdr
    (TABLE_ID,TABLE_NAME,COL_NAME,CODETYPE)
    VALUES
    ('emp_id','emp','ename',NULL)
    INSERT INTO ip_lov_dtl
    (TABLE_ID,COL_NAME)
    VALUES
    ('emp_id','empno')
    CREATE OR REPLACE
    TYPE out_rec_lov AS OBJECT(ename VARCHAR2(50),empno VARCHAR2(9))
    CREATE OR REPLACE
    PROCEDURE p_recordtypevariable (tab_id IN VARCHAR2,err_msg OUT VARCHAR2)
       IS
          sqlstmt             VARCHAR2 (2000);
          col_str             VARCHAR2 (2000);
          i                   NUMBER := 0;
          l_table_name        ip_lov_hdr.table_name%TYPE;
          l_col_name          ip_lov_hdr.col_name%TYPE;
          l_codetype          ip_lov_hdr.codetype%TYPE;
          l_datatype          VARCHAR2 (100);
          invalid_tableid     EXCEPTION;
       BEGIN
          BEGIN
             SELECT a.table_name,
                    a.codetype,
                    a.col_name,
                    b.data_type || '(' || b.data_length || ')'
               INTO l_table_name,
                    l_codetype,
                    l_col_name,
                    l_datatype
               FROM ip_lov_hdr a, user_tab_columns b
              WHERE UPPER (a.table_id) = UPPER (tab_id)
                AND UPPER (a.table_name) = UPPER (b.table_name)
                AND UPPER (a.col_name) = UPPER (b.column_name);
          EXCEPTION
             WHEN NO_DATA_FOUND THEN
                RAISE invalid_tableid;
          END;
          col_str := l_col_name || ' ' || l_datatype;
          FOR rec IN  (SELECT b.col_name,
                              c.data_type || '(' || c.data_length || ')' datatype
                         FROM ip_lov_hdr a, ip_lov_dtl b, user_tab_columns c
                        WHERE UPPER (b.table_id) = UPPER (tab_id)
                          AND UPPER (a.table_id) = UPPER (b.table_id)
                          AND UPPER (a.table_name) = UPPER (c.table_name)
                          AND UPPER (b.col_name) = UPPER (c.column_name) )
          LOOP
             col_str := col_str || ',' || rec.col_name || ' ' || rec.datatype;
          END LOOP;
          sqlstmt := 'CREATE OR REPLACE TYPE out_rec_lov AS OBJECT(' || col_str || ')';
          dbms_utility.exec_ddl_statement(sqlstmt);
          dbms_utility.exec_ddl_statement('alter package pkg_lov_new compile');
       EXCEPTION
          WHEN invalid_tableid THEN
             err_msg := 'Table is not defined ';
          WHEN OTHERS THEN
             err_msg := SUBSTR (SQLERRM, 1, 500);
       END p_recordtypevariable;
    CREATE OR REPLACE
    PACKAGE pkg_lov_new
    AS
    TYPE listtable IS TABLE OF out_rec_lov index by binary_integer;
    PROCEDURE p_getlov (
    tab_id IN VARCHAR2,
    col_value IN VARCHAR2,
    outlist OUT listtable,
    err_msg OUT VARCHAR2);
    END;
    CREATE OR REPLACE
    PACKAGE BODY pkg_lov_new
    AS
      PROCEDURE p_getlov (
          tab_id                     IN VARCHAR2,
          col_value                  IN VARCHAR2,
          outlist                    OUT listtable,
          err_msg                    OUT VARCHAR2)
       IS
          query_str           VARCHAR2 (2000);
          col_str             VARCHAR2 (2000);
          TYPE cur_typ IS REF CURSOR;
          c                   cur_typ;
          i                   NUMBER := 0;
          l_table_name        ip_lov_hdr.table_name%TYPE;
          l_col_name          ip_lov_hdr.col_name%TYPE;
          l_codetype          ip_lov_hdr.codetype%TYPE;
       BEGIN
          BEGIN
             SELECT table_name,
                    codetype,
                    col_name
               INTO l_table_name,
                    l_codetype,
                    l_col_name
               FROM ip_lov_hdr
              WHERE UPPER (table_id) = UPPER (tab_id);
          EXCEPTION
             WHEN NO_DATA_FOUND THEN
                NULL;
          END;
          col_str := l_col_name;
          FOR rec IN  (SELECT col_name
                         FROM ip_lov_dtl
                        WHERE table_id = tab_id)
          LOOP
             col_str := col_str || ',' || rec.col_name;
          END LOOP;
          IF l_codetype IS NULL THEN
             query_str :=    'select out_rec_lov('
                          || col_str
                          || ') from '
                          || l_table_name
                          || ' where '
                          || l_col_name
                          || ' like :col_value';
             BEGIN
                OPEN c FOR query_str USING col_value;
                LOOP
                   FETCH c INTO outlist (i);
                   i := i + 1;
                   EXIT WHEN c%NOTFOUND;
                END LOOP;
                CLOSE c;
             EXCEPTION
                WHEN OTHERS THEN
                   err_msg := SUBSTR (SQLERRM, 1, 500);
             END;
          ELSE
             query_str :=    'select out_rec_lov('
                          || col_str
                          || ') from '
                          || l_table_name
                          || ' where code_type =:l_codetype and '
                          || l_col_name
                          || ' like :col_value';
             BEGIN
                OPEN c FOR query_str USING l_codetype, col_value;
                LOOP
                   FETCH c INTO outlist (i);
                   i := i + 1;
                   EXIT WHEN c%NOTFOUND;
                END LOOP;
                CLOSE c;
             EXCEPTION
                WHEN OTHERS THEN
                   err_msg := SUBSTR (SQLERRM, 1, 500);
             END;
          END IF;
       EXCEPTION
          WHEN OTHERS THEN
             err_msg := SUBSTR (SQLERRM, 1, 500);
       END p_getlov;
    END pkg_lov_new;
    /Regards,
    Dhabas
    Edited by: Dhabas on Dec 30, 2008 5:52 PM

    CREATE TABLE ip_lov_hdr
    (table_id VARCHAR2(50) NOT NULL,
    table_name VARCHAR2(30) NOT NULL,
    col_name VARCHAR2(30) NOT NULL,
    codetype VARCHAR2(2))
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    ALTER TABLE ip_lov_hdr
    ADD CONSTRAINT pk_lov_hdr PRIMARY KEY (table_id)
    USING INDEX
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    CREATE TABLE ip_lov_dtl
    (table_id VARCHAR2(50) NOT NULL,
    col_name VARCHAR2(30) NOT NULL)
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    ALTER TABLE ip_lov_dtl
    ADD CONSTRAINT pk_lov_dtl PRIMARY KEY (table_id, col_name)
    USING INDEX
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    ALTER TABLE ip_lov_dtl
    ADD CONSTRAINT fk_lov_hdr FOREIGN KEY (table_id)
    REFERENCES ip_lov_hdr (table_id) ON DELETE SET NULL
    CREATE TABLE emp
    (ename VARCHAR2(50),
    empno VARCHAR2(9),
    dept VARCHAR2(4))
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    CREATE OR REPLACE
    TYPE out_rec_lov AS OBJECT(ename VARCHAR2(50),empno VARCHAR2(9))
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('titu','111','10')
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('naria','222',NULL)
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('tiks','123','55')
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('tiki','221',NULL)
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('narayan',NULL,NULL)
    INSERT INTO ip_lov_hdr
    (TABLE_ID,TABLE_NAME,COL_NAME,CODETYPE)
    VALUES
    ('emp_id','emp','ename',NULL)
    INSERT INTO ip_lov_dtl
    (TABLE_ID,COL_NAME)
    VALUES
    ('emp_id','empno')
    CREATE OR REPLACE
    TYPE out_rec_lov AS OBJECT(ename VARCHAR2(50),empno VARCHAR2(9))
    CREATE OR REPLACE
    PROCEDURE p_recordtypevariable (tab_id IN VARCHAR2,err_msg OUT VARCHAR2)
    IS
    sqlstmt VARCHAR2 (2000);
    col_str VARCHAR2 (2000);
    i NUMBER := 0;
    l_table_name ip_lov_hdr.table_name%TYPE;
    l_col_name ip_lov_hdr.col_name%TYPE;
    l_codetype ip_lov_hdr.codetype%TYPE;
    l_datatype VARCHAR2 (100);
    invalid_tableid EXCEPTION;
    BEGIN
    BEGIN
    SELECT a.table_name,
    a.codetype,
    a.col_name,
    b.data_type || '(' || b.data_length || ')'
    INTO l_table_name,
    l_codetype,
    l_col_name,
    l_datatype
    FROM ip_lov_hdr a, user_tab_columns b
    WHERE UPPER (a.table_id) = UPPER (tab_id)
    AND UPPER (a.table_name) = UPPER (b.table_name)
    AND UPPER (a.col_name) = UPPER (b.column_name);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RAISE invalid_tableid;
    END;
    col_str := l_col_name || ' ' || l_datatype;
    FOR rec IN (SELECT b.col_name,
    c.data_type || '(' || c.data_length || ')' datatype
    FROM ip_lov_hdr a, ip_lov_dtl b, user_tab_columns c
    WHERE UPPER (b.table_id) = UPPER (tab_id)
    AND UPPER (a.table_id) = UPPER (b.table_id)
    AND UPPER (a.table_name) = UPPER (c.table_name)
    AND UPPER (b.col_name) = UPPER (c.column_name) )
    LOOP
    col_str := col_str || ',' || rec.col_name || ' ' || rec.datatype;
    END LOOP;
    sqlstmt := 'CREATE OR REPLACE TYPE out_rec_lov AS OBJECT(' || col_str || ')';
    dbms_utility.exec_ddl_statement(sqlstmt);
    dbms_utility.exec_ddl_statement('alter package pkg_lov_new compile');
    EXCEPTION
    WHEN invalid_tableid THEN
    err_msg := 'Table is not defined ';
    WHEN OTHERS THEN
    err_msg := SUBSTR (SQLERRM, 1, 500);
    END p_recordtypevariable;
    CREATE OR REPLACE
    PACKAGE pkg_lov_new
    AS
    TYPE listtable IS TABLE OF out_rec_lov index by binary_integer;
    PROCEDURE p_getlov (
    tab_id IN VARCHAR2,
    col_value IN VARCHAR2,
    outlist OUT listtable,
    err_msg OUT VARCHAR2);
    END;
    CREATE OR REPLACE
    PACKAGE BODY pkg_lov_new
    AS
    PROCEDURE p_getlov (
    tab_id IN VARCHAR2,
    col_value IN VARCHAR2,
    outlist OUT listtable,
    err_msg OUT VARCHAR2)
    IS
    query_str VARCHAR2 (2000);
    col_str VARCHAR2 (2000);
    TYPE cur_typ IS REF CURSOR;
    c cur_typ;
    i NUMBER := 0;
    l_table_name ip_lov_hdr.table_name%TYPE;
    l_col_name ip_lov_hdr.col_name%TYPE;
    l_codetype ip_lov_hdr.codetype%TYPE;
    BEGIN
    BEGIN
    SELECT table_name,
    codetype,
    col_name
    INTO l_table_name,
    l_codetype,
    l_col_name
    FROM ip_lov_hdr
    WHERE UPPER (table_id) = UPPER (tab_id);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    END;
    col_str := l_col_name;
    FOR rec IN (SELECT col_name
    FROM ip_lov_dtl
    WHERE table_id = tab_id)
    LOOP
    col_str := col_str || ',' || rec.col_name;
    END LOOP;
    IF l_codetype IS NULL THEN
    query_str := 'select out_rec_lov('
    || col_str
    || ') from '
    || l_table_name
    || ' where '
    || l_col_name
    || ' like :col_value';
    BEGIN
    OPEN c FOR query_str USING col_value;
    LOOP
    FETCH c INTO outlist (i);
    i := i + 1;
    EXIT WHEN c%NOTFOUND;
    END LOOP;
    CLOSE c;
    EXCEPTION
    WHEN OTHERS THEN
    err_msg := SUBSTR (SQLERRM, 1, 500);
    END;
    ELSE
    query_str := 'select out_rec_lov('
    || col_str
    || ') from '
    || l_table_name
    || ' where code_type =:l_codetype and '
    || l_col_name
    || ' like :col_value';
    BEGIN
    OPEN c FOR query_str USING l_codetype, col_value;
    LOOP
    FETCH c INTO outlist (i);
    i := i + 1;
    EXIT WHEN c%NOTFOUND;
    END LOOP;
    CLOSE c;
    EXCEPTION
    WHEN OTHERS THEN
    err_msg := SUBSTR (SQLERRM, 1, 500);
    END;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    err_msg := SUBSTR (SQLERRM, 1, 500);
    END p_getlov;
    END pkg_lov_new;
    /

  • Problem creating dynamic URI for importing xsl sub templates in rtf

    Hi,
    We are using xsl based sub templates in RTF. My code in RTF to import sub template is
    <?import:http://localhost:7001/xmlpserver/Header.xsl?>
    <?call@inlines: CustomerReportHeader?><?end call?>
    This sub template import statement is used in lot of RTF's. We require to configure host,port name in server run time properties and will get the value in RTF and will construct URI dynamically ,So we put one property in xdo.cfg.
    xdo.cfg contains as below
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
    <property name="xdk-secure-io-mode">false</property>
    </properties>
    <properties>
              <property name="xslt.HTTP">'localhost:7001/xmlpserver'</property>
    </properties>
    </config>
    and i changed my sub template call to
    <?import:http://${HTTP}/Header.xsl?>
    <?call@inlines: subtemplate1?><?end call?>
    Where subtemplate1 : is one sub template in side Header.xsl
    This configuration is not working. The HTTP value is not being parsed. The BI publisher throwing exception as "Unknown host exception ${HTTP}"
    Please note that : I am able to print HTTP run time variable value in report by <?$HTTP?> adding in Form Field text.
    I have installed BI publisher 10.1.3.4.1 (xmlpserver) in weblogic 10.3.5
    Please guide us on this above problem.

    Hi,
    The problem got resolved when we tried same thing in BI publisher 10.1.3.4.2 (xmlpserver) in weblogic 10.3.5. It seems that BI publisher 10.1.3.4.1 does not have dynamic URI support.
    Thanks,
    Sanjaya
    Edited by: Sanjaya on Sep 4, 2012 2:09 AM

  • How to access a variable from a dynamically included JSP page

    I have a jsp (say main.jsp) using the following in its code :
    <jsp:include page="menu.jsp" flush="true" />
    I have a variable in menu.jsp which I would like to use in my main.jsp.
    How do I get the value of the variable defined in menu.jsp ?
    I called this variable in menu.jsp, Public, but this didnot help me use the value of that variable in main.jsp
    Any help is highly appreciated.. thnks a lot

    I do notice the variable var1 has the value populated - in menu.jsp - (from View -->
    Source in the browser) but for some reason not able to use it in main.jspI'm not quite sure of the way your jsps are structured from your code snippet but I think there is something to be aware of here that may be part of your problem, namely the difference between the include directive and the include action.
    You are currently using the include action, this treats the included resource as a dynamic object - i.e. a request is sent to that resource and the resulting response is included in your page. So when you think of what there is no java variable actually included - you'll just get the resulting HTML that is generated by menu.jsp
    The include directive, as in <%@include file=�menu.jsp � %>, on the other hand treats the resource as a static object. This means the actual bytes in the included resource are inserted into the including jsp and then the result of that is compiled and processed, effectively you are cutting and pasting the menu.jsp into your calling jsp. In this case the variable would be available to the calling jsp.
    However this approach does bring other difficulties that may break your current code, you'll just have to try it and see what happens.
    Hope that's relevant to your problem,
    Matt

  • Oracle 9i, Rel.2 - Problems with dynam statement and cursor

    Hello,
    I have the following problem with Oracle 9i, Release 2:
    I have a SQL-statement, which I create with the help of a configuration table. That means I don’t know how this statement looks at runtime. It could be look like this:
    SELECT Att1, Att2, Att3
    FROM Tab1
    or this…
    SELECT Att1, Att2
    FROM Tab1
    or this…
    SELECT Att1
    FROM Tab1
    etc.
    That means I don’t know in advance how many columns will be in the select-clause.
    Here my code snippet until here:
    v_query_str := 'SELECT ' || v_select_clause_str
    || ' FROM cb.' || v_table;
    ,,v_select_clause_str" willl be created dynamically
    ,,v_table" is as well from the config-table
    Now I want to iterate through the result of the query and do further processing.
    For this reason I wanted to use a cursor, iterate through the rows and save every value of each row in an own variable (but I don’t know the number of columns!!!).
    But how can I open a cursor and iterate through it without knowing the number of columns???
    The following code is NOT working:
    TYPE t_dataColumnComp IS TABLE OF VARCHAR2(200);
    a_dataColumnComp t_dataColumnComp;
    --here I create the query…
    v_query_str := 'SELECT ' || v_select_clause_str
    || ' FROM cb.' || v_table;
    OPEN c_tempAtt FOR v_query_str;
    LOOP
    FETCH c_tempAtt INTO a_dataColumnComp; --THIS DON’T WORK
    EXIT WHEN c_tempAtt%NOTFOUND;
    FOR i IN 1..a_dataColumnComp.COUNT
    LOOP
    DBMS_OUTPUT.PUT_LINE(a_dataColumnComp(i));
    END LOOP;
    END LOOP;
    CLOSE c_tempAtt; --close cursor variable
    Regards
    Homer

    You will need to use DBMS_SQL to handle this since the number of columns in the result set is not known until runtime.
    See here for an example of using DBMS_SQL:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:235814350980

  • Create record variable that refers dynamic query assigned to a ref cursor?

    Hi ,
    Just explaining what I am trying to achieve:
    1) i have a hr.departments table that was loaded in hr schema on 1st oct 2012 with 4 columns(department_id, department_name, manager_id, location_id)
    2) now I have a new schema by my name 'rahul' and I have loaded departments table but now an additional column has come into picture,ie created_date, this table got loaded on 1st-Nov-2012
    3) Now going forward my columns could be dropped from the departments table (it can be a case), for example might be my departments table in my schema 'rahul' one day could comprise of only 3 columns(department_id,department_name,manager_id)
    4) Now in the next step, I have managed to extract common column names(in a single line where columns are delimited using a comma) from both the tables(hr.departments and rahul.departments) which are (department_id, department_name, manager_id, location_id) using all_tab_cols table and I have written a function for it which i will be pasting below.
    5) now going forward, using the above column names line with column names delimited using comma, I have used a ref cursor and assigned a query to it using the line of columns that I have extracted from the above point
    6) Now I want to create a record variable which refers to my ref cursor, something like we do when we create a record variable by reffering to an explicit cursor defination that we give in the declaration block.
    PS:
    1) I have been out of touch with plsql for a long time so I have lost a lot of mmeory regarding plsql.
    2) basically I need to compare data in hr.departments table with rahul.departments table for only columns that are common to both the tables, rest new or discarded columns information will go in one of the log tables that I have created(this is done already)
    Please help me, I did try searching on google for the same but it really confused me very badly, any kind of help is appreciated, please find my code below:
    Regards
    Rahul
    Code :
    ===================================================================================================
    create or replace procedure p_compare_data(fp_old_table_name in varchar2, fp_new_table_name in varchar2)
    is
    type ref_cursor_old_table is ref cursor;
    v_ref_cursor_old_table ref_cursor_old_table;
    --record_v_ref_cursor_old_table v_ref_cursor_old_table;
    --record_ref_cursor_old_table v_ref_cursor_old_table%ROWTYPE;
    Lv_all_column_names varchar2(2000);
    function f_fetch_common_column_names(fp_old_table_name in varchar2, fp_new_table_name in varchar2)
    return varchar2
    is
              Lv_all_column_names varchar2(2000);
    begin
              execute immediate 'select ltrim(all_column_names,'','') all_column_names_in_line from (select * from (select sys_connect_by_path(hr_e_column_name,'','') all_column_names from (select hr_e_column_name, rownum curr, rownum - 1 prev from (select hr_e.* , rahul_e.* , case when (hr_e_column_name = rahul_e_column_name) then 1 when (rahul_e_column_name is NULL) then 2 when (hr_e_column_name is NULL) then 3 end decision from (select column_name hr_e_column_name from all_tab_cols where owner ='''||substr(fp_old_table_name,1,instr(fp_old_table_name,'.',1,1)-1)||''' and table_name = '''||substr(fp_old_table_name,instr(fp_old_table_name,'.',1,1)+1)||''') hr_e full outer join (select column_name rahul_e_column_name from all_tab_cols where owner = '''||substr(fp_new_table_name,1,instr(fp_new_table_name,'.',1,1)-1)||''' and table_name = '''||substr(fp_new_table_name,instr(fp_new_table_name,'.',1,1)+1)||''') rahul_e on hr_e.hr_e_column_name = rahul_e.rahul_e_column_name) decision_table where decision = 1) a start with a.curr = 1 connect by prior curr = prev) b order by length(b.all_column_names) desc) all_column_names_in_line where rownum = 1' into Lv_all_column_names;
              return (Lv_all_column_names);
    end;
    begin
         Lv_all_column_names := f_fetch_common_column_names(fp_old_table_name, fp_new_table_name);
         --dbms_output.put_line(Lv_all_column_names);
         open v_ref_cursor_old_table for ('select '||Lv_all_column_names||' from '||fp_old_table_name);
    end;
    =====================================================================================================

    >
    6) Now I want to create a record variable which refers to my ref cursor, something like we do when we create a record variable by reffering to an explicit cursor defination that we give in the declaration block.
    >
    This thread is basically nothing more than a continuation of your original thread except now you are finally explaining what you are really trying to do.
    Re: passing table name to a procedure and then need to open a cursor ..
    In that original thread you said you found the solution
    >
    Well Mate thanks for your suggestion but I got it working through ref cusror, thanks for your time.
    >
    So I ask you to post your 'solution' and when you finally did it was clear that you hadn't solved anything at all. Your solution used a ref cursor all right but the code relied on a record ('record_employees') that was based on a table name ('employees') that was declared within the procedure. There isn't much point in passing in a table name if you have to hard-code the table name in the procedure.
    create or replace procedure p_ref_cursor(fp_old_table in varchar2)
    is
    type ref_cursor is REF CURSOR;
    v_ref_cursor ref_cursor;
    record_employees hr.employees%ROWTYPE;
    begin
    open v_ref_cursor for 'select * from '||fp_old_table;
    loop
    fetch v_ref_cursor into record_employees;
    exit when v_ref_cursor%NOTFOUND;
    dbms_output.put_line(record_employees.employee_id);
    end loop;
    end;Then sb92075 ask you the question that illustrates what I just said
    >
    what happens when you pass in "HR.DEPARTMENTS" ; besides throwing errors?
    >
    And you blew him off with this
    >
    Mate, departments never came in my context, in my prior message I explained what I was trying to achieve ... so I dont know what problem you are understanding reading my posts.
    >
    And now here you are asking how to get this to work for the departments table.
    It is very difficult to help someone that won't tell us what it is they are really trying to do so we can try to suggest some better ways of doing it. Hopefully, in the future, you wil start by explaining your problems instead of focusing on the solution you think you should use.
    Back to the issue -
    The first thing you should do is finish defining the requirements. Assuming the above actually works to identify columns that have different data what are you going to do with that information?
    1. Do you need to save that different data from TABLE1 somewhere?
    2. If you don't save it how will anyone look at it to decide which table has the correct data?
    3. If you do save it how will you save it 'generically' since other tables will have different columns and datatypes?
    4. What about the data from the same record in TABLE2; do you need to save that data somewhere?
    5. Will these two tables have primary keys? Are they on the same columns in each table? If not what if TABLE1 has one record but there are TWO records in TABLE2 that are identical. Is that a match? Or is that a problem because TABLE2 has an extra record even though the record is identical?
    In short detecting the differences is just one small part of the entire problem. You also need to save those differences somewhere so someone can examine the data and decide what action to take. That is the more difficult part of trying to implement a 'generic' solution.
    But now that we know what you are really trying to do take a read through this thread from 6 years ago. It has three different ways to pass a query to a procedure and get different output. You may want to save a copy of the thread since it has some very advanced techniques in it.
    How to pipeline a function with a dynamic number of columns?
    See ascheffer's reply Posted: May 9, 2006 4:53 AM for using data cartridge functionality with a pipelined function.
    See Kamal's reply Posted: May 10, 2006 4:49 AM - it shows how to get XML output.
    See BluShadow's reply Posted: Mar 27, 2009 1:50 AM - for using dynamic sql

  • PPR problem with dynamic regions

    Hello,
    I have an application which starts by displaying a two buttons, each of which is supposed to display a particular bounded task flow in a dynamic region. The first task flow has a .jsff which has a table that displays records in a richtable... no problem there. The second task flow displays records (from a different table in the database) in a PanelFormLayout using inputtext's.
    Now the problem.
    When the first task flow is set to display by default when the application is run, the table works as it should. I click the button to switch the dynamic region to the second task flow and that is fine, but any navigation button I click gives me the following error...
    SEVERE: Server Exception during PPR, #4
    javax.el.PropertyNotFoundException: Target Unreachable, 'Col2Id' returned null
    Now, if I setup this second task flow to display by default, it works as it should.
    The actionlistener I use to switch the tasks in the dynamic region is as follows
      public void testListener1(ActionEvent actionEvent) {
        String varTask;
        //the two buttons have btn1 and btn2 as the id's, so this returns '1' or '2' respectively to generate the correct taskFlowId below
        varTask = actionEvent.getComponent().getId().substring(3);
        // this builds the task flow id based on the value of the variable determined above
        taskFlowId = "/WEB-INF/tasks/task-flow-" + varTask + ".xml#task-flow-" + varTask;
    }and it does switch the task flow to the correct one.
    The .jsff for the second task flow is as follows
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:panelBox text="PanelBox1">
        <f:facet name="toolbar"/>
        <af:panelFormLayout>
          <af:inputText value="#{bindings.Col2Id.inputValue}"
                        label="#{bindings.Col2Id.hints.label}"
                        required="#{bindings.Col2Id.hints.mandatory}"
                        columns="#{bindings.Col2Id.hints.displayWidth}"
                        maximumLength="#{bindings.Col2Id.hints.precision}"
                        shortDesc="#{bindings.Col2Id.hints.tooltip}"
                        id="textCol2Id">
            <f:validator binding="#{bindings.Col2Id.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Col2Desc.inputValue}"
                        label="#{bindings.Col2Desc.hints.label}"
                        required="#{bindings.Col2Desc.hints.mandatory}"
                        columns="#{bindings.Col2Desc.hints.displayWidth}"
                        maximumLength="#{bindings.Col2Desc.hints.precision}"
                        shortDesc="#{bindings.Col2Desc.hints.tooltip}"
                        id="textCol2Desc">
            <f:validator binding="#{bindings.Col2Desc.validator}"/>
          </af:inputText>
          <f:facet name="footer">
            <af:panelGroupLayout layout="vertical">
              <af:panelGroupLayout layout="horizontal">
                <af:commandButton actionListener="#{bindings.First.execute}"
                                  text="First" disabled="#{!bindings.First.enabled}"
                                  partialSubmit="true"/>
                <af:commandButton actionListener="#{bindings.Previous.execute}"
                                  text="Previous"
                                  disabled="#{!bindings.Previous.enabled}"
                                  partialSubmit="true"/>
                <af:commandButton actionListener="#{bindings.Next.execute}"
                                  text="Next" disabled="#{!bindings.Next.enabled}"
                                  partialSubmit="true"/>
                <af:commandButton actionListener="#{bindings.Last.execute}"
                                  text="Last" disabled="#{!bindings.Last.enabled}"
                                  partialSubmit="true"/>
              </af:panelGroupLayout>
              <af:commandButton text="Submit"/>
            </af:panelGroupLayout>
          </f:facet>
        </af:panelFormLayout>
      </af:panelBox>
    </jsp:root>the adfc_config.xml is as follows
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <view id="start">
        <page>/start.jspx</page>
      </view>
      <managed-bean>
        <managed-bean-name>backing_start</managed-bean-name>
        <managed-bean-class>programs.view.backing.Start</managed-bean-class>
        <managed-bean-scope>backingBean</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1start.jspx-->
      </managed-bean>
    </adfc-config>Does anyone have an idea what gets missing or confused at the PPR level when I switch task flows in a dynamic region in this manner, and how can it be corrected.
    Thanks

    Hi Frank,
    When I try changing the managed bean scope from backingbean to pageflow (I also had to change the binding in the PageDef.xml file as well), it displays a blank screen when starting and the server log file has the following error message.
    <Apr 27, 2009 8:28:35 AM CDT> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@164d2b3 - appName: 'FcnTestApp1', name: 'FcnTestApp1-ViewController-context-root', context-path: '/FcnTestApp1-ViewController-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@1c5c9ca[
    ]] Root cause of ServletException.
    javax.el.PropertyNotFoundException: Target Unreachable, 'backing_start' returned null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
         at com.sun.el.parser.AstValue.setValue(AstValue.java:133)
         at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:248)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
         Truncated. see log file for complete stacktrace
    >
    Any idea what might cause this?
    Thanks

Maybe you are looking for

  • Somebody make an app to play one song at a time!

    I still can't believe no one has created an app that lets you play one song at a time on the iPod. Some people have suggested making a playlist for every song. The problem with that is that you can't order the lists the way you want, not to mention t

  • Axis scaling

    hello Im a newbie with diadem and my engish is very bad. I whant to scale manually my axis sub parametrage_graph() 'placement du graph dans la fenetre report   D2AXISTOP        =10   D2AXISBOTTOM     =21.6   D2AXISLEFT       =15   D2AXISRIGHT      =1

  • Can not register my iPhone 4S under my APPLE ID

    Can not register my iPhone 4S under my APPLE ID ccording to our records, this serial number is registered to another Apple ID. If you have" more than one Apple ID, log in to My Support Profile with that Apple ID to see your other registered products.

  • Is Archlinux for me ? I think so

    Hi, I'm really thinking of moving my computers to Arch. Starting with a test laptop and then, if I'm happy with how things go, my workstations. Why ? 1- From what I've read so far, I really like the philosophy behind this OS. Archlinux meaning of sim

  • Web template transport - Urgent

    We are unable to save a web template (after making changes)and getting the following errors. " THE OBJECT CANNOT BE PROCESSED DUE TO A TRANSPORT PROBLEM" When we click Ok, then the following message is appearing: "COULD NOT SAVE TEMPLATE" There is no