Date choosers and dynamic email creation with table

I’m an experienced Director/Shockwave programmer but a
relative novice at Flash/AS3. I’ve just been asked to provide
a quote to convert part of an old project from Director to Flash
(web delivery). The part to be converted is very similar to a
reservation system but without the need for data lookup or storage;
it requires the user to choose a date (using a date chooser
component), collects some additional information, performs some
calculations, then graphically displays 3 consecutive calendar
months with a range of days highlighted. The user could then opt to
email the results, behind the scenes my code wrote html to a string
and attached the string to an email to recreate the results.
The client was fussy about the data input, eg; requiring that
users be able to input dates using either a date chooser or by
typing the date, and that the unused method should update on focus
change.
So with all that said, I’ve found three date choosers.
Does anyone know if one of these would be better suited to my needs
than another? Also, the email requirement may go away, but does
anyone have tricks in AS3 to do something similar to what I did
with Lingo?
AS3 Date Choosers:
http://flashden.net/item/flash-calendar-strongdatestrong-chooser-as2-strongas3strong/4151
http://www.flashden.net/item/as3-datechooser/10837
http://flashden.net/item/flash-calendar-strongdatestrong-chooser-as2-strongas3strong/4151

I’m an experienced Director/Shockwave programmer but a
relative novice at Flash/AS3. I’ve just been asked to provide
a quote to convert part of an old project from Director to Flash
(web delivery). The part to be converted is very similar to a
reservation system but without the need for data lookup or storage;
it requires the user to choose a date (using a date chooser
component), collects some additional information, performs some
calculations, then graphically displays 3 consecutive calendar
months with a range of days highlighted. The user could then opt to
email the results, behind the scenes my code wrote html to a string
and attached the string to an email to recreate the results.
The client was fussy about the data input, eg; requiring that
users be able to input dates using either a date chooser or by
typing the date, and that the unused method should update on focus
change.
So with all that said, I’ve found three date choosers.
Does anyone know if one of these would be better suited to my needs
than another? Also, the email requirement may go away, but does
anyone have tricks in AS3 to do something similar to what I did
with Lingo?
AS3 Date Choosers:
http://flashden.net/item/flash-calendar-strongdatestrong-chooser-as2-strongas3strong/4151
http://www.flashden.net/item/as3-datechooser/10837
http://flashden.net/item/flash-calendar-strongdatestrong-chooser-as2-strongas3strong/4151

Similar Messages

  • Create and send email issue with UCCX/IP-IVR 8.0 script

    Hi all,
    I am facing issue with create and send email option with script. In my call flow there is an option to offer call to key in their phone number and script need to pass that phone number to supervisor as an email. I have created the script but every time when I key in the phone number is pass through the unsuccessful node. Please find the script as attachment.
    Thanks and Regards,
    Ashfaque

    Hi How Yee,
    Which version of UCCX/IPIVR you are using and what is the type of license? Because this feature is only supported with Premium License. Please check the UCCX data sheet from the below link.
    http://www.cisco.com/en/US/partner/prod/collateral/voicesw/custcosw/ps5693/ps1846/data_sheet_c78-629807.html
    You will get the information under "Integrated IVR Features with Server Software" of table:4.
    Thanks and Regards,
    Ashfaque.

  • I'm trying to pay for a game, and I went to pay it's asked security questions and I don't remember what I answered and I went to resend code to reset the answer and the email starts with an a and I have no email that starts with an s

    I'm trying to pay for a game, and I went to pay it's asked security questions and I don't remember what I answered and I went to resend code to reset the answer and the email starts with an a and I have no email that starts with an s

    See Kappy’s great User Tips.
    See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities
    https://discussions.apple.com/docs/DOC-4551
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Send Apple an email request for help at: Apple - Support - iTunes Store - Contact Us http://www.apple.com/emea/support/itunes/contact.html
    Call Apple Support in your country: Customer Service: Contacting Apple for support and service http://support.apple.com/kb/HE57
    About Apple ID security questions
    http://support.apple.com/kb/HT5665
     Cheers, Tom 

  • Dynamic insertion of data in a Dynamic Column in a table

    Hi EveryBody ,
    I have a table where i am increasing the column dynamically . I need to insert data through PreparedStatement Like
    pst = con.prepareStatement(CBBsqlConstants.addOrderItem);
                   pst.setString(1,ein);
                   pst.setString(2,insert_date);
                   pst.setString(3,checkList);
                   pst.setString(4,Quantities);
                   pst.setDate(5,pick_date);
                   pst.setDate(6,completed_date);
                   pst.setString(7,comment);
                   pst.setInt(8,status);
                   pst.setString(9,agent_ein);
                   i = pst.executeUpdate();
    But here my column is increasing dynamically, so the above cant be constant as column is incresing . how do i handle the insertion part dynamically.
    Thanks So much . Please help with this .

    Server_java wrote:
    Ya you are right ,
    Take i am ordering some Items and quantity from checkbox and inserting that to the table , each item and quantity is going to consume a row , but when i am going have column for each item , all the items i am going to select is going to appear in a single row . so i am consuming .But only 256 column is allowed for a table ,but my item is not going to excced that . That maximum number of columns is the least of the problems here.
    The problem is that you are taking data that should be in another table and turning it into metadata instead. That's a mistake because it makes your entire application brittle and it doesn't need to be. It also will make querying your table a nightmare.
    Let's take a look at your solution and then the correct solution.
    Your solution (condensed)
    tblOrder
    id
    customername
    apples
    oranges
    bananas
    cherries
    Sample data (CSV format for the forum)
    1,"John Smith",0,0,0,1
    2,"Jane Smith",1,0,0,3
    3,"Kate Smith",0,2,1,0
    The correct solution
    tblOrder
    id
    customername
    Sample data
    1,"John Smith"
    2,"Jane Smith"
    3,"Kate Smith"
    tblProduct
    id
    name
    Sample data
    1, "Apples"
    2,"Oranges"
    3, "Bananas"
    4, "Cherries"
    tblOrderItem
    orderid
    productid
    quantity
    Sample data
    1,4,1
    2,1,1
    2,4,3
    3,2,2
    3,3,1
    So what's the difference?
    With your design what happens when you want to add a new fruit? Your schema changes and all your code breaks. With my design you simply insert one row and that's it.
    And what happens if you do happen to eventually need more than 250 odd fruits? With your design you are screwed. With my correct design it's never going to be a problem.
    And consider that with my design you can populate user inteface components using actual data and not table meta data.
    And the list goes on... the point is the only correct solution is to use a proper relational design.

  • Read Data from the dynamic Field Symbol with key ?

    Dear All,
    I've  2 dynamic internal tables in the form of field symbols.
    Now,I want to loop the item field symbol, read the header field symbol content and then move the corresponding into a final field symbol.
    How to read the field symbol with key ?
    When I'm trying to give the key clause in the paranthesis it's giving a syntax error.
    Any clues ?
    FYI .....
    * Get the Dynamic Field and Value for the Date/Year and convert it into Year value
      LOOP AT <fs_t_son> ASSIGNING <wa_son>.
        ASSIGN COMPONENT gwa_znrows_def-fieldname OF STRUCTURE <wa_son> TO <fs_year>.
        IF sy-subrc = 0.
          CLEAR gv_string.
          MOVE <fs_year> TO gv_string.
          CLEAR gv_year.
          gv_year = gv_string.
          <fs_year> = gv_year.
        ELSE.
    * When the Date/year Field is not in the Table then -->
    * Get the Dynamic Field and Value
          ASSIGN COMPONENT gwa_znrows_def-kfldname OF STRUCTURE <wa_rson> TO <fs_value>.
    * Populate field for Dynamic Where condition
          CLEAR gv_value.
          CONCATENATE '''' <fs_value> '''' INTO gv_value.
          CONCATENATE gwa_znrows_def-kfldname '=' gv_value INTO gt_where SEPARATED BY space.
          APPEND gt_where.
          CLEAR gt_where.
          READ TABLE <fs_t_rson> ASSIGNING <wa_rson> ( gt_where ).  "Key clause
        ENDIF.  " if sy-subrc = 0.  "Assign
      ENDLOOP.
    Thanks & regards,
    Deepu.K

    TYPES: BEGIN OF line,
             col1 TYPE c,
             col2 TYPE c,
           END OF line.
    DATA: wa TYPE line,
          itab TYPE HASHED TABLE OF line WITH UNIQUE KEY col1,
          key(4) TYPE c VALUE 'COL1'.
    FIELD-SYMBOLS <fs> TYPE ANY TABLE.
    ASSIGN itab TO <fs>.
    READ TABLE <fs> WITH TABLE KEY (key) = 'X' INTO wa.
    The internal table itab is assigned to the generic field symbol <fs>, after which it is possible to address the table key of the field symbol dynamically. However, the static address
    READ TABLE <fs> WITH TABLE KEY col1 = 'X' INTO wa.
    is not possible syntactically, since the field symbol does not adopt the key of table itab until runtime. In the program, the type specification ANY TABLE only indicates that <fs> is a table. If the type had been ANY (or no type had been specified at all), even the specific internal table statement READ TABLE <fs>  would not have been possible from a syntax point of view.

  • Dynamic SQL Statement with table name

    Dear all
    i like to have a SQL statement with a dynamic tablename. Is this possible? If yes, how?
    should be something like "select * from <mytablename>"
    Thank you
    Herbert

    Yes this is possible. use the below reference code for this.
    data: g_tablename type w_tabname,
            gv_dref TYPE REF TO data.
    FIELD-SYMBOLS: <g_itab> TYPE STANDARD TABLE.
    gv_tabname = p_tablename (take table name form selection screen or as per ur requirement)
    CREATE DATA gv_dref TYPE TABLE OF (g_tabname).
    ASSIGN gv_dref->* TO <g_itab>.
    now use the below select query to fetch the data
      SELECT * FROM (gv_tabname) INTO TABLE <g_itab>.
    Hope this will help

  • Spry XML data set and dynamic post variables

    Hi,
    I am trying to create an XML data set that has dynamic post
    variables.
    Everytime something is pressed on the page a variable changes
    and I then want to reload the XML data set using the new variable.
    I know I can just pull in an XML with all possible variables
    and filter client side but this would make it way too large.
    Does anyone know what I may need to do.
    I tried this:
    var myVar = 0;
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'top' , { method: 'POST' ,
    postData: sid=ajaja21&ip=127.0.0.1&cid=' . myVar ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    onclick="myVar=1";
    But the script doesn't understand the post variables sent (it
    does when I remove the . myVar part and put in a static value). I
    think it isn't sending that dynamic variable with the post
    variables.
    Any ideas anyone?
    Thanks

    Well I had it working when I stripped back everything and
    just had the dss data set and a single onclick function, but now
    that I put it back together it hash foobared again.
    Here are the relevant bits of code that I've changed.
    The function to change server id:
    //function to run when changing the server id
    function changeServer ( sid ) {
    //set the url to use the current server id
    dss.setURL = ( '../../cgi-bin/server_details.pl' , { method:
    'POST' , postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid='+sid
    //force a reload of the server data
    dss.loadData();
    The inital load of the data set
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'yams' , { method: 'POST' ,
    postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid=0' ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    And the part that changes the server id
    <td align="left" style="cursor:default; width:174px;"
    onclick="changeServer({dsv::servers/server/@id})">{dsv::servers/server/name}</td>
    I checked that the function is receiving the correct server
    id and I even tried hard coding the cid variable to 2 in the change
    function but it still wasn't changing on the server side.
    Any ideas?
    Thanks

  • Generate a report with date range and year as POV with Hyp Planning ?

    Hi everybody,
    I am starting with hyp planning and i need your help please.
    I have to create some forms. In those forms, the final user is supposed to be able to display data in the forms between 2 dates and for a specific year.
    My first problem : I don't know how you can display data in a form between 2 dates and for one specific year. I just have one dimension YEAR and one PERIOD, so if i selected them as a PAGE, the final user will just be able to choose the month and the year for his form ... and not displaying data between 2 dates.
    My second problem is with the dimensions YEAR, SCENARIO and VERSION. I don't want to put the dimensions VERSION and SCENARIO as PAGE (it easier for the final user to just choose a year than to choose a year, scenario, and version) but as POV with a relationship with the dimension YEAR (because if the user chooses YEAR = actual_year (2012) the VERSION and the SCENARIO won't be the same than if the user chooses YEAR= last_year). IF YEAR = next_year, VERSION=Propuesta, SCENARIO=Forecast
    IF YEAR = actual_year, VERSION=Propuesta, SCENARIO=Forecast AC
    IF YEAR = last_year, VERSION=Actual, SCENARIA=Real
    How can i do that?
    Thank you for your help
    Edited by: 932573 on May 7, 2012 3:44 PM
    Edited by: 932573 on May 7, 2012 4:27 PM

    I am not sure if you are using RAS or Enterprise SDK, but here are some code snippets to set range report parameters:
    For scheduling:
    // oReport is IReport object holding the crystal report.
    oReportParameter = oReport.getReportParameters().get(i);
    currentRangeValue = oReportParameter.getCurrentValues().addRangeValue();
    currentRangeValue.getFromValue().setValue(dateParameter);
    currentRangeValue.getToValue().setValue(dateParameter);
    For viewing:
    ParameterFieldRangeValue pfrv = new ParameterFieldRangeValue();
    pfrv.setBeginValue(dateTimeValue);
    pfrv.setEndValue(dateTimeValue1);
    pfrv.setLowerBoundType(RangeValueBoundType.inclusive);
    pfrv.setUpperBoundType(RangeValueBoundType.inclusive);
    pf.getCurrentValues().add(pfrv);
    f.add(pf);
    f is Fields object and pass that to viewer.

  • My phone will not turn on and i forgot my apple id and the email associated with it. How can i still access my information?

    My iPhone will not turn on because of water damage. I am trying to access the cloud but i forgot my apple ID and i also forgot the email associated with it which was an @me.com address. I tried using the back-up emails that i have but it did not find my account. How can i get to my cloud?

    You cannot without the correct credentials.
    You can try here if the Apple ID is yours:
    https://iforgot.apple.com

  • Forgotten Icloud password and the email associated with

    I've forgotten my Icloud password and the email which associated with the Icloud ID as well.. What should I do now?

    If you don't know your ID, you can try to find it as explained here: http://support.apple.com/kb/HT5625.  If you don’t know your password you can reset the password as explained here: http://support.apple.com/kb/PH2617.

  • JSP and dynamic email from form on web page

    I fairly new to JSP, I trying to create a form the will automatically send an email once an insert button is clicked. But in the email there will be to dynamic fields, like SSN and Last Name. These would be passed in from to textboxes on the page. Here is the code I have so far. Thanks for any help
    Joaquin
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%
    // Set Session Variable To Value Of Form Element - JSPSessions_102
    session.setAttribute
    ("SSN",
    request.getParameter
    ("txtSSN"));
    // Send Email From Web Page - JSPMail_101
    Properties props = new Properties();
    props.put("smtp.sbcglobal.yahoo.com", "smtp.sbcglobal.yahoo.com");
    Session s = Session.getInstance(props,null);
    MimeMessage message = new MimeMessage(s);
    InternetAddress from = new InternetAddress("[email protected]");
    message.setFrom(from);
    InternetAddress to = new InternetAddress("[email protected]");
    message.addRecipient(Message.RecipientType.TO, to);
    message.setSubject("New Employee.");
    message.setText("This is a test ");
    Transport.send(message);
    %>
    <%@ include file="Connections/conCap2.jsp" %>
    <%
    // *** Restrict Access To Page: Grant or deny access to this page
    String MM_authorizedUsers="";
    String MM_authFailedURL="loginFailedFac.htm";
    boolean MM_grantAccess=false;
    if (session.getValue("MM_Username") != null && !session.getValue("MM_Username").equals("")) {
    if (true || (session.getValue("MM_UserAuthorization")=="") ||
    (MM_authorizedUsers.indexOf((String)session.getValue("MM_UserAuthorization")) >=0)) {
    MM_grantAccess = true;
    if (!MM_grantAccess) {
    String MM_qsChar = "?";
    if (MM_authFailedURL.indexOf("?") >= 0) MM_qsChar = "&";
    String MM_referrer = request.getRequestURI();
    if (request.getQueryString() != null) MM_referrer = MM_referrer + "?" + request.getQueryString();
    MM_authFailedURL = MM_authFailedURL + MM_qsChar + "accessdenied=" + java.net.URLEncoder.encode(MM_referrer);
    response.sendRedirect(response.encodeRedirectURL(MM_authFailedURL));
    return;
    %>
    <%
    // *** Edit Operations: declare variables
    // set the form action variable
    String MM_editAction = request.getRequestURI();
    if (request.getQueryString() != null && request.getQueryString().length() > 0) {
    MM_editAction += "?" + request.getQueryString();
    // connection information
    String MM_editDriver = null, MM_editConnection = null, MM_editUserName = null, MM_editPassword = null;
    // redirect information
    String MM_editRedirectUrl = null;
    // query string to execute
    StringBuffer MM_editQuery = null;
    // boolean to abort record edit
    boolean MM_abortEdit = false;
    // table information
    String MM_editTable = null, MM_editColumn = null, MM_recordId = null;
    // form field information
    String[] MM_fields = null, MM_columns = null;
    %>
    <%
    // *** Insert Record: set variables
    if (request.getParameter("MM_insert") != null && request.getParameter("MM_insert").toString().equals("FacSupPo")) {
    MM_editDriver = MM_conCap2_DRIVER;
    MM_editConnection = MM_conCap2_STRING;
    MM_editUserName = MM_conCap2_USERNAME;
    MM_editPassword = MM_conCap2_PASSWORD;
    MM_editTable = "facsupport";
    MM_editRedirectUrl = "insertOk.jsp";
    String MM_fieldsStr = "txtSSN|value|txtLstNm|value|DkCHDo|value|doCompDK|value|GenOffSupDo|value";
    String MM_columnsStr = "SSN|',none,''|LstName|',none,''|DeskChair|',none,''|CompDsk|',none,''|GenOffSup|',none,''";
    // create the MM_fields and MM_columns arrays
    java.util.StringTokenizer tokens = new java.util.StringTokenizer(MM_fieldsStr,"|");
    MM_fields = new String[tokens.countTokens()];
    for (int i=0; tokens.hasMoreTokens(); i++) MM_fields[i] = tokens.nextToken();
    tokens = new java.util.StringTokenizer(MM_columnsStr,"|");
    MM_columns = new String[tokens.countTokens()];
    for (int i=0; tokens.hasMoreTokens(); i++) MM_columns[i] = tokens.nextToken();
    // set the form values
    for (int i=0; i+1 < MM_fields.length; i+=2) {
    MM_fields[i+1] = ((request.getParameter(MM_fields)!=null)?(String)request.getParameter(MM_fields[i]):"");
    // append the query string to the redirect URL
    if (MM_editRedirectUrl.length() != 0 && request.getQueryString() != null) {
    MM_editRedirectUrl += ((MM_editRedirectUrl.indexOf('?') == -1)?"?":"&") + request.getQueryString();
    %>
    <%
    // *** Insert Record: construct a sql insert statement and execute it
    if (request.getParameter("MM_insert") != null) {
    // create the insert sql statement
    StringBuffer MM_tableValues = new StringBuffer(), MM_dbValues = new StringBuffer();
    for (int i=0; i+1 < MM_fields.length; i+=2) {
    String formVal = MM_fields[i+1];
    String elem;
    java.util.StringTokenizer tokens = new java.util.StringTokenizer(MM_columns[i+1],",");
    String delim = ((elem = (String)tokens.nextToken()) != null && elem.compareTo("none")!=0)?elem:"";
    String altVal = ((elem = (String)tokens.nextToken()) != null && elem.compareTo("none")!=0)?elem:"";
    String emptyVal = ((elem = (String)tokens.nextToken()) != null && elem.compareTo("none")!=0)?elem:"";
    if (formVal.length() == 0) {
    formVal = emptyVal;
    } else {
    if (altVal.length() != 0) {
    formVal = altVal;
    } else if (delim.compareTo("'") == 0) {  // escape quotes
    StringBuffer escQuotes = new StringBuffer(formVal);
    for (int j=0; j < escQuotes.length(); j++)
    if (escQuotes.charAt(j) == '\'') escQuotes.insert(j++,'\'');
    formVal = "'" + escQuotes + "'";
    } else {
    formVal = delim + formVal + delim;
    MM_tableValues.append((i!=0)?",":"").append(MM_columns[i]);
    MM_dbValues.append((i!=0)?",":"").append(formVal);
    MM_editQuery = new StringBuffer("insert into " + MM_editTable);
    MM_editQuery.append(" (").append(MM_tableValues.toString()).append(") values (");
    MM_editQuery.append(MM_dbValues.toString()).append(")");
    if (!MM_abortEdit) {
    // finish the sql and execute it
    Driver MM_driver = (Driver)Class.forName(MM_editDriver).newInstance();
    Connection MM_connection = DriverManager.getConnection(MM_editConnection,MM_editUserName,MM_editPassword);
    PreparedStatement MM_editStatement = MM_connection.prepareStatement(MM_editQuery.toString());
    MM_editStatement.executeUpdate();
    MM_connection.close();
    // redirect with URL parameters
    if (MM_editRedirectUrl.length() != 0) {
    response.sendRedirect(response.encodeRedirectURL(MM_editRedirectUrl));
    return;
    %>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <form action="<%=MM_editAction%>" method="POST" name="FacSupPo" id="FacSupPo">
    <table width="575" border="1">
    <tr>
    <td><div align="center">
    <h2>Facilities Support Form Submition</h2>
    <p><strong>Please Check all of the Fields</strong></p>
    </div></td>
    </tr>
    </table>
    <p>  </p>
    <p>Please Enter Employees SSN </p>
    <p>
    <input name="txtSSN" type="text" id="txtSSN" value="<%= ((request.getParameter("txtSSN")!=null)?request.getParameter("txtSSN"):"") %>"readonly="true">
    </p>
    <p>Enter Last Name</p>
    <p>
    <input name="txtLstNm" type="text" id="txtLstNm" value="<%= ((request.getParameter("txtLstNm")!=null)?request.getParameter("txtLstNm"):"") %>"readonly="true">
    </p>
    <table width="575" border="1" cellspacing="0" bordercolor="#000000">
    <!--DWLayoutTable-->
    <tr bgcolor="#FF0000">
    <td height="23" colspan="3"> </td>
    </tr>
    <tr>
    <td width="179" height="102" valign="top">
    <p>
    <input name="DkCHDo" type="text" id="DkCHDo" value="<%= ((request.getParameter("DkCHDo")!=null)?request.getParameter("DkCHDo"):"") %>"size="9" readonly="true">
    </p>
    <p>Desk & Desk Chair</p>
    </td>
    <td width="191"><p>
    <input name="doCompDK" type="text" id="doCompDK" value="<%= ((request.getParameter("doCompDK")!=null)?request.getParameter("doCompDK"):"") %>"size="9" readonly="true">
    </p>
    <p>Computer Desk</p></td>
    <td width="191"><p>
    <input name="GenOffSupDo" type="text" id="GenOffSupDo" value="<%= ((request.getParameter("GenOffSupDo")!=null)?request.getParameter("GenOffSupDo"):"") %>"size="9" readonly="true">
    </p> <p>General Office Supplies</p>
    </td>
    </tr>
    <tr>
    <td height="31" colspan="3" valign="top">
    <div align="center">
    <p>
    <input type="submit" value=" Insert " name="Submit">
    </p>
    <p>Back </p>
    </div>
    </td>
    </tr>
    </table>
    <p> </p>
    <input type="hidden" name="MM_insert" value="FacSupPo">
    </form>
    </body>
    </html>

    This how I send out e-mail(s)
    'emailBean
    import java.io.*;
    import java.net.Socket;
    import java.net.SocketException;
    public class EMailBean {
         private Socket socket;
         private OutputStreamWriter outputStreamWriter;
         private BufferedReader bufferedReader;
         public void start( String subject, String message, String from, String to ) {
              try {
                   System.out.println( "Connection to smtp.host.com..." );
                   this.socket = new Socket( "smtp.host.com", 25 );
                   this.outputStreamWriter = new OutputStreamWriter( this.socket.getOutputStream() );
                   this.bufferedReader = new BufferedReader( new InputStreamReader( this.socket.getInputStream() ) );
                   System.out.println( "Connected!" );
                   System.out.println( "From server: " + bufferedReader.readLine() );
                   send( "helo smtp.host.com" );
                   send( "MAIL FROM:<" + from + ">" );
                   send( "RCPT TO:<" + to + ">" );
                   send( "DATA" );
                   send("Subject:"+subject+"\r\n\r\n"+message + "\r\n.\r\n" );
                   this.outputStreamWriter.close();
                   this.bufferedReader.close();
                   this.socket.close();
              catch( Exception e ) {
                   System.err.println( "Error: " + e.getMessage() );
                   e.printStackTrace();
         private void send( String sendMe ) throws Exception {
              System.out.println( "To server: " + sendMe );
              this.outputStreamWriter.write( sendMe + "\r\n" );
              this.outputStreamWriter.flush();
              System.out.println( "From server: " + this.bufferedReader.readLine() );
    }And the .jsp looks like:
    <jsp:useBean id="mailBean" scope="request" class="EMailBean" />
    <%
    try {
    String date = activateBean.doQuery();
    String from = "[email protected]";
    String to = "[email protected]";
    String subject = "Myserverspy - Activation";
    String emsg = "Dear " + to + ",";
    emsg += "\nsome text here, maybe recive some variables.";
    mailBean.start(subject, emsg, from, to);
    %>
    E-mail has been sent
    <%
    catch(Exception exp){
         System.out.println("Exception: "+exp);
    %>Just insert the parameters into the emsg string.
    Andreas

  • Photos. They are on my macBook, backed up on time machine. Copied them (hours and hours) to external hard drive. They are now in alphabetical order (19,000  of them) NOT IN THEIR EVENTS or date order-and have been taken with different cameras- help!!!!!!

    Photos.
    They are on my macBook, backed up on time machine. There are 19,000+ of them, some rescued from a pc crash- which I used the nifty iPhoto to put back into date order.    
    I want to take them all off my laptop, now............as I need to use it for WORK!!
    Copied them (hours and hours) to another external hard drive.
    They are now in alphabetical order (all 19,000+ of them) NOT IN THEIR EVENTS or date order. (-They have also been taken with different cameras over the years and some of the generic camera numbering remains.)
    I have tried to copy them (only a few as an experiment)  one event at a time, but that again "opens up" the Event "folder" and tips them out as individuals and therefore just lists image letters and numbers alphabetically.
    How can I copy
    the whole library still in  "Events" to an external hard drive?
    the folders/albums I have already made on to this hard drive?
    and how can I add to this back up monthly, again keeping events and folders separate and updated?
    Mac is so user friendly - there must be a way.........
    Thanks

    UPDATE : I have re-installed from disk, various apps that were no longer functioning such as iLife, iWork etc. So, I now can access my photos again.
    Also, I had to re-install all the software for my printer ( Stylus Pro 4880 ) and reset it so the printer is working again.
    Photoshop CS4 won't open. I think I will have to get in touch with Adobe as basically, I guess they have a built-in "blocker" which prevents me from opening the app as the license is for only 1 user and having re-installed the OS, there are now, in effect, 2 users ( Me and Me 1, I think ).
    So, having added on a new external HD, Time Machine has made a copy of most of the files, folders, apps etc onto the external HD. The internal HD is still nearly full ( 220 GBs out of 232 GBs ).
    I am guessing the way to go now in order to free up space on the internal HD is to delete/trash older photos from my iPhoto library and hope that if needed, I will be able to access them on the external HD.
    Am I correct ? Please advise before I do something I will regret.
    Thanks, Sean.

  • Data acquisition and frequency generation togather with PCI-6251 and LV8.2

    Hi friends,
    I am a new user of Labview. I am using LB8.2 with PCI-6251 .
    I have to generate frequency and then measure the data and then for next frequency and so on.
    i know that for this i have to use looping and that is not a problem. The real problem for measurement is to identify whether the frequency is been generated. if yes then measurements starts otherwise it should wait until it started. then after finishing the measurements send a signal to generator for changing the frequency and amplitude.
    Now these two things {generation and measurement} togather are not working correctly for me. so i make 2 diff file, one for generation and other for measurements <by modifying the examples>. I can run both file togather and it works. But it need lots off effort and time. I have to measure from 10Hz to 1000Hz in 2Hz frequency step and i cannt leave in between .
    can anyone help me how to syncronize these two togather .
    Trying to attatch. both the files here ..
    main_v1.1.vi --> for Measuring
    Oscilloscope.vi --> for waveform generation
    Attachments:
    main_v1.1.vi ‏150 KB
    Oscilloscope.vi ‏37 KB

    Hay thnx dude..
    I found the example and now it works
    once again thanks a lot

  • Dynamic filename creation with Seeburger's SFTP adapter

    Hi Experts,
    I read in one of the forum that Seeburger's SFTP adapter supports dynamic configuration.
    My requirement is i need to dynamically create a file name and put it into a predefined folder(of a third party system) with SFTP adapter.
    Can any one help me with some blogs/Materials on this?
    Thanks,
    Niranjan

    HI,
    Have you look into the blogs mentioned in below forum
    How do we do File content conversion using SFTP SEEBURGER Adapter
    Thanks
    Swarup

  • Strange drag and drop email issue with Outlook 2010

    Has anyone experienced this? It only started happening recently. It may have something to do with an installation of the most recent Office 2010 service pack. Here's the scenario: Using Outlook 2010 professional Try dragging an email from the email list
    on the right into the list of folders on the left in order to file it When the drag crosses the email list to the folder list, the email drops into some random folder The drag operation picks up a random folder and now has a random folder attached to the drag
    In other words, the email disappears somewhere and is replaced by a folder in the drag operation. It's not a mouse button issue as this doesn't happen anywhere else on the system while dragging, only in Outlook. Any thoughts?
    my PC Techs http://www.mypctechs.com

    Hi
    Thank you for using
    Microsoft Office for IT Professionals Forums.
    From your description, we can follow these Method to troubleshoot.
    Method A
    Start outlook in Safe Mode, Press and hold the
    CTRL key, and then click Outlook program
    If the problem does not occur in the safe mode, this issue might be related to some third-party add-ins in the Outlook program, we can try to disable
    them.
    Method B
    We can try to create a new profile in Microsoft Office Outlook 2010 to test the issue, follow these steps:
    1.
    Exit Outlook.
    2.
    Go to Start > Control Panel, click or double-click Mail.
    3.
    Click Show Profiles. Choose Prompt for a profile to be used.
    4.
    Click Add.
    5.
    Type a name for the profile, and then click OK.
    6.
    Highlight the profile, and choose Properties. Then Email Accounts..., add your email account in the profile.
    7.
    Start Outlook, and choose this new profile.
    If this problem does not occur in the new Outlook profile, the old Outlook profile is corrupted. We can delete that and use a new Outlook profile.
    More information you can refer to this KB article:
    http://support.microsoft.com/kb/829918
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
    I can do for you, please feel free to let me know.
    Best Regards, 
    William Zhou
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for
    TechNet Subscriber Support, contact
    [email protected]

Maybe you are looking for

  • Using JDev to easily modify XML Stylesheets (.xsl)

    Hi all - I'm new to JDev and XML, and am trying to modify the standard PO form from EBS/BI Publisher. Since there's a default .xsl that is close to my requirement, I thought it might be faster to modify it, rather than start over w/ creating an .rtf.

  • Mac won't recognise my correct password

    My password was workign just fine a few mins ago, my mac went to sleep and asked for my passcode. I typed exacltly what i type eveytime however ut just woldnt regognise it! I am 100% sure that its correct and its just not accepting it at all. I haven

  • The mix console of my Sound Blaster Elite Pro don't working

    I have a Sound Blaster E lite P ro card which brings a console accessories mixed model SB050 and a remote control RM800, happens that my sound card works very good, but the remote control and the mixing console is not working. I would like your help

  • E61 from Chinese to English?

    I just bought E61 and it came with Chinese in all its menus. Ahhhh. Any tips on how to change it to English? I went and downloaded the Software updater. Installed USB cable driver. Now it is stacked in "Searching for a connected phone..." Thanks

  • Any real-world e-commerce application using HTMLDB?

    Hi, Any real-world e-commerce application using HTMLDB? If yes, can you please provide the web links? Thanks! Steve