Problem with complex predicates

Hi,
i'm trying to create a complex predicate to query for some tasks.
I have 2 predicates, and i'm trying to create a complex one with the following code:
complexPred = new Predicate(pred1, Predicate.AND, pred2);
I have no problems when querying for tasks with either pred1 or pred2, but when executing the query with complexPred, i get a null pointer exception.
I realised that complexPred has an empty clause list. Am I missing something when creating the complex predicate?
Thanks in advanced

Thanks for the example, but i have the same problem running it as I exposed in my previous post.
When I reach this point in the code...
Predicate predicate = null;
if ( predicateSearch == null ) {         
predicate = predicateBasic;
} else {         
predicate = new Predicate (predicateBasic,Predicate.AND,predicateSearch);
...both predicateSearch and predicateBasic have content, and when they are combined into predicate, this new variable predicate has an empty clause list (predicate.getPredicateClauseList() is an empty ArrayList, while predicateSearch.getPredicateClauseList() and predicateBasic.getPredicateClauseList() have both content)
The rest of the components of the variable predicate (tables, values...) seems to be ok and a result of the combination of predicateBasic and predicateSearch
This is part of the log I get:
<*::*> <displayColumn xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">urlAttribute1</displayColumn>
<*::*> <displayColumn xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">urlAttribute2</displayColumn>
<*::*> </displayColumnList>
<*::*> <optionalInfoList xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">
<*::*> <taskOptionalInfo xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">Actions</taskOptionalInfo>
<*::*> </optionalInfoList>
<*::*> <predicate xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">
<*::*> <assignmentFilter xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">My+Group</assignmentFilter>
<*::*> </predicate>
<*::*> <ordering xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">
<*::*> <clause xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">
<*::*> <col
As you can see after assigmentFilter, the label predicate is closed, and is missing a label clause with all the clauseList information
Thanks in advanced,
Cris
Edited by: user7352348 on 07-nov-2011 23:47

Similar Messages

  • Web service call problem with complex types input

    We are trying to call a web service and pass as parameter
    some complex types. When invoking the web service everything works
    well on flex side, but on the server side the input parameters we
    get from flex are not correct - complex type is removed and the
    elements of the complex type are sent. See the example:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:WebService id="ws_id" wsdl="link" useProxy="false"
    fault="wsFault(event)">
    <mx:operation id="op_id" name="op"
    result="wsResult(event)">
    <mx:request>
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    </mx:Application>
    on server side we get this:
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameters>
    Instead of :
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    Any idea how is it possible to send complex type as web
    service input from flex ?

    Hi,
    I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
    I followed Susan's blog but I stuck at a point where methos getItem is created.
    Can anyone tell me how to get that method for my requirement.
    If possible can you guys share your solutions here.
    Thanks in advance.

  • Problem with Complex Web Dynpro Webservice Model

    Hi all,
    in my Web Dynpro application I am using a Webservice which seems to be too complex for the Web Dynpro Model. I think I am getting the same kind of problems like:
    HELP for WebDynpro web service model with complex structure
    But I dont have a complex structure in my input parameters (like in this thread), <b>I have a complex structure in my output.</b>
    This is the structure of my WSDL. I have a customer (KUNDE) which has an array of contracts (Vertrag).
    <wsdl:types>
      <schema targetNamespace="urn:Rentenkonto" xmlns="http://www.w3.org/2001/XMLSchema">
       <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
       <complexType name="Vertrag">
        <sequence>
         <element name="aufschubfrist" type="xsd:int"/>
         <element name="brutto" type="xsd:double"/>
         <element name="eintrittsalter" type="xsd:int"/>
         <element name="endalter" type="xsd:int"/>
         <element name="laufzeit" type="xsd:int"/>
         <element name="renteKapital" type="xsd:double"/>
         <element name="rentenbeginn" nillable="true" type="xsd:dateTime"/>
         <element name="rentenbeginnAlter" type="xsd:int"/>
         <element name="versichererName" nillable="true" type="xsd:string"/>
         <element name="vertragsablauf" nillable="true" type="xsd:dateTime"/>
         <element name="vertragsartTx" nillable="true" type="xsd:string"/>
         <element name="vertragsbeginn" nillable="true" type="xsd:dateTime"/>
         <element name="vertragsnummer" nillable="true" type="xsd:string"/>
         <element name="zahlungsweise" nillable="true" type="xsd:string"/>
        </sequence>
       </complexType>
       <complexType name="ArrayOfVertrag">
        <complexContent>
         <restriction base="soapenc:Array">
          <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:Vertrag[]"/>
         </restriction>
        </complexContent>
       </complexType>
       <complexType name="Kunde">
        <sequence>
         <element name="geburtsdatum" nillable="true" type="xsd:dateTime"/>
         <element name="kundenkennzeichen" nillable="true" type="xsd:string"/>
         <element name="pkNummer" nillable="true" type="xsd:string"/>
         <element name="vertraegeDcKapital" nillable="true" type="impl:ArrayOfVertrag"/>
         <element name="vertraegeDcRente" nillable="true" type="impl:ArrayOfVertrag"/>
         <element name="vertraegeDv" nillable="true" type="impl:ArrayOfVertrag"/>
         <element name="vertraegePk" nillable="true" type="impl:ArrayOfVertrag"/>
         <element name="vertraegeRdv" nillable="true" type="impl:ArrayOfVertrag"/>
        </sequence>
       </complexType>
      </schema>
    </wsdl:types>
    When I execute the Webservice basically I get an empty response. I think this is because the WSModel isnt fully mapped to the WS proxy. This should be done via coding.
    Can someone give me some hints on this?
    Kind regards
    Christoph

    Hi Christoph,
    First test the webservice itself. Maybe it is required to give some input parameter in the request and then get some output parameters in the Response. But therefore you should test the webservice yourself and take a look.
    Give more detail about ur case.
    Greetings, Sandhya

  • The problem with Complex Job Manager in Business Connector.

    Hi,
    I have a problem with the service "Complex Job Manager" in Business Connector.
    Sometimes this service hangs and a minus value (such as -83452 sec) appears in the column "Next run".
    What can I improve?
    I have BC ver. 4.7 with CoreFix 9, Java ver. 1.3.1 (46.0), system AIX.
    Please help me.
    Thanks,
    Robert

    Sorry, Raja.
    I saw many questions about Business Connector in this category (Process Integration) and I thought that is a right place for my question.
    In your opinion, where is a better place for my question?
    Regards,
    Robert

  • Problem with complex dataBinding within concat

    Im trying to create a link with a databound onClick attribute like so:
    <link ....>
    <boundAttribute name="onClick">
    <concat>
    <fixed text="submitForm('result',0,{'event':'action','action':'"/>
    <dataObject select="defaultAction" source="fti:search"/>
    <dataObject select="##','index':'%index%'});return false;" source="resultRow@fti:search"/>
    </concat>
    </boundAttribute>
    </link>
    fti:search is a dataObject that returns another dataObject for the selectString resultRow. The resultRow dataObject should then be called with the selectString ="##','index':'%index%'});return false;
    However the resultRow dataObject is never called with that selecString.
    I also tried writing:
    <fixed data:text="##','index':'%index%'});return false;@resultRow@fti:search"/>
    but with the same result.
    I'm using this syntax for many other controls, but for the text attribute of a <fixed> element it doesn't seem to work.
    So how can I do a complex dataBinding within a <concat> element?
    Thanks,
    Guido

    Hi Guido
    I think you need this
    <dataObject select="##,'index':'%index%});return false;" data:source="resultRow@fti:search"/>Cheers
    Ian

  • Problem with complex folder

    Hi,
    We have our EUL set up and working fine until last week. Today I received a call from the user saying that they are unable to open any workbooks, complaining that it has lost the joins.
    Upon investigation found that, these workbooks are built upon a couple of complex folders and when looked into the EUL found that these Complex Folders are DISAPPEARED.
    I know my database is in Archive Log mode and the EUL owner is in USERS tablespace. I do not know at what point these folders disappeared. And we do not have a back-up of the EUL.
    Can somebody plz suggest how to restore the EUL schema from the tablespace.
    Many Thanks
    MK

    Hi
    Thanks for the reply.
    Yes, I did check the EUL as EUL Owner and I do not see those folders.
    Can you please explain me bit more how I can restore the EUL tables from back up. We have the database in Archive Log mode and I am not sure how often the database is backed up. Can we restore the tables from Archive Log files.
    Awaiting your response.
    Thanks Again.
    MK

  • Problem with complex business logic...

    hi all,
    i have two tables 1.running_table
    2.history_table
    in my tables, for recent 30 day's data will be stored in "running_table". if 30 days completed from the entered date, all the data will be moved to "history_table".this will be done by some triggers.
    now, in my stored procedure, i will get start_date,end_date as a inputs.i have to retrieve data from two tables(running_table,history_table) depending on dates.
    conditions:
    1. if entered time pheriod is before 30 days....use running_table
    2. if entered time pheriod is after 30 days....use history_table.
    if start_date is in latest 30 days & end_date in old to 30 days ? what to do?
    how can i write condition depending on time pheriod?
    thanks in advance.....
    Edited by: user9041629 on Aug 12, 2010 3:43 AM

    I would suggest you to write 3 conditions in your pl/sql block
    1. for <= 30 days
    2. for > 30 days
    3. for range with lies in both.
    in 1 condition u may write a query with running table
    in 2 condition u may write a query with history table
    and
    in 3 condition u have to write a query with history union running table
    hope it is clear to you :)

  • Web service data control with complex input parameter problem

    Hi!
    I'm making ADF web app, using JDev 11.1.1.2.0. I have to call a web service (using a data control), which has complex input parameter (array of complex objects).
    I followed steps from Susan Duncan blog: http://susanduncan.blogspot.com/2006/09/dealing-with-complex-input-params-in.html , but I ran into a problem.
    As Susan wrote, I changed submit's button action binding to an operation in a managed bean, which returns array of objects and everything works fine. I can call a WS and my table shows the result.
    The problem is, that after I change button's action binding to my manage bean, row selection in result table doesn't work anymore (I allways get NullPointerException).
    What can be done here?
    Can somebody please help?

    Hi,
    I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
    I followed Susan's blog but I stuck at a point where methos getItem is created.
    Can anyone tell me how to get that method for my requirement.
    If possible can you guys share your solutions here.
    Thanks in advance.

  • Problem weblogic with complex types

    I have deployed a web service in weblogic 10.3. I have created it with axis, and use complex types. The problem is when I test the WS:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header />
    <env:Body>
    <PruebaRequest xmlns="http://servicioweb.dispensaciones.es/">
    <!--Optional:-->
    <result>6</result>
    </PruebaRequest>
    </env:Body>
    </env:Envelope>
    Service Response
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header />
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Server CodecHandler Failed to decode
    -> Failed to decode message
    </faultstring>
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">weblogic.wsee.codec.CodecException: Failed to decode message
    at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:186)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:139)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:40)
    at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:114)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=PruebaRequest@http://servicioweb.dispensaciones.es/
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:361)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:316)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalElement(UnmarshalResult.java:226)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshalElement(UnmarshallerImpl.java:166)
    at weblogic.wsee.bind.runtime.internal.LiteralDeserializerContext.unmarshalElement(LiteralDeserializerContext.java:89)
    at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeElement(BaseDeserializerContext.java:182)
    at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeElement(BaseDeserializerContext.java:117)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodePart(SoapDecoder.java:494)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:287)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:172)
    at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:125)
    at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:180)
    ... 22 more
    Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=PruebaRequest@http://servicioweb.dispensaciones.es/
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:361)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:316)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalElement(UnmarshalResult.java:226)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshalElement(UnmarshallerImpl.java:166)
    at weblogic.wsee.bind.runtime.internal.LiteralDeserializerContext.unmarshalElement(LiteralDeserializerContext.java:89)
    at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeElement(BaseDeserializerContext.java:182)
    at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeElement(BaseDeserializerContext.java:117)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodePart(SoapDecoder.java:494)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:287)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:172)
    at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:125)
    at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:180)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:139)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:40)
    at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:114)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    </bea_fault:stacktrace>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Could anyone help?

    It seems WLS is not comfortable with complex types in WebServices signature. In fact, it seems so for array of classes too. When I exposed a java method with a signature like:
    public myClass\[] myMethod(myClass\[] param) {}
    I got the same exception. However, the same WebService is working well on oc4j (embedded in jDev)
    Edited by: speakingTree on Aug 17, 2009 12:57 AM

  • Probleme with PCI Express Root Complex

    I bought an hp 15t - j100 with Windows 8.1 but on windows 8.1 but i needed change to windows 8 and now i have a problem with PCI Express Root Complex code 28. The drives i have donwload for hp site http://h10025.www1.hp.com/ewfrf/wc/softwareCategor​y?os=4158&lc=en&cc=us&dlc=en&sw_lang=&product=6521​...
    I need help to solve that problem
    thanks
    and i waiting for help
    This question was solved.
    View Solution.

    Hi:
    You need this driver...
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=ob-124661-1&cc=us&dlc=en&lc=en​...

  • Problem with XMLEncoder for complex java object i

    Hi All.
    My problem with XMLEncoder is it doesnt transfrom java objects without default no arguement constructor. I was able to resolve this in my main java object class, by setting a new persistence delegate, but for other classes that are contained in the main class, they are not being encoded.
    Thanks in advance for your answers

    Better to put this in java forum :-)
    Just check, if this helps.
    http://forum.java.sun.com/thread.jspa?threadID=379614&messageID=1623434

  • Problem with MOUSE OUT event in complex MCs

    Hi,
    I've got a problem with detecting mouse out event (AC3)
    appearing when MC
    contains other embeded MCs. The Event.MOUSE_OUT seems to be
    unusefull
    because every MC attached to parent triggers this event. I
    can't turn off
    mouse listening for these objects because they are a kind of
    buttons
    (thumbnails in picture gallery). So MOUSE_OUT event is
    triggered even when
    we are still inside parent MC. More over - MC has irregular
    shape which
    makes impossible to check mouse position and compare it 'by
    hand' with
    object with not rectangular boundary. Does anybody know how
    to solve this
    issue ?
    Regards,
    Marek

    > yes this is expected behaviour with MOUSE_OUT, which is
    why there is
    > another
    > event ROLL_OUT, which as Flash help says, "...is to
    simplify the coding of
    > rollover behaviors for display object containers with
    children."
    Thanks a lot Craig !
    Now it works fine.

  • Problem with Authorization for Planning folder

    Hi an having a problem with providing authorization for a planning folder
    i am getting the following error when i test it with test user
    Error while calling up RFC
    Message no. UPC202
    Diagnosis
    You have selected a function, to execute this the system must set up an RFC connection to another SAP System. However, setting up this connection was not successful. The following internal error message was generated:
    "You do not have authorization for InfoCube ZT_MR_T "
    Procedure
    Inform the system administrator.
    we are not pulling the data from any other server, all the data is on the sif any one has faced the same issue let me know.
    Regards,
    Abraham

    Calling Thru Trans code: BPS0 in ECC 6
    getting this error:
    Error while calling up RFC
    Message No. UPC202
    Diagnosis
    You have selected a function, to execute this the system must set up an RFC connection to another SAP System. However, setting up this connection was not successful. The following internal error message was generated:
    "An error occurred during the receipt of a complex parameter."
    after i check in bw trans code:st22
    Following this error message:
    Category                   Internal Kernel Error
    Runtime Errors         PARAMETER_CONVERSION_ERROR
    Application Component  BC-MID-RFC
    Short text
        An error occurred during the receipt of a complex parameter.
    What happened?
        During a remote function call, an error occurred while converting
        a complex parameter.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    Error analysis
        An error occurred during the conversion of a complex parameter.

  • Problem with tabs in xml text

    I have a problem with my XML setup here
    i use Tab key to aligh up info in the xml text for aligned
    display in the program
    hoever i tested on several computers and get different
    resolts.
    how can i fix this.
    Please view the linked Image
    http://img129.imageshack.us/img129/8394/flashtextproblemti4.jpg
    this is what happenes even thow all run xp and all run same
    latest flash version.
    Anyone got an ideer how i can solve this.
    BTW the font is verdana.
    This is my actionscript ....
    // Function to parse an address
    f_parseAddress = function () {
    // Set the text
    _root.stageholder.textfield.htmlText =
    this.firstChild.firstChild.firstChild.nodeValue;
    // Create the XML object
    XML_address = new XML();
    // Set up the XML object
    XML_address.ignoreWhite = true;
    // Add the handlers
    XML_address.onLoad = f_parseAddress;
    // Load the XML file
    XML_address.load("./Data/xml/kontakt.xml");
    This is my XML file
    <?xml version="1.0" encoding="iso-8859-1"?>
    <text>
    <address>
    <![CDATA[
    <font size="20">Company name</font>
    Company name
    address
    address
    Dir. tlf. + xx xx xx xx xx
    + xx xx xx xx xx
    Mobil + xx xx xx xx xx
    + xx xx xx xx xx
    web: <a href="
    http://www.xxxxxxxxxxxxx.xx"><b>www.xxxxxxxxxxxxx.xx</b></a>
    E-mail: <a
    href="mailto:[email protected]"><b>[email protected]</b></a>
    ]]>
    </address>
    </text>
    If anyone got a solution on how i can get my text to allign
    corect
    i would like to hear about it
    Best reguards
    Mis

    alrighty then try this xml structure.
    Note: formatting information like b, or linkage tags should
    not be part of the xml.
    The XML format is a universal format for data, if you fill it
    with style information this is not good practive (in general, there
    are of course scenarios where it makes sense, also since (x)html IS
    also XML).
    In your case you want to put the information about multiple
    companies in a xml file, but you let the flash decide how to
    display format this information.
    so if you use the sugested XMl structure you will have full
    control of the layout within flash, because you can grab every
    piece of information from the xml and place it jsut where you want
    in flash and format it within flash.
    Of course this process is more coding work than your previous
    attempt, but it pays of when you have a lot of data to process and
    when you want to have full control of the final layout.
    But maybe its overkill for your application (I don't know how
    many companies will be stored in your xml and how complex the rest
    of the app is).

  • Problem with JavaScript snipet that DreamWeaver is writing

    I am having a problem with code that DreamWeaver (CS3) is
    writing. I'm fairly certain the problem is in a small piece of
    JavaScript that DreamWeaver is composing.
    This is a fairly complex problem, so bear with me.
    First - What I am trying to make happen: When on a page on my
    site (the-oilman.com) I want a link that opens a new window in the
    on-line store at a different site (AMSOIL.com). I need to leave
    both the page on my site open and have this 'store' page open.
    First of all this is working fine, using the 'Open Window'
    'behavior' in DreamWeaver. If someone wants to change windows (or
    tabs) and go back to my page, leaving the 'store' window open also
    - the problem is set up to happen. If from back at my site, you
    click on the same or a different link that goes back to the 'store'
    either on the same page or a different page at AMSOIL.com - the
    'store' window goes to the correct page, but the 'store' window
    does NOT come on top. When they click on a link to go back to the
    'store' I need the 'store' window to come to the top. If they have
    previously put something in the cart, and come back and add
    something else to the cart in the 'store' by coming in from
    different links on my site the 'store' is working correctly because
    I leave it open the whole time.
    snipets of code that DreamWeaver is writing for my site
    (the-oilman.com):
    from the head:
    <script>
    <!--
    CSAct[/*CMP*/ '129AABC1'] = new Array(CSOpenWindow,/*URL*/ '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store','store',0,0,true,true,true,true,tr ue,true,true);
    CSAct[/*CMP*/ '129AAC63'] = new Array(CSOpenWindow,/*URL*/ '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store','store',0,0,true,true,true,true,tr ue,true,true);
    CSAct[/*CMP*/ '10D39F40'] = new Array(CSOpenWindow,/*URL*/ '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=storefront/sso','store',0,0,true,true,tru e,true,true,true,true);
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    //-->
    </script>
    code from 2 different links that is using this script:
    <a href="
    http://www.amsoil.com/redirect.cgi?zo=52257&page=storefront/sso"
    target="store" onClick="MM_openBrWindow('#','store','')"
    csclick="10D39F40">Buy Now</a>
    <a href="
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store"
    title="AMSOIL Store at AMSOIL.com" target="store"
    onClick="MM_openBrWindow('http:www.amsoil.com/redirect.cgi?zo=52257&amp;page=store','stor e','')">On
    Line Store</a>
    I believe what I need is a longer javascript. Instead of just
    "window.open" I need an "if" but my javascript knowledge is very,
    very limited.
    I need it to first check that if the window named 'store' is
    open then 'focus' it, or if it is not open to open the window named
    'store'.
    Will this fix my problem? If so, please help me write the
    lines of code to do it.
    If this isn't the solution, what is the problem and the
    solution?
    A separate question but related: if you look in the two
    different links codes, in the function call one of them uses a
    'null' page reference and the other repeats the full link reference
    from the href= . Both seem to work, but which is the correct or the
    preferred syntax. My guess is there are some browsers that this
    will give a problem, but which way is preferred.
    Don Dawson
    mailto:[email protected]

    Create a new page. Try to apply this same behavior to a link
    on that new
    page. Look at the code. Can you reproduce the problem there?
    The code you
    show below has oodles of GL stuff in it. Do you need that GL
    markup?
    What operational sequence did you go through to get this
    behavior call?
    onClick="MM_openBrWindow('#','store','')"
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "pad graphics" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am having a problem with code that DreamWeaver (CS3) is
    writing. I'm
    >fairly
    > certain the problem is in a small piece of JavaScript
    that DreamWeaver is
    > composing.
    >
    > This is a fairly complex problem, so bear with me.
    >
    > First - What I am trying to make happen: When on a page
    on my site
    > (the-oilman.com) I want a link that opens a new window
    in the on-line
    > store at
    > a different site (AMSOIL.com). I need to leave both the
    page on my site
    > open
    > and have this 'store' page open. First of all this is
    working fine, using
    > the
    > 'Open Window' 'behavior' in DreamWeaver. If someone
    wants to change
    > windows (or
    > tabs) and go back to my page, leaving the 'store' window
    open also - the
    > problem is set up to happen. If from back at my site,
    you click on the
    > same or
    > a different link that goes back to the 'store' either on
    the same page or
    > a
    > different page at AMSOIL.com - the 'store' window goes
    to the correct
    > page, but
    > the 'store' window does NOT come on top. When they click
    on a link to go
    > back
    > to the 'store' I need the 'store' window to come to the
    top. If they have
    > previously put something in the cart, and come back and
    add something else
    > to
    > the cart in the 'store' by coming in from different
    links on my site the
    > 'store' is working correctly because I leave it open the
    whole time.
    >
    > snipets of code that DreamWeaver is writing for my site
    (the-oilman.com):
    > from the head:
    > <script>
    > <!--
    > CSAct[/*CMP*/ '129AABC1'] = new
    Array(CSOpenWindow,/*URL*/
    > '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store','store',0,0,true,true,t
    > rue,true,true,true,true);
    > CSAct[/*CMP*/ '129AAC63'] = new
    Array(CSOpenWindow,/*URL*/
    > '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store','store',0,0,true,true,t
    > rue,true,true,true,true);
    > CSAct[/*CMP*/ '10D39F40'] = new
    Array(CSOpenWindow,/*URL*/
    > '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=storefront/sso','store',0,0,tr
    > ue,true,true,true,true,true,true);
    > /
    > function MM_openBrWindow(theURL,winName,features) {
    //v2.0
    > window.open(theURL,winName,features);
    > }
    > //-->
    > </script>
    >
    > code from 2 different links that is using this script:
    > <a href="
    http://www.amsoil.com/redirect.cgi?zo=52257&page=storefront/sso"
    > target="store" onClick="MM_openBrWindow('#','store','')"
    > csclick="10D39F40">Buy
    > Now</a>
    > <a href="
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store"
    > title="AMSOIL
    > Store at AMSOIL.com" target="store"
    >
    onClick="MM_openBrWindow('http:www.amsoil.com/redirect.cgi?zo=52257&amp;page=sto
    > re','store','')">On Line Store</a>
    >
    > I believe what I need is a longer javascript. Instead of
    just
    > "window.open" I
    > need an "if" but my javascript knowledge is very, very
    limited.
    > I need it to first check that if the window named
    'store' is open then
    > 'focus'
    > it, or if it is not open to open the window named
    'store'.
    > Will this fix my problem? If so, please help me write
    the lines of code to
    > do
    > it.
    > If this isn't the solution, what is the problem and the
    solution?
    >
    > A separate question but related: if you look in the two
    different links
    > codes,
    > in the function call one of them uses a 'null' page
    reference and the
    > other
    > repeats the full link reference from the href= . Both
    seem to work, but
    > which
    > is the correct or the preferred syntax. My guess is
    there are some
    > browsers
    > that this will give a problem, but which way is
    preferred.
    >
    > Don Dawson
    > mailto:[email protected]
    >

Maybe you are looking for

  • How do i find the airplay icon on my ipad.

    I have the same network registered to the same network. Software is the latest on both IPAD and Apple TV. I have a IPAD 3. I have tried youtube, safari, TV-play station and find no airplay icon nowhere. I double click on meny button and swipe accross

  • Icon Size Within Dock Folders

    I would like to change the icon size within the applications folder, it seems rather large, I liked the size of the previous OS icons. It's no big deal but it looks comical compared to the rest of 10.6 visually.

  • HUPAST error - Material not activated

    Hi All, I am using HUPAST tcode to perform packing along with scanning UPC barcode of the material packing. I have a profile created for HU with ref to DELIVERY for the plant. So, everything works when I use HUPAST and not use the scanner. Delivery i

  • SOAP-Web Service Error

    Hi guys I am trying "Siva Maranani's" weblog "Invoke Webservices using SAP XI" and have several errors. My first attempt was to send a message using the RWB. My input: Send to:    http://host:8000/sap/xi/engine?type=entry Sender:     OP_CALC_WS Inter

  • Unable to open Adobe Captivate 8 after install - Windows firewall prompt

    Hi Guys, We've just installed Captivate 8 for a user and they cant open without getting the Windows Firewall prompt. Don't really want to give our users admin rights just so they can run an application. Have googled the problem and it seems to be a k