Matchcode inside a table (selection problem)

Hi,
I'm working on a table that allows the users to edit its values directly inside the table.
Two of the four columns of the table should show, in "editing mode" (ie. when the row is selected/is the LeadSelection), an InputField with a matchcode.
Now, I have the input field with the matchcode attached, I've placed it in a CellVariant. And it "works"... well, sort of...
Because whenever I try to click on the matchcode icon, the matchcode popup is not shown. Instead, it's like I've made a click on the area as if the matchcode icon never existed (if I am clicking on the third column's matchcode, I select the fourth column cell).
A screenshot of the table:
http://www.pchs.it/image-hosting/out.php/i43644_Matchcodeinsideatable.PNG
Do you have any ideas on how to solve this?
Thank you,
Pietro

I've made another discovery while testing the component.
On Firefox 3.6.10: the click on the Matchcode icon does not work, pressing F4 when the cell is selected works
On Explorer 6.0: both methods work
Problem was... I was testing the component with Firefox.
Damned browser (in)compatibility!
See you,
Pietro

Similar Messages

  • ADF Table selection problem

    I'm stumped here... I'm basically cutting and pasting the code below from the ADF doc but I still can't get the selected rows in my table.
    I get a NullPointerException on the first line of the delete method... anyone know what I'm doing wrong? Relevant portion of JSP is also include dat the end.
    public class TableBean {
    private CoreTable table = null;
    private SortableModel model = null;
    private ListDataModel people = null;
    private ArrayList list = null;
    private String message = null;
    public TableBean() {
    // required by bean spec
    public CoreTable getTable() {
    return table;
    public void setTable(CoreTable table) {
    this.table = table;
    public String getMessage() {
    return message;
    public void setMessage(String message) {
    this.message = message;
    public ArrayList getList() {
    if (list == null) {
    list = new ArrayList();
    list.add(new Person(.....))
    ..... add more people ....
    return list;
    public SortableModel getModel() {
    if (model == null) {
    people = new ListDataModel(getList());
    model = new SortableModel(people);
    return model;
    public String delete() {
    RowKeySet keys = table.getSelectionState(); // GETTING A NPE HERE!?!?
    if (keys == null) {
    message = "No selections!";
    return "";
    Object oldKey = table.getRowKey();
    Iterator selections = keys.getKeySet().iterator();
    while (selections.hasNext()) {
    String rowKey = (String) selections.next();
    table.setRowKey(rowKey);
    Person p = (Person) table.getRowData();
    getList().remove(p);
    // restore the old key:
    table.setRowKey(oldKey);
    return "";
         public class Person {
              private String name = null;
              private String address = null;
              private String phone = null;
              public Person(String name, String address, String phone) {
                   this.name = name;
                   this.address = address;
                   this.phone = phone;
    * table.jsp *
    <af:table id="testTable" width="100%" var="row" rows="10"
              value="#{table.model}">
    <f:facet name="selection">
    <af:tableSelectMany text="Select an item and click on a button">
    <af:commandButton text="Edit" action="#{table.edit}" />
    <af:commandButton text="Delete" action="#{table.delete}" />
    </af:tableSelectMany>
    </f:facet>
    <af:column id="name" sortable="true" sortProperty="name">
    <f:facet name="header">
    <af:outputText value="Name" />
    </f:facet>
    <af:outputText value="#{row.name}" />
    </af:column>
    <af:column id="address" sortable="true" sortProperty="address">
    <f:facet name="header">
    <af:outputText value="Address" />
    </f:facet>
    <af:outputText value="#{row.address}" />
    </af:column>
    <af:column id="phone" sortable="true" sortProperty="phone">
    <f:facet name="header">
    <af:outputText value="Phone" />
    </f:facet>
    <af:outputText value="#{row.phone}" />
    </af:column>
    </af:table>

    Hi,
    is the table bound to the CoreTable ? Set the reference to the managed bean and "table" in the Binding property of the table
    Frank

  • How to refresh the list of select one choice which is inside a table?

    Hello I am using Jdeveloper Version 11.1.2.1.0.
    The table is a normal table that is made to look like a treeTable.
    For some rows are or can be parents with Parent_vo_group_id = null and other are children with parent_vo_group_id = vo_group_id of the parent...
    If a children changes its parent_vo_group_id to null it can become a parent as well.
    I am having a select one choice inside a table column. The list comes from the same table with column Name:
    <af:table value="#{bindings.VoGroupAdminView2.collectionModel}" var="row"
                                                      rows="#{bindings.VoGroupAdminView2.rangeSize}"
                                                      contentDelivery="immediate"
                                                      visible="#{bindings.VoGroupAdminView2Iterator.currentRow != null}"
                                                      fetchSize="#{bindings.VoGroupAdminView2.rangeSize}"
                                                      partialTriggers="::soc1" styleClass="AFStretchWidth"
                                                      rowBandingInterval="0" editingMode="clickToEdit"
                                                      binding="#{adminGroupManagementBean.groupTable}"
                                                      selectionListener="#{adminGroupManagementBean.groupSelectionListener}"
                                                      rowSelection="single" id="t5">
                                                <af:column sortProperty="#{bindings.VoGroupAdminView2.hints.Name.name}"
                                                           sortable="false" styleClass="columnData"
                                                           headerClass="tableHeader"
                                                           headerText="#{bindings.VoGroupAdminView2.hints.Name.label}"
                                                           id="c1">
                                                    <af:inputText value="#{row.bindings.Name.inputValue}"
                                                                  requiredMessageDetail="Please enter a group name"
                                                                  label="#{bindings.VoGroupAdminView2.hints.Name.label}"
                                                                  required="true" id="it7" immediate="true" autoSubmit="true"
                                                                  columns="#{bindings.VoGroupAdminView2.hints.Name.displayWidth}"
                                                                  maximumLength="#{bindings.VoGroupAdminView2.hints.Name.precision}"
                                                                  shortDesc="#{bindings.VoGroupAdminView2.hints.Name.tooltip}"
                                                                  contentStyle="#{row.ParentVoGroupId eq null? 'font-weight:bold' : 'padding-left:20px'}"
                                                                  valueChangeListener="#{adminGroupManagementBean.groupNameChangeListener}"
                                                                  partialTriggers="soc2">
                                                        <f:validator binding="#{row.bindings.Name.validator}"/>
                                                    </af:inputText>
                                                </af:column>                                   
                                                <af:column sortProperty="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.name}"
                                                           sortable="false" styleClass="columnData"
                                                           headerClass="tableHeader"
                                                           headerText="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.label}"
                                                           id="c4">
                                                    <af:selectOneChoice value="#{row.bindings.ParentVoGroupId.inputValue}"
                                                                        label="#{row.bindings.ParentVoGroupId.label}"
                                                                        simple="true" immediate="true"
                                                                        required="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.mandatory}"
                                                                        shortDesc="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.tooltip}"
                                                                        id="soc2" autoSubmit="true"
                                                                        unselectedLabel="&lt;null&gt;"
                                                                        valueChangeListener="#{adminGroupManagementBean.parentIdValueChangeListener}"
                                                                        visible="#{row.bindings.ChildrenCount.inputValue eq 0 ? true : false}">
                                                        <f:selectItems binding="#{adminGroupManagementBean.selectOneChoiceList}"
                                                                        value="#{row.bindings.ParentVoGroupId.items}"
                                                                       id="si2"/>
                                                    </af:selectOneChoice>
                                                </af:column>
                                            </af:table> My select one choice uses the same iterator as the table.
    <iterator Binds="VoGroupAdminView2" RangeSize="-1" DataControl="AppModuleDataControl"    id="VoGroupAdminView2Iterator"/>The table uses this view called VoGroupAdminView:
    Select t1.vo_Group_id,     
           t1.name,
           t1.Vehicle_Owner_Id,
           t1.Graphical_Symbol,
           t1.Lm_Comment,
           t1.Parent_Vo_Group_Id ,
           decode (t2.children_count, null, 0, t2.children_count) as children_count
           from
    (SELECT VoGroup.vo_Group_id,     
           VoGroup.name,
           VoGroup.Vehicle_Owner_Id,
           VoGroup.Graphical_Symbol,
           VoGroup.Lm_Comment,
           VoGroup.Parent_Vo_Group_Id
      FROM VO_GROUP VoGroup
    START WITH VoGroup.Parent_Vo_Group_Id IS NULL
    CONNECT BY VoGroup.Parent_Vo_Group_Id = PRIOR VoGroup.Vo_Group_Id
    order SIBLINGS by VoGroup.name) t1,
    (select parent_vo_group_id, count (parent_vo_group_id) as children_count from vo_group
    group by parent_vo_group_id) t2
    where t1.vo_group_id = t2.parent_vo_group_id (+)the ParentVoGroupId attribute has list of values from this view object called VoGroupAdminLov:
    SELECT
        VO_GROUP.NAME,
        VO_GROUP.VEHICLE_OWNER_ID,
        VO_GROUP.PARENT_VO_GROUP_ID,
        VO_GROUP.VO_GROUP_ID
    FROM
        VO_GROUP
    WHERE  VO_GROUP.PARENT_VO_GROUP_ID is null
    and VO_GROUP.VO_GROUP_ID <> ?
    order by  VO_GROUP.NAMEI want to refresh the list of values in the select one choice everytime when i add a new row in the table, delete row in the table or change the value of select one choice component.
    What I have tried:
        public void parentIdValueChangeListener(ValueChangeEvent valueChangeEvent) {
            this.setValueToEL("#{row.bindings.ParentVoGroupId.inputValue}", valueChangeEvent.getNewValue());
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding voGroupAdminIterator = (DCIteratorBinding)bc.get("VoGroupAdminView2Iterator");
            Key selectedGroupKey = voGroupAdminIterator.getCurrentRow().getKey();
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            am.getTransaction().postChanges();
            am.getVoGroupAdminView2().executeQuery(); //refresh the table view object;
            am.getVoGroupAdminLov1().executeQuery(); //refresh the list of values view object
            voGroupAdminIterator.invalidateCache();  //remove the cache of the iterator
            voGroupAdminIterator.setCurrentRowWithKey(selectedGroupKey.toStringFormat(true)); // set the selected row again.
            RichSelectOneChoice soc =
                (RichSelectOneChoice)FacesContext.getCurrentInstance().getViewRoot().findComponent(":pt1:t5:soc2");
            AdfFacesContext.getCurrentInstance().addPartialTarget(soc);
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.groupTable);    
        }When i am adding a new row to the table its select one choice list is refreshed but only for the new row. The rest rows have not updated list of values for their select one choice components.
        public String addGroupButtonAction() {
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            ViewObjectImpl voGroupAdminView = am.getVoGroupAdminView2();
            Row newRow = voGroupAdminView.createRow();
             newRow.setNewRowState(Row.STATUS_INITIALIZED);
            voGroupAdminView.insertRowAtRangeIndex(0, newRow);
            am.getTransaction().postChanges();
            return "null";
        }Edited by: 897833 on Mar 19, 2012 9:07 AM

    I made a button to refresh the value of select one choice and it doesn't work yet.
    So I just move one of the
        public String refreshParentIdSOCButtonAction() {
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding voGroupAdminIterator = (DCIteratorBinding)bc.get("VoGroupAdminView2Iterator");
            Key selectedGroupKey = voGroupAdminIterator.getCurrentRow().getKey();
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            am.getTransaction().postChanges();
            am.getVoGroupAdminView2().executeQuery();
            am.getVoGroupAdminLov1().executeQuery();
            voGroupAdminIterator.invalidateCache();
            voGroupAdminIterator.setCurrentRowWithKey(selectedGroupKey.toStringFormat(true));
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.parentIdSelectOneChoice);  //refresh the binded SOC as you said
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.parentIdSelectOneChoiceList); //refresh the binded list even
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.groupTable); //refresh the table it is in;
            return null;
        }Edited by: 897833 on Mar 23, 2012 2:58 AM

  • Select from nested table in a nested table security problem

    please help
    running Oracle 9.2.0.3.0 on RH AS 2.1
    I can select the inner most nested table as the creator, but can't use the same select statement as USER2.
    ORA-00942: table or view does not exist
    -- begin make of objects and tables
    create or replace type mydata_t as object ( x float, y float);
    create or replace type mydata_tab_t as table of mydata_t;
    create or replace type mid_t as object (
         graphname varchar2(12),
         datapoints mydata_tab_t );
    create or replace type mid_tab_t as table of mid_t;
    create or replace type top_t as object (
         someinfo int,
         more_mid     mid_tab_t );
    create table xyz (
         xyzPK int,
         mainstuff     top_t )
         nested table mainstuff.more_mid store as mid_nt_tab
              (nested table datapoints store as mydata_nt_tab)
    -- grants
    grant all on mydata_t to user2;
    grant all on mydata_tab_t to user2;
    grant all on mid_t to user2;
    grant all on mid_tab_t to user2;
    grant all on top_t to user2;
    grant all on xyz to user2;
    -- insert
    insert into xyz values (1, top_t(22,mid_tab_t(mid_t('line1',mydata_tab_t(
    mydata_t(0,0),
    mydata_t(15,15),
    mydata_t(30,30))))));
    commit;
    -- select fails as user2
    select * from table(select Y.datapoints as DP_TAB
         from table(select X.mainstuff.more_mid as MORE_TAB
              from scott.xyz X
              where X.xyzPK=1) Y
         where Y.graphname='line1') Z;
    -- select works as user2, but i need individual lines
    select Y.datapoints as DP_TAB
         from table(select X.mainstuff.more_mid as MORE_TAB
              from scott.xyz X
              where X.xyzPK=1) Y
         where Y.graphname='line1';

    Thank you for your reply.
    I have tried
    select value(t) from table t;
    but it is still not working. I got almost the same answer as before.
    Anyway thank you very much again.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by MARCELO OCHOA ([email protected]):
    Originally posted by meimei wu ([email protected]):
    [b]I created a nested object-relational table using REF type in oracle8i. when I tried to select * from the table, I got lots of number as the ref type values, but actually, the value in ref type should be of type varchar2 and number. The number I got looked like following code:
    JARTICLE_REF_TYPE(000022020876108427C2FE0D00E0340800208FD71F76103B99B12009C0E0340800208FD71F,
    Does anyone know how I can get the actual value that I inserted into the nested table?
    your help is appreciated.<HR></BLOCKQUOTE>
    Try this:
    select value(t) from table t;
    Best regards, Marcelo.
    null

  • Problem with Spry Panels inside a Table.

    This might be in the wrong section, but I hope someone knows what i'm doing wrong.
    I'm putting together a simple html website with a spry tabbed panel inside a table. I can insert the panel, switch between the different tabs to insert content, but when I preview the page in IE or Firefox all the content is in the first tabbe panel. I can hover over the other tabs but nothing happens when I click on them.
    I am slightly new to dreamweaver so it might just be something i'm overlooking.

    Hi Vinay,
    Check Valery`s great blogs:
    /people/valery.silaev/blog/2005/06/13/master-of-columns-part-i
    /people/valery.silaev/blog/2005/06/20/master-of-columns-part-ii
    For your case this piece of code could be usefull
    private IPrivateTreeTableCV.IEntriesElement currentEntry()
      try
        IWDNodeElement el;
        for
          el = wdContext.nodeEntries().getTreeSelection();
          !( el == null || el instanceof IPrivateTreeTableCV.IEntriesElement);
          el = el.node().getParentElement()
        return (IPrivateTreeTableCV.IEntriesElement)el;
      catch (final WDContextException ex)
        return null;
    Best regards, Maksim Rashchynski.

  • Error in SelectOneChoise inside the table when its atributes are updatable

    I have a table in my page, this table is referenced with a VO. This table have a colunms with SelectOneChoise. The user select a item in that SelectOneChoise and click on "Save" Button, and my application make a update in table.
    But a itens in this SelectOneChoise can change when the user changes a value on the other SelectOneChoise in page.
    Example:
    US: California / New York ( <- this is a SelectOneChoise with 2 itens [ California and New York ] )
    Table
    Id - People Name - City
    1 - Ricky - [if California is selected, then show Cities of California, else show New York's Cities]
    2 - Bianca - [if California is selected, then show Cities of California]
    When the user change a value of SelectOneChoise of US, the Cities inside the table are updatable automatically.
    My problema is:
    When i update the citys in table, return that Error:
    03/02/2009 11:36:35 oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer encodeAll
    SEVERE: Error during partial-page rendering
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:546)
         at java.util.ArrayList.get(ArrayList.java:321)
         at oracle.adf.view.faces.component.UIXCollection.restoreStampState(UIXCollection.java:800)
         at oracle.adf.view.faces.component.UIXTable.restoreStampState(UIXTable.java:431)
    But, this only happens when a US has a smaller number of cities that the current.

    The error only happens when the state that has fewer towns that chose the previous state.
    For example:
    Initially, the state chosen begins empty.
    If the user selects the state 1 (with 5 cities)
    OK, it works 5 cities is greater than 0
    If the user selects the state 2 (with 8 cities)
    OK, it works as 8 cities is greater than 5
    If the user selects the state 3 (with 4 cities)
    ERROR because 4 is less than 8 cities
    That error i show in imagem above.

  • IBooks won't let me highlight text that is inside a table!

    Hey All,
    This seems really silly but when I create a table inside iBooks author and preview it on my iPad, I cannot select text inside the table to highlight, search, or make notes on. It's just a static table. In the book I'm creating, there is so much info inside tables that students will want to highlight and use as study cards so I've got to find a workaround. I know you can highlight text added inside a shape and I've thought about making a bunch of rectangles and fitting the text in there but it's much more work for me and seems like a "mickey mouse" way of doing things. Does anyone have any better solutions I could try?
    Any help would be greatly appreciated, thanks!
    Caleb

    Try deleting it and redownloading.  If that doesn't work, try using the Report a Problem link on your receipt.

  • Selection Problem with JTable

    Hello,
    i have a selection problem with JTable. I want to allow only single cell selection and additionally limit the selection to the first column.
    I preffered the style from MS Outlook Express where you can select the email accounts to edit.
    It is a table like this:
    Account name  |   Type  |   ...
    --------------|---------|---------------------
    Hotmail       |   POP3  |
    GMX           |   IMAP  |The selection should be only avaibable at 'Hotmail' or 'GMX' - not at 'POP3', 'IMAP' or as complete row selection.
    Please help me!
    Thanks.
    Warlock

    Maybe this will helpimport java.awt.*;
    import javax.swing.*;
    public class Test3 extends JFrame {
      public Test3() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        String[] head = {"One", "Two"};
        String[][] data = {{"R1-C1", "R1-C2"}, {"R2-C1", "R2-C2"}};
        JTable jt = new JTable(data, head);
        jt.getColumnModel().setSelectionModel(new MyTableSelectionModel());
        content.add(new JScrollPane(jt), BorderLayout.CENTER);
        jt.setCellSelectionEnabled(true);
        jt.setRowSelectionAllowed(false);
        jt.setColumnSelectionAllowed(false);
        setSize(300, 300);
        setVisible(true);
      public static void main(String[] arghs) { new Test3(); }
    class MyTableSelectionModel extends DefaultListSelectionModel {
      public void setSelectionInterval(int index0, int index1) {
        super.setSelectionInterval(0, 0);
    }

  • JSF Table StyleClass issue for a specific Field inside the Table

    Hi There,
    Am having an issue of dynamically setting the styleClass for a specific field inside a DataTable. Here is how the JSF code is ..
    <h:column>
    <h:panelGrid id="column4" columns="1" cellpadding="0" cellspacing="0">
    <h:inputText id="numberOfApps" value="#{row.submitNumber}" styleClass="#{row.customStyleClass}" maxlength="6" converter="MyNumberConverter" />
    </h:panelGrid>
    </h:column>
    This Table has a specific column which has a input Text Box where user enter's data. This data will be validated in the bean where in after the validation if its exceeding a limit we should throw an error message and also highlight the field with a specific styleClass.
    I am setting the StyleClass dynamically based on the User Input, so that I can display a highlited Error Field on the screen. Strangely enough, styleclass is getting set as expected for the first submit but doesnt show any styles for further submits. Even the existing style is getting removed from the second submit onwards. I am setting this "customStleClass" dynamic parameter as a Bean Property. Am sure these values are properly set coz to make sure I have put an h:output tag inside that table to display the customStyleClass values and they are getting set as expected but I see blank value for the class="" in the source of the Page.
    Any help would be appreciated.
    Thanks
    Edited by: Lalith on Jan 14, 2008 10:23 AM

    One option is you find the data element of that field GUID.
    Now go to SE11 transaction and in data type put that data element and press where used list. In that select tables.
    This will give you a list of tables where that field is used.
    But again if there are lots of them it will be difficult to find.
    The only option in that case is debug the extractor and find out.

  • How to handle table selection

    In the uix guidelines i found the following example on how to handle table selection:
    public static EventResult doSelectionEvent(BajaContext bc, Page page,
    PageEvent event)
    DataObject tableRows = new PageEventFlattenedDataSet(event, "table1");
    int index = SelectionUtils.getSelectedIndex(tableRows);
    String name = "Nothing Selected";
    // make sure that something was selected:
    if (index>=0)
    DataObject row = TABLEDATA.getItem(index);
    name = row.selectValue(null, "name").toString();
    EventResult result = new EventResult(page);
    result.setProperty("action", event.getName());
    result.setProperty("name", name);
    return result;
    It is not clear to me what TABLEDATA is.
    I read in some other thread that it is a DataObjectList and it represents the 'stored dataObjects'.
    I suppose '_TABLE_DATA' is not real code, may i ask for an example with real code to understand what it is?
    Thanks.

    This code works for me, I hope it is useful.
    (NB: i fear you will not read correctly the line
    with the getRowAtRangeIndex instruction. It's a problem with the editor).
    Mauro
    package view;
    import javax.servlet.http.HttpServletRequest;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.controller.struts.actions.DataForwardAction;
    import oracle.cabo.ui.beans.table.SelectionUtils;
    import oracle.cabo.ui.data.ServletRequestDataSet;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    public class GestEsAction extends DataForwardAction
    // To handle an event named "yourname" add a method:
    // public void onYourname(DataActionContext ctx)
    public void onValida(DataActionContext ctx)
    ServletRequestDataSet ds = new ServletRequestDataSet(req,"ReEsamiRichView12");
    int[] indices = SelectionUtils.getSelectedIndices(ds);
    ApplicationModule am = ctx.getBindingContainer().
    getApplicationModule();
    ViewObject vo = am.findViewObject("ReEsamiRichView1");
    int len = indices.length;
    String idEsameRich, currStato;
    for(int i=0; i<len; i++)
    Row row = vo.getRowAtRangeIndex(indices);
    idEsameRich = row.getAttribute("IdEsameRich").toString();
    currStato = row.getAttribute("Stato").toString();
    if (currStato.equals("E"))
    row.setAttribute("Stato","V");
    am.getTransaction().commit();
    // To override a method of the lifecycle, go to
    // the main menu "Tools/Override Methods...".

  • Bug in the table selection size

    An annoying bug in Table controls (LV 8.5/Windows XP/ MacOS 10.5)
    When dealing with whole rows/colums (click in the row/column header), the Table Selection Size is always wrong :
    when columns are selected, the overall table size is returned,
    when rows are selected, the right row number is returned, but the column number is set to 1 !..
    The attached vi shows the problem.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Table select bug.vi ‏17 KB

    Since this bug was a showstopper for my application, I spent some time trying to find a workaround...
    Found one by accident. I don't understand why it works : it should not do anything :
    Detect a mouseUp event in the row/column headers, then read the Selection start position and write it back in the... Selection start position (ie : do nothing) ! That's enough to get the right value out of the Selection size...
    The attached vi illustrate the above story.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Table select bug.vi ‏28 KB

  • Getting squish to work on IE inside accordion which is inside a table

    Greetings all. I'm having trouble getting Squish to work
    inside an accordion, on IE only. Everything works fine in Firefox.
    Now, technically, this isn't a Spry problem; it's a problem with
    the lame HTML I'm currently stuck with. See, everything works fine
    when isolated in its own page. But when I drop the stuff into our
    existing HTML, on IE the squish stops working. What happens is that
    the div the squish is to open simply doesn't open up. it stays
    hidden.
    I've narrowed it down to this: it stops working when I put
    the accordion divs inside a table cell. Yes, I'm stuck with using
    tables for layout at this point and I can't change that. So the
    question is, Is there a way I can get the squish to work in IE with
    the accordion divs inside a table cell?
    Here's the code:
    <TABLE CLASS="bodyTable" cellpadding="0" cellspacing="0"
    width="820">
    <TR>
    <TD CLASS="middleCol" align="left" width="100%"
    id="middleCol">
    <div class="library_Accordion" id="library">
    <div
    id="library_AccordionPanel_1"class="library_AccordionPanel">
    <div
    id="library_AccordionPanelTab_1"class="library_AccordionPanelTab"
    onclick="accordionSetSelectedTabCookie('_accordion_library',0)"><h3>Search
    Library</h3></div>
    <div id="library_AccordionPanelContent_1"
    class="library_AccordionPanelContent">
    <div>
    jjjj
    </div>
    </div>
    </div>
    <div
    id="library_AccordionPanel_2"class="library_AccordionPanel">
    <div
    id="library_AccordionPanelTab_2"class="library_AccordionPanelTab"
    onclick="accordionSetSelectedTabCookie('_accordion_library',1)"><h3>Add
    Custom PDF</h3></div>
    <div id="library_AccordionPanelContent_2"
    class="library_AccordionPanelContent">
    fff
    <input type="checkbox" name="AddToLibrary" value="1"
    onclick="effect.start();resizePanel()">Add upload to Library?
    <div>
    <div id="AddToLibraryDiv" align="left"
    style="visibility:hidden;display:none">
    <p>blah blah blah</p>
    <p>blah blah blah</p>
    <p>blah blah blah</p>
    <p>blah blah blah</p>
    <p>blah blah blah</p>
    </div>
    </div>
    <script type="text/javascript">
    var effect = new Spry.Effect.Squish("AddToLibraryDiv",{from:
    "0%", to: "100%", duration: 100, toggle: true, fps: 90,
    scaleContent: false});
    function resizePanel(){
    document.getElementById('library_AccordionPanelContent_2').style.height="auto";
    document.getElementById('library_AccordionPanelContent_2').style.display="block";
    document.getElementById('library_AccordionPanelContent_2').style.visibility="visible";
    </script>
    </div>
    </div>
    </div>
    <script language="JavaScript" type="text/javascript">
    var library = new
    Spry.Widget.Accordion("library",{enableAnimation:true,steps:10,duration:200,defaultPanel: 0,useFixedPanelHeights:false});
    </script>
    </TD>
    </TR>
    </TABLE>
    Thanks to all for any advice!
    Marc E.

    now this is interesting: it appears that the problem is in
    the construction of the effect widget. if I do this:
    <input type="checkbox"
    onclick="startIt();resizePanel();">check me
    <script>
    function startIt(){
    new Spry.Effect.Squish("AddToLibraryDiv",{from: "0%", to:
    "100%", duration: 200, toggle: true, fps: 90, scaleContent:
    false}).start();
    function resizePanel(){
    document.getElementById('library_AccordionPanelContent_2').style.height="auto";
    document.getElementById('library_AccordionPanelContent_2').style.display="block";
    document.getElementById('library_AccordionPanelContent_2').style.visibility="visible";
    </script>
    Then the div will show up. now, the behavior is wrong in that
    it never disappears because of the way i'm doing it. still, this at
    least leads me to believe that showing/hiding the div inside of an
    accordion inside of a table cell is possible. So I can't use the
    constructor in the normal manner... question is, is there a way to
    do it otherwise?
    thanks all!

  • Text in table alignment problems

    I run into this problem, then fuss around with it forever and
    somehow finally fix it...but this time I can't seem to get it.
    Could someone tell me what is probably something really easy about
    why this darn table is spreading out? I do need it to be 100% high,
    it needs to to to bottom of whatever size page which changes
    depending on content...but why is the text inside the table
    spreading out that way? I think I've got it all left/top
    aligned...?
    Also it only spreads out in FF but in Safari is fine.
    Thanks so much in advance...it's driving me nuts!

    I got it solved...never mind. Thanks :-)

  • Oracle Maps doesn't work inside a table cell?

    Hello everyone,
    I have been using Oracle Maps without a table, but now I need to put the display (&lt;div&gt;) inside a table cell for organization purposes. I noticed that it simply doesn't display the map if I put it there.
    This works and displays the map:
    <body onLoad="loadMainMap()">
          <div id="map_div" style="left:0px; top:0px; width:100%; height:100%; border:2px solid"></div>
    </body>This doesn't display the map (The table and div are there, but no map is shown):
    <body onLoad="loadMainMap()">
        <table>
            <tr>
            <td>
                    <div id="map_div" style="left:0px; top:0px; width:100%; height:100%; border:2px solid"></div>
            </td>
            </tr>
        </table>
    </body>Am I doing something wrong?
    Thanks in advance,
    ~Ruben Jorge

    Hi Ruben,
    That's related to DIV and the inline style you've selected.
    You can try to change the div style with, for example :
    <!--
    <table border=1>
    <tr>
    <td>
    </td>
    <td>
    <div id="map" style="position:absolute;top:100px;bottom:400px;right:150px;left:150px;visibility:visible;overflow:hidden;border:1px"></div>
    </td>
    </tr>
    </table>
    -->
    Or give a try with DIV tables :
    <!--
    <body onload=javascript:showMap();>
    <h3> Exemplo Oracle Maps example - Display de um mapa utilizando DIVs</h3>
         <div id="container">
    <div id="row">
         <div id="left">
              <h4>Left Col</h4>
              <p>...</p>
         </div>
         <div id="map" style="width: 800x; height: 400px">
              <h4>Middle Col</h4>
         </div>
         <div id="right">
         <h4>Right Col</h4>
         <p>...</p>
         </div>
         </div>
    </div>
    </body>
    </html>
    -->
    I've used the following styles :
    <style type="text/css">
    /* <![CDATA[ */
         body {
              margin:0; padding:0;
              font-size:80%;
              font-family: sans-serif;
    #header {
    display: block;
    width: 80%;
    margin: auto;
         #container {
         width: 80%;
         margin: auto;
              padding:0;
              display: table;
              border: 1px solid black;
    #row {
    display: table-row;
         #left {
              width:150px;
              padding:1em;
              background: #EEF;
              display: table-cell;
         #right {
              width:150px;
              padding:1em;
              background:#FEE;
    display: table-cell;
         #middle {
              padding: 1em;
              background:yellow;
    display: table-cell;
    /* ]]> */
    </style>
    Hope it helps!
    Cheers,
    pedro
    Edited by: plopes on May 11, 2009 2:46 PM
    Edited by: plopes on May 11, 2009 4:40 PM

  • Base Table for problem code in Cs_incidents_all_b

    hi
    in cs_incidents_all_b we have problem_code. the does not contain any data ... we have any tl table for problem code i have cssr_prob_code_mapping_detail but if i query this
    SELECT  dra.repair_number,
      items.description item_desc,
      prob.problem_code,
      fndl.meaning flow_status_name,
      inc.summary,
      nvl(cp.instance_number,'Not availble') ib_instance_number
    FROM csd_repairs dra,
      csd_repair_types_tl drtt,
      cs_incidents_all_b sr,
      csi_item_instances cp,
      fnd_lookups fndl,
      csd_flow_statuses_b fsb,
      mtl_system_items_kfv items,
      mtl_units_of_measure_tl uom,
      jtf_rs_resource_extns_tl rstl,
      jtf_rs_groups_tl rgtl,
      fnd_lookups plkup,
      cs_incidents_all_tl inc,
      cs_sr_prob_code_mapping_detail prob,
      cs_incident_types_b ty
    WHERE dra.repair_type_id       = drtt.repair_type_id
    AND drtt.language              = userenv('LANG')
    AND dra.repair_mode            = 'WIP'
    AND dra.incident_id            = sr.incident_id
    AND dra.CUSTOMER_PRODUCT_ID    = cp.INSTANCE_ID (+)
    AND dra.flow_status_id         = fsb.flow_status_id
    AND fsb.flow_status_code       = fndl.lookup_code
    AND fndl.lookup_type           = 'CSD_REPAIR_FLOW_STATUS'
    AND dra.inventory_item_id      = items.inventory_item_id
    AND dra.unit_of_measure        = uom.uom_code
    AND uom.language               = userenv('LANG')
    AND dra.resource_id            = rstl.resource_id (+)
    AND rstl.category (+)          = 'EMPLOYEE'
    AND rstl.language (+)          = userenv('LANG')
    AND dra.owning_organization_id = rgtl.group_id (+)
    AND rgtl.language (+)          = userenv('LANG')
    AND dra.ro_priority_code       = plkup.lookup_code(+)
    AND plkup.lookup_type(+)       = 'CSD_RO_PRIORITY'
    AND items.organization_id      = cs_std.get_item_valdn_orgzn_id
    AND inc.incident_id            =dra.incident_id
    and ty.incident_type_id=sr.incident_type_id
    and prob.incident_type_id=ty.incident_type_id
    AND fndl.meaning in('Open')
    order by dra.repair_numbereach diffrent problem codes for same repair number here i am want records relevant to Depot Repair

    In 11.5.9, the problem and resolution codes are stored in FND_LOOKUP_VALUES table with lookup type as 'REQUEST_PROBLEM_CODE' and 'REQUEST_RESOLUTION_CODE'. I'm hoping you could still use these tables to find problem codes, even if you were on 11.5.10 or R12.
    Join would be something like:
    WHERE fnd_lookup_values.lookup_type = 'REQUEST_PROBLEM_CODE'
    AND fnd_lookup_values.problem_code = cs_incidents_all_b.problem_code
    Regarding restricting the query for Depot Repair service requests, you need to restrict by the the incident_type_id for this type of SRs (like id for Depot incident type is 10003 for us).
    HTH
    Alka

Maybe you are looking for

  • PCIE 3.0 test with MSI Z68A-GD80 G3 :)

    The Z68A-GD80 G3 is MSI’s first motherboard with PCIE 3.0 connectivity. Currently there are no PCIE 3 devices available yet but later on we can test its performance by using a PCIE SSD. Aside from this, the board has also a new UEFI Bios named “Click

  • My Image CLASS MF4350d printer is not recognized by windows 8-64 bit

    My Image CLASS MF4350d printer is not recognized by windows 8-64 bit any help how can i fix the problem. I just bought new HP computer from Future shop and it came with Windows in it. but this windows8 doesnt have drivers for my printer Image Class M

  • My iPhone 5 won't connect to iTunes on my computer

    So, I plugged my iPhone 5 into my computer, and it would just state that it was a camera, but it wouldn't open up into iTunes. After hours of trying to do whatever I could think of, I still don't have it syncing. I can at least get it to state that "

  • How do you copy a video from a disk to a Mac or to an iPad?

    I have a DVD disk with video content that I have rights to copy and use, but I don't know how to copy it onto my computer or my iPad. Can anyone help me?

  • Help with shortcuts

    Remember on a pc you could simpy just click the Fuction keys to set as a programs shortcut, well it seems it does not work on the mac. I want these keys http://www.blogcdn.com/downloadsquad...yskawabata.jpg to be assighned as shortcuts for my Pandora