Dynamic textview with menu

Hi all,
I am trying to code a dynamic textview with a menu.
So the point of it would be to click on the textview and get a menu that pops open under the textview.
The menu is an ui element, and when I make it statically everything goes well... but when I try this code, I don't get the menu...
Data lo_txv type ref to cl_wd_text_view.
Data lo_menu type ref to cl_wd_menu.
Data lo_menu_action_item type ref to cl_wd_menu_action_item.
lo_txv = cl_wd_text_view=>new_text_view( ID = 'TEST'  TEXT = 'TEXT' ).
lo_menu = cl_wd_menu=>new_menu( ID = 'MENU'    TITLE = 'TITLE' ).
lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM1' TEXT = 'ITEM1' ON_ACTION = 'EMPTY_ACTION' ).
lo_menu->add_item( lo_menu_action_item ).
lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM2' TEXT = 'ITEM2' ON_ACTION = 'EMPTY_ACTION' ).
lo_menu->add_item( lo_menu_action_item ).
lo_txv->set_menu( lo_menu )
This code should give me a textview with a menu with 2 items... but it doesn't.
Could someone please help me out ??
Thanks in Advance,
David Bellers

Thanks for your reply,
I didn't write the code down for the matrixlayout, but it is correctly implemented.
Do I have to add the view to the textview?
When programming dynamically I've never had to work with the view itself, most of the time,
I add the elements to a container and that container is in the view...
Just to have everything I'll change the code to do every exact step...
Data lo_txv type ref to cl_wd_text_view.
Data lo_menu type ref to cl_wd_menu.
Data lo_menu_action_item type ref to cl_wd_menu_action_item.
lo_txv = cl_wd_text_view=>new_text_view( ID = 'TEST'  TEXT = 'TEXT' ).
lo_menu = cl_wd_menu=>new_menu( ID = 'MENU'    TITLE = 'TITLE' ).
lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM1' TEXT = 'ITEM1' ON_ACTION = 'EMPTY_ACTION' ).
lo_menu->add_item( lo_menu_action_item ).
lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM2' TEXT = 'ITEM2' ON_ACTION = 'EMPTY_ACTION' ).
lo_menu->add_item( lo_menu_action_item ).
lo_txv->set_menu( lo_menu ).
cl_wd_matrix_head_data=>new_matrix_head_data( element = lo_xv ).
container->add_child( the_child = lo_txv ).

Similar Messages

  • Textview with totals based on dynamic ALV selections

    Hi all, it´s me again, suffering like a mother with my first WDA serious application
    I have this ALV with a prices column, with an editable checkbox field, and what my client wants is a field on the screen (I think it must be a Textview) that displays the total sum of all selected rows in the ALV. Of course, this sum must be dynamic, according with the actual selection.
    Could anyone tell what should I do?
    Thanks a lot, best regards.
    Federico Alvarez

    Hi Fedrico,
    Seeing your problem, You hv to write the logic on the ON_DATA_CHECK event of the alv grid.
    I am giving you a sample code that might helps you.
    METHOD on_data_check .
    Data declaration for assigning the contract,total and balance(remaining) amount
      DATA : lo_nd_contract_payment TYPE REF TO if_wd_context_node,
             lo_el_contract_payment TYPE REF TO if_wd_context_element,
             ls_contract_payment    TYPE wd_this->element_contract_payment,
             lv_contract_amount     LIKE ls_contract_payment-contract_amount,
             lv_value_date          LIKE ls_contract_payment-value_date.
       Data Declaration
      DATA : lo_nd_payment_table    TYPE REF TO if_wd_context_node,
             lo_el_payment_table    TYPE REF TO if_wd_context_element,
             ls_payment_table       TYPE wd_this->element_payment_table,
             lt_payment_table       LIKE TABLE OF ls_payment_table,
             lv_total_amount        LIKE ls_payment_table-amount,
             lv_balance_amount      LIKE ls_payment_table-amount,
             lv_paymeth             LIKE ls_payment_table-payment_method,
             lt_paycreate           TYPE TABLE OF /dmpui/db_str_paycreate,
             ls_paycreate           TYPE /dmpui/db_str_paycreate.
      Data declartion for message manager
      DATA : lo_api_controller     TYPE REF TO if_wd_controller,
             lo_message_manager    TYPE REF TO if_wd_message_manager.
      get message manager
      lo_api_controller ?= wd_this->wd_get_api( ).
      CALL METHOD lo_api_controller->get_message_manager
        RECEIVING
          message_manager = lo_message_manager.
      navigate from <CONTEXT> to <PAYMENT_TABLE> via lead selection
      lo_nd_payment_table = wd_context->get_child_node( name = wd_this->wdctx_payment_table ).
    check for data error in the grid
      CHECK r_param->t_error_cells IS INITIAL.
      IF lo_nd_payment_table IS NOT INITIAL.
      get all declared attrigbutes
        lo_nd_payment_table->get_static_attributes_table(
          IMPORTING
            table = lt_payment_table ).
      ENDIF.
      lo_el_payment_table = lo_nd_payment_table->get_element( ).
      lo_el_payment_table->get_attribute(
      EXPORTING
          name =  `PAYMENT_METHOD`
       IMPORTING
          value = lv_paymeth ).
      lv_total_amount = 0.
      wd_assist->gc_total_amount = 0.
      IF lt_payment_table[] IS NOT INITIAL.
    Looping at the payment internal table*
        LOOP AT lt_payment_table INTO ls_payment_table.
            lv_total_amount = lv_total_amount + ls_payment_table-amount.
          ENDIF.
          CLEAR ls_payment_table.
        ENDLOOP.
      ENDIF.
    Passing the Total Amount Value to the Assistance class variable
      wd_assist->gc_total_amount = lv_total_amount.
    navigate from <CONTEXT> to <CONTRACT_PAYMENT> via lead selection
      lo_nd_contract_payment = wd_context->get_child_node( name = wd_this->wdctx_contract_payment ).
    get element via lead selection
      lo_el_contract_payment = lo_nd_contract_payment->get_element(  ).
      lo_el_contract_payment->get_attribute(
        EXPORTING
          name =  `CONTRACT_AMOUNT`
       IMPORTING
          value = lv_contract_amount ).
    Calculating the balance amount
      lv_balance_amount = lv_contract_amount -  wd_assist->gc_total_amount.
    get single attribute
      lo_el_contract_payment->set_attribute(
        EXPORTING
          name =  `TOTAL_AMOUNT`
          value = wd_assist->gc_total_amount ).
      lo_el_contract_payment->set_attribute(
          EXPORTING
            name =  `BALANCE_AMOUNT`
            value = lv_balance_amount ).
    Binding the data to the context node
      lo_nd_payment_table->bind_table(
        EXPORTING
          new_items            = lt_payment_table   " List of Elements or Model Data
          set_initial_elements = abap_true          " If TRUE, Set Initial Elements Otherwise Add
    ENDMETHOD.
    Regards
    Manoj Kumar
    Edited by: Manoj Kumar on Feb 27, 2009 10:25 AM

  • Using Dynamic Visibility with Accordian Menu

    Hiya.  I am trying to use dynamic visibility with an accordian menu.  My menu categories are years, 2005 - 2010. My categories items are key performance indicators such as abandon percentage,  first call resolution, customer satisfaction percentage, call volume and average speed of answer. 
    Of my 6 KPIs, 4 display as percentages and 2 display as whole numbers.  When the percentage graphs are displayed the axis labels needs to be percentages.   When the whole number graphs are displayed the axis label needs to show whole numbers.
    I thought to achieve this I should use dynamic visibility with two different line charts where one line chart shows percentages and the other line chart shows whole numbers.   However I am strugging trying to make that happen.
    Is my concept correct, or is there an easier way to accomplish this?  If my concept is correct,can someone give me some advice on how to make dynamic visibility display the correct chart depending on which KPI I select from my accordian menu?
    Thanks!

    Hi
    You can achieveby doing following steps..
    Insert your categories into D3 and label bind to E3.
    take two charts and bind to the destination data of Accordion menu
    then write a formula in F3 like this =IF(OR(E3="abandon percentage",E3="customer satisfaction percentage"),1,0)
    and bind your two charts to the F3 and set DV for % charts as 1 and # charts as 0.
    I hope this will helps you
    Thanks,
    Srinivas Dandamudi.

  • --urgent Can I use table data to create a dynamic drop down menu?

    Hi,
    I am asked to investigate the possibility of using APEX to create a table driven dynamic drop down menu? The deadline is tomorrow but I have spent quite a bit of time but still have not any clue. Can any one have such experience to point me a way to focus on?
    Many thanks.
    Jennifer

    Thanks you very much for the help Kevin.
    Currently my company is using htp.p style to create web app and using the dynamic menu in a similar way as you explained. Now they want to move to Apex and still keep dynamic menu functionality. After reading your response and research I have done I think I can embed it into Apex application by creating the similar table and PL/SQL package and let Apex to call the PL/SQL package when the application is first called. However may I ask you a question about how to call such pl/sql procedure in Apex? .
    The current application has the following URL, from which the procedure pkg_main.print_menu is called and html home page with dynamic menu is displayed.
    Http://app server:1234/pls/applicationname/pkg_main.print_menu?p_new_window=N
    BUT what about the Apex? The Apex URL format is like the following, where 11563 and 1 is application id and page number. Assume that 1 is home page, but HOW the procedure is called, from WHERE?
    http://apex.oracle.com/pls/apex/f?p=11563:1:3397731373043366363
    Jennifer

  • Dynamically create context menu

    I'm trying to create a context menu based on a certain af:commandImageLink.
    I have an af:popup with an af:menu in my page. I bound the af:menu to my bean so I can change the content. I didn't put any children in the menu to start because I want to add the children based on the image that's click.
    I added an af:showPopupBehavior to show my popup on click. The idea was that I wanted to use the actionListener of the af:commandImageLink to dynamically create the menu that I need. But it seems that the actionListener fires after the showPopupBehavior most times. On the first click, it looks like the actionListener fires first then the showPopupBehavior. After that, it seems the actionListener always fires after.
    So it looks like this is not really supposed to work.
    Does anyone have any suggestions on how this should be made to work?

    Thanks a lot Timo,
    This does allow me to control when the popup shows up.
    I modified the code you gave slightly to include code to align the popup:
        public static void showPopup(String popupId, String alignId) {
            FacesContext context = FacesContext.getCurrentInstance();
            StringBuilder script = new StringBuilder();
            script.append("var popup = AdfPage.PAGE.findComponent('").append(popupId).append("'); ").append("if (!popup.isPopupVisible()) { ")
                .append("var hints = {}; ").append("hints[AdfRichPopup.HINT_ALIGN_ID] = '").append(alignId).append("'; ")
                .append("hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_END; ").append("popup.show(hints);}");
            ExtendedRenderKitService erks = Service.getService(context.getRenderKit(), ExtendedRenderKitService.class);
            erks.addScript(context, script.toString());
        }I still have some problems though. I need to give some more context on this.
    So I have an af:iterator that shows a list of images. I'm trying to popup a context menu when they click the image. The menu needs to be aligned relative to the image that was clicked.
    However, when I tried to get the ID from the ActionEvent, I get the design time ID which should not be the same as the run time ID because the iterator would have created multiple instances of the image, each with a unique ID. I'm assuming that's why the alignment is not working.
    Am I missing something here?
    Also, I seem to be having problems with modifying the menu. Here's my bean code:
        private RichMenu baseMenu;
        public void imageActionListener(ActionEvent actionEvent) {
            Object o = actionEvent.getComponent();
            RichCommandImageLink image = (RichCommandImageLink)o;
            DCIteratorBinding iteLoc = ADFUtils.findIterator("OpItemLocationsVO2Iterator");
            for(Row row : iteLoc.getAllRowsInRange()) {
                OpItemLocationsVORowImpl r = (OpItemLocationsVORowImpl)row;
                RichCommandMenuItem a = new RichCommandMenuItem();
                Number n = r.getItelocId().getSequenceNumber();
                a.setId("i" + r.getItelocId().getSequenceNumber().toString());
                a.setText(r.getItelocId().getSequenceNumber().toString());
                baseMenu.getChildren().add(a);
            AdfFacesContext.getCurrentInstance().addPartialTarget(baseMenu);
            showPopup("vmenu", image.getId());
        }So in my popup, I added a menu and I bound that menu to this bean. The idea was that whenever an image was clicked, I would remove all the children from the menu, then add the new ones. There would be a master-detail relationship between the image's iterator and the menu that's supposed to show up.
    The other problems that I'm getting with this is that the menu is not changing when I click on a different image. When I debug, I'll see the correct values being added, but nothing changes on the screen. It's always showing the first popup that was ever created. Also, I don't know how to remove the previous children. There doesn't seem to be an API to remove the children.
    Thoughts?

  • Dynamic action with set value on date field

    Hi,
    I'm using APEX 4.02
    I'm trying to calculate the age based on the date of birth dynamically on a form. I'm trying to do this with a (advanced)dynamic action with set value.
    I'm able to get this kind of action working based on a number field etc, but NEVER on a date field.
    I've read all posts on this subject but so far no solution. Even if I try to simply copy the value over to another date field or typecast it to a string ( to_char function ) it does not work. So for me the problem seems to be in the source field being a date field.
    I've tried using the source value as is in a select statement :
    select :P33_GEBOORTEDATUM from dual;
    and also type casted based on the date format :
    select TO_DATE(:P33_GEBOORTEDATUM,'DD-MON-YYYY') from dual
    but still no luck.
    On the same form I don't have any issues as long as the calculation is based on number fields, but as soon as I start using dates all goes wrong.
    Any suggestions would be greatly appreciated. If you need any extra info just let me know.
    Cheers
    Bas
    b.t.w My application default date format is DD-MON-YYYY, maybe this has something to do with the issue .... ?
    Edited by: user3338841 on 3-apr-2011 7:33

    Hi,
    Create a dynamic action named "set age" with following values.
    Event: Change
    Selection Type: Item(s)
    Item(s): P1_DATE_OF_BIRTH
    Action: Set value
    Fire on page load: TRUE
    Set Type: PL/SQL Expression
    PL/SQL Expression: ROUND( (SYSDATE - :P1_DATE_OF_BIRTH)/365.24,0)
    Page items to submit: P1_DATE_OF_BIRTH
    Selection Type: Item(s)
    Item(s): P1_AGE
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Problem with menu and panel

    hi,
    i m new to java still learning new concepts. When i was working with menu and panel i got this problem and i tried a lot but still i havn't got any success. the problem is i m creating a menu with two menuitem - one for "add item" and another for "modify item". What i want to do that on the same frame i want to create two panel of these two item. when i click "add item" option it should show add window and so with modify option. but the problem is if i click add item it shows the addpanel but when i click modify option (add item panel goes- ok ..) but it doesn't show the modify panel, it shows only the main frame on which menu is there.
    i cannot understant what is happing here plz guide me.
    thanx

    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    import javax.swing.*;
    public class ajitAutomobile extends JFrame implements ActionListener
         JMenuBar mb;
         JMenu jobmenu;
         JMenuItem newJobCard,modifyJobCard;
         Font ft;
         JPanel pnlnewJobCard,pnlmodifyJobCard;
         Container con;
         ajitAutomobile()
         ft=new Font("Arial",0,12);
         mb=new JMenuBar();
         setJMenuBar(mb);
         jobmenu=new JMenu(" Job Card Form");
         mb.add(jobmenu).setFont(ft);
         newJobCard=new JMenuItem("New Job Card Detail");
         modifyJobCard=new JMenuItem("Modify Job Card Detail");
         jobmenu.add(newJobCard).setFont(ft);     
         jobmenu.add(modifyJobCard).setFont(ft);     
         mb.add(requisition).setFont(ft);
         con=getContentPane();
         // setting panel for new JOb Card Entry
         pnlnewJobCard=new JPanel();
         pnlmodifyJobCard=new JPanel();
         con.add(pnlmodifyJobCard);
         con.add(pnlnewJobCard);
         pnlnewJobCard.setBackground(Color.RED);     
         pnlnewJobCard.setVisible(false);
         pnlmodifyJobCard.setBackground(Color.YELLOW);
         pnlmodifyJobCard.setVisible(false);
         //setting JFrame resources
         setVisible(true);
         setTitle("Ajit Automobile Service Center");
         setSize(750,300);
         setResizable(false);
         newJobCard.addActionListener(this);
         modifyJobCard.addActionListener(this);
         public void actionPerformed(ActionEvent ae)
              if (ae.getSource()==newJobCard)
                   pnlnewJobCard.setVisible(true);
                                                                    pnlmodifyJobCard.setVisible(false);
              if(ae.getSource()==modifyJobCard)
                                                                             pnlnewJobCard.setVisible(false);
                                                                    pnlmodifyJobCard.setVisible(true);
         public static void main(String args[])
         ajitAutomobile objajit=new ajitAutomobile();
         objajit.show();
    }so, this is the code and as i m expecting that when i click on "New Job Card Detail" then it should display pnlnewJobCard and when i will click "Modify Job Card Detail" it should display pnlmodifyJobCard panel but it is not working.It shows only that panel which is clicked first.
    plz help
    thnx, any answer will be appriciated.

  • How to clear grey loading screen and animated gif (Dynamic Action with "Show Processing" on submit)

    APEX V4.2.3
    DB 11.2
    I have a classic report on page 1.  I have a region button called "Export" (defined by a submit dynamic action with "show processing=Yes") that submits the page and then via a branch directs me to page 2 which has a slightly different version of the report on page 1 (i.e. no breaks) which I want to capture as a CSV export.  Therefore I've set the report template on page 2 to " Export:CSV".
    Now when I click on the page 1 export button the grey screen and loading gif appears indicating that the report is executing and then as expected, page 2 doesn't appear but instead the standard open/save window's dialog box appears asking to open or save the generated CSV file.  All good..but the grey loading screen remains.  How do I clear this loading screen and get back to the context of page 1 ?
    thanks in advance
    PaulP

    Hi PPlatt,
    We would love to help but you left out one crucial part of the puzzle: namely how does your CSV report get exported. With the way it is setup (a redirect to another page), I'm going to assume you do that because you have some PL/SQL on that page that prints the CSV.
    Now there are two questions that are crucial here:
    - How do we stop the icon from bugging us on the screen
    - How do we communicate with the browser that it should no longer display the loading icon
    The first question is rather easy, two simply lines of codes can do that:
    $('#apex_wait_popup').hide();
    $('#apex_wait_overlay').hide();
    But when do we use this code? Quite simple when the document is downloaded. When is it downloaded? At the end of the PL/SQL code that prints the document to the browser.
    What you could do is at the end of that code give an application item a certain value. For example :AI_PRINTED := 'Y';
    Then all you need to do is let the browser ask for the value. You could do this by using JavaScript to continuously fire AJAX to the server using a JS timing event:
    http://www.w3schools.com/js/js_timing.asp
    Better would be a Server send event, but since you left out another crucial piece of information: your browser, I will not go deeper into this.
    Start this timing event when someone asks for the document, and end it as soon as the process returns that :AI_PRINTED equals 'Y'.
    Despite the lack of information, I hope I have given, or at least inspired you to get to the solution.
    Regards,
    Joni

  • How to create dynamic DataTable with dynamic header/column in JSF?

    Hello everyone,
    I am having problem of programmatically create multiple DataTables which have different number of column? In my JSF page, I should implement a navigation table and a data table. The navigation table displays the links of all tables in the database so that the data table will load the data when the user click any link in navigation table. I have gone through [BalusC's post|http://balusc.blogspot.com/2006/06/using-datatables.html#PopulateDynamicDatatable] and I found that the section "populate dynamic datatable" does show me some hints. In his code,
    // Iterate over columns.
            for (int i = 0; i < dynamicList.get(0).size(); i++) {
                // Create <h:column>.
                HtmlColumn column = new HtmlColumn();
                dynamicDataTable.getChildren().add(column);
                // Create <h:outputText value="dynamicHeaders"> for <f:facet name="header"> of column.
    HtmlOutputText header = new HtmlOutputText();
    header.setValue(dynamicHeaders[i]);
    column.setHeader(header);
    // Create <h:outputText value="#{dynamicItem[" + i + "]}"> for the body of column.
    HtmlOutputText output = new HtmlOutputText();
    output.setValueExpression("value",
    createValueExpression("#{dynamicItem[" + i + "]}", String.class));
    column.getChildren().add(output);
    public HtmlPanelGroup getDynamicDataTableGroup() {
    // This will be called once in the first RESTORE VIEW phase.
    if (dynamicDataTableGroup == null) {
    loadDynamicList(); // Preload dynamic list.
    populateDynamicDataTable(); // Populate editable datatable.
    return dynamicDataTableGroup;
    I suppose the Getter method is only called once when the JSF page is loaded for the first time. By calling this Getter, columns are dynamically added to the table. However in my particular case, the dynamic list is not known until the user choose to view a table. That means I can not call loadDynamicList() in the Getter method. Subsequently, I can not execute the for loop in method "populateDynamicDataTable()".
    So, how can I implement a real dynamic datatable with dynamic columns, or in other words, a dynamic table that can load data from different data tables (different number of columns) in the database at run-time?
    Many thanks for any help in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    flyeminent wrote:
    However in my particular case, the dynamic list is not known until the user choose to view a table. Then move the call from the getter to the bean's action method.

  • Help. Need to remove one of the listed QuickTimes from the "open with" menu

    When I bring up the 'Open with' menu on an audio file I have QuickTime Player (7.3.1) and just below that I have QuickTime Player (7.2.1). I would like to remove the 7.2.1 listing from this menu. There is on one version on my computer (7.3.1). The last update must have placed the newer listing in this menu and left the older listing. Is there a way to remove the older listing from the open with menu?

    Did you ever do an archival and install of your OS? If so, you have what is called previous system fold on your main hard drive. This is where you can find the player to the version. If not I guess what happen to you is strange...mmm... And I guess it could happen.

  • Problem in aligning dynamic UI with the static UI

    Hi All,
    I have problem in aligning dynamic UI with the static UI, I am using Matrix layout.
    Static fields are spread over 2 colums and 3 rows:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    Now when a value is selected in C, than E becomes visible, and depending on the values selected in E, there are dynamic UI generated, i.e dynamic lables and depending on some validation it will be either a dropdowns or input fiels or both.
    at run time screen is like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACEdropdown
    dynbSPACEinput field
    if I change my selection in E than layout looks like:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACESPACEdropdown
    dynbSPACESPACEinput field
    Requirment: I need all the lables as well as dropdown/ input fiels in line with the static fields irrespective of my selection in E.
    Something like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dyna   SPACEdropdown
    dynbSPACESinput field
    dyncSPACESdropdown
    All this elements are in a group and that group has 2 transparent containers, 1 for static and for holding dynamic UI.
    I tried playing with the container properties, and also tried fixing width of dynamic UI but still the alignment issue is encountered.
    Can U guys plz give in ur valuable inputs as i need to fix this urgently.
    Regards,
    JJ

    Hi Armin,
    Can you please elaborate your solution ?, I do not have an idea of InvisibleElement & IWDView.resetView() ,
    If you can give me the exact pointer than it would be great and a good learning exp. for me.
    Thanks for the action assignment part, it worked.
    if (wdContext.nodeMaterialClass().size() > 0 && wdContext.currentContextElement().getActionMatCls()) {
         if (wdContext.currentMaterialClassElement().getMaterialClass_Description() != null || !wdContext.currentMaterialClassElement ().getMaterialClass_Description().equalsIgnoreCase(" ")) {
               IWDGroup Searchgroup = (IWDGroup) view.getElement("DynGroup");
    Searchgroup.destroyAllChildren();
    view.getContext().reset(false);
                                                      for (int i = 0; i < wdContext.nodeMaterialCharateristcs().size(); i++) {
                                  //this for label
         IWDLabel CharLabel = (IWDLabel) view.createElement(IWDLabel.class, "label" + i);
         CharLabel.setText(wdContext.nodeMaterialCharateristcs().getMaterialCharateristcsElementAt(i).getDescr_Char());
         CharLabel.setDesign(WDLabelDesign.EMPHASIZED);
         CharLabel.createLayoutData(MatrixHeadData.class);                              CharLabel.setWidth("154px");                              Searchgroup.addChild(CharLabel);
                 further there are conditions to create either dropdown or input field
    Can you please point where and how to apply your solution.
    Regards,
    JJ

  • Dynamic Table with two columns

    Hi!
    i have to create a Dynamic Table with two columns having 5-5 links each with some text...... three links r based on certain conditions....they r visible only if condition is true...
    if the links r not visible in this case another links take it's place & fill the cell.
    links/text is coming from database.
    i am using Struts with JSP IDE netbeans
    Please help me
    BuntyIndia

    i wanna do something like this
    <div class="box_d box_margin_right">
              <ul class="anchor-bullet">
              <c:forEach items="${data.faqList}" var="item" varStatus="status"
                        begin="0" end="${data.faqListSize/2-1}">
                        <li>${item}</li>
                   </c:forEach>
              </ul>
              </div>
              <div class="box_d">
              <ul class="anchor-bullet">
              <c:forEach items="${data.faqList}" var="item" varStatus="status"
                        begin="${data.faqListSize/2}" end="${data.faqListSize}">
                        <li>${item}</li>
                   </c:forEach>
              </ul>
              </div>
    wanna divide table in two columns....if one link got off due to condition other one take it's position...
    I have created a textorderedlist
    Bunty

  • I can't select Photoshop CC 2014 when using the "Open with" menu in Windows 7

    I have recently installed CC 2014, and uninstalled my CC version. When I go to a jpeg, or any image file in windows explorer, I right-click and "open with" and it isn't listed on my program list to open the file with. I click on "browse programs", find the exe file in adobe-photoshop cc2014 folder and click OK, and it just goes back to the open with menu with no option for photoshop.
    Any ideas on how I can get it on that list, so I can open these files from the file location, instead of opening up photoshop and then searching for the file location within photoshop?
    Also, I don't have any problems opening up the pictures from within photoshop, just within windows explorer.

    I'm having a similar problem, but only with jpg's. I have PS CS6, CC, and CC 2014. Other image file formats function normally with regard to the "open with" list. PS CC 2014 appears on the list. But with jpg's only PS CC appears on the "open with" list and 2014 can't be added by the browsing for it.
    The curious thing is that if I have any of the three versions of Photoshop open, click on Photoshop CC in the "open with" list, the image opens in whatever version is already open on my computer. This is true of all image formats. No matter which version I pick from the "open with" list it opens in the currently running program. I use only the latest version so keeping it open all the time is an easy work around. I won't uninstall any of the earlier versions lest more file association quirks result. it would be nice to have this matter fixed.

  • Can you add Programs to Open With Menu

    Is there a way to add programs to the Open With Menu.  For example, when you right click on a file you can choose to open it with the default application by selecting Open, or choose other programs to open it with by selecting Open With.  Only a few of the programs that can open the files are listed.  Is there a way to add programs that I use to list in that list.  Right now, everytime I want to open something in a program that is not listed I have to go to Other... and find it in the Application folder.  Which is not too convenient.  Many programs that I use to open files are not listed for many types of file types, I open them frequently using the Open... window, and I was hoping that Mac would learn to add them, but it did not. 
    For example, I have VMWare with Windows 7 and Microsoft Office 2010 in it, my default application for WORD documents is Word for Mac 2011, but occasionally I need to open it in Word 2010 in Windows (Certain features that are missing in Mac Word), and I have to browse to fin the Word 2010 Application from the Application Folder.  Another example is a program (from the App Store) called ResizeIt (which resizes photos), I have to browse for it everytime even though it is an application just for images.
    So, is there a way to edit the Open With Menu for specific file types to include these programs that I use, or do I have to keep browsing to the Application folder and finding it there?
    Thank you in advance!!
    David

    http://apple.stackexchange.com/questions/15030/how-can-i-add-a-new-application-t o-the-open-with-menu
    No answer yet, but this group may come up with an answer for you guys

  • Make x64 default with "open with" menu

         Ive seen several threads to make x32 the default but not to many to make x64 the defualt. It appears that once the install is made I cannot only uninstall the 32 bit photoshop, only both at the same time. I have recently moved from cs4 to cs5. Everything was working perfectly until I decided that I had fully made the transition and uninstalled CS4. Now Im having trouble getting images to open with photoshop in x64 mode. .PSDs will open with the defualt x64 but I use a different viewer for .jepgs. I typicaly open these file types with the right click "open with" command. Unfortunately this command always opens the file in 32 bit mode. I have even tried to use "open with - choose default program" and navigate to the Photoshop X64 folder and select the 64 bit executable from there, but it still opens with 32 bit photoshop. All I want if to be able to use the "Open With" menu to open .jpegs in 64 bit mode. Any advice? Thanks.

    Solved it using this guide only pointing to the x64 bit instead.
    http://forums.devshed.com/photoshop-help-88/file-association-opens-with-64-bit-photoshop-n ot-32t-724373.html
    Solved it!
    In my desperation I just began searching the registry for "Photoshop.exe" - There it had the path for the "Photoshop" that you see when you try to change an association (picking the 32bit version using "open with" doesn't matter because it recognizes it as Photoshop and defaults back to whatever the program is in this registry key).
    This should make Photoshop 32 bit open every time you open a Photoshop-associated file.
    Here is what I did, for anyone coming from Google:
    Start > Run > regedit
    Browse to HKEY_CLASSES_ROOT\Applications\Photoshop.exe\shell\edit\command
    Changed the value to "C:\Program Files (x86)\Adobe\Adobe Photoshop CS4\Photoshop.exe" "%1"
    (old one was the 64 bit path and executable)
    Did the same with HKEY_CLASSES_ROOT\Applications\Photoshop.exe\shell\open\command

Maybe you are looking for

  • Custom connection using many Aplication Modules

    Hi all, for my ADF Swing application I am using custom connection defined in JCLoginDialog: JUMetaObjectManager.setErrorHandler(new JUErrorHandlerDlg()); JUMetaObjectManager mgr = JUMetaObjectManager.getJUMom(); mgr.setJClientDefFactory(null); Bindin

  • Maximum number of connection in use. Close an acti...

    When I am using nokia maps . A popup message comes in as (maximum number of connection in use . Close an active connection) and an option yes or no . When I press yes . The active connections are displayed there are only one active connections when i

  • TC connected to internet, laptop connected to TC but no internet on laptop

    Hi everyone, I'm currently having an issue with my TC. I connected it to my network in order to use it as router. I'm connected to the internet with time warner cable and it seems to be working with a fix ip. Whatever, I configured it manually to pro

  • Static again: methods vs direct access

    Ok, I had the discussion about static some time ago. I made some tests and have another question about that, but this time it will be a long code included. Lets see: TestTest.java import java.io.*; public class TestTest      public static void main(S

  • RenderKitId and ViewHandler in JSF1.2

    I've been reading the JSF 1.2 spec, and I am a bit confused about how the ViewHandler interacts with the view's renderKitId. From the JSF 1.2 Final Draft (May 2006), Section 9.4.20 (f:view) indicates that the renderKitId attribute is set in this orde