Two elements in Table CellEditor

Whether it is possible in the table (CellEditor) to insert a sheaf of elements? For example Caption and TextEdit? It is necessary for a news line. Can there is other way of visualization. I shall be glad to your offers!

If you only want to display news, you can use a context node "NewsItems" with attributes "HeaderText", "Text" etc. and write code like the following in method wdDoModifyView() to rebuild the view after a change of the data:
boolean newsChanged= ...;
if (newsChanged)
  IWDUIElementContainer panel = (IWDUIElementContainer) view.getElement("NewsPanel");
  panel.destroyAllChildren();
  for (int i = 0; i < wdContext.nodeNewsItems().size(); ++i)
    INewsItemsElement item = wdContext.nodeNewsItems().getNewsItemsElementAt(i);
    IWDCaption header = (IWDCaption) view.createElement(IWDCaption.class, null);
    header.setText(item.getHeaderText());
    panel.addChild(item);
    IWDTextView content = (IWDTextView) view.createElement(IWDTextView.class, null);
    content.setText(item.getText());
    panel.addChild(content);
I omitted the code for the layout and layout data, but you should get the idea.
Armin

Similar Messages

  • Using Graphics and Button elements in tables

    We are running WinXP Prof, InDesignCS3 and Acrobat 8 Prof.
    We created a table for our table of contents page. The last column in the table contains a button. Our first test was to use a TIF graphic. Our second test was to create a rectangle in INDD and apply affects to it to appear similar to the graphic. A text frame was placed on top as a title of the button. These two elements were grouped and placed in the last cell. When we PDFs the document the "button" style rectangle with affects dropped out and just the text was visible. The button TIF graphic worked fine. We also noticed that when we looked at the tag structure (for accessibility), the test that contained the graphic had the text as one large tag and the buttons separately. The test with the INDD "button" frame DROPPED out but all the text was included in one large tag.
    In order for us to plan for accessibility, we need to approach this as simply as possible for the future.
    How can we the "button" affects frame to work in INDD so that it doesn't drop out when the table is PDFed.

    Jeff --- originally I did not have that selected. I created a new PDF with this selection and now the button is visible but the text on top of the button is gone. I am going to try creating a new button with the text within the same frame as the button effects.

  • How can I use TopLink for querys that have two and more tables?

    I use TopLink today, and I can use one table to query, but how can I use TopLink for querys that have two and more tables?
    Thank you for see and answer this question.

    You can write a custom SQL query and map it to an object as needed. You can also use the Toplink query language "anyOf" or "get" commands to map two tables as long as you map them as one to one (get command) or one to many (anyOf command) in the toplink mapping workbench.
    Zev.
    check out oracle.toplink.expressions.Expression in the 10.1.3 API

  • WHERE clause creating a join for two or more tables

    The CS3 Dreamweaver book says that the WHERE clause can
    create a join for two or more tables. The join was created, but the
    data is repeating. I have searched the web and this forum and have
    not found the answer.
    My Master page filters the recordset by Style No and when a
    customer clicks on a particular style, it sends him to the Detail
    page. All the records are showing from all tables on the detail
    page from the Dynamic List, except they are showing multiple times
    (ex. Size table has 4 sizes and Color table has 2 colors - my Size
    Drop Down list is showing 8 options and my Color Drop Down List is
    showing 8 options) I have a Master Page with a recordset pointing
    to a Detail Page using the same recordset.
    Master page works perfectly.
    Master Recordset SQL:
    SELECT products.itemID, products.category, products.styleno,
    products.name, products.description, products.ourprice,
    products.imageTH, products.image, coloroption.color,
    sizeoption.size
    FROM products, coloroption, sizeoption
    WHERE category = 'chefcoats' AND
    products.styleno=sizeoption.styleno AND
    products.styleno=coloroption.styleno
    GROUP BY products.styleno
    ORDER BY styleno ASC
    The Detail Recordset:
    SELECT products.itemID, products.category, products.styleno,
    products.name, products.description, products.ourprice,
    products.imageTH, products.image, sizeoption.size,
    coloroption.color
    FROM products, sizeoption, coloroption
    WHERE itemID=colname AND products.styleno=sizeoption.styleno
    AND products.styleno=coloroption.styleno
    I tried using the GROUP BY on the detail page, but then it
    only showed one size and color from the dynamic drop down list. I
    tried changing the field name "styleno" in the other tables to be
    unique, however, I was using the table identifer. I tried using the
    JOIN command instead of the WHERE clause and that didn't help
    either.
    On the detail page, the customer is supposed to click on the
    Size box and see sizes XSM - 6XL ONLY ONE TIME. and then be able to
    click on the Color option and see White, Black, Red ONE TIME.
    Is this possible?
    Thank you for giving your time to read this.!
    Evie

    Do you have a link we can look at to see what you are trying
    to do?
    Dave
    "EviePhillips" <[email protected]> wrote in
    message
    news:[email protected]...
    > The CS3 Dreamweaver book says that the WHERE clause can
    create a join for
    two
    > or more tables. The join was created, but the data is
    repeating. I have
    > searched the web and this forum and have not found the
    answer.
    >
    > My Master page filters the recordset by Style No and
    when a customer
    clicks on
    > a particular style, it sends him to the Detail page. All
    the records are
    > showing from all tables on the detail page from the
    Dynamic List, except
    they
    > are showing multiple times (ex. Size table has 4 sizes
    and Color table has
    2
    > colors - my Size Drop Down list is showing 8 options and
    my Color Drop
    Down
    > List is showing 8 options) I have a Master Page with a
    recordset pointing
    to a
    > Detail Page using the same recordset.
    >
    > Master page works perfectly.
    > Master Recordset SQL:
    > SELECT products.itemID, products.category,
    products.styleno,
    products.name,
    > products.description, products.ourprice,
    products.imageTH, products.image,
    > coloroption.color, sizeoption.size
    > FROM products, coloroption, sizeoption
    > WHERE category = 'chefcoats' AND
    products.styleno=sizeoption.styleno AND
    > products.styleno=coloroption.styleno
    > GROUP BY products.styleno
    > ORDER BY styleno ASC
    >
    > The Detail Recordset:
    > SELECT products.itemID, products.category,
    products.styleno,
    products.name,
    > products.description, products.ourprice,
    products.imageTH, products.image,
    > sizeoption.size, coloroption.color
    > FROM products, sizeoption, coloroption
    > WHERE itemID=colname AND
    products.styleno=sizeoption.styleno AND
    > products.styleno=coloroption.styleno
    >
    > I tried using the GROUP BY on the detail page, but then
    it only showed
    one
    > size and color from the dynamic drop down list. I tried
    changing the
    field
    > name "styleno" in the other tables to be unique,
    however, I was using the
    table
    > identifer. I tried using the JOIN command instead of the
    WHERE clause and
    that
    > didn't help either.
    >
    > On the detail page, the customer is supposed to click on
    the Size box and
    see
    > sizes XSM - 6XL ONLY ONE TIME. and then be able to click
    on the Color
    option
    > and see White, Black, Red ONE TIME.
    >
    > Is this possible?
    >
    > Thank you for giving your time to read this.!
    > Evie
    >
    >

  • Synchronizing Two Custom Z Tables Using Abap Program

    Hi,
        My requirement is Synchronizing two custom z tables using abap program me.
    I have vendors in two tables, i have to select the common vendors from first which are existing in second  table also.
    In first table each vendor can have more than one supplier types in one field only. In second table these supplier types are divided into
    different fields.
         My requirement is I have to check supplier types in first table and i have to pass X to corresponding supplier types in second table vendor.
    I have to pass X value for each depending in Second table depending upon supplier type in first table.
    . How to do it can any one suggest with code.
    Thanks in Advance,
    Vivek
    <subject edited by moderator>
    Message was edited by: Manish Kumar

    Hi,
    Imho, you need to get (meaning, extract into separate fields) the different supplier types from Table1 first. Your key for Table1 is the vendor no, which is also the key in Table2 (or the key for Table2 is Vendor no & Type).
    For better performance, better select multiple/all required entries from Table1 instead of doing a select endselect.
    Depending on the format of the vendortypes in Table1, put them in a new itab (for our purpose named Table1New where vendor no & type are the only 2 fields. For example, if the type length is fixed to 2 chars, or divided by space,... use your coding accordingly.
    Next step is to select all vendor no's in Table2 which you have selected in Table1. If in Table2, the vendor no is the only key (and the all vendor types are filled in a single record), then loop check the vendor types from Table1New against the types in Table2.
    If the key of Table2 is vendor no & vendor type, then do a read table for the key.
    The logic in pseudo-code:
    Select from Table1 into table. If you'd like to limit the selection size, add package size statement.
         extract the vendor types in to itab Table1New.
         Select the vendor & types from Table2 by using the for all entries option (better performance).
         loop at Table1New
              check in Table2:
                   if the unique key is vendor no: check all fields for the vendor type from Table1New
                   if the unique key combo is vendor no & type: check by using a read table.
              If not found => add entry to Table2
         endloop.
    endselect Table1 (when using package size)
    I guess the most difficult step is to extract the types from Table1 into separate fields, all the rest seems straight forward. Please keep in mind the itab type definitions for a better performance.
    Good luck!
    Best regards,
    Zhou

  • DBMS_DATAPUMP How to ignore two or three tables

    Hi,
    I have to export complete schema using DBMS_DATAPUMP . 
    What is the syntax    to ignore  two or three tables from this schema .

    your above code not woking
         dbms_datapump.metadata_filter
         (handle=>handle
         ,name=>'NAME_EXPR'
         ,value=>' NOT IN (SELECT TABLE_NAME FROM DBA_TABLES WHERE TABLE_NAME LIKE ''YOU%'')'
    it shows the following error message
    Error report:
    ORA-39001: invalid argument value
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3444
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3693
    ORA-06512: at line 20
    39001. 00000 -  "invalid argument value"
    but following  codes working fine
      Dbms_Datapump.Metadata_Filter(handle => h1,name => 'NAME_EXPR',value => '!=''SU_HANDSET_HISTORY''',
        object_type => 'TABLE');

  • Sapscript: How to combine two elements into a block when display ?

    /E  ITEM_CONDITIONS
    /:   PROTECT
    ZC &KOMVD-VTEXT&,,&KOMVD-KWERT&
    /:   ENDPROTECT
    /E  TOTAL_AMOUNT_ITEMS
    /:   PROTECT
    ZC &KOMK-SUPOS&
    /:   ENDPROTECT
    Hi, all. May i know how to combine the two elements into a same block when displaying?
    That's mean this two element content will not be split into two part between two pages when there is insufficient space in the front page.
    Thanks.
    Edited by: Jiansi Lim on Oct 8, 2008 12:24 AM

    You can evoke the PROTECT..ENDPROTECT in the print program before the call of the text elements.
          CALL FUNCTION 'CONTROL_FORM'
            EXPORTING
              command = 'PROTECT'.
          CALL FUNCTION 'CONTROL_FORM'
            EXPORTING
              command = 'ENDPROTECT'.

  • Is it possible to show data from two different sql tables?

    Is it possible to show data from two different sql tables? Either to show combined data by using a join on a foreign key or showing a typical master detail view?
    I have one table With data about a house, and another table With URL's to images in the blob. Could these two be combined in the same Gallery?
    Best regards Terje F - Norway

    Hi Terje,
    If you have a unique key, you could use one of the following functions for your scenarios:
    If you only have one image per house, you can use LookUp:
    http://siena.blob.core.windows.net/beta/ProjectSienaBetaFunctionReference.html#_Toc373745501
    If you have multiple images per house, you can use Filter:
    http://siena.blob.core.windows.net/beta/ProjectSienaBetaFunctionReference.html#_Toc373745487
    Thanks
    Robin

  • Failed to compare two elements in the array

    very often, I have the error "Failed to compare two elements in the array" in Exchange 2013 ECP. We are not running DAG. I google a bit but don't get a lot of result on this.
    I was trying to track mail from a user who send to DL group. Since I can't do in in ECP , how can I do it in EMS?

    I too have this issue.  I'm not sure how wide spread.  I know of one user who sends emails regularly to a DL named "All Users" which is a Security Group which we then add real users to and not just every mailbox.  When he sends the emails,
    from his perspective, everything is fine, meaning he gets to NDR or anything.  Also, when he adds the Dl in Outlook To field and expands it, all the correct users are there.  In fact, it tells him there are 203 addresses here.  However, only
    184 are actually getting the message.  When I try the EAC to view the tracking report, it will show the message, but if I click on the edit button, I get "Failed to compare two elements in the array".  If I try from EMC with search-messagetrackingreport
    -identity "recipient address" -sender "sender address" -bypassdelegatechecking and the recipient address is the group, it says it could not be found.  If I try with simply putting an email address of someone who is a member of that group, it says Warning:
    An unexpected error has occured and a Watson dump is being generated.  Failed to compare two elements in the array.  I don't know what else to try.  Anybody??

  • Two Elements in Main Window

    Hello,
    I am working on sapscript. MAIN window has two elements ( Order Info, Carrier Info. ) First page display only 1 - 10 records for each element in Main Window.
    ( In my scenario, it's possbile the either one of the element may have more then 10 record but 11th record should print in that section of Next Page )
    Next page should display starting with record 11 on subsequent elements. How can i accomplish this scenario.
    I apperciate your help.
    Thanks
    Hitesh

    Hi,
    in driver program, count the sy-tabix if it reaches '11', then call the FM 'CONTROL_FORM' and in the command give 'NEW-PAGE' and then call the WRITE_FORM of 2nd element.
    write code like below in ur driver program.
    eg:
    data : gv_tabix.
    LOOP AT itab.
    gv_tabix = sy-tabix.
      IF sy-tabix LE 10.
       call function 'WRITE_FORM'
        EXPORTING
          element = element1
        EXCEPTIONS
        ENDIF.
        IF gv_tabix GT 10.
           call function 'CONTROL_FORM'
             exporting
                command = 'NEW-PAGE'.
           clear gv_tabix.
        ENDIF.
        IF sy-tabix GT 10.
           call function 'WRITE_FORM'
        EXPORTING
          element = element2
        EXCEPTIONS
        ENDIF.
    ENDLOOP.
    dont forget to give NEXT PAGE for first page as 'FIRST PAGE' name.
    Hope it resolves
    Rgrds,
    Pavan

  • Printed colour is different between two elements both created in pages with the same colour

    Hi There,
    I have been having some issues getting a text colour to match a logo (imported in pdf format) - While trying to discover what was happening I created a sample colour of (HSB 189 / 89 / 73) in pages and saved it in my colours palette to test.
    Now if I create some text (in pages) and a shape (also in pages) and colour them from the same colour sample/swatch and print it - the colours are clearly very different, Does pages do some kind of text colour correcting or weirdness that I cant find? Its hard to believe this is the desired workflow and its very anoying.
    PS. I have also tried printing from a pdf and I have the same issues - That said the two colours look identical in pages and the pdf on screen.
    I'd be extremely grateful for any help
    NB I have since read
    https://discussions.apple.com/message/9263007#9263007
    Which although is helpful and may explain the behavious of the imported logo pdf vs the text it doesn't (I dont think) explain how two elements both created in pages using the same colour (from pages) would be dfferent?

    They are both coming out at the exact same colour (CMYK 83, 0, 21, 0) which is correct however they are not the same colours when printed, Im begining to think this is less of a pages thing (as the output is correct) but something is going wrong between pdf/pages and print
    Its not the easiest thing to see so you may have to take my word for it - but the two colours are not the same by quite a long way (Theres way more contrast in real life)
    I think Im ready to admit defeat on this but thanks a bunch for your help!
    Brendan

  • Not able to view more than two line in table control

    Hi all,
    I am not able to see more than two lines in table control. Although my table control height is 21...
    Please see attached pic and suggest me what to do.

    hi,
    You have to set the LINES property of the table control In the PBO of your screen, to the number of entries in the internal table.
    data: lv_line type i.
    DESCRIBE TABLE  gt_table LINES lv_line.
    table_control-lines = lv_line + 1.
    or else
    You can do two thing in table control properties check horizontal and vertical scroll options plus in PBO you can based on number of lines in internal table assign it to TC_ABC-LINES if no lines are there then add by default 20..10.. any number of lines as you want.

  • Cost element group - Table name

    Hi Guru,
    Can any body knew cost element group - Table name
    Regards,
    Bharathi.S

    Hi,
    It's stored in SETNODE and SETLEAF tables (class '0102').
    Regards,
    Eli

  • How two or more table used in smartforms

    Sir,
    Like to know how can i perform calculation in smartfrom if the fields is numeric and use two table, and also know about it is useful to use inner join or any other method in smartform for working with two or more tables simultaneously.
    plz, expalin with example

    hi
    you can use more than one table in smartform for that first you mention all the tables in the form interfaces and you have to mention the variables that you want to caliculate in the global definitions.
    For caliculation right click on ant text and in that we have flow logic option in that we can select which type of code you want to write and you have to create those inbetween two text fields where the values are there and the other one is where you want to display the result.
    in that code in input parameters we have to mention the variables which you want to use for caliculation and in output parameters mention the variables in which you want to store the result. And then we have to write the logic what ever we want.
    I hope this information will help you
    regards,
    Sreelatha Gullapalli

  • Same dimension in two different fact tables

    Hi,
    I have one same dimension in two different fact tables. I would like to know how BI server choose the fact table when I do a request in this dimension.
    I know that is always using the same fact table, but I would like to know why choose this table and not the other.
    Thanks

    Sorry,
    But it doesn't seem to me.
    I reorded the tables in the BMM layer and it continues to use the same table, regardless this table is in last.
    After, I droped that table in the BMM layer and it continued to use the same.
    Thanks for your reply

Maybe you are looking for

  • F4_FILENAME in search help in screen painter

    Hello gurus, I want to design a screen in which the text input field is used to get file name. For that i need to enable file search in local folders and drives with f4 key press. I wish to use the functionality of function module 'F4_FILENAME" in sc

  • Mapping issues with soap sender adapter

    Scenario SOAP->XI-> file. I have configured a sender soap adapter. When the soap message is sent to XI from third party system using the 'DOC' , SXMB_MONI shows the following format <SOAP-ENV:Envelope   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap

  • Stopping a currently playing sound?

    I will try to make this quick and painless and hopefully someone knows a solutions... I am making a kiosk based on another designers layout where I work... I am not going to get in the details, but the work seems sort of an unorthadox way of using fl

  • IOS 5 sound glitches on iPhone 3GS

    Since I've upgraded to iOS 5 on my iPhone 3GS, I've been having some sound glitches whene listening to music. Sometimes, when the song starts, I get a glitch (some kind 1 sec skip) which is really annoying. Are the notifications hard to process? I do

  • Inadvertent click over 'clear list' crashed the list of downloaded files.How to retrieve that list?

    I was downloading the Firefox -5 update yesterday(07-07-2011), while the process was going on,the 'clear list' tab situated in the left side lower corner was pressed by me inadvertently causing disappearance of the list of all other completed,incompl