Is it possible to insert multiples markings in a DateNavigator ?

Hi Experts !
I'm currently creating a DateNavigator, and the person for who I works would like to have 5 differents markings in one DateNavigator.
But in the Outline view, I have already one marking in the DateNavigator, and I can't add another with a right click on the DateNavigator...
So I ask myself if it is possible to have multiples marking in just one DateNavigator...
Please : Do you know if it possible ? And if yes, do you know how to do this ?
Thank you for advance,
Louis

Hi Fazal, thank you for your answer .
I therefore have two problems : it is written everywhere to take a WDTableCellDesign, but when I do this, I can't bind the context, because the Marking UI element says it inly accept "TableCellDesign" (but no WDtableCellDesign". So I don't know what type I should give to the Category attribute I created to stock which semantic I want.
In an other way, I go into the code, and I add a line in the date creation code, which is, in the end :
       Calendar cal1 = Calendar.getInstance();
       cal1.set(Calendar.YEAR,2009);
       cal1.set(Calendar.DAY_OF_MONTH,22);
       cal1.set(Calendar.MONTH,11);
       ITestElement element1 = wdContext.nodeTest().createTestElement();
                        Date sqlDate1 = new Date(cal1.getTimeInMillis());
       element1.setDate(sqlDate1);
       element1.setTextMessage("Vacances annuelles");
       element1.setCategory(Calendar_Red);
       wdContext.nodeTest().addElement(element1);
But the Calendar_Red is underlined with the error message : "Calendar_Red cannot be resolved".
If I change this line but the following :        element1.setCategory("Calendar_Red");
Then in this case, this is the setCategory which is underlined, with the error message :
The method setCategory(WDTableCellDesign) in the type
IPublicZtest02CompDateNavigator.ITestElement is not applicable for the arguments (String)
So please, do you have any idea of what I could have done wrong ?
Thank you for advance,
Louis

Similar Messages

  • Inserting multiple records in JSP and setting date format

    Hi,
    I'm looking at the possibilities for using JSP's as a web application.
    I've got a few questions about it:
    1) Is it possible to insert multiple records in the detail block of my JSP. Normally when I click the 'insert button', an insert JSP comes up, which is a html form with the possiblity of inserting only one record.
    2) Is it possible to change the format of a date field. Now a date field is displayed as 'YYYY-MM-DD'. My nls_date_format is something else.
    3) I can't get the static combo box working for the class EditCurrentRecord. The normal use combo box is no problem. Probably, I don't have the syntax correct. Could anyone provide an example for this.

    2) Just use the Calendar object. You can format the date any way you want. I am assuming that you are talking about how the date appears after a .toString() call.
    Here is how I do it (this code will probably look very bad I am trying to type into a very small space so bear with me):
    public static String traceDate(java.sql.Timestamp dt)
    try
    if (dt == null)
    return " ";
    else
    Calendar clFmt = Calendar.getInstance();
    clFmt.setTime(dt);
    return
    String.valueOf(clFmt.get(Calendar.MONTH) + 1) + "/" +
    String.valueOf(clFmt.get(Calendar.DAY_OF_MONTH)) + "/" +
    String.valueOf(clFmt.get(Calendar.YEAR)) + " " +
    String.valueOf( (clFmt.get(Calendar.HOUR) == 0) ? 12 : clFmt.get(Calendar.HOUR) ) + ":" +
    padLt(String.valueOf(clFmt.get(Calendar.MINUTE)),2) + ":" +
    padLt(String.valueOf(clFmt.get(Calendar.SECOND)),2) + " " +
    (clFmt.get(Calendar.AM_PM) == Calendar.AM ? "AM" : "PM");
    catch (Exception e)
    throw new RuntimeException(e.getMessage());
    (padLt is a custom function that just pads 0s to the left of the number)

  • How to insert multiple rows in a single insert statement in MaxDB?

    hi,
    I was looking at syntax but i could not get it right.. may be some could help me.
    // Insert single row works fine
    INSET INTO test_table(column_name) values (value1) IGNORE DUPLICATES
    // Insert multiple rows, doesn't
    INSET INTO test_table(column_name) values (value1), (value2), (value3) IGNORE DUPLICATES
    Can somebody help me with this.
    thanks,
    sudhir.

    Multiple inserts do only work with parametrized statements, usually used in interfaces like JDBC, ODBC etc.
    With static SQL statements it is not possible.
    Regards Thomas

  • Insert Multiple records using Database adapter with Stored procedure func

    Hi All,
    I want to insert multiple records on a database using a stored procedure. I wanted to insert those records using a Database Adapter and the Database adapter should be invoked by a Mediator.
    Can somebody suggest me with ideas whether it can be acheived with OOB capabtilities in SOA suite or not?
    Thanks for your help in advance.
    Thanks,
    Shiv

    The use case you want to achieve is feature supported by the DBAdapter and it is possible to invoke the same from mediator.
    Please have a look at the oracle documentation and you should be able to get the necessary information.
    The below links should help you as well:
    http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10231/adptr_db.htm
    http://blogs.oracle.com/ajaysharma/2011/03/using_file_adapter_database_adapter_and_mediator_component_in_soa_11g.html
    There are some video tutorials as well :)
    http://www.youtube.com/watch?v=dFldS-fDx70 This should also help
    Thanks,
    Patrick

  • How to Insert Multiple Icons in a Canvas?

    Hi All
    I am new to MIDlets so I need some initial help related to UI generation in MIDlets.
    I have to Insert multiple Icons in a canvas.
    These Icon should behave like button i.e. all Icon must have key-pressed event separately(i.e.
    when any particular Icon will be selected(positioned whatever) some action will be performed.
    same like in smart phone a single screen contains multiple icon for multiple operations to be
    performed.
    Is it possible in single canvas or I have to make multiple canvas for each icons?
    Any suggestion will be appreciated
    Thanks
    Nitesh.

    Hi ,,
    In Bex analyzer (BI 7.0) i am getting the option tools-> insert query??
    Do i need to configure anywhere to get this option //
    Can you please give details on that.
    Thanks,
    Debasish

  • Is it possible to enter multiple records in Infotype.

    Hi,
        I am having doubt regarding entering multiple values in infotypes for HR-ABAP.
    Is there any way to enter multiple records in a infotype, As compared to ABAP, By using table maintence generator we can enter mutiple records in the form of table. In the same way, do we have any way to do multiple entry in HR-ABAP.
    Please Explain.......
    Thanks & Regards,
    Kumar Madduru

    Hi pavan,
        I am also having the same doubt regarding multiple entries in an infotype,
    Actually my requirement was to make multiple entries into one infotype,
    let us take an example as to feed employee project detailes..
    i.e.. -
          ! Start date     !  End date      ! Client          !  Role in Project !
          ! 10-02-2004    ! 27-11-2004    ! Nestle        ! Team member   !
          ! 28-11-2004    ! 05-06-2005    ! HP             ! Team member   !
          ! 06-05-2005    ! 18-03-2006    ! Relience     ! Team member   ! 
          ! 19-03-2006    ! 04-11-2007    ! lenovo        ! Team Lead        !  
          ! 05-11-2007    ! 31-12-9999    ! Bajaj          ! Team Lead        !    (current project)
      Now, My intension is to enter these data without always clicking create icon,
    do we have any possiblity to do this. As we can insert multiple entries using T.code SM30.
    i.e to insert or delete multiple data into transp table.
      Please reply as soon as possible.
    Thanks in advance.
    Surender.

  • Is it possible to insert coloured glyphs with InDesign CS5?

    I write about card games and use (multiple) red 'heart' and 'diamond' symbols. If it is not possible to insert coloured glyphs, can anyone suggest a quick way of getting around this problem (other than copy/paste)? Many thanks, Zeb

    Sandee,
    Do you actually load a typeface (cardshark bold, perhaps) and then press a key (h or d) to make the heart or diamond? Then all you need are a character style for red and a GREP style to automatically change the letter h in cardshark bold to the character style.
    Uh -- no. Under those circumstances it would not work. A GREP style can change all letters 'h' and 'd' to red, but not "just those in cardshark bold". This would only work if this font has been applied in a paragraph style that also has the GREP style added.
    It does work, however, with non-Symbol fonts such as Arial Unicode MS, where you'd insert the correct glyphs via the Glyphs palette. This works because the heart and diamond glyphs are encoded into Unicode.

  • Is it possible to have multiple locations in the Google Maps widget?

    Hey folks,
    Lets say you're designing a website for a client with multiple stores, you just want to point them all out, right?
    Just want to know if it is possible to have multiple locations in the Google Maps widget. I guess it shouldn't be that difficult, but I can't figure it out..
    any help would be highly appreciated!
    thanks,
    Thom

    It seems that you can only use one address for this widget.
    For this to work you will need to create the map in Google Maps with all your points and then copy the embed .html from Google into Muse.
    Example of an embed google map with multiple points imported into Muse:
    (Object/Insert HTML)

  • Is-it possible to insert a copyright inside a photo with adobe photoshop elements 10?

    Is-it possible to insert a copyright inside a photo with adobe photoshop elements 10 to protect my rihts?

    Thank for this precious information.
    Date: Sun, 15 Jan 2012 11:22:31 -0700
    From: [email protected]
    To: [email protected]
    Subject: is-it possible to insert a copyright inside a photo with adobe photoshop elements 10?
    Re: is-it possible to insert a copyright inside a photo with adobe photoshop elements 10? created by hatstead in Photoshop Elements - View the full discussion
    Yes, it is.
    The easiest way for me is access the custom shape tool,  and within that the Symbols library. You will find the copy right sign. Just drag it out. It will be on its own layer. Enter the rest of the info with the Type tool.
    The symbol can also be found in the character map on a Windows system.
    If you have multiple photos that you wish to mark, it is very efficient to make a copyright brush and apply  with a  click of the mouse.
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4141819#4141819
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4141819#4141819. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Elements by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Insert multiple rows question

    Hi!
    I need to insert multiple rows into a table with one run, but each row must have its unique id(PK). There is a sequence and a trigger
    in our database (11gR1) that get the next value. So, my question is: Is it possible to do a "bulk insert", maybe with a for loop cursor?
    Thanks for your feedback!

    user545194 wrote:
    Hi!
    I need to insert multiple rows into a table with one run, but each row must have its unique id(PK). There is a sequence and a trigger
    in our database (11gR1) that get the next value. So, my question is: Is it possible to do a "bulk insert", maybe with a for loop cursor?No need for a loop cursor, just insert the rows using an INSERT ... SELECT ... statement. If you have a row based trigger putting a sequence on the rows then it will allocated the id's accordingly.

  • Inserting Multiple Images into oracle database using JDBC

    I wanted to insert multiple images into database using JDBC by reading it from the file... and i am passing photos.txt(my text file) as an input parameter... I have inserted all the values into the database except for the image part... this is my content of photos.txt file and i have copied all the images into the folder
    *" C:\\photos "*
    *1,in1.jpg,108,19,in-n-out*
    *2,in2.jpg,187,21,in-n-out*
    *3,in3.jpg,308,41,in-n-out*
    *4,in4.jpg,477,52,in-n-out*
    *5,in5.jpg,530,50,in-n-out*
    and i want to store in1.jpg,in2.jpg,in3.jpg,in4.jpg,in5.jpg into the oracle databse using JDBC.... i have tried a lot using BLOB column.... and i have created my table as
    CREATE TABLE PHOTO(
    ID NUMBER NOT NULL PRIMARY KEY ,
    Name BLOB,
    X DOUBLE PRECISION,
    Y DOUBLE PRECISION,
    Tags VARCHAR2(40)
      try {                 // for restaurant System.out.println();System.out.println();System.out.println(); System.out.print("  Creating Statement for Photo...\n");             stmt2 = con.createStatement ();                       stmt2.executeUpdate("delete from PHOTO"); stmt2.executeUpdate("commit"); PreparedStatement stmt3 = con.prepareStatement ("INSERT INTO PHOTO VALUES (?, ?, ?, ?, ?)");             System.out.print("  Create FileReader Object for file: " + inputFileName1 + "...\n");             FileReader inputFileReader2 = new FileReader(inputFileName1);             System.out.print("  Create BufferedReader Object for FileReader Object...\n");             BufferedReader inputStream2  = new BufferedReader(inputFileReader2);             String inLine2 = null;                         String[] tokens; //            String[] imageFilenames = {"c:\\photos\\in1.jpg","c:\\photos\\in2.jpg","c:\\photos\\in3.jpg","c:\\photos\\in4.jpg","c:\\photos\\in5.jpg", //  "c:\\photos\\in6.jpg","c:\\photos\\in7.jpg","c:\\photos\\in8.jpg","c:\\photos\\in9.jpg","c:\\photos\\in10.jpg","c:\\photos\\arb1.jpg","c:\\photos\\arb2.jpg", //  "c:\\photos\\arb3.jpg","c:\\photos\\arb4.jpg","c:\\photos\\arb5.jpg","c:\\photos\\den1.jpg","c:\\photos\\den2.jpg","c:\\photos\\den3.jpg", //  "c:\\photos\\den4.jpg","c:\\photos\\den5.jpg","c:\\photos\\hop1.jpg","c:\\photos\\hop2.jpg","c:\\photos\\hop3.jpg","c:\\photos\\hop4.jpg","c:\\photos\\hop5.jpg"};               File file = new File("C:\\photos\\in1.jpg");            \\ ( Just for example  )           FileInputStream fs = new FileInputStream(file);                         while ((inLine2 = inputStream2.readLine()) != null) {               tokens= inLine2.split(",");             st2 = new StringTokenizer(inLine2, DELIM);                                                             stmt3.setString(1, tokens[0]);               stmt3.setBinaryStream(2, fs, (int)(file.length()));               stmt3.setString(3, tokens[2]);               stmt3.setString(4, tokens[3]);               stmt3.setString(5, tokens[4]);               stmt3.execute(); //execute the prepared statement               stmt3.clearParameters(); 
    As i am able to enter one image file by above code in1.jpg in to the oracle database.... but i am not able to insert all the image file in to the database.....do tell me what should i do.... and can you give me the example on the basis of the above code of mine...
    do reply as soon as possible..

    jwenting wrote:
    that depends. Putting the images in BLOBs prevents the file locations stored in the database from getting out of synch with the filesystem when sysadmins decide to reorganise directory structures or "archive" "old" files that noone uses anyway.True, but it really comes down to a business decision (cost-benefit analysis). If you have the bucks, the expertise, and the time, go with the Blobs, otherwise go with the flat files.

  • Is it possible to have Multiple Spool requests in one batch job overview?

    Hi,
    While running one of my z program in back ground, there are two spools generated (one by write statement and one by OPEN_FORM statement and both the spools are available in SP01 Transaction), but when i see the job overview in transaction SM37, I only see one spool request (that of the last spool request). Can any body in the group please tell me is it possible to see multiple spool requests in the job overview of one Abap program and if yes, how?
    Thank you.
    Abinash

    Hi Jayanthi,
    Thank you for the link. But probably that discussion was also an unsolved one.
    Anyway, does any one in the group think that display of multiple spools per one step job is dependent on client / SAP Server setting? Because as evident from the chain of mails in the link provided by Jayanthi, some people say that they see multiple spool requests for one program in batch mode job overview (SM37)? If yes, can some body tell me the required configuration?

  • Is it possible to have multiple bookmarks files or tabs with different content, like Bookmarks 1, Bookmarks 2 etc. inside the same profile?

    I guess this is more like a new feature in Firefox. I work at home and would like to separate work related bookmarks in a separate bookmarks file which is as easily available like a standard bookmarks tab. I propose a possibility to add multiple bookmarks tabs in the menu bar. It would be nice if those tabs could be renamed at will...

    You can organize them in a few main folders (Home, Work, etc.) to make it easier to distinguish the bookmarks.
    You can also export the Bookmarks to an HTML file and make copies of that file with the needed bookmarks.<br />
    You can open such a HTML file in a Firefox tab and middle-click a link to open that link in a new tab.

  • Is it possible to disable multiple logins?

    Is it possible to disable multiple logins by the same user on different computers? I have network hosted user accounts. I need a way to NOT make it possible for user A to go to client Mac A, login and leave himself logged in there then go to client Mac B and login there also. This is creating some unpleasant effects on the server - naturally!
    Any easy way to accomplish this? Perhaps through Profile Manager?
    Thanks!

    Simon,
    Thanks for the reply but I need some elaboration.... "the "Login" preferences for users and groups".... what exactly are we referring to? I don't see such option (or atleast the way it's written), in either Server app or Profile Manager. Are we talking about the same OS X version?
    Thanks.
    P.S. Despite the fact that I have enabled the option in Profile Manager to logout all users on all computers after 30 minutes of inactivity, I have noticed that the iMac clients don't log out the users after the said time...

  • How do I insert multiple rows from a single form ...

    How do I insert multiple rows from a single form?
    This form is organised by a table. (just as in an excel format)
    I have 20 items on a form each row item has five field
    +++++++++++ FORM AREA+++++++++++++++++++++++++++++++++++++++++++++++++++++
    +Product| qty In | Qty Out | Balance | Date +
    +------------------------------------------------------------------------+
    +Item1 | textbox1 | textbox2 | textbox3 | date +
    + |value = $qty_in1|value= &qty_out1|value=$balance1|value=$date1 +
    +------------------------------------------------------------------------+
    +Item 2 | textbox1 | textbox2 | textbox4 | date +
    + |value = $qty_in2|value= $qty_out1|value=$balance2|value=$date2 +
    +------------------------------------------------------------------------+
    + Item3 | textbox1 | textbox2 | textbox3 | date +
    +------------------------------------------------------------------------+
    + contd | | | +
    +------------------------------------------------------------------------+
    + item20| | | | +
    +------------------------------------------------------------------------+
    + + + SUBMIT + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Database Structure
    +++++++++++++++++
    + Stock_tabe +
    +---------------+
    + refid +
    +---------------+
    + item +
    +---------------+
    + Qty In +
    +---------------+
    + Qty Out +
    +---------------+
    + Balance +
    +---------------+
    + Date +
    +++++++++++++++++
    Let's say for example user have to the use the form to enter all 10 items or few like 5 on their stock form into 4 different textbox field each lines of your form, however these items go into a "Stock_table" under Single insert transaction query when submit button is pressed.
    Please anyone help me out, on how to get this concept started.

    Hello,
    I have a way to do this, but it would take some hand coding on your part. If you feel comfortable hand writing php code and doing manual database calls, specificaly database INSERT calls you should be fine.
    Create a custom form using the ADDT Custom Form Wizard that has all the rows and fields you need. This may take a bit if you are adding the ability for up to 20 rows, as per your diagram of the form area. The nice thing about using ADDT to create the form is that you can setup the form validation at the same time. Leave the last step in the Custom Form Wizard blank. You can add a custom database call here, but I would leave it blank.
    Next, under ADDT's Forms Server Behaviors, select Custom Trigger. At the Basic tab, you enter your custom php code that will be executed. Here you are going to want to put your code that will check if a value has been entered in the form and then do a database INSERT operation on the Stock_table with that row. The advanced tab lets you set the order of operations and the name of the Custom Trigger. By default, it is set to AFTER. This means that the Custom Trigger will get executed AFTER the form data is processed by the Custom Form Transaction.
    I usually just enter TEST into the "Basic" tab of the Custom Trigger. Then set my order of operations in the "Advanced" tab and close the Custom Trigger. Then I go to the code view for that page in Dreamweaver and find the Custom Trigger function and edit the code manually. It's much easier this way because the Custom Trigger wizard does not show you formatting on the code, and you don't have to keep opening the Wizard to edit and test your code.
    Your going to have to have the Custom Trigger fuction do a test on the submitted form data. If data is present, then INSERT into database. Here's a basic example of what you need to do:
    In your code view, the Custom Trigger will look something like this:
    function Trigger_Custom(&$tNG) {
    if($tNG->getColumnValue("Item_1")) {
    $item1 = $tNG->getColumnValue("Item_1");
    $textbox1_1 = $tNG->getColumnValue("Textbox_1");
    $textbox1_2 = $tNG->getColumnValue("Textbox_2");
    $textbox1_3 = $tNG->getColumnValue("Textbox_3");
    $date1 = $tNG->getColumnValue("Textbox_3");
    $queryAdd = "INSERT INTO Stock_table
    (item, Qty_In, Qty_Out, Balance, Date) VALUES($item1, $textbox1_1, $textbox1_2, $textbox1_3, $date1)"
    $result = mysql_query($queryAdd) or die(mysql_error());
    This code checks to see if the form input field named Item_1 is set. If so, then get the rest of the values for the first item and insert them into the database. You would need to do this for each row in your form. So the if you let the customer add 20 rows, you would need to check 20 times to see if the data is there or write the code so that it stops once it encounters an empty Item field. To exit a Custom Trigger, you can return NULL; and it will jump out of the function. You can also throw custom error message out of triggers, but this post is already way to long to get into that.
    $tNG->getColumnValue("Item_1") is used to retrieve the value that was set by the form input field named Item_1. This field is named by the Custom Form Wizard when you create your form. You can see what all the input filed names are by looking in the code view for something like:
    // Add columns
    $customTransaction->addColumn("Item_1", "STRING_TYPE", "POST", "Item_1");
    There will be one for each field you created with the Custom Form Wizard.
    Unfortunately, I don't have an easy way to do what you need. Maybe there is a way, but since none of the experts have responded, I thought I would point you in a direction. You should read all you can about Custom Triggers in the ADDT documentation/help pdf to give you more detailed information about how Custom Triggers work.
    Hope this helps.
    Shane

Maybe you are looking for