Send to pushView string to convert to viewClass

i have problem with convert string to Class i try getDefinitionByName() >>> get undefined Varabile
how can i do it
function gotoView (currView:String):void{
navigator.pushView(currView as Class );// error
please help me to solve that

String[] splitString = str.split(",");

Similar Messages

  • Using SKPTSMTPMessage how to send a variable String?

    I am using SKPTSMTPMessage to send an email in the background but I need to send a variable string. I have tried putting a %@ in the text but it just sends the %@ and not a variable. Please Help?
    Hopefully, iCrazy23

    Did you ever figure out how to do this?  Because actually I'm trying to do pretty much exactly the same thing.  I'm actually having trouble even outputting the digital signal at all with my USB-6501.  I was initially trying to use DAQ Assistant, but then found out I probably shouldn't be using this and instead should be using the DAQmx individual functions.  I was directed by NI Support to look at the example "Gen Dig Pulse Train-Continuous.vi," but I haven't been able to figure out how to use this for my application.   For my project I  want to send a TTL signal to vavles that release fluids as well.  I have 3 2-way liquid releasing valves that I want to be synced so that only one is open at a time (for a user specified amount of time), and they open in a regular repeating sequence.  I also have another 3-way valve controlling a vacuum that I would like to be continuously pulsing, but for specified amounts of time (e.g., 3 seconds open, 3 seconds closed, and so on).
    I believe I can figure out the logic and the programming involved with figuring out the exact sequencing and timing manipulation, however, I'm having trouble just being able to output any digital signal with a varying time.  If you could offer any help on this, it would be greatly appreciated.  Thanks!

  • Send a json string to an HTTP in labview

    Hi,
    I need to assing values to an HTTP site by sending a json string, I have been trying using the HTTP client PUT vi with no success, does anyone have an easy way of sending a json string to an HTTP site in labview thru the PUT method???
    Thank you

    What have you tried?
    This should work as a basic example:
    If you have LabVIEW 2013 or newer, there are built-in VIs for encoding/decoding JSON strings to/from LabVIEW clusters.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • HT3529 I have i0S7.0.2 on my iPhone 5.  I want to to send a new string of messages to someone but every time I type in the recipient's phone number, the old string of messages pop up.  Is there any way to start a new, fresh string?

    I have i0S7.0.2 on my iPhone 5.  I want to to send a new string of messages to someone but every time I type in the recipient's phone number, the old string of messages pop up.  Is there any way to start a new, fresh string?

    SadisticIron wrote:
    i just baught my first iphone and it is a jalbroken
    Buzz! Thank you for playing!
    Discussing jailbroken devices is forbidden here by the Terms of Service.
    You can not get help here.

  • I've just subscribed to adobe exportpdf. Can I simply send an email with the converted file?

    I've just subscribed to adobe exportpdf. Can I simply send an email with the converted file?
    THanks in advance
    solromac

    I do not understand your question; what happens when you try?
    [topic moved to ExportPDF forum]

  • How to send month as string to date

    Hi
    my input comes as
    month year.( oct 2008 or Nov 2008 etc )
    The target field is a Date.
    I have tried using Date trans but it doesnt accept strings.
    so is there a way send the incoming field  without changing target data to string?
    Regards,
    Venkat.

    I am assuming you can bring in month & year in 2 seperate variable to UDF named as below
    String strMonth & String strYear
    java.text.DateFormat df = new SimpleDateFormat("dd/MON/yyyy");
    java.util.Date today = df.parse("01""/"strMonth"/"strYear);
    Now you have the date object & you can convert the way you need. Please note I am initializing the object to start of the month always.
    Regards
    Unni

  • Sending a formatted string to a servlet

    I'm trying to send a string that contains some carriage returns to a servlet.
    Right now what I'm doing is converting the contents of a file to bytes, then to a string. I write that string to a stream to the servlet.
    But once I pull the string from the stream on the servlet, it looks like the formatting is lost.
    Anyone know what I'm doing wrong? Thanks!!!!
    This is the code I'm using to convert the data to bytes, then string:
    File file = new File(inputPath+"/"+dataFile);
                                      byte[] b = this.getBytesFromFile(file);
                                      String rap = new String(b);I then use this code to write to the stream:
    OutputStreamWriter out = new OutputStreamWriter(connection.getOutputStream());
                      out.write(rap);
                      out.flush();
                      out.close();This is the code I have on the servlet to get the data off the stream:
    InputStream in = request.getInputStream();
          BufferedReader inStream = new BufferedReader(new InputStreamReader(in));
          String line;
          StringBuffer xmlStrBuf = new StringBuffer();
            while((line = inStream.readLine()) != null) {
              xmlStrBuf.append(line);
            String xml = xmlStrBuf.toString();
            out.println("Xml string:");
            out.println(xml);

    Why use "getBytesFromFile" and then create a string with those bytes? Why not open the file with a FileReader?
    What's the default character encoding on the client? What is it on the server?
    What's in the Content-Type header? How about Content-Length?

  • Empty Strings are converted to NULLs

    We are developing a Java application intended to work with multiple databases. We want to store empty strings but oracle converts this to NULL values. Is there a way to tell the Oracle Database not to convert the empty string to NULL and to store it as an empty string?
    Thanks
    Joaquim Franco <[email protected]>
    GEDI, SA

    Our project started with a MySQL database and the code is full of built queries like "Select Field from table where field = var" where var can be an empty string. It would be easier for us to turn a switch in the database then to look for every query in the application and add code to test is var is empty a change the query to "Select Field from table where field is NULL".
    Best Regards
    Joaquim Franco
    &gt; It is a quirk of Oracle that it regards empty strings
    &gt; and NULLs as being the same thing. This behaviour
    &gt; has been built into the database forever. Oracle
    &gt; keep threatening to change but I suspect they are
    &gt; scared of the impact, not least on their own code.
    &gt; As Oracle increasingly embrace Java they may decide
    &gt; to revisit this - I don't know whether the behaviour
    &gt; is changed in 10G.
    &gt;
    &gt; What sort of problems does it cause you?
    &gt;
    &gt; Cheers, APC

  • Sending/Reading custom Strings in HTTP Header

    Hey people,
    I'm developing a J2ME application in which I'm trying to send a Message object (a few Strings such as Content, Nickname etc) to a Servlet. Serialization would be nice but since J2ME doesn't support it, I would have to come up with a custom one. I am looking for an easier way to send the strings I need to the other side.
    Can I use some of the HTTP headers in a POST request set to my custom Strings (using setRequestProperty when constructing them)?
    I know it's probably inefficient or "unethical" but if a dirty trick is what it takes... Since I'm controlling both sides of the connection, I am prepared to make it happen, one way or the other.
    Can someone come up with a viable solution?
    Any help would be greatly appreciated!

    Thank you for your prompt answer.
    I will give it a shot but I fear there's bound to be some trouble:
    1. Since the text messages sent can be of arbitrary size and I will definitely need some extra fields (such as smileys ;), color, etc - you get the gist) the header can be long. Thus, big overhead on a small device. But it sure beats creating byte[] for serialization.
    2. Some of the characters used in the "encoding" of the message, such as ",<,>,?,& etc cannot be used by in the actual body of the message - it would confuse the "decoding" on the other side.
    I might be trying to hit two birds with one stone here but the goal is to get a few "text" attributes across as painlessly as possible (for the device, not me..)
    You gave me food for thought tho, have some $ ;).

  • How do I send a pdf that was converted to word as an email?

    I have an important document that I have converted from a pdf to a word document, but I'm not sure how to send it as an email?
    Please help!! Thanks much!!
    Savannah Gal

    Hi Patricia,
    I believe the following document will be helpful for you:
    Using SendNow
    Let me know if you have further questions!
    Kind regards, Stacy

  • Creating a Function module to send XML Byte String

    Hi all,
    I have to create a Function module to get XML byte string.The internal table is dynamic coloums based on how many data selected as a importparameter.from the internal; table data I have to create a XML byte string as a output.Pl help me to proceed further.
    Thanks in Advance.
    Ram

    If i have your question right you need to convert an internal table of unknown type to an xml string then to a byte string.
    data xmlString type string.
    data xmlXString type xstring.
    call transformation id
       source
          table = internalTableYouWantToExport
       result
          xml xmlString.
    export xmlString to data buffer xmlXString.
    xmlString has the xml of the table and xmlXString contains the byte representation of the string.

  • Problem with &amp while sending xml as string to webservice

    Hi I am also facing a problem I want to send a string to my sap webservice into the following format
    <DATA><STRUCTURE VAL="FLASH"><VALUEPART VAL="40100"></VALUEPART></STRUCTURE><STRUCTURE VAL="FLEX"><VALUEPART VAL="2000"></VALUEPART></STRUCTURE></DATA>
    But whenever I am sending this string to my webservice in webservice it is reading this data like
    &amp;lt;DATA&gt;&amp;lt;STRUCTURE VAL="FLASH"&gt;&amp;lt;VALUEPART VAL="40100"&gt;&amp;lt;/VALUEPART&gt;&amp;lt;/STRUCTURE&gt;&amp;lt;STRUCTURE VAL="FLEX"&gt;&amp;lt;VALUEPART VAL="2000"&gt;&amp;lt;/VALUEPART&gt;&amp;lt;/STRUCTURE&gt;&amp;lt;/DATA&gt;
    Please help me to solve the problem .

    Thanks for your reply but now I am using escape(srting) and server side script reading it as
    %3CDATA%3E%3CSTRUCTURE%20VAL%3D%22FLASH%22%3E%3CVALUEPART%20VAL%3D%2240100%22%3E%3C/VALUEP ART%3E%3C/STRUCTURE%3E%3CSTRUCTURE%20VAL%3D%22FLEX%22%3E%3CVALUEPART%20VAL%3D%222000%22%3E %3C/VALUEPART%3E%3C/STRUCTURE%3E%3C/DATA%3E
    I have to send this as
    <DATA><STRUCTURE VAL="FLASH"><VALUEPART VAL="40100"></VALUEPART></STRUCTURE><STRUCTURE VAL="FLEX"><VALUEPART VAL="2000"></VALUEPART></STRUCTURE></DATA>
    any other option ?

  • JSP Strings, Ints converting

    I'm sure this sort of thing has been asked but i cant find it in the forums.... I'm trying to read in a string from a form and then convert it to an int so that i can use it in a select statement so i can compare it to a field declared as "Number" in the Access Database.
    String sess = request.getParameter("num"); //num comes from form
    int eventNum = Integer.parseInt(sess);
    //connected ot the database
    String query = "SELECT * FROM EVENT WHERE event_id = 'eventNum' ";
    ResultSet result = stmt.executeQuery(query);
    //event_id is a number in the database
    Its saying "Data type mismatch in criteria expression"
    Thanking you in advance,
    Brian

    Since you are building a string as query, you don't need to convert it
    String sess = request.getParameter("num"); //num
    String query = "SELECT * FROM EVENT WHERE event_id ='eventNum' ";
    ResultSet result = stmt.executeQuery(query);This error "Data type mismatch in criteria" comes from event_id = 'num'
    event_id is numeric, so it should not contain quotes in the sql statement
    this will do it:
    String query = "SELECT * FROM EVENT WHERE event_id =" + sess

  • Sending long XML strings from a servlet

    Hi,
    I'm trying to send a long (16K) XML string from a Java servlet to a
    MSXML2.XMLHTTP40 client. The client doesn't receive any data when the
    string is longer than about 2K .
    I am using the POST method.
    I have tried increasing the buffer size on the sending side with
    HttpServletResponse.setBufferSize() - this had no effect.
    Any ideas ?
    Thanks very much for your help,
    Rod

    Looks like the problem is on the client side (MSXML) because I can flawlessly send half-megs XML files from a Servlet to a browser or a java.net.URL

  • Problem sending (or receiving) strings

    Hi, I am trying to send a string using the following code.
    temp = new StringBuffer();
    temp.append("NEWUSER;").append(num).append(';').append(nick).append("\n");
    streamConnection = (StreamConnection) Connector.open(host);
    fromUser = streamConnection.openOutputStream();
    dataFromUser = new DataOutputStream(fromUser);
    dataFromUser.writeChars(temp.toString());
    dataFromUser.flush();and receive it on my pc running a java server:
    in = new BufferedReader(new InputStreamReader(incoming.getInputStream()));
    String inputMsg;
    while ((inputMsg = in.readLine()) != null) {
           System.out.println("Received: " + inputMsg);
           StringTokenizer st = new StringTokenizer(inputMsg, ";");
           ui.updateMsg("Received:" + inputMsg);
            while (st.hasMoreTokens()) {
                        String tk = st.nextToken();
                        System.out.println(tk);
                        System.out.println(tk.compareTo("NEWUSER"));
    }Everything seems ok when sending it:
    Sent: NEWUSER;6912345788;TQ
    but the result is printed like this
    I changed writeChars() to writeUTF, and there only to "boxes" at the beginning of the string
    Edited by: antonis_wrx on Jan 13, 2009 12:24 PM

    Hi Pisteuon,
    Thank you for your question.
    We assume the version of Exchange is 2007, if we misunderstand, please be free to let me know.
    Did you try to disable all transport rule to test it?
    Have you try to logon OWA to check if we could see attachment?
    Did all uses and all domains not send/receive attachments to/from your organization?
    Have you try to send attachment which has small size? For example 1KB.
    We could create a new account without public folder to check if the issue persist?
    If there are any public folders in organization, please make sure the correct replication among public folders,
    We could also check the public folder if it miss hierarchy on Exchange administrator group.
    We could update Exchange 2007 to CU3 or later by the following link:
    https://support.microsoft.com/kb/932515/?wa=wsignin1.0
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim

Maybe you are looking for

  • Child table foregin key contrain violation

    Hi , 1-I have a form containing parant and child table component child table component becomes visible changes base on drop down present on form After typing Id , drop down is change ..on its listener createchildtable row is created progarmmatically.

  • I CAN PRINT HP PAGES--- BUT NOT ON LINE PAGES

    I CAN PRINT HP PAGES BUT NOT ON LINE PAGES ERROR HAS OCCURRED IN SCRIPT ON THIS PAGE ERROR UNSPECIFIED

  • Is there a solution to the data/time camera metadata problem?

    After a lot of testing I've nailed down a serious flaw with Lightroom, and I'm wondering if people have any sort of solution, either from within Lightroom or externally. When Lightroom is used to export JPEGs, the exported files have the correct Imag

  • Sort by different sets in the report

    Hi, I have a report requirement like. orders sorted by (set1)ch1, ch2, ch3, ch4. open quotes sorted by (set2)ch1, ch2, ch3, ch4, ch5, ch6, ch7. if the user selects orders, he should see only set1 fields if the user selects quotes, he should see set 2

  • Downloading and installing icons...

    I downloaded some icons from the download site, but now I don't know how to use/install them. How can I use them to replace some of the icons i want replaced??