Need to create a empty form on popup window

Hi i have 3 master and details tables each table have create button when i click on create new popup window should come with empty data.
i achived with the one table using popupFetchListener method in the backing bean as
public void createHistoryRecord(PopupFetchEvent popupFetchEvent) {
// Add event code here...
System.out.println("Action event for history");
try{
AdfFacesContext adf = AdfFacesContext.getCurrentInstance();
BindingContainer bc = getBindings();
oracle.binding.OperationBinding opb = bc.getOperationBinding("CreateInsert");
opb.execute();
// am.insertData();
}catch(Exception e){
e.printStackTrace();
but when i tried the same code with 2nd table create button then the 1st table row is adding and i am getting error like FirstActivationDate and all are null these fileds are mandatory fields in 1st table.
can any one help me in this.

Sireesha thanks for your reply,
i have taken 2nd Vo iterator also like
popup code:
<af:popup binding="#{backingBeanScope.backing_app_AccountsPage.popup11}"
id="popup11" popupFetchListener="#{backingBeanScope.backing_app_AccountsPage.createAddressRow}">
Bean method code:
try{
AdfFacesContext adf = AdfFacesContext.getCurrentInstance();
BindingContainer bc = getBindings();
System.out.println("Binding name is: "+bc.getName());
oracle.binding.OperationBinding opb = bc.getOperationBinding("CreateInsert1");//Here i have taken the page definition id
opb.execute();
}catch(Exception e){
e.printStackTrace();
Page definition:
<action IterBinding="CmSubscriberAddressesViewIterator" id="CreateInsert1"
RequiresUpdateModel="true" Action="createInsertRow"/>
Still i am getting the same error.
Edited by: user5802014 on Sep 4, 2009 3:49 PM

Similar Messages

  • I need to create a fillable form and then generate a reports.

    Hello everybody. I need to create a fillable form and then generate a report using numbers. You know, for example if you have customers, I need to be able to write the usual , name, last name, address, and some other details and then using a standard letter I would like the form to be able to populate these fields automatically in a standard pre formatted letter by our company and then be able to print it.
    Any help to point me in the right direction I would appretiate very much.
    I have iwork 9 installed in my macbook pro

    This is acalled a mail merge and is solved using a combination of Numbers (or address book) and Pages.  To get detailed help how to performa a mail merge start in Pages, then in the help menu type Mail Merge:
    Also download the help files for Numbers and Pages here:
    http://support.apple.com/manuals/#
    Page 247 in the Pages User's Guide has details how to perform a a mail merge.
    Post back with specific questions if you need to.
    Regards,
    Wayne

  • How to close the adobe forms in popup windows once.

    hi,expert..
    i show a adobe form in a popup windows in my webdynpro program...but i find out that i at least click twice on the "CLOSE" button on the right top of the window.....how can i modify my program to  close the window once..
    the original codes are as follow:
    method onactionprint .
       data lo_nd_zhrhap_vp_app_01 type ref to if_wd_context_node.
      data lo_nd_zhrhap_t_document type ref to if_wd_context_node.
      data lt_zhrhap_t_document type wd_this->elements_zhrhap_t_document.
      lo_nd_zhrhap_vp_app_01 = wd_context->get_child_node( name =
    wd_this->wdctx_zhrhap_vp_app_01 ).
      lo_nd_zhrhap_t_document = lo_nd_zhrhap_vp_app_01->get_child_node(
    name = wd_this->wdctx_zhrhap_t_document ).
      lo_nd_zhrhap_t_document->get_static_attributes_table(
        importing
          table = lt_zhrhap_t_document ).
    DATA lo_nd_zhrhap_s_app_leader TYPE REF TO if_wd_context_node.
    DATA lo_el_zhrhap_s_app_leader TYPE REF TO if_wd_context_element.
       data ls_zhrhap_s_app_leader type
    wd_this->element_zhrhap_s_app_leader.
    lo_nd_zhrhap_s_app_leader = lo_nd_zhrhap_vp_app_01->get_child_node(
    *name = wd_this->wdctx_zhrhap_s_app_leader ).
    lo_el_zhrhap_s_app_leader = lo_nd_zhrhap_s_app_leader->get_element(
    lo_el_zhrhap_s_app_leader->get_static_attributes(
       IMPORTING
         static_attributes = ls_zhrhap_s_app_leader ).
    DATA lo_nd_zhrhap_s_dates TYPE REF TO if_wd_context_node.
    DATA lo_el_zhrhap_s_dates TYPE REF TO if_wd_context_element.
       data ls_zhrhap_s_dates type wd_this->element_zhrhap_s_dates.
    lo_nd_zhrhap_s_dates = lo_nd_zhrhap_vp_app_01->get_child_node( name
    *= wd_this->wdctx_zhrhap_s_dates ).
    lo_el_zhrhap_s_dates = lo_nd_zhrhap_s_dates->get_element(  ).
    lo_el_zhrhap_s_dates->get_static_attributes(
       IMPORTING
         static_attributes = ls_zhrhap_s_dates ).
    采集表名称和日期
      data lo_nd_if_data type ref to if_wd_context_node.
      data lo_el_if_data type ref to if_wd_context_element.
      data ls_if_data type wd_this->element_if_data.
      lo_nd_if_data = wd_context->get_child_node( name =
    wd_this->wdctx_if_data ).
      lo_el_if_data = lo_nd_if_data->get_element(  ).
      lo_el_if_data->get_static_attributes(
        importing
          static_attributes = ls_if_data ).
      ls_zhrhap_s_dates-valid_begda = ls_if_data-begda.
      ls_zhrhap_s_dates-valid_endda = ls_if_data-endda.
    DATA lo_el_zhrhap_vp_app_01 TYPE REF TO if_wd_context_element.
       data ls_zhrhap_vp_app_01 type wd_this->element_zhrhap_vp_app_01.
       data lv_description like ls_zhrhap_vp_app_01-description.
    lo_el_zhrhap_vp_app_01 = lo_nd_zhrhap_vp_app_01->get_element(  ).
    lo_el_zhrhap_vp_app_01->get_attribute(
       EXPORTING
         name =  `DESCRIPTION`
       IMPORTING
         value = lv_description ).
    REPLACE ALL OCCURRENCES OF '类别:' in lv_description with ''.
      lv_description = ls_if_data-stext.
      data l_is_ok    type boole_d.
      data pdf_source type xstring.
      data l_msg      type ref to cl_hrpa_message_list.
      create object l_msg.
      call method zcl_hr_appraisal_utility=>print_contract_direct
        exporting
        form_type           = 'COD'
          zhrhap_t_document   = lt_zhrhap_t_document
          zhrhap_s_dates      = ls_zhrhap_s_dates
          zhrhap_s_app_leader = ls_zhrhap_s_app_leader
          description         = lv_description
        job_description     =
          message_handler     = l_msg
         importing
          is_ok               = l_is_ok
          pdf_xstring         = pdf_source
      check l_is_ok is not initial and pdf_source is not initial.
      data lo_nd_pdf type ref to if_wd_context_node.
      data lo_el_pdf type ref to if_wd_context_element.
      data ls_pdf type wd_this->element_pdf.
      data lv_source like ls_pdf-source.
      lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
      lo_el_pdf = lo_nd_pdf->get_element(  ).
      lo_el_pdf->set_attribute(
        exporting
          name =  `SOURCE`
          value = pdf_source ).
    *-->ADOBE View embeded to ViewContainer UI
      data: lr_view               type ref to if_wd_view_controller,
            lr_api_main           type ref to if_wd_component,
            lr_window_man         type ref to if_wd_window_manager,
            comp_usage            type ref to if_wd_component_usage,
            l_title               type string value '打印合同',
            lr_window             type ref to if_wd_window.
      lr_view = wd_this->wd_get_api( ).
      lr_api_main = wd_comp_controller->wd_get_api( ).
      lr_window_man = lr_api_main->get_window_manager( ).
    l_title = wd_colr_mp_controller->model->get_text( '006' ).
      call method lr_window_man->create_window
        exporting
          modal        = abap_true
          window_name  = 'POPUP'
          title        = l_title
          button_kind  = if_wd_window=>co_buttons_yesno
         message_type = if_wd_window=>co_msg_type_none
          default_button = if_wd_window=>co_button_yes
        receiving
          window       = lr_window.
      lr_window->open( ).
    endmethod.
    looking forward to your help....thanks in advance

    Ping,
    1st, see the Markup formatting options over on the right part of the screen - if you wrap your code between the code tags it will read MUCH better.
    2nd, I can't replicate this issue - we have several PDFs opening in new windows & we only need to click once on the clost 'X' - how are you calling the PDF in a new window?
    If you can't find a final resolution, an alternative would be to place a LinktoAction on your web dynpro application somewhere that makes sense which would close the window for you.
    We do this on Sucess Message Views...
    You can simply add the link to action to the screen, and in the event handler use
       data : l_view_cntr type ref to if_wd_view_controller,
           l_win_cntr  type ref to if_wd_window_controller,
           l_window    type ref to if_wd_window,
           l_parameter_list  type wdr_event_parameter_list,
           l_parameter       type   wdr_event_parameter,
           l_val type ref to data.
    field-symbols <fs> type any.
    l_view_cntr = wd_this->wd_get_api( ).
    l_win_cntr  = l_view_cntr->get_embedding_window_ctlr( ).
    l_parameter-name = 'CLOSE_WINDOW'.
    create data l_val type c.
    assign l_val->* to <fs>.
    <fs> = 'X'.
    l_parameter-value = l_val.
    insert l_parameter into table l_parameter_list.
    l_win_cntr->if_wd_view_controller~fire_plug(
    exporting plug_name = 'EXIT_PLUG'
               parameters = l_parameter_list ).
    Make sure you have an Exit plug on your Window with Plug Type EXIT.

  • Need help creating a simple form in Dreamweaver CS3!!

    I'm trying to create a form in Dreamweaver CS3, and while I have the form built I'm confused as to how to make it actually function.  What I'm trying to do is create a form that when the visitor clicks submit, the data is emailed to me.  Can someone help me figure out how to accomplish this?
    Thanks so much!

    Ute's answer is spot on - you need a FormMail script to process the form.  Check with your host (or via the control panel) and see if they supply such a form for free.
    If not, google for "formail script' and you'll find quite a few available - all free to use.
    You just need to add a couple of lines to your html code, change a few things in the formmail script and the form will process.  Sounds complicated but most scripts come with a help file to help you get off the ground.
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.perrelink.com.au
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    http://csstemplates.com.au/
    http://twitter.com/nadiap

  • I need to create a simple form and have it submitted to Paypal...

    Hello all,
    I need to have visitors go to my website, register and then pay for a seminar at my church. I know how to create a form; but I need to know how to create a form that will register and pay for the event. The payment will go to Paypal, which we already have set up. Any pointers or tutorials around?

    That was what I was suggesting. If you are no familiar with secure web sites (and I am not), it is best to have that part handled by pros in that area. They also get to accept the liability in such cases (read any contract carefully). You may want to be sure that the page returned opens in a browser and not in Acrobat. The latter is probably not the best way to link to a secure site.

  • Need Help Creating Manual Tabular Form

    Hello,
    I am trying to use Denes Kubicek example. [http://htmldb.oracle.com/pls/otn/f?p=31517:170:370485826041084::NO]
    I am not getting any errors; however, my table is not getting updated.
    Updatable Query:
    SELECT DISTINCT
    apex_item.HIDDEN(1,PE_BID) PE_BID,
    apex_item.HIDDEN(2,PE_TERM_CODE) PE_TERM_CODE,
    apex_item.HIDDEN(3,PE_CRN) PE_CRN,
    apex_item.HIDDEN(4,PE_INSTRUCTOR_ID) PE_INSTRUCTOR_ID,
    PE_BID PE_BID_DISPLAY,
    SUBSTR(PE_STUDENT_NAME, (INSTR(PE_STUDENT_NAME, ',') + 1),77)|| ' ' ||
    SUBSTR(PE_STUDENT_NAME, 1,(INSTR(PE_STUDENT_NAME, ',') - 1)) Stu_Name,
    PE_ATH_CODES Sport,
    PE_CRN PE_CRN_DISPLAY,
    PE_CRSE_SUBJECT || ' ' || PE_CRSE_NUMBER || '.'||PE_CRSE_SECTION COURSE,
    apex_item.SELECT_LIST(5,PE_SATTEND,'YES;YES,NO;NO') PE_SATTEND,
    apex_item.SELECT_LIST(6,PE_SPERFORM,'YES;YES,NO;NO') PE_SPERFORM,
    apex_item.SELECT_LIST(7,PE_MAKE_APPT,'YES;YES,NO;NO') PE_MAKE_APPT,
    apex_item.TEXTAREA(8,PE_COMMENTS,3,30) PE_COMMENTS,
    apex_item.TEXT(9,PE_ACTIVITY_DATE,15) PE_ACTIVITY_DATE
    FROM PC_ST_TB_INSTR_ATHL_PR_ENTRY
    WHERE PE_TERM_CODE = :P4_TERM
    AND (PE_INSTRUCTOR_ID = :P4_DISPLAY_INSTRUCTOR_ID
    OR PE_INSTRUCTOR_ID = :P4_DISPLAY_INSTRUCTOR_ID2)Page Process:
    DECLARE
    v_updatecount NUMBER := 0;
    BEGIN
    FOR i IN 1 .. apex_application.g_f01.COUNT
    LOOP
    UPDATE PC_ST_TB_INSTR_ATHL_PR_ENTRY
    SET pe_sattend = apex_application.g_f05(i),
    pe_sperform = apex_application.g_f06(i),
    pe_make_appt = apex_application.g_f07(i),
    pe_comments = apex_application.g_f08(i),
    pe_activity_date = apex_application.g_f09(i)
    WHERE pe_instructor_id = apex_application.g_f04(i)
    AND pe_bid = apex_application.g_f01(i)
    AND pe_term_code = apex_application.g_f02(i)
    AND pe_crn = apex_application.g_f03(i);
    v_updatecount := v_updatecount + 1;
    END LOOP;
    :P4_DISPLAY_COUNT := v_updatecount;
    END;I can't use the wizard because it appears to only allow for 2 primary keys. My table has 4.
    Regards,
    Kelly

    Hi,
    The first thing to do is concatenate the HIDDEN items in front of a displayed item:
    SELECT DISTINCT
    apex_item.HIDDEN(1,PE_BID) || apex_item.HIDDEN(2,PE_TERM_CODE) || apex_item.HIDDEN(3,PE_CRN) || apex_item.HIDDEN(4,PE_INSTRUCTOR_ID) || PE_BID PE_BID_DISPLAY,
    ..etc..That way, you don't have to worry about the first 4 columns in the report.
    Then you need to double-check that the process is actually being run. Immediately after the BEGIN line, enter:
    raise_application_error(apex_application.g_f01(1));When you submit the page, you should get an error showing the PE_BID value in the first row. If you don't get the error, then the process isn't being run - in which case, check the process to (A) make sure it is triggered by the Submit button and (B) is before any other sequence (especially if you have a "reset page" process). If you do get the error, but there is no value shown, then f01(1) isn't pointing to the PE_BID value - in which case, you should do a View Source on the loaded page and check for input items with a name attribute of "f01". If you get the error and the value is correct, then remove the above line and let the process run - it could be that concatenated the columns may resolve the issue. If, after all that, the process still won't save the data, let us know.
    Andy

  • Oracle Form 6i - Popup Window with data -

    HI Experts,
    using Schoot Schema.
    I have created blok with dept table.
    If user double clike the deptno filed then , i need a window will display only employee details for the particluar dept no.
    Please guide me with logic.
    Thanks in advance,
    Note : Oracle 10g.. winxp

    HI
    Thanks for your reply.
    I tried this way, but my problem is when form loading it is displaying both canvas ... i e.. dept canvas, - if user click block->next/Previous canvas , mouse moving to emp canvass.
    How to avoid this.. if user double on deptno only, emp block should be displayed
    Thanks
    Edited by: O.Developer on Nov 1, 2012 3:29 PM

  • Need help creating perfect curves and outlines (CS3, Windows XP)

    Is there a way to make a specific curve that is perfect? It seems that with the pen tool you have to "eyeball" the curve as you drag it. I know that you can use the ellipse tool to make a perfect circle and then use the eraser or scissors tool to cut out a section of it, but that isn't really an ideal method. What I'd like to be able to do is while creating a path with the pen tool place an anchor for the next segment of the path and then specify e.g., a 6" radius, and have it make the path with a perfect 6" radius curve.
    I also have a question about outlining, or more specifically, creating a perfect "floating" outline around curved objects. Using this image as an example - http://farm4.static.flickr.com/3153/2894804973_a6bf492692_o.png - once you have created one of the outlines, is there a way to perfectly create the other two "floating" outlines? I did those manually, and the straight sections are perfect because that's easy; but the curved sections are not perfect; they are "eyeballed".

    [Man after my own heart]
    > Is there a way to make a specific curve that is perfect?
    Not with anything even approaching a sensible, no-nonsense procedure. What do you expect? This is only the top-selling vector drawing program, and it's only been on the market for 20+ years, charging loyal customers a couple hundred dollars for 14 version upgrades so far.
    There are two--count 'em, TWO--Round Corners commands. One is a Filter, the other is an Effect. Both prompt you for a radius. Whether you actually get the value you enter as a radius of the curve is a matter of so many ridiculous caveats that you might as well consider it useless.
    Example:
    Assume your Ruler units are set to inches.
    1. Rectangle Tool: Click. (Don't drag.) In the resulting dialog, enter 1" for both height and width.
    2. White Pointer: click the lower left anchorPoint to select it. Delete. Now you have the most basic of all figures you might want to put a specified radius on, right? A 3-point path forming a right angle. Furher, you know its height and width; both legs of the right angle are 1" in length.
    3. Filter>Stylize>RoundCorners. In the resulting modal dialog, enter .75" for the radius. Click OK.
    4. The corner rounds.
    5. DirecSelect (sigh--white pointer) the rounded segment (not the points, the segment). Copy. PasteInFront.
    6. Look at the Transform Palette and tell me the height and width of the arc (should be equal to the radius, right? Tell me what you get. I get .5".
    Why does Illustrator work this way? The only feedback I ever get when I raise issues like this is something akin to, "James, not everyone wants to do
    technical drawing like you."
    A straightforward user-defined corner radius is too
    technical for the top-selling "professional" vector drawing program.
    So what do you do? A lengthy barrage of cheezy workarounds and inane defenses of the indefensible is sure to follow shortly.
    JET

  • Need to create a user policy form

    Can anyone help?
    I need to create a policy form in Dreamweaver CS4 that a user needs to accept, or not, before proceeding further to another page in my site? After they accept the form the functionality needs to take the individual to another page where they are able to make charitable contributions using credit cards that would be sent directly to the organizations bank. They are trying to avoid using PayPal.
    This is my first time using this concept and I'm getting lost.
    Thanks
    Swany

    Unfortunately it's not perfect. With the other recommendation a user could simply go to the URL without viewing the policy page and thus not accepting the terms. For instance in the example anyone could just go to http://google.com without accepting the terms. Just view source code and see where GoTo URL directs upon accept. Also because there is no server side restriction to the page then the page is crawled by search engines so someone searching for your page online may go to your form page without first being redirected to the policy page.
    With server side restriction the page is not crawled by search engines so the page will not come up in search results and users could not simply visit the URL because it would restrict access and redirect to the "login" AKA policy page first. Server side authentication is always the best method.
    If you'd still like to go about doing it the recommended way let me know and I can walk you through the process. Basically just create a MySQL database table for the users username and password then user Dreamweaver Server behaviors to create the restrict access page and login page. It's pretty straight-forward to use the server behaviors in Dreamweaver once the database is setup. I walked someone through how to setup a database with GoDaddy recently and it's a similar process with other hosts.
    If the other imperfect method that can be worked around works for you then that's great!

  • Help needed creating a fillable form and emailing it.

    I'm new to all this and have no clue where to start.  If there is a document that lays out how to do this, a link to it would work.  I need to create 2 fillable forms.  1 will need a submit button and once you click submit, it automatically sends the form.  The 2nd one will need to allow the end user to select to whom the document is to go to.  I think it will have to open an email message to do this, but I'm not sure.  Please advise.

    It's probably the fields highlight color of the application, which you can change via Edit - Preferences - Forms.

  • Iscripts - Need help creating a form in one

    I am confused about delimiting in iscripts. I need to create the fiollowing form:
    In iscript named IScript1
    in function: buildform
    buildform has these two inputs, firstname and lastname
    the action of the form is also in iscript1 function getinputs
    iscript getinputs will just print out the firstname and lastname
    Could I get some help with this?
    Thanks, Allen Cunningham

    Your site is running on an Apache server, so it definitely doesn't support ASP. Apache frequently supports PHP, but I couldn't tell from the headers sent by your server whether it's supported on your site.
    I suggest that you contact BT Business support to see if they offer a formmail script. Most hosting companies do. The support pages should describe how to set it up.

  • Creating new row right after popup opens (JBO-35007 because of  trigger)

    Hi,
    I have the same popup (with an ADF form) to add and to edit data. But i have two buttons which displays this popup - Add new and Edit, Edit works OK, on add, i insert new record like this:
            DCIteratorBinding dciter =
                (DCIteratorBinding)bindingContainer.get(iterator);
            ViewObject view = dciter.getViewObject();
            Row newRow = view.createRow();
            view.insertRow(newRow);
            view.setCurrentRow(newRow);before popup is open. And it adds a new record. But the record has id -10 (or some other negative number). This -10 is shown on calling page (the page from which the popup is open) in ADF ReadOnly table as -10 as id and other cells in row empty. That shouldn't happen (se bellow why). User then edits empty form in popup, and commits - then i get JBO-35007 because -10 changed to 123 - because of trigger.
    I tried to requery - it doesn't help, see Refresh after pop-up window closes.
    Can you suggest a solution on how to create a row right after popup opens?
    Also,
    i create new record on button's LaunchListener method. This method seems to execute before popup is open and so it affects the calling page also. I think the problem would be solved if new row would be created after popup is opened, not while opening it. (clicking create in popup works fine)

    in my real case, i usually don't show ids; but to simplify debugging, i created test project where i show as many things as possible.
    you mean, creating new record like following?
            bindings.getOperationBinding("Create").execute();I don't use that because i don't get empty fields in popup window (although new record is created). Actually, i don't know how to set this created record to be selected one. Suggestions?
    And I did some more testing, if I create new record with clicking on Create (not creating new row automatically), i get JBO-35007 only if there was selected any other than the first row in table.
    and i tried to move create method binding in pagedef, so it's the first one.. But it seems like there is no effect.
    btw, i found this in one of examples on web:
       <invokeAction Binds="Execute"
                      id="refreshTableViewObjectAfterAddingNewApp"
                      Refresh="prepareModel"
                      RefreshCondition="#{processScope.addedNewApp}" />refresh condition must be true when adding new row and false for everything else. I'm not sure what that does, but it seems to work... :)
    I really shouldn't use the same View Objects in popup and 'master' page, should I?

  • How to create the Mail forms

    Hi All,
      Actually i am very new to Mail form . i got the requirement as i need to create the Mail form form sending the mail through campaig as well as i want to print the same form so please help me out how to do this, please help me out by providing some step by step process for creating the mail form and some technical stuff for printing the form
    Regatds
    Mohan

    Hi,
    Creating Mail form is multi stage. Have you created any survey.
    I believe its for CRM 7.0. Broad steps are
    1.Enter the CRM WebClient UI
    2.SAP CRM WebClient menu Marketing >> Create: Mail Form
    Mail Form for E-Mail
    1.On the Mail Form: New screen enter the following values:
    Field name     User action and values
    ID     Y_TRADE_SHOW_INVITATION
    Description     Trade Show Invitation
    Language     Original:English
    Usage     Internet Mail (HTML)
    Attribute Context     ERMS
    Subject     Trade Show Invitation
    2.In the Text Element screen area you can freely define the content of your e-mail in the text element.
    3.Choose New Text Element, enter the following data for the e-mail form text block and choose Create:
    Field name     User action and values
    Text Element ID FORM_LETTER
    Description Invitation
    Format HTML
    4.Enter a text for the new text element FORM_LETTER and design it according to your needs.
    If you want to upload a pre-defined text from an external source, choose Load Local File.
    5.In order to insert the generated survey URL into the text, choose Hyperlink.
    6.In the Insert Hyperlink web page dialog enter the following values and choose Insert:
    Field name User action and values
    URL <surveyURL>
    Description     Information Survey
    URL Category     
    Tracking Option Via Target Site
    7.Save your new mail form.
    Hope it helps.
    Rgds,
    Rajiv

  • How to create a XML Form with confirmation Page

    Hi!
    I need to create a XML Form that have a confirmation page to enter de data and save it (into XML file).
    It's possible to make it with the XML Forms Builder, or I need to make it manual at xml & xsl??
    (Sorry about my poor english!)

    Hi Ernesto,
    there is currently no confirmation message available in the XMLForms EditForm. But you can use the "preview" button to show how it looks like, before you are using the "Save" button.
    Regards
    --Matthias

  • How to create an Empty Playlist File on Mac?

    Hello everyone, I'm working on a Music Player script, I was able to play a file via the default player as when we doubleclick on a file. The problem is I have no control over the Player, so to "stop" a file I could play a "silent" mp3, one with 1 second of silence in it for example. I discarded the idea since I had to distribute this silent.mp3 file along with the script. A better option is to play a "playlist", since playlist files are text only, I could create them an empty playlist file on the fly...
    so, the question is, what's the default playlist extension on a mac? and how to create one on the Mac?
    in windows the default player is Windows Media Player, the default playlist file extension is *.wpl.
    here's the contents of an empty playlist
    <?wpl version="1.0"?>
    <smil>
        <head>
            <meta name="Generator" content="Microsoft Windows Media Player -- 12.0.7601.18150"/>
            <meta name="ItemCount" content="0"/>
            <title>empyPlaylist</title>
        </head>
    </smil>
    here's the script, so far Windows only, at least to stop the file being played.
    //  script.name = musicPlayer_Windows.jsx;
    //  script.needs = I need to create an Empty Playlist File for the Mac, that will play on the default music player when executed
    // carlos canto, 10/12/2014
    var w = new Window('dialog', 'Music Player');
    var btnFile = w.add('button', undefined, 'Select an *.mp3 file to play...');
    var lblSong = w.add('edittext', undefined, '');
    lblSong.characters = 30;
    var btnPlay = w.add('button', undefined, 'Play');
    var btnStop = w.add('button', undefined, 'Stop');
    var btnClose = w.add('button', undefined, 'Close');
    btnPlay.enabled = btnStop.enabled = false;
    var emptyPlaylist = getEmptyPlaylist ();
    btnFile.onClick = function () {
        var file = File.openDialog ("Select File to Play...", '*.mp3', false);
        lblSong.text = file.displayName;
        lblSong.file = file;
        btnPlay.enabled = btnStop.enabled = true;
    btnPlay.onClick = function () {
        lblSong.file.execute();
        $.sleep (300);
        BridgeTalk.bringToFront('estoolkit');
    btnStop.onClick = function () {
        emptyPlaylist.execute();
        $.sleep (300);
        BridgeTalk.bringToFront('estoolkit');
    btnClose.onClick = function () {
        w.close();
    w.show();
    // this function creates an Empty Playlist file (Windows) on the fly, this file will be used to "stop" a playing file
    // I need a similar function for Mac
    function getEmptyPlaylist () {
        var desk = Folder.desktop;
        var f = new File(desk+'/emptyPlaylist.wpl');
        if (!f.exists) {
            var s_emptyPlaylist = (new String("<?wpl version=\"1.0\"?>\n<smil>\n    <head>\n        <meta name=\"Generator\" content=\"Microsoft Windows Media Player -- 12.0.7601.18150\"/>\n        <meta name=\"ItemCount\" content=\"0\"/>\n        <title>empyPlaylist</title>\n    </head>\n</smil>\n"));
            f.encoding = 'utf-8';
            f.open('w');
            f.write(eval(s_emptyPlaylist));
            f.close();
        return f;
    thanks in advance
    Carlos

    hmm...I think it's going to be more complicated than I thought.
    correct, this script targets the ESTK, it is part of a larger Illustrator script, which doesn't have doScript either...I would go with applescript as last resort. I think going with the playlist file is easier.
    based on your comment I realized users might change their default players, so on Windows I'm going to change the playlist file from *.wpl to the more universal *.m3u, I guess whatever decent player made the default, supports this file.
    so, will an *.m3u playlist file play on the default mac player (itunes) when executed?
    File("~/Music/iTunes/iTunes Media/Music/emptyPlaylist.m3u").execute(); // will this play on itunes?
    I noticed that the *.m3u file can be blank, it will still "play" when executed() and effectively "stops" any music file currently being played...if this happens on Mac also, that's what I'm after.
    thanks for helping Dirk.

Maybe you are looking for

  • Customize size of info/crop/fit marks on export.

    I have encountered a problem when exporting PDF files from Illustrator and InDesign via Distiller. The silk screen printing company that recieved my printed films (colour separated) say the info in the slug area is way too small. This includes the in

  • I installed Oracle database 10g on SuSE Linux Enterprise Server 8 edition.

    I installed Oracle database 10g on SuSE Linux Enterprise Server 8 edition. But this massage pop up when I used my browser first time before start database. Actually when I clicks on yes to start database. The web browser you are using is not optimize

  • Posting count

    I lost nearly 500 previous postings and my posting count did start at 0 two months ago. Is this a problem only of my account, or had all discussion members to restart at 0? Thanks!! Andreas

  • ESB TDM plug-in not found??

    I just upgraded from logic Pro 8 To 9 and now when I start up the application it says "Direct TDM: ESB TDM plug-in not found (-10800)" The application seems to be working just fine but does anyone know what this means and why it's happening?

  • How to remove duration in TOC

    Hi, I am using CP5 and AS3. I am trying to remove the duration of the entire Captivate at the bottom of the TOC, as shown in the following image: I found some information about an AS2 widget that gets rid of that, but is there something for AS3? Than