Read Only table

Sir, I am Rashed From bangladesh. Here, i want to know that if a table as a read only then what i will do and what i will not do like 1)insert 2)update 3)delete 4)Drop 5)all??? which answer is correct and why??? Plz replay me as soon as possible.
sincerely yours
rashed

First of all, let me make you calear that you can't put table in read only mode until unless its tablespace made into read only mode.
the other way you can call as this table is owned by other user and he just gave you read only permission, i.e. select permission.
If you put tablespace into read only mode, then, there are no inserts,deletes,updates,truncate take place. Only you can drop the table.
SJH
OCP DBA

Similar Messages

  • Read-only table with a LOV on a VO's attribute

    Hi,
    I have a VO ('X') that is displayed as a read-only table. 'X' has an attribute called 'SubscriptionId'. The value of 'SubscriptionId' is a foreign key to another table called 'Subscription'. My 'Subscription' database table has a column named 'Description'.
    Example:
    'X' has an attribute 'SubscriptionId' = 14
    DB table 'Subscription' has a row that looks like this:
    14, "A subscription description" (where "A subscription description" is the 'Description' column)
    I set up a LOV for 'SubscriptionId' on my VO 'X', so that it should show the value of 'Description' from 'Subscription' instead of the 'SubscriptionId'.
    If I display my VO 'X' as a form, I can see my LOV (for 'Description').
    However, when I display my VO ('X') as a read-only table, it isn't adhering to the LOV I defined on my VO, and is instead showing the 'SubscriptionId'.
    What do I need to do differently on my table to show the 'Description' instead of the foreign key 'SubscriptionId'? I want it to be just an output text of the Description, not a choice list.
    Thanks,
    Joel

    Hi
    In simple way just set the ReadOnly property of choice list in the coloum = true
    for example
    <af:column sortProperty="EmpId" sortable="true"
    headerText="#{bindings.DocTransactionView1.hints.EmpId.label}"
    id="c2" align="center">
    <af:selectOneChoice value="#{row.bindings.EmpId.inputValue}"
    label="#{row.bindings.EmpId.label}"
    required="#{bindings.DocTransactionView1.hints.EmpId.mandatory}"
    shortDesc="#{bindings.DocTransactionView1.hints.EmpId.tooltip}"
    id="soc4" readOnly="true">
    <f:selectItems value="#{row.bindings.EmpId.items}" id="si3"/>
    </af:selectOneChoice>
    </af:column>

  • How to get a list of displayed columns from a UIX read only table

    I am using JDev 9.0.5.2 ADF UIX. Is there a way to get all the columns and/or column labels displayed in a UIX read only table? I would like to be able to do this in my DataForwardAction.

    Please don't post the same question multiple times.

  • UIX: How to add linked view table columns to the Read-only table

    Hi
    I have two tables
    T1: ID, STAFF_ID, NOTE
    T2: STAFF_ID, USERNAME
    I have created corresponding entity objects (E1, E2), views (V1, V2), association A(E1->E2 as *..1 using STAFF_ID) and viewlink VL(V1->V2 as *..1 using association A).
    My model in AppModule looks like
    V1
    ----V2 via VL
    Now I have single UIX page in which I drop V1 as Read-only table. The table displays columns correctly: ID, STAFF_ID, NOTE
    What I want is to add a column STAFF_ID from the V2 into this table. I have tried to drop it into the table but when the page is run it does not display anything in that column. It has to do something with binding.
    I have done similar test with dropping V1 as read-only FORM and then added STAFF_ID from V2 as messageTextInput and everything is rendered correctly.
    Anyone knows how to do the same thing but with table?

    Yes that is true but I would like to give another example where this may not apply.
    Say I have 3 tables
    CLIENT(INDIVIDUAL_ID,...)
    ADDRESS(ADDRESS_ID,...)
    ADDRESS_HISTORY(ADDRESS_ID, INDIVIDUAL_ID,BEST_ADDRESS)
    where ADDRESS_HISTORY is intersection table in CLIENT to ADDRESS many to many relationship.
    Suppose I have VO2 that consists of ADDRESS and ADDRESS_HISTORY entities (corresponding association exists) and user needs to add new address for the selected customer in VO1 (made from CLIENT entity). There are several issues here:
    1) An input form made out of VO2 must contain an entry for BEST_ADDRESS flag but since it will be read-only, seems that this approach may not work. However, I found a post re:Updating view objects with multiple entities that provides workaround this.
    2) In that case assume that I use DBSequence to automatically add ADDRESS_ID when user inputs new record in this input form. I am using DB Trigger on ADDRESS table and have selected ADDRESS_ID in ADDRESS entity as DBSequence. Now observe that VO2 would contain another ADDRESS_ID from ADDRESS_HISTORY entity which has to be automatically populated with the same value. How?
    In a nutshell my question relates to the problem how to automatically populate intersection table when new record is added to the detail. But the trick is that some attributes of the intersection table must be inserted by the user in the form..
    Please advise

  • Need to Add and Remove Columns of ADF Read Only table from Backing bean

    I have a scenario where I am trying to Populate TransientVO which is shown has a ADF Read Only Table in page.
    I have couple of Check Boxes Based on their selection I am trying to render and hide certain Columns.
    But the Issue which I am facing is only the Column Header seems to change where as the Rows and Values doesnt..
    even If I apply the expression language rendering condition on the outputText inside those columns.. ..
    So I am thinking to add and remove VO Attribute columns to the table from backing bean.
    Need some sample code snippet or a better design to achieve this. Its kind of urgent too...having an aggressive deadline :(
    Please chip in People..
    Thanks in Advance .
    TK

    Table Code..
    <af:table value="#{bindings.InventoryGridTrans.collectionModel}"
                                    var="row"
                                    rows="#{bindings.InventoryGridTrans.rangeSize}"
                                    emptyText="#{bindings.InventoryGridTrans.viewable ? 'No data to display.' : 'Access Denied.'}"
                                    fetchSize="#{bindings.InventoryGridTrans.rangeSize}"
                                    rowBandingInterval="0" id="t4"
                                    partialTriggers="::sbcSales ::sbcUsage ::cb1">
                            <af:column sortProperty="Period" sortable="false"
                                       headerText="#{bindings.InventoryGridTrans.hints.Period.label}"
                                       id="c38">
                              <af:outputText value="#{row.Period}" id="ot33"/>
                            </af:column>
                            <af:column sortProperty="Past12SalesCount"
                                       sortable="false"
                                       headerText="#{bindings.InventoryGridTrans.hints.Past12SalesCount.label}"
                                       id="c29"
                                       rendered="#{backingBeanScope.IndexPageBackingBean.onUsage != true and backingBeanScope.IndexPageBackingBean.onSales == true}">
                              <af:outputText value="#{row.Past12SalesCount}"
                                             id="ot40"
                                             rendered="#{backingBeanScope.IndexPageBackingBean.onUsage != true and backingBeanScope.IndexPageBackingBean.onSales == true}"
                                             visible="#{backingBeanScope.IndexPageBackingBean.onUsage != true and backingBeanScope.IndexPageBackingBean.onSales == true}">
                                <af:convertNumber groupingUsed="false"
                                                  pattern="#{bindings.InventoryGridTrans.hints.Past12SalesCount.format}"/>
                              </af:outputText>
                            </af:column>
                            <af:column sortProperty="Past12UsageCount"
                                       sortable="false"
                                       headerText="#{bindings.InventoryGridTrans.hints.Past12UsageCount.label}"
                                       id="c40"
                                       rendered="#{backingBeanScope.IndexPageBackingBean.onUsage == true and backingBeanScope.IndexPageBackingBean.onSales != true}"
                                       visible="#{backingBeanScope.IndexPageBackingBean.onUsage == true and backingBeanScope.IndexPageBackingBean.onSales != true}">
                              <af:outputText value="#{row.Past12UsageCount}"
                                             id="ot47"
                                             rendered="#{backingBeanScope.IndexPageBackingBean.onUsage == true and backingBeanScope.IndexPageBackingBean.onSales != true}"
                                             visible="#{backingBeanScope.IndexPageBackingBean.onUsage == true and backingBeanScope.IndexPageBackingBean.onSales != true}">
                                <af:convertNumber groupingUsed="false"
                                                  pattern="#{bindings.InventoryGridTrans.hints.Past12UsageCount.format}"/>
                              </af:outputText>
                            </af:column>
                            </af:column>
                    </af:table>

  • Read only table not displaying data

    hi my read only table is not dispalying data when the page load,am in jdeveloper 11.1.1.6.0
    <af:query id="qryId1" headerText="Search" disclosed="true"
                          value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                          model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                          queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                          queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
                          partialTriggers="::t1"/>
              </af:panelHeader>
              <af:panelGroupLayout id="pgl1" halign="left" valign="middle"
                                   layout="vertical" inlineStyle="width:1806px;">
                <af:table value="#{bindings.CfgTablesView1.collectionModel}"
                          var="row" rows="#{bindings.CfgTablesView1.rangeSize}"
                          emptyText="#{bindings.CfgTablesView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.CfgTablesView1.rangeSize}"
                          rowBandingInterval="0" id="t1" width="705"
                          inlineStyle="height:500px;">
                  <af:column sortProperty="Tablename" sortable="false"
                             headerText="#{bindings.CfgTablesView1.hints.Tablename.label}"
                             id="c1">
                    <af:outputText value="#{row.Tablename}" id="ot1"/>
                  </af:column>
                  <af:column sortProperty="Description" sortable="false"
                             headerText="#{bindings.CfgTablesView1.hints.Description.label}"
                             id="c2">
                    <af:outputText value="#{row.Description}" id="ot2"/>
                  </af:column>
                </af:table>it show no data to display even if there is data in the database
    Edited by: adf0994 on 2012/11/15 9:43 AM
    Edited by: adf0994 on 2012/11/15 9:45 AM
    Edited by: adf0994 on 2012/11/15 10:02 AM
    Edited by: adf0994 on 2012/11/15 10:09 AM

    ok i did that is working,but the problem is when the page load it does not display data,i have to click search button and on my query panel and click refersh than able to see data
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:panelHeader text="Maintain Schema" id="ph1"
                      inlineStyle="height:853px; border-color:Lime; border-style:ridge;">
        <f:facet name="context"/>
        <f:facet name="menuBar"/>
        <f:facet name="toolbar">
          <af:outputLabel value="CF-L-017" id="ol1"/>
        </f:facet>
        <f:facet name="legend"/>
        <f:facet name="info"/>
        <af:panelStretchLayout id="psl1" inlineStyle="width:1869px; height:801px;"
                               bottomHeight="345px">
          <f:facet name="bottom">
            <af:panelGroupLayout layout="scroll"
                                 xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                 id="pgl3" inlineStyle="width:1950px;">
              <af:panelStretchLayout id="psl2"
                                     inlineStyle="width:1861px; height:376px;"
                                     endWidth="4px">
                <f:facet name="center">
                  <af:panelHeader text="Fields" id="ph6"
                                  inlineStyle="height:500px; border-color:Lime; border-style:ridge;">
                    <f:facet name="context"/>
                    <f:facet name="menuBar"/>
                    <f:facet name="toolbar"/>
                    <f:facet name="legend"/>
                    <f:facet name="info"/>
                    <af:table value="#{bindings.CfgFieldsView1.collectionModel}"
                              var="row" rows="#{bindings.CfgFieldsView1.rangeSize}"
                              emptyText="#{bindings.CfgFieldsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                              fetchSize="#{bindings.CfgFieldsView1.rangeSize}"
                              rowBandingInterval="0"
                              selectedRowKeys="#{bindings.CfgFieldsView1.collectionModel.selectedRow}"
                              selectionListener="#{bindings.CfgFieldsView1.collectionModel.makeCurrent}"
                              rowSelection="single" id="t2"
                              partialTriggers="::cb2 ::cb5 ::cb6 ::cb4 ::cb3 ::t1"
                              inlineStyle="height:164px;" columnStretching="last"
                              width="918">
                      <af:column sortProperty="Fieldlabel" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Fieldlabel.label}"
                                 id="c7">
                        <af:outputText value="#{row.Fieldlabel}" id="ot4"/>
                      </af:column>
                      <af:column sortProperty="Format" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Format.label}"
                                 id="c4">
                        <af:outputText value="#{row.Format}" id="ot7"/>
                      </af:column>
                      <af:column sortProperty="Type" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Type.label}"
                                 id="c3">
                        <af:outputText value="#{row.Type}" id="ot6"/>
                      </af:column>
                      <af:column sortProperty="Length" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Length.label}"
                                 id="c6">
                        <af:outputText value="#{row.Length}" id="ot3">
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.CfgFieldsView1.hints.Length.format}"/>
                        </af:outputText>
                      </af:column>
                      <af:column sortProperty="Fielddescription" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Fielddescription.label}"
                                 id="c5">
                        <af:outputText value="#{row.Fielddescription}" id="ot5"/>
                      </af:column>
                    </af:table>
                    <af:panelHeader text="Details" id="ph4"
                                    inlineStyle="height:191px; border-style:ridge; border-color:Lime;">
                      <f:facet name="context"/>
                      <f:facet name="menuBar"/>
                      <f:facet name="toolbar"/>
                      <f:facet name="legend"/>
                      <f:facet name="info"/>
                      <af:panelFormLayout id="pfl1" maxColumns="2" rows="3"
                                          partialTriggers="t1"
                                          inlineStyle="width:589px;">
                        <af:inputText value="#{bindings.Fieldlabel.inputValue}"
                                      label="#{bindings.Fieldlabel.hints.label}"
                                      required="#{bindings.Fieldlabel.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Fieldlabel.hints.precision}"
                                      shortDesc="#{bindings.Fieldlabel.hints.tooltip}"
                                      id="it4">
                          <f:validator binding="#{bindings.Fieldlabel.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Format.inputValue}"
                                      label="#{bindings.Format.hints.label}"
                                      required="#{bindings.Format.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Format.hints.precision}"
                                      shortDesc="#{bindings.Format.hints.tooltip}"
                                      id="it3">
                          <f:validator binding="#{bindings.Format.validator}"/>
                        </af:inputText>
                        <af:selectOneChoice value="#{bindings.Type.inputValue}"
                                            label="#{bindings.Type.label}"
                                            required="#{bindings.Type.hints.mandatory}"
                                            shortDesc="#{bindings.Type.hints.tooltip}"
                                            id="soc1">
                          <f:selectItems value="#{bindings.Type.items}" id="si1"/>
                        </af:selectOneChoice>
                        <af:inputText value="#{bindings.Length.inputValue}"
                                      label="#{bindings.Length.hints.label}"
                                      required="#{bindings.Length.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Length.hints.precision}"
                                      shortDesc="#{bindings.Length.hints.tooltip}"
                                      id="it2">
                          <f:validator binding="#{bindings.Length.validator}"/>
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.Length.format}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Fielddescription.inputValue}"
                                      label="#{bindings.Fielddescription.hints.label}"
                                      required="#{bindings.Fielddescription.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Fielddescription.hints.precision}"
                                      shortDesc="#{bindings.Fielddescription.hints.tooltip}"
                                      id="it1">
                          <f:validator binding="#{bindings.Fielddescription.validator}"/>
                        </af:inputText>
                        <f:facet name="footer">
                          <af:panelGroupLayout layout="vertical" id="pgl5">
                            <af:panelGroupLayout layout="horizontal" id="pgl2">
                              <af:commandButton actionListener="#{bindings.First.execute}"
                                                text="First"
                                                partialSubmit="true" id="cb2"/>
                              <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
                                                text="Add New"
                                                id="cb5"/>
                              <af:commandButton actionListener="#{bindings.Commit.execute}"
                                                text="Save"
                                                id="cb7"/>
                              <af:commandButton actionListener="#{bindings.Delete.execute}"
                                                text="Delete"
                                                id="cb6"/>
                              <af:commandButton actionListener="#{bindings.Next.execute}"
                                                text="Next"
                                                partialSubmit="true" id="cb4"/>
                              <af:commandButton actionListener="#{bindings.Last.execute}"
                                                text="Last"
                                                partialSubmit="true" id="cb3"/>
                            </af:panelGroupLayout>
                            <af:commandButton text="Submit" id="cb1"/>
                          </af:panelGroupLayout>
                        </f:facet>
                      </af:panelFormLayout>
                    </af:panelHeader>
                  </af:panelHeader>
                </f:facet>
                <f:facet name="end"/>
              </af:panelStretchLayout>
            </af:panelGroupLayout>
          </f:facet>
          <f:facet name="center">
            <af:panelHeader text="Tables" id="ph2"
                            inlineStyle="height:500px; border-color:Lime; border-style:ridge;">
              <f:facet name="context"/>
              <f:facet name="menuBar"/>
              <f:facet name="toolbar"/>
              <f:facet name="legend"/>
              <f:facet name="info"/>
              <af:panelHeader text="Filter" id="ph3"
                              inlineStyle="height:165px; border-style:ridge; border-color:Lime;">
                <f:facet name="context"/>
                <f:facet name="menuBar"/>
                <f:facet name="toolbar"/>
                <f:facet name="legend"/>
                <f:facet name="info"/>
                <af:query id="qryId1" headerText="Search" disclosed="true"
                          value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                          model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                          queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                          queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
                          partialTriggers="::t1"/>
              </af:panelHeader>
              <af:panelGroupLayout id="pgl1" halign="left" valign="middle"
                                   layout="vertical"
                                   inlineStyle="width:1796px; height:298px;">
                <af:table value="#{bindings.CfgTablesView11.collectionModel}"
                          var="row" rows="#{bindings.CfgTablesView11.rangeSize}"
                          emptyText="#{bindings.CfgTablesView11.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.CfgTablesView11.rangeSize}"
                          rowBandingInterval="0" id="t1" width="833"
                          inlineStyle="height:186px;" columnStretching="last"
                          columnSelection="multiple"
                          partialTriggers="::cb8 ::cb10 ::cb9"
                          rowSelection="single"
                          selectedRowKeys="#{bindings.CfgTablesView11.collectionModel.selectedRow}"
                          selectionListener="#{bindings.CfgTablesView11.collectionModel.makeCurrent}">
                  <af:column sortProperty="Tablename" sortable="true"
                             headerText="#{bindings.CfgTablesView11.hints.Tablename.label}"
                             id="c2">
                    <af:outputText value="#{row.Tablename}" id="ot2"/>
                  </af:column>
                  <af:column sortProperty="Description" sortable="true"
                             headerText="#{bindings.CfgTablesView11.hints.Description.label}"
                             id="c1">
                    <af:outputText value="#{row.Description}" id="ot1"/>
                  </af:column>
                </af:table>
                <af:panelFormLayout id="pfl2" maxColumns="3" rows="1">
                  <f:facet name="footer"/>
                  <af:panelGroupLayout id="pgl6" layout="horizontal" valign="middle"
                                       halign="right" inlineStyle="width:1228px;">
                    <af:inputText value="#{bindings.Tablename.inputValue}"
                                  label="#{bindings.Tablename.hints.label}"
                                  required="#{bindings.Tablename.hints.mandatory}"
                                  columns="#{bindings.Tablename.hints.displayWidth}"
                                  maximumLength="#{bindings.Tablename.hints.precision}"
                                  shortDesc="#{bindings.Tablename.hints.tooltip}"
                                  id="it5">
                      <f:validator binding="#{bindings.Tablename.validator}"/>
                    </af:inputText>
                    <af:inputText value="#{bindings.Description.inputValue}"
                                  label="#{bindings.Description.hints.label}"
                                  required="#{bindings.Description.hints.mandatory}"
                                  columns="#{bindings.Description.hints.displayWidth}"
                                  maximumLength="#{bindings.Description.hints.precision}"
                                  shortDesc="#{bindings.Description.hints.tooltip}"
                                  id="it6">
                      <f:validator binding="#{bindings.Description.validator}"/>
                    </af:inputText>
                    <af:commandButton text="Add New" id="cb8"
                                      actionListener="#{bindings.CreateInsert1.execute}"/>
                    <af:commandButton actionListener="#{bindings.Commit.execute}"
                                      text="Save" id="cb9"/>
                    <af:commandButton actionListener="#{bindings.Delete1.execute}"
                                      text="Delete" id="cb10"/>
                  </af:panelGroupLayout>
                </af:panelFormLayout>
              </af:panelGroupLayout>
            </af:panelHeader>
          </f:facet>
        </af:panelStretchLayout>
      </af:panelHeader>
    </jsp:root>

  • Read only table issue

    By default, read only table should take selected row as current row as long as we have
    selectedRowKeys & selectionListener within table definition. But, it doesn't, why?
    How to resolve this issue? Thanks.

    you can verify your selectionListener event by creating your own custom selection listener
    public void mySelectionListener(SelectionEvent selectionEvent) {
    FacesContext fc = FacesContext.getCurrentInstance();
    String me = "#{bindings.myViewObject1.collectionModel.makeCurrent}"
    MethodExpression myMethodExpr = fc.getApplication().getExpressionFactory().createMethodExpression(fc.getELContext(),me, null, new Class[] {SelectionEvent.class});
    myMethodExpr.invoke(fc.getElContext(), new Object[] {selectionEvent});
    RowKeySet rwKeySet = selectionEvent.getAddedSet();
    and in your jspx <af:table selectionListener="#{package1.view.backing_myBackingBean.mySelectionListener}"/>
    by that way you can atlest verify whats wrong... ,hope this helps,

  • Read only table, need help

    I have an read only table with a check box(updatable) for each row which is the first column and it is part of the table field. The value for the
    checkbox field is Y/N in the database. I replaced the first column with a Select Boolean Checkbox, I can able to see the unchecked check box for each
    row in the browser. But, it doesn't allow me to check/uncheck. How do I make it work and how do I collect checked rows, so that I can update db. Thanks.

    you need to use the converter for Y / N value
    To make custom converter, implement javax.faces.Converter and implement following two methods
    public class ConvertYesNo implements Converter {
    public ConvertYesNo() {
    public Object getAsObject(FacesContext context,
    UIComponent component,
    java.lang.String value){
    //return value that you want to use for your business logic e.g original value from db - in this case,so when you check the chekbox, t will convert back to "Y" or N for unchecked value
    public String getAsString(FacesContext context,
    UIComponent component,
    Object value){
    //return actual 'value' for the component - for e.g "true" or "false" in this case, so when you reterive the Y/N from some static list/db it will convert to true/false
    in your jspx , assuming you will have outputtext
    &lt;af:selectBooleanCheckbox converter="{color:#3366ff}ConvertYesNo{color}" simple="true" value="#{row.bindings.dispFlag.inputValue}"
    autoSubmit="true" immediate="true"
    valueChangeListener="#{DisplayTable.displayFlagHandler}"
    id="searchFlagCheckbox"&gt;
    &lt;f:converter converterId="{color:#3366ff}ConvertYesNo{color}"/&gt;
    &lt;/af:selectBooleanCheckbox&gt;
    and make sure you have the custom converter registered in faces-config.xml
    &lt;converter&gt;
    &lt;converter-id&gt;{color:#3366ff}ConvertYesNo{color}&lt;/converter-id&gt;
    &lt;converter-class&gt;myproject.view.backing.{color:#3366ff}ConvertYesNo{color}&lt;/converter-class&gt;
    &lt;/converter&gt;
    hope this helps

  • Read only table in jdeveloper11

    I use a read only af:table in my page..
    1-as the page loads for first time , I want to navigate between rows as using up/down arrow keys. How can I focus on the first row to navigate...
    2- if I can make partial trigger script , I think I will be able to click the first row of this read only table. Do you have any sample about this click event to the first row of a table?
    3- Or initial focusid of document I want to use to focus on first row but I can't know the id of the fisrt row as I give it an id... How can I reach at this row or column?
    do you have an idea ?

    Hi,
    did you make the table selectable ? as the page loads for first time , I want to navigate between rows as using up/down arrow keys doesn't make much sense to me. assume you want o put focus on the component, is this what you want?
    Frank

  • Sorting a newly-added row within an ADF Read-Only Table

    I'm having a bit of trouble with a situation where I'm adding a new row to the data set behind an ADF Read-Only Table (I'm using 10g), but the new row is popping to the top rather than sorting in according to the sort order. I know this is the default behavior, and I was looking at section 23.4.4 in the Developer's Guide (http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/web_tables_forms.htm#insertedID4 - which is actually for 11g), which advises programmatically queuing a SortEvent after the commit, and implementing a handler to execute the sort.
    The problem I'm having, though, is that my commit and the table I need to refresh are on different pages. I've tried adding a CoreTable binding (masterDetail1) for the table to the backing bean for the add page and doing this in the saveButton_action() method:
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("Commit");
    Object result = operationBinding.execute();
    ArrayList<SortCriterion> masterDetail1SortCriteria = new ArrayList<SortCriterion>();
    SortCriterion discAsc = new SortCriterion("Disc", true);
    SortCriterion trkAsc = new SortCriterion("Trk", true);
    masterDetail1SortCriteria.add(discAsc);
    masterDetail1SortCriteria.add(trkAsc);
    masterDetail1.setSortCriteria(masterDetail1SortCriteria);
    ...but I get a NullPointerException as soon as I try to refer to masterDetail1. I've also tried creating a SortEvent but I'm not sure how to actually queue it or if that'll even work if I don't have a usable reference to the table.
    Any thoughts on how I can do this or on a better way to refresh the table so that the newly-added item falls into the existing sort?
    Edited by: gdmitchell on Jul 19, 2010 2:40 PM
    Edited by: gdmitchell on Jul 19, 2010 2:41 PM

    Hi,
    you cannot reference a table that is located on a different page from a managed bean of another page and expect its JSF binding to be non-null. As soon as a page is moving out of focus, its server side component tree is cleared and the managed bean (if its in request scope) dismissed
    Frank

  • Agile PLM Read Only Tables

    Hello,
    Im working on Agile PLM and facing issues in modifying the 'Change History' for an Item.
    When i'm executing following code-
    ITable table = item.getTable(ItemConstants.TABLE_CHANGEHISTORY);
    Map param = new HashMap();
    param.put(ItemConstants.TABLE_CHANGEHISTORY, "10");
    IRow row = table.createRow(params);
    Following error is observed
    Exception in thread "main" Error code : 60063
    Error message : Object is read-only
    Agile SDK documentation says the table "Change History" is a Read-Only table, how can i make it writable??
    Any pointers in this regards will be helpful.
    Hoping for a response.. :-)

    Hi,
    Only the released/canceled changes with the Affected Items could be listed in the Item's 'Change History' table. You cannot force any data write to Change History directly.

  • UIX - Changing read-only-table row colors

    Hi
    I have the requirement to alternate the background-row-color in an UIX read-only-table dependent on a value in the row.
    Can anybody point me in the right direction of a solution please?
    I'm familiar enough with the styles in the XSS style sheets, and using EL to dynamically change attributes of a UIX web page when rendered. However in the default <table> UIX tag generated by JDeveloper when dragging a data control onto a UIX web page, there doesn't appear to be a <row> tag for changing the background colour?
    Any help appreciated
    I'm using JDeveloper 9.0.5.2.
    Cheers,
    CM.

    I don't know if this works in JDeveloper 9.0.5.2, but there's a solution at least for JDevloper 10.1.2. You have to define a different styleClass (a CSS) for each column, depending on a condition. This solutions works as well together with row banding:
    <column>
      <columnHeader>
        <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.MyView,'Seats')}" text="Seats"/>
      </columnHeader>
      <contents>
        <rowLayout width="100%" styleClass="${ui:cond(uix.current.IsLocked == 'J', 'OraTableCellLocked', '')}">
          <contents>
            <cellFormat>
              <contents>
                <textInput model="${ui:defaulting(uix.current.Seats, ' ')}" columns="10" readOnly="true"/>
              </contents>
            </cellFormat>
          </contents>
        </rowLayout>
      </contents>
    </column>The styleClass "OraTableCellLocked" has to be defined in the file "base-desktop.xss". An example ("Locked" cells are displayed with a red background):
       <style selector=".OraTableCellLocked">
        <includeStyle name="TableCellDataText"/>
        <includeStyle name="TableCellDataVerticalAlign"/>
        <!--<includeStyle name="TableCellDataBackgroundColor"/>-->
        <includeStyle name="TableCellDataBorderColor"/>
        <property name="background-color">#FFA4A4</property>
      </style>Hope this helps, although the original is very old.
    Regards,
    Georg

  • Faces Read-Only Table control - reset column sorting?

    In an ADF Faces Read-Only Table control at runtime, once the user has clicked on a column to resort the table entries based on the clicked column, is there any way to unclear the sort?
    CM.

    In an ADF Faces Read-Only Table control at runtime, once the user has clicked on a column to resort the table entries based on the clicked column, is there any way to unclear the sort?
    CM.

  • URGENT:Read-Only-Table

    I Have a EO/VO called "Customers" and a EO/VO called "authorized".
    Well, in the EO/VO "authorized" I have a attribute "Customer_ID".
    I need show this in Read-Only-Table.
    Customers_Name | Authorized_Name
    AAA xxxx
    AAA yyyy
    BBB vvvv
    1.Structure EO/VO Customers:
    Customers_ID
    Customers_Name
    2. Structure EO/VO Authorized:
    Authorized_ID (PK)
    Customers_ID (PK)
    Authorized_Name
    Please, how to do this ?

    OK,
    I made this and show-me the correct results, but in this table I have two links:
    -> A edit link
    -> A delete link.
    When I click in the links, don't synchronizes.
    Why ?, because in the edit page I have a second iterator ?
    exists a example to this ?

  • Slightly off topic: Read-only tables pre 11g

    Hi gang
    I'm just writing up a database quiz for a local user group and I was hoping I could get a bit of inspiration from the database experts.
    One of the questions will be "prior to 11g with the introduction of read-only tables, how could you make a table read-only?". The answers I've come up with:
    1) Security priviliges (schema + grant SELECT)
    2) Triggers
    3) Create a check constraint with disable validate
    4) Read-only tablespace
    5) Read-only database (standby)
    6) (Slightly crazy) Create view, and instead-of triggers that do nothing (similar to 2)
    7) Write the query results on a piece of paper and then turn the database off
    Anybody have any other answers, real or slightly off topic like mine please? ;)
    Cheers,
    CM.

    Check constraint and trigger solutions may have problems with sqlldr direct path operations, so using it together with alter table disable lock may be mandatory depending on the needs. Especially if DDLs are also wanted to be avoided.
    This topic was once mentioned on Tom Kyte's blog or asktom but I couldn't find the source to link here.
    SQL> conn hr/hr
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Connected as hr
    -- cleaning objects
    SQL> drop table tong purge ;
    Table dropped
    SQL> drop view vw_tong ;
    View dropped
    -- creating the demo table
    SQL> create table tong ( col1 number ) ;
    Table created
    SQL> alter table tong add constraint cc_tong check ( 1=0 ) disable validate;
    Table altered
    SQL> alter table tong disable table lock;
    Table altered
    -- some DDL tests
    SQL> drop table tong ;
    drop table tong
    ORA-00069: cannot acquire lock -- table locks disabled for TONG
    SQL> truncate table tong ;
    truncate table tong
    ORA-25128: No insert/update/delete on table with constraint (HR.CC_TONG) disabled and validated
    SQL> alter table tong parallel ;
    alter table tong parallel
    ORA-00069: cannot acquire lock -- table locks disabled for TONG
    SQL> lock table tong in exclusive mode ;
    lock table tong in exclusive mode
    ORA-00069: cannot acquire lock -- table locks disabled for TONG
    -- some DML tests
    SQL> select * from tong ;
          COL1
    SQL> update tong set col1 = col1 + 1 ;
    update tong set col1 = col1 + 1
    ORA-25128: No insert/update/delete on table with constraint (HR.CC_TONG) disabled and validated
    -- creating dependent objects test
    SQL> create index nui_tong on tong(col1) nologging ;
    Index created
    SQL> create view vw_tong as select * from tong ;
    View created
    added comments to the code
    Message was edited by:
    TongucY

  • Nested Read only tables jdev 10.1.2

    Hi
    I need to display master detail tables on a JSP so that the there is a list of master tables and after each entry there is a list of the detail records followed by the next master record. I tried dropping both of them as read only tables and then putting the c:forEach var="Row" items="${bindings.detailView1.rangeSet} inside the
    c:forEach var="Row" items="${bindings.masterView1.rangeSet}. Unfortunately the pointer to the detail rows never seems to change and the details for the first master record are shown for every record. If I put tracing in the viewRowImpl however it shows that detail records are being accessed for every master record.
    Does anyone know how to display these detail records.
    There is a description of something I could possibly use here
    nested foreach - help
    except that it uses AF and I am using JSPs
    Thanks in advance
    Rob

    Ok... I solved it, though I don't think this is the right way.
    SOLUTION:
    I inserted a formValue into the UIX page like this:
    <formValue model="${bindings.AttributeToUpdate}"
    value="${bindings.TheValue}"
    name="VB_AttributeToUpdate" />The formValue name is very important and must start with VB_ followed by the name of the attribute to update. I figured out this by looking at the generated html code when I inserted the "AttributeToUpdate" as an editable inputtext, it uses the VB_ prefix and was the only way to get the attribute updated.
    Thanks anyway, and if someone knows of another way to do this I'd like to know it.
    Bye.
    Mensaje editado por:
    Fer Domin

Maybe you are looking for

  • ECC 6.0 upgrade and use of IS-Automotive (possible???)

    Hi folks, Weu2019re currently using SAP 4.6c and IS-MP, plan to upgrade to ECC 6.0 and we want to start using functionality covered by IS-Automotive on ECC 6.0. Is it possible to use both industry solutions (IS-MP and IS-Automotive) in parallel / on

  • Tab Preview in Windows 7 Taskbar

    Hello everyone, I'm wondering if it is possible to disable tab preview in Safari 5 on windows 7 taskbar. I find this highly annoying as i just want to see individual instances of Safari (Should i have them that is) and not X amount of tabs in a seemi

  • IPad volume button broken, can't turn volume up

    My iPad fell on the floor (tiles) and it got lightly bashed in where the volume roller bar and volume lock button is on the side of the iPad. The volume icon is now constantly displayed on the screen and I can't turn it up (it is not on mute). Does a

  • Skype 6.22.x UI has gone backwards in terms of rea...

    I can't quite put my finger on it, it could be the colors, or the space difference between all the different elements, but my eyes found the older skype a lot easier to tell the different elements apart from each other. Like when quoting ppl now, I c

  • Premiere Pro CS3 camcorder help

    I've been searching forums and support but can't find where a list of "Supported Camcorders" for Premiere Pro CS3 are. The closest i got was an answer to someone elses similar question which said to search the Knowledge base, (I didn't find crap in t