Multiple declarations of fwLoadMenus

I am having an issue with declaring multiple fwLoadMenus. I
have a template that declares a set of menus that every page uses,
but I would also like to add additional menus to other objects that
would be page specific. A simplified version of the code looks as
follows:
quote:
<!-- Static content. These menus are used on every page
-->
function fwLoadMenus() {
if (window.fw_menu_1) return;
window.fw_menu_1 = new Menu("root",128,17,"Arial, Helvetica,
sans-serif",11,"#3366ff","#cc6600","#ffffff","#ffffff");
fw_menu_1.addMenuItem("X","location='X'");
fw_menu_1.addMenuItem("X","location='X'");
fw_menu_1.addMenuItem("X","location='X'");
fw_menu_1.hideOnMouseOut=true;
if (window.fw_menu_0) return;
window.fw_menu_0 = new Menu("root",115,17,"Arial, Helvetica,
sans-serif",11,"#3366ff","#cc6600","#ffffff","#ffffff");
fw_menu_0.addMenuItem("X","location='X'");
fw_menu_0.addMenuItem("X","location='X'");
fw_menu_0.addMenuItem("X","location='X'");
fw_menu_0.hideOnMouseOut=true;
fw_menu_0.writeMenus();
fw_menu_1.writeMenus();
} // fwLoadMenus()
<script language=JavaScript
src="fw_menu1.js"></script>
<!-- Page specific content. -->
<script language=JavaScript>
function fwLoadMenus2() {
if (window.fw_menu_3) return;
window.fw_menu_3 = new Menu("root",128,17,"Arial, Helvetica,
sans-serif",11,"#3366ff","#cc6600","#ffffff","#ffffff");
fw_menu_3.addMenuItem("X","location ='X'");
fw_menu_3.addMenuItem("X","location ='X'");
fw_menu_3.addMenuItem("X","location ='X'");
fw_menu_3.hideOnMouseOut=true;
fw_menu_3.writeMenus();}
</script>
<script language=JavaScript
src="fw_menu1.js"></script>
Much later on..
<script language=JavaScript>fwLoadMenus();</script
>
<script language=JavaScript>fwLoadMenus2();</script
>
And further on..
<A
onmouseover="window.FW_showMenu(window.fw_menu_1,374,50)"
href="#">
<a
onMouseOver="window.FW_showMenu(window.fw_menu_3,630,90)"
href="#">
As you can see, there are two separate declarations for two
menus and the names do not interfer. When the page loads, only the
static set of menus (menu1, menu0) appear. The other set (menu3)
acts as though it was never initialized. Is there a problem with
having two function calls that generate menu items?
Ideally, Id like to just add an editable region inside the
<script> region where the first set of menus is declared, but
Dreamweaver 8 and previous versions refuse to recognize such tags
as viable locations. Were it possible, then I could just append my
third menu. Is there a simple work around to make a <script>
editable (short of injecting code via another script) or is it
easier to get two fwLoadMenus to co-exist?
Appreciate the help.

Please read what the author of these menus (he adapted them
from code
produced originally by Netscape) has to say about them -
http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
Do you really want to use them?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"K. Thomas" <[email protected]> wrote in
message
news:[email protected]...
>I am having an issue with declaring multiple fwLoadMenus.
I have a template
> that declares a set of menus that every page uses, but I
would also like
> to add
> additional menus to other objects that would be page
specific. A
> simplified
> version of the code looks as follows:
>
>
quote:
>
> <!-- Static content. These menus are used on every
page -->
> function fwLoadMenus() {
>
> if (window.fw_menu_1) return;
> window.fw_menu_1 = new Menu("root",128,17,"Arial,
Helvetica,
> sans-serif",11,"#3366ff","#cc6600","#ffffff","#ffffff");
>
> fw_menu_1.addMenuItem("X","location='X'");
> fw_menu_1.addMenuItem("X","location='X'");
> fw_menu_1.addMenuItem("X","location='X'");
> fw_menu_1.hideOnMouseOut=true;
>
> if (window.fw_menu_0) return;
> window.fw_menu_0 = new Menu("root",115,17,"Arial,
Helvetica,
> sans-serif",11,"#3366ff","#cc6600","#ffffff","#ffffff");
>
> fw_menu_0.addMenuItem("X","location='X'");
> fw_menu_0.addMenuItem("X","location='X'");
> fw_menu_0.addMenuItem("X","location='X'");
> fw_menu_0.hideOnMouseOut=true;
>
> fw_menu_0.writeMenus();
> fw_menu_1.writeMenus();
>
> } // fwLoadMenus()
>
> <script language=JavaScript
src="fw_menu1.js"></script>
>
> <!-- Page specific content. -->
>
> <script language=JavaScript>
> function fwLoadMenus2() {
>
> if (window.fw_menu_3) return;
>
> window.fw_menu_3 = new Menu("root",128,17,"Arial,
Helvetica,
> sans-serif",11,"#3366ff","#cc6600","#ffffff","#ffffff");
> fw_menu_3.addMenuItem("X","location ='X'");
> fw_menu_3.addMenuItem("X","location ='X'");
> fw_menu_3.addMenuItem("X","location ='X'");
> fw_menu_3.hideOnMouseOut=true;
>
> fw_menu_3.writeMenus();}
> </script>
> <script language=JavaScript
src="fw_menu1.js"></script>
>
>
> Much later on..
>
> <script
language=JavaScript>fwLoadMenus();</script >
> <script
language=JavaScript>fwLoadMenus2();</script >
>
> And further on..
>
> <A
onmouseover="window.FW_showMenu(window.fw_menu_1,374,50)"
href="#">
> ...
> <a
onMouseOver="window.FW_showMenu(window.fw_menu_3,630,90)"
href="#">
>
>
> As you can see, there are two separate declarations for
two menus and the
> names do not interfer. When the page loads, only the
static set of menus
> (menu1, menu0) appear. The other set (menu3) acts as
though it was never
> initialized. Is there a problem with having two function
calls that
> generate
> menu items?
>
> Ideally, Id like to just add an editable region inside
the <script> region
> where the first set of menus is declared, but
Dreamweaver 8 and previous
> versions refuse to recognize such tags as viable
locations. Were it
> possible,
> then I could just append my third menu. Is there a
simple work around to
> make a
> <script> editable (short of injecting code via
another script) or is it
> easier
> to get two fwLoadMenus to co-exist?
>
> Appreciate the help.
>

Similar Messages

  • How to resolve multiple declaration error in libraries

    Hi All,
    I have one C Application, it links to two libraries. There is one variable with same name defined in two different libraries. These two libraries are third party libraries and i don't have access to their source code.
    Compiler gives multiple declaration of same variable error.
    Please let me know how to resolve this error.
    Thanks in Advance.
    Regards,
    Vasu

    Please, show your compilation line as well as error that you get.
    Are these static or shared libraries?
    Are we talking about Solaris here?
    regards,
    Fedor.

  • Error: Multiple declaration

    Hi all,
    We have an issue occuring only in solaris-sparc platform(not on gcc/linux).
    In a source file(.cpp) we have many variables declared and defined, when try complile all of these variables give the following error:
    Error: Multiple declaration <variable>
    The compilation unit(headers and file) contains templates(function and class),specialization.
    When these variable declaration is moved to header, then it works also when variables are put into include once using (#ifdefs like header file) it works
    Is there any technique/processing compiler does and goes thru the cpp file twice? Anything specific to solaris? Any pointers would be of great help!
    I am using Sunstudio 11
    Thanks in advance for all your help!
    Thanks,
    Qrio

    You are probably running into a program organization issue regarding placement of template declarations and definitions. Different compilers have different rules.
    The topic is discussed in detail in Chapter 5, Program Organization, of the C++ Users Guide:
    [http://docs.sun.com/app/docs/doc/819-5267/bkaep?a=view]
    (This pointer is for Sun Studio 12, but this property of Sun C++ has not changed.)
    Briefly: If a header file foo.h contains template declarations, the compiler will look for foo.cc (or foo.C, foo.cpp, foo.c, etc) expecting to find template definitions, and include foo.cc automatically. Consequently, if foo.h contains template declarations, foo.cc must contain only definitions for templates declared in foo.h. It can also contain declarations needed for those definitions that are not available when foo.h is included, but no other definitions.

  • Forte C++:error: Multiple Declaration for std::exception

    Hi,
    I am trying to compile code written in C++ 4.2/solrais 2.6 with Forte 6 C++ compiler on Solaris 7. Getting the following error.
    /opt/SUNWspro/WS6/include/CC/exception.h Line 17: Multiple Declaration for std::exception.
    Tried running only the preprocessor using -E option and noticed from the output that both "exception" and "exception.h" contents included.
    Any help!

    I got this same error and was able to fix it by eliminating
    #include <math.h> in my code.
    As it turned out this #include was not needed.
    It then compiled in standard mode.
    Hope this helps.

  • Forte C++ error: Multiple declaration for std::tm

    I am trying to compile a program (in standard mode) a program that used
    to compile OK in SC4.2 and still compiles OK in compat (but I need
    to compile it standard mode). Forte C++ 6.0 gives me the error:
    CC -c -O -mt -KPIC -D_REENTRANT ... file.c
    "/usr/include/time.h", line 30: Error: Multiple declaration for std::tm.
    "/usr/include/wchar.h", line 21: Error: Multiple declaration for std::tm.
    2 Error(s) detected.
    I include time.h, but wchar.h is included from the chain:
    /opt/SUNWspro/WS6/include/CC/iostream.h
    /opt/SUNWspro/WS6/include/CC/Cstd/./istream
    /opt/SUNWspro/WS6/include/CC/Cstd/./ios
    /opt/SUNWspro/WS6/include/CC/Cstd/rw/rwlocale
    /opt/SUNWspro/WS6/include/CC/Cstd/./string
    /opt/SUNWspro/WS6/include/CC/std/wchar.h
    So can't I include iostream.h and time.h together?

    Why are you using major include files with dot-h extentions in Standard Mode? Don't you mean to use #include <ctime> and #include <iostream>?

  • Pls -00371 error (problem in multiple declaration )

    function code:
    //start
    create or replace function salinc(si number default 10) return number
    is
    number sinc;
    number bef;
    number aft;
    begin
    select sum(sal) into bef from emp where deptno=si;
    update employees set sal=sal+200 where deptno=si;
    select sum(sal) into aft from emp where deptno=si;
    sinc:=aft-bef;
    return sinc;
    end salinc;
    //end
    is giving me these 2 errors:
    0/0      PL/SQL: Compilation unit analysis terminated
    1/46      PLS-00371: at most one declaration for 'NUMBER' is permitted in t he declaration section
    how can i now declare the variables ?? need help

    tushar88 wrote:
    function code:
    //start
    create or replace function salinc(si number default 10) return number
    is
    number sinc;
    number bef;
    number aft;
    beginIn oracle declaration is done as
    <variable name> <data type>
    i.e. your decleration is incorrect. it must be
    sinc number;
    bef number;
    aft number;

  • Use multiple declarative components on one page

    Hi
    I develop a declarative component with Jdeveloper 11g and use several instance of it in a page. The problem is that the values of attributes of declarative component take values from the last instance. Can we have more instances of a declarative component on a page? Do you have any idea?
    Tanks

    Hi,
    I define managed bean in backingBeanScope in adfc-config (because this option don't exists in faces-config). When I use my declarative component in another project, i have Warning - Duplicate managed bean definition detected.
    JMC

  • PL/SQL declaration blocks within procedure

    Greetings,
    I have a few PL/SQL scripts that I would like to deploy to the database as stored procedures, but I am having a bit of trouble. The scripts themselves are all over 400 lines and contain multiple declaration blocks, some with multiple cursors in each block. I believe the problems I am encountering revolve directly around these declarations blocks and cursors, which are mandatory for these scripts. Here is a sample of the errors I am receiving:
    SQL> SHOW ERRORS
    Errors for PROCEDURE *:
    LINE/COL ERROR
    56/20 PL/SQL: SQL Statement ignored
    57/25 PL/SQL: ORA-00942: table or view does not exist
    66/20 PL/SQL: SQL Statement ignored
    71/70 PL/SQL: ORA-00942: table or view does not exist
    127/11 PL/SQL: SQL Statement ignored
    128/16 PL/SQL: ORA-00942: table or view does not exist
    144/16 PL/SQL: Statement ignored
    144/21 PLS-00364: loop index variable * use is invalid
    156/16 PL/SQL: Statement ignored
    157/36 PLS-00364: loop index variable * use is invalid
    189/16 PL/SQL: Statement ignored
    189/20 PLS-00364: loop index variable * use is invalid
    211/16 PL/SQL: Statement ignored
    231/24 PLS-00364: loop index variable * use is invalid
    268/25 PL/SQL: SQL Statement ignored
    272/48 PLS-00364: loop index variable * use is invalid
    272/48 PL/SQL: ORA-00904: *.*: invalid identifier
    292/21 PL/SQL: Statement ignored
    292/26 PLS-00201: identifier *.* must be declared
    345/46 PLS-00201: identifier * must be declared
    SQL>
    Unfortunately, I cannot paste any of the script itself, nor can I be more descriptive with the error log. That being said, it would be extremely helpful to me to receive any input whatsoever from the community, as even something only vaguely related may push me in the right direction. Mainly, I need to figure out if these errors are generated due to the reasons I suspect.
    I must note that these scripts execute correctly and perform their necessary tasks when either pasted into the editor or when executed directly from their respective .sql files.
    Thank you for the help.
    -JNT

    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2  v_variable1 varchar2(10);
      3  v_variable2 varchar2(10);
      4  v_variable3 varchar2(10);
      5  begin
      6  select alpha into v_variable1 from x;
      7  For i in 1..i+2 loop
      8  null;
      9  end loop;
    10  v_variable4 := v_variable3;
    11* end;
    SQL> /
    select alpha into v_variable1 from x;
    ERROR at line 6:
    ORA-06550: line 6, column 36:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 6, column 1:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 7, column 13:
    PLS-00364: loop index variable 'I' use is invalid
    ORA-06550: line 7, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 10, column 1:
    PLS-00201: identifier 'V_VARIABLE4' must be declared
    ORA-06550: line 10, column 1:
    PL/SQL: Statement ignored
    The table 'x' does not exist or I do not have access to it.
    I cannot specify the loop interval as indicated.
    I cannot assign a value to a variable that does not exist.
      1  declare
      2  v_variable1 varchar2(10);
      3  v_variable2 varchar2(10);
      4  v_variable3 varchar2(10);
      5  v_variable4 varchar2(10);
      6  begin
      7  select alpha into v_variable1 from dual;
      8  For i in 1..2 loop
      9  null;
    10  end loop;
    11  v_variable4 := v_variable3;
    12* end;
    SQL> /
    select alpha into v_variable1 from dual;
    ERROR at line 7:
    ORA-06550: line 7, column 8:
    PL/SQL: ORA-00904: "ALPHA": invalid identifier
    ORA-06550: line 7, column 1:
    PL/SQL: SQL Statement ignored
    There is no column by name 'alpha' in table 'dual'.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2  v_variable1 varchar2(10);
      3  v_variable2 varchar2(10);
      4  v_variable3 varchar2(10);
      5  v_variable4 varchar2(10);
      6  begin
      7  select dummy into v_variable1 from dual;
      8  For i in 1..2 loop
      9  null;
    10  end loop;
    11  v_variable4 := v_variable3;
    12* end;
    SQL> /
    PL/SQL procedure successfully completed.
    Here is the corrected script.  I hope it helps.

  • Hello...Java is supporting mutiple datatypes declarations in for loop

    hello,
    is it possible to declare more than one data types in a for loop...i think java is supporting multiple declarations in for loop..am i right
    class check
         public static void main(String[] args)
              for(int i=10,float k=10;i<5;i++)
                   System.out.println("Hello World!"+i);
    regards,
    j.mouli

    Hi,
    no, that doesn't work because java unlike c++ does not
    have the comma operator ",". So you need to declare
    the 2nd variable in the body of the loopNot strictly correct - its true that it won't work in this case, but false that Java doesn't recognise the comma.
    If your two variables were of the same type you could use something like
    for (int i = 0, k = 10; i < k; i++)
    However, the initialisation must take place in a single statement, so you can't use multiple types

  • +d flag can cause C++ compilation failure in 12.4 beta refresh

    I was using the July refresh of Solaris Studio 12.4 beta to compile cppunit 1.13.2 and came across a file that fails to compile when the +d flag is used on the C++ compiler.
    The file is XmlOutputter.cpp.  I have put a slightly modified version of the pre-processed source code for this on pastebin here: http://pastebin.com/9gHkYXnX - save it to XmlOutputter.pre.cpp.  (Alternatively you can get the full source code for cppunit 1.13.2 here: http://dev-www.libreoffice.org/src/cppunit-1.13.2.tar.gz )
    The first weird thing is that when compiling the original pre-processed file like this:
    CC -mt -std=c++11 -m64  -O4 -c -o XmlOutputter.lo XmlOutputter.pre.cpp
    I got the error:
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/include/CC/gnu/builtins.h", line 248: Error: Multiple declaration for __sun_va_list.
    1 Error(s) detected.
    which I didn't get when compiling the original un-pre-processed file.  I worked around that by commenting out lines 6-11 in the pre-processed file.  This is what is on pastebin, so if you want to look at this first problem then uncomment lines 6-11.  However, I'm not particularly worried about this as I don't generally have a need to compile pre-processed source code.
    The difference I wanted to report was that if you compile the pre-processed file (exactly as it is on pastebin with lines 6-11 commented out) using:
    CC -mt -std=c++11 -m64  -O4 -c -o XmlOutputter.lo XmlOutputter.pre.cpp
    then everything is fine.  However, if you compile it using:
    CC -mt -std=c++11 -m64  -O4 +d -c -o XmlOutputter.lo XmlOutputter.pre.cpp
    then you get this error:
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 1088: Error: Cannot use unknown type to initialize CppUnit::TestFailure*.
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 1075:     Where: While instantiating "std::pair<CppUnit::Test*const, CppUnit::TestFailure*>::pair<CppUnit::Test*const&, 0>(std::tuple<CppUnit::Test*const&>&, std::tuple<>&, std::_Index_tuple<0>, std::_Index_tuple<>)".
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 1075:     Where: Instantiated from std::_Rb_tree<CppUnit::Test*, std::pair<CppUnit::Test*const, CppUnit::TestFailure*>, std::_Select1st<std::pair<CppUnit::Test*const, CppUnit::TestFailure*>>, std::less<CppUnit::Test*>, std::allocator<std::pair<CppUnit::Test*const, CppUnit::TestFailure*>>>::_M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<CppUnit::Test*const&>, std::tuple<>>(std::_Rb_tree_const_iterator<std::pair<CppUnit::Test*const, CppUnit::TestFailure*>>, const std::piecewise_construct_t&, std::tuple<CppUnit::Test*const&>&&, std::tuple<>&&).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_map.h", line 467:     Where: Instantiated from non-template code.
    1 Error(s) detected.
    Also, the only reason I was using the +d flag at all was to work around the problem reported here: Re: >> Assertion:   (../lnk/foldconst.cc, line 230) (Studio 12.4 Beta, -std=c++11)  I assume that's now fixed, so there is no need for me to use +d, but it would be interesting to know why +d causes an error when compiling XmlOutputter.cpp.
    I'm working on Oracle Solaris 10 1/13 s10x_u11wos_24a X86

    > Error: Multiple declaration for __sun_va_list.
    Preprocessed files do not always behave the same as original ones.
    But here you hit a bug which is present on x86-64 platform (Solaris/Linux) only.
    You can just delete definition of __sun_va_list type at the start of preprocessed file and it should go fine.
    > I assume that's now fixed, so there is no need for me to use +d
    Yes, it is fixed in July Beta.
    > Error: Cannot use unknown type to initialize CppUnit::TestFailure*.
    Bug 19159587 filed (C++11: errors on a simple <map> usage).
    Thanks for reporting a problem.

  • Error while running XML data definition

    Hi,
    Want to run report using XML Publisher, created one Data Definition using xml file,
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <dataTemplate name="EmpDT" description="Employee Details" Version="1.0">
    <parameters>
    <parameter name="p_DeptNo" dataType="character"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[ SELECT Empno, Ename,Job,Mgr,Hiredate,Deptno FROM Emp WHERE deptno = nvl(:p_DeptNo,deptno) ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_EMP" source="Q1">
    <element name="EMPLOYEE_NUMBER" value="Empno"/>
    <element name="NAME" value="Ename"/>
    <element name="JOB" value="Job"/>
    <element name="MANAGER" value="Mgr"/>
    <element name="HIREDATE" value="Hiredate"/>
    <element name="DEPTNO" value="Deptno"/>
    </group>
    </dataStructure>
    </dataTemplate>
    Added concurrent program and trying to run request but it's getting completed with error, when i checked log file it was showing error like,
    XDO Data Engine Version No: 5.6.3
    Resp: 20420
    Org ID : 204
    Request ID: 5810677
    All Parameters: p_Dept_No=20
    Data Template Code: EMP_DET
    Data Template Application Short Name: AMW
    Debug Flag: N
    {p_Dept_No=20}
    Calling XDO Data Engine...
    [042811_124713802][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:334)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:266)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:140)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:231)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1796)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:331)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    can any one help me to solve this error? it's urgent.....
    reply awaited..
    Regards,
    Priyanka.

    HI,
    We are facing some issue with CXML. I have posted a new thread [cXML with SAP PI;. 
    The content of that thread is pasted below: You can give your solution in the above mentioned thread so that I can grant points.
    We need to use cXML for our project. Based on the thread ( [Error while uploading CXML data definition.; )
    the following steps need to be done with the cXML DTD.
    1.First Delete the Multiple Declaration of "Method .ANY"
    2.replace all "ds:" character with 'ds_'
    3.replace all "xades: " with 'xades_'
    4.replace all "xmlns" with 'attr_'
    5) After this use Altova to convert the DTD to XSD.
    First of all, we could not carry out the 4th point, as in that case Altova says that it is invalid, and it fails to get imported in PI as well.
    Without step 4 , if we import it as external definition, then there are certain attributes with type xml:lang coming in Red.
    Can anybody tell us on how to fix this.
    Thanks,
    Himadri

  • Issue in workflow binding of Table in send mail step

    Hi All,
    I am working on a Travel Management workflow where mail needs to be sent to the manager along with the trip details.
    We are displaying data in tables (html format). Now i need to add another such table with details into this already existing workflow but i am facing issues in binding.
    Issue: For already existing tables, the binding is like this,
    Export to task,
    &TRIP& --> &T_SUMMARY##&
    Import to w/f,
    &T_SUMMARY##& <--- &T_SUMMARY##&.
    But when i am trying to add my table in binding as, &TRIP& --> &T_MILEAGE##&,
    I am getting a binding error, &T_MILEAGE##& is not available in the container.
    I checked the container both in workflow and in task, both contain multiple declarations of the variable &TRIP& which is of type the BO.
    Kindly help me how to proceed further.
    Regards,
    Jose

    Hi Anjan,
    The status of  note  1658491 is also cannot not be implemented.
    I checked the correction given in this note. All changes exists into system.
    Following is code of method SEND ( (CL_SWF_UTL_MAIL_FACADE)
    *- check if document has recipients at all
           lt_recipients = lo_send_request->recipients( ).
           if lt_recipients is initial.
             lo_send_request->delete( ).
             ls_t100msg-msgid = 'WZ'.
             ls_t100msg-msgty = 'E'.
             ls_t100msg-msgno = 619.
             raise exception type cx_swf_run_wim
               exporting
                 t100_msg = ls_t100msg.
           else.
    *-       Send document
             call method lo_send_request->send( ).
           endif.
    The exception is thrown, because lt_recipients table is blank.
    With same parameter the workflow is running successfully if 'Long mail title' is not set in SWPA.
    When is field is active, workflow returns message Document <> could not be sent
    The method "SELFITEM->SendTaskDescription" does not send mail if Long Mail Title" indicator is set .   
    Thanks & Regards,
    Mounj K

  • Map issue using the old/default std

    Please, help with the following simple compilation
    // print_routines.cpp
    #include <map>
    #include <string>
    int main()
    std::map<const std::string, bool> fred;
    return 0;
    -bash-3.00$ CC print_routines.cpp
    "/opt/SUNWspro/prod/include/CC/Cstd/./map", line 251: Error: Multiple declaration for std::map<const std::string, bool, std::less<const std::string>, std::allocator<std::pair<const std::string, bool>>>::insert(const std::pair<const std::string, bool>&).
    "print_routines.cpp", line 6: Where: While specializing "std::map<const std::string, bool, std::less<const std::string>, std::allocator<std::pair<const std::string, bool>>>".
    "print_routines.cpp", line 6: Where: Specialized in non-template code.
    1 Error(s) detected.
    Thank you very much.
    stephen

    Your problem is discussed in the Library Compatibility section of the Sun C++ FAQ:
    http://developers.sun.com/sunstudio/documentation/ss11/mr/READMEs/c++_faq.html#LibComp                                                                                                                                                                                                                                                                                                                                                   

  • Append functionality in Outbound File Adapter

    Hi all,
    I have a question regarding append functionality in outbound file adapter.
    When I append files for example I get a XML file with different XML files in one file, but is it also possible to collect and bundle the files and get a same result when u use BPM?
    Do I have to add some parameters?
    Kind regards,
    Kamran Vakili

    It is not possible, when you append XML files.
    The result XML file is not valid, as you have multiple declarations and root tags.
    The append mode for the file adapter should be used only for flat files.
    Regards
    Stefan

  • Problem with bool data type in overloading

    Please find the following error.
    I did following typedef:
    typedef bool Boolean;
    typedef signed int Sint32;
    Problem description:
    This error is occurring because Sun CC 5.9 or Solaris 9 g++ considers bool data type as signed Integer, when passed as an constructor argument. First, it is overloading the constructor with �bool� data type and when it comes the turn of �signed integer� to overload constructor, the compiler is giving an error �cannot be overloaded�. The error �redefinition� is also due to bool data type.
    Could please let me know, whether i need to add ant compiler option on Sun CC
    ERROR in g++:-
    ( /usr/local/bin/g++ -DSOLARIS_PLATFORM -DUNIX -DPEGASUS_PLATFORM_SOLARIS_SPARC_GNU -DPEGASUS_OS_SOLARIS -DPEGASUS_HAVE_TEMPLATE_SPECIALIZATION -DEXPAND_TEMPLATES -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -Wno-non-template-friend -DTEST_VAI -D__EXTERN_C__ -Dregister= -D_POSIX_PTHREAD_SEMANTICS -Wno-deprecated -DAUTOPASS_DISABLED -DCLUSTER_GEN_APP -DSTAND_ALONE_INTEG -I"/TESTBUILD/p2.08.00/TESTsrc" -I/TESTBUILD/pegasus/src -I"/TESTBUILD/p2.08.00/TESTCommonLib" -O -c -o /TESTBUILD/p2.08.00/TESTobj/TESTBase.o /TESTBUILD/p2.08.00/TESTsrc/TESTBase.cpp );
    In file included from /TESTBUILD/pegasus/src/Pegasus/Common/Array.h:74,
    from /TESTBUILD/pegasus/src/Pegasus/Common/CIMName.h:40,
    from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:39,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
    /TESTBUILD/pegasus/src/Pegasus/Common/ArrayInter.h:49: error: redefinition of `class Pegasus::Array<Pegasus::Boolean>'
    /TESTBUILD/pegasus/src/Pegasus/Common/ArrayInter.h:49: error: previous definition of `class Pegasus::Array<Pegasus::Boolean>'
    In file included from /TESTBUILD/pegasus/src/Pegasus/Common/MessageLoader.h:42,
    from /TESTBUILD/pegasus/src/Pegasus/Common/Exception.h:44,
    from /TESTBUILD/pegasus/src/Pegasus/Common/CIMName.h:41,
    from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:39,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
    /TESTBUILD/pegasus/src/Pegasus/Common/Formatter.h:114: error: `Pegasus::Formatter::Arg::Arg(Pegasus::Sint32)' and `Pegasus::Formatter::Arg::Arg(Pegasus::Boolean)' cannot be overloaded
    In file included from /TESTBUILD/pegasus/src/Pegasus/Common/CIMProperty.h:40,
    from /TESTBUILD/pegasus/src/Pegasus/Common/CIMObject.h:42,
    from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:41,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
    from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
    /TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:92: error: `Pegasus::CIMValue::CIMValue(Pegasus::Sint32)' and `Pegasus::CIMValue::CIMValue(Pegasus::Boolean)' cannot be overloaded
    /TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:147: error: `Pegasus::CIMValue::CIMValue(const Pegasus::Array<Pegasus::Boolean>&)' and `Pegasus::CIMValue::CIMValue(const Pegasus::Array<Pegasus::Boolean>&)' cannot be overloaded
    /TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:291: error: `void Pegasus::CIMValue::set(Pegasus::Sint32)' and `void Pegasus::CIMValue::set(Pegasus::Boolean)' cannot be overloaded
    /TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:323: error: `void Pegasus::CIMValue::set(const Pegasus::Array<Pegasus::Boolean>&)' and `void Pegasus::CIMValue::set(const Pegasus::Array<Pegasus::Boolean>&)' cannot be overloaded
    /TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:377: error: `void Pegasus::CIMValue::get(Pegasus::Sint32&) const' and `void Pegasus::CIMValue::get(Pegasus::Boolean&) const' cannot be overloaded
    /TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:409: error: `void Pegasus::CIMValue::get(Pegasus::Array<Pegasus::Boolean>&) const' and `void Pegasus::CIMValue::get(Pegasus::Array<Pegasus::Boolean>&) const' cannot be overloaded
    *** Error code 1
    make: Fatal error: Command failed for target `/TESTBUILD/v2.08.00/TESTsrc/TESTBase.or'
    Same ERROR in Sun CC:-
    palace /TESTBUILD/p2.08.00/TESTobj-> make -ef Make_SolarisVAICC TESTVAIrun
    ( /sun-share/SUNWspro/bin/CC -DSOLARIS_PLATFORM -DUNIX -DPEGASUS_PLATFORM_SOLARIS_SPARC_CC -features=bool -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DTEST_VAI -DEXPAND_TEMPLATES -D__EXTERN_C__ -DPEGASUS_INTERNALONLY -DPEGASUS_OS_SOLARIS -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -Dregister= -D_POSIX_PTHREAD_SEMANTICS -DCLUSTER_GEN_APP -DSTAND_ALONE_INTEG -I"/TESTBUILD/v2.08.00/TESTsrc" -I"/Pegasus/pegasus-2.5/src" -I"/TESTBUILD/p2.08.00/TESTCommonLib" -O -c -o /TESTBUILD/p2.08.00/TESTobj/TESTBase.o /TESTBUILD/p2.08.00/TESTsrc/TESTBase.cpp );
    "/Pegasus/pegasus-2.5/src/Pegasus/Common/ArrayInter.h", line 47: Error: Multiple declaration for Pegasus::Array<int>.
    "/Pegasus/pegasus-2.5/src/Pegasus/Common/Formatter.h", line 103: Error: Multiple declaration for Pegasus::Formatter::Arg::Arg(int).
    "/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 90: Error: Multiple declaration for Pegasus::CIMValue::CIMValue(int).
    "/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 145: Error: Multiple declaration for Pegasus::CIMValue::CIMValue(const Pegasus::Array<int>&).
    "/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 289: Error: Multiple declaration for Pegasus::CIMValue::set(int).
    "/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 321: Error: Multiple declaration for Pegasus::CIMValue::set(const Pegasus::Array<int>&).
    "/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 375: Error: Multiple declaration for Pegasus::CIMValue::get(int&) const.
    "/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 407: Error: Multiple declaration for Pegasus::CIMValue::get(Pegasus::Array<int>&) const.
    Thank and Regards,
    Dileep

    In Sun C++, type bool is not equivalent to signed int. I don't think g++ makes it equivalent either.
    Please show an example of source code that is causing the problem.

Maybe you are looking for