Topic
  • 8 replies
  • Latest Post - ‏2012-12-07T05:59:00Z by SystemAdmin
elango_k
elango_k
44 Posts

Pinned topic popup modal coach with list of complex variable

‏2012-04-04T11:59:20Z |
is possible to pass list of complex variable using popup modal coach .. if yes.. tell me the procedure
Updated on 2012-12-07T05:59:00Z at 2012-12-07T05:59:00Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: popup modal coach with list of complex variable

    ‏2012-04-04T13:32:48Z  
    elango_k,

    There may be better ways of doing this but in past I have done this with serializing the list to xml using tw.system.serializer.toXML and then converting it to string(toString) for passing. In the modal window you can deserialize this back to the list using tw.system.serializer.fromXML. This will work if your modal window implementation is a teamworks service (Coach).
    If you are opening an external UI, you will find lot of results in google as it is a very generic HTML question.

    Hope this helps
    Manish
  • elango_k
    elango_k
    44 Posts

    Re: popup modal coach with list of complex variable

    ‏2012-04-05T04:57:22Z  
    elango_k,

    There may be better ways of doing this but in past I have done this with serializing the list to xml using tw.system.serializer.toXML and then converting it to string(toString) for passing. In the modal window you can deserialize this back to the list using tw.system.serializer.fromXML. This will work if your modal window implementation is a teamworks service (Coach).
    If you are opening an external UI, you will find lot of results in google as it is a very generic HTML question.

    Hope this helps
    Manish
    invoking service:
    emp - string
    empobj - object
    tw.local.emp = tw.system.serializer.toXml(tw.local.empobj).toString("true");
    <script>
    function Popup() {
    var url="/teamworks/executeServiceByName?processApp=POC&serviceName=popupcoach&tw.local.emp="+<#=tw.local.emp#>;
    window.open(url, 'Popup', 'location=no,resizable=yes,height=400,width=600,toolbar=no,scrollbars=auto');
    }
    </script>

    popup
    popup invoked service:
    emp - string
    empobj - object
    tw.local.empobj= tw.system.serializer.fromXml(tw.local.emp);

    i dont know wat went wrong in this script.. its throwing me an error
    Runtime error in script ("Process: 'popupcoach' ProcessItem: 'Untitled2' Type: 'ITEM'" 1:0).Internal Script error:
    Script (line 1):

    can you plz and let me know wat went wrong
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: popup modal coach with list of complex variable

    ‏2012-04-11T14:44:30Z  
    elango_k,

    There may be better ways of doing this but in past I have done this with serializing the list to xml using tw.system.serializer.toXML and then converting it to string(toString) for passing. In the modal window you can deserialize this back to the list using tw.system.serializer.fromXML. This will work if your modal window implementation is a teamworks service (Coach).
    If you are opening an external UI, you will find lot of results in google as it is a very generic HTML question.

    Hope this helps
    Manish
    Hi Manish,

    Can you explain how to achieve this ?
    I did a lot of googling, but not able to find a right one.
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: popup modal coach with list of complex variable

    ‏2012-04-11T20:18:30Z  
    Hi Manish,

    Can you explain how to achieve this ?
    I did a lot of googling, but not able to find a right one.
    Naresh,

    Here are the details

    http://bpmwiki.blueworkslive.com/display/commwiki/Lombardi+Edition+-+URLs+to+run+BPDs%2C+Services+and+Tasks

    Hope this helps
    Manish
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: popup modal coach with list of complex variable

    ‏2012-04-16T19:11:10Z  
    Naresh,

    Here are the details

    http://bpmwiki.blueworkslive.com/display/commwiki/Lombardi+Edition+-+URLs+to+run+BPDs%2C+Services+and+Tasks

    Hope this helps
    Manish
    Hi Manish,

    I achieved the target, the link which you have sent setup the foundation. But it is not a easy not to crack.

    Regards,
    Reddy
  • elango_k
    elango_k
    44 Posts

    Re: popup modal coach with list of complex variable

    ‏2012-04-17T10:06:04Z  
    Hi Manish,

    I achieved the target, the link which you have sent setup the foundation. But it is not a easy not to crack.

    Regards,
    Reddy
    If you are able to parse a object.. let me know how to do that one
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: popup modal coach with list of complex variable

    ‏2012-04-24T21:04:07Z  
    • elango_k
    • ‏2012-04-17T10:06:04Z
    If you are able to parse a object.. let me know how to do that one
    Hi,
    Did anyone find a solution to this problem, if so can you post it here ?
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: popup modal coach with list of complex variable

    ‏2012-12-07T05:59:00Z  
    Hi,
    Did anyone find a solution to this problem, if so can you post it here ?
    Hi,

    I have a doubt,
    I have a pop up coach, which has a vertical scroll in it, I have a print button in my pop up.
    If I give print it is printing as screenshot (with the vertical scroll bar).
    Any idea how to print all the data in pop coach not as a screenshot?

    Thanks in advance
    Thara