Unable to change pivot Table ADF

Hi Experts,

Jdev 11.1.1.7

Not able to change the PivotTable. When I change the text of table entry value pivots and tab it shows the previous value instead of the new value, here is my code.

I followed below the oracle documentation.

With the help of Table Pivot ADF parts - 11g Release 1 (11.1.1.7.0)

Can someone help me on this please.

< dvt:pivotTable id = "pivotTable1".

value = "#{bindings." Employees1.pivotTableModel}.

Summary = 'abc' var = 'cellData.

contentDelivery = "immediate" >

< dvt:dataCell dataAttribute = "Name" >

< af:inputText value = "#{cellData.dataValue}" id = "it4" > "

< / dvt:dataCell >

< dvt:dataCell dataAttribute = "Name" >

< af:inputText value = "#{cellData.dataValue}" id = "it5" / > "

< / dvt:dataCell >

< dvt:dataCell dataAttribute = "Salary" >

< af:inputText value = "#{cellData.dataValue}" id = "it2" / > "

< / dvt:dataCell >

< dvt:dataCell dataAttribute = "JobId" >

< af:inputText value = "#{cellData.dataValue}" id = "it3" / > "

< / dvt:dataCell >

< / dvt:pivotTable >

In the server log, I got this message < BaseDataCell > < setData > definition of data not supported.

Thank you

Nitesh

Hello

I created the PivotTable based on the employees as shown below table

JSPX code:

value = "#{bindings." Employees2.pivotTableModel}.

inlineStyle = "width: 905px;" var = "cellData.

varStatus = "cellStatus".

Binding = "#{backingBeanScope.test.PivotTable} '"

contentDelivery = "immediate" >

readOnly = "#{eq 17000 cellData.dataValue? true: false}" "

valueChangeListener = "#{backingBeanScope.Test.salValChange} '"

autoSubmit = "true" id = "it1.

partialTriggers = "it1" / >

actionListener="#{bindings.Commit.execute}"/ >

Java code:

{} public void salValChange (ValueChangeEvent valueChangeEvent)

Add the code in the event here...

Pv = UIPivotTable

(UIPivotTable) valueChangeEvent.getComponent () .getParent () .getParent (); retrieve the PivotTable by inputText

DataModel dm = pv.getDataModel ();

CK DataCellKey = (DataCellKey) dm.getCellKey ();

Vector eixoX =

ck.getColumnKey () .getMembers (); Position 0 = describe the X axis, ex: AGE, Position 1 second describe axis X ex: 5 years old

Vector eixoY =

ck.getRowKey () .getMembers (); Position 0 = describe axis, ex: SIZE, Position 1 second = describe axis, ex: HEIGHT ALL

Iterator it = eixoX.iterator ();

String valueInputado =

valueChangeEvent.getNewValue (m:System.NET.SocketAddress.ToString ()); value entered by the user

String Colonneselectionner = ((QDRMember) eixoX.get (0)) () .getData m:System.NET.SocketAddress.ToString ();

String deptid = ((QDRMember) eixoY.get (0)) () .getData m:System.NET.SocketAddress.ToString ();

Dim empid = ((QDRMember) eixoY.get (1)) () .getData m:System.NET.SocketAddress.ToString ();

System.out.println ("Colonneselectionner" + Colonneselectionner + "rowSelect" +)

deptID + ' * ' + empid);

Key k = new key (new Object() {empid});

BindingContainer links =.

BindingContext.getCurrent () .getCurrentBindingsEntry ();

DcIteratorBinding = DCIteratorBinding

(DCIteratorBinding) bindings.get ("Employees2Iterator");

ViewObjectImpl vo = (ViewObjectImpl) dcIteratorBinding.getViewObject ();

Line r = vo.getRow (k);

try {}

r.setAttribute ("salary", new oracle.jbo.domain.Number (valueInputado));

} catch (SQLException e) {}

}

vo.executeQuery ();

AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance ();

adfFacesContext.addPartialTarget (pivotTable);

}

On the value of the seizure of salary changes listener, I use the above given code and finally I use the button confirm to update in DB.

It works for me

Thank you

Nitesh

Tags: Java

Similar Questions

  • How to get the QDR of ADF Pivot table datacell

    JDeveloper 11.1.1.5 version
    Java 1.6
    The ADF faces

    I want to click commandlink in a data cell that sends the value of the header cells to a bean of support. I think that we must get the QDR of a clicked data cell, but how?

    I created the PivotTable: column headers consist of a variable number of dates; row headers consist of the names of the units. The data that cross are a percentage of variance using energy over time. (There is no calculation in the PivotTable, just displaying data from the view).

    ........ 11 Jan 12 13 Jan Jan jan 14. .etc
    Module-1 2.00 5, 25 - 9.30-11.15
    Unit-2 - 554.22 497.00 7.70 2.00
    Unit-3 10.00 - 5, 00 5.00 1.00

    To the cell above it with 497.00 value, the user must click this value (commandlink) and the bean 1) calculate the values of the unit and the date to use as parameter values for ExecuteWithParams under another iterator and 2) navigate to another page using this another iterator.

    It seems that the QDR (reference data) is involved, but can't find enough information about how to implement the same.

    Here are the PivotTable on the jspx:

    < dvt:pivotTable id = "pivotTable1".
    Summary = "reading analytical pivot table.
    value = "#{bindings." CdsaReadingsItfVwView1.pivotTableModel}.
    var = 'cellData.
    varStatus = "cellStatus" >
    < dvt:dataCell >
    < af:commandLink id = "cl".
    Text = "#{cellData.DataValue} '"
    action = "#{pivot_bean.commandlink_action}" / >
    < / dvt:dataCell >
    < / dvt:pivotTable >



    In the bean, we try to getPivotTable(), but it is always null.

    Any direction is welcome.

    David K

    Check how the PivotTable selection demo was created:
    http://jdevadf.Oracle.com/ADF-richclient-demo/faces/feature/PivotTable/pivotTableSelection.JSPX
    Code for this demo here:
    http://www.Oracle.com/technetwork/developer-tools/ADF/documentation/ADF-faces-RC-demo-083799.html

  • Deleted lines flashback: unable to read data - table definition has changed

    Hi all

    Its really Important.

    I unfortunately truncated a table using
    Trancate table mytable;

    and made an alter table to reduce the length of the pricision data.

    But I need back data of tabla

    I used the command to get the deleted lines, below, it shows error.

    query: select * from pol_tot versions between timestamp systimestamp-1 and systimestamp;
    error: ORA-01466: unable to read data - table definition has changed

    query: flashback table pol_tot to timestamp systimestamp - interval '45' minutes;
    error: ORA-01466: unable to read data - table definition has changed

    Well want to share your ideas how can I deleted thoose Records.

    Edited by: 887268 July 8, 2012 12:26

    This

    and Made a alter table to decrease data pricision length.
    

    is the cause of your error.

    Now please do what is obvious.

    -------------
    Sybrand Bakker
    Senior Oracle DBA

  • How to change the default color for tables/pivot tables

    Can someone share how to change the default font color or background for tables and PivotTables? In my view, there is a CSS or XML setting I need to change.

    It is difficult to read the text when negative numbers are RED and the overall totals have a default NAVY background fill. I'm trying to find out how to change the color of these without doing it manually to each report.

    Thank you.

    Jin

    For pivot Table

    Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css

    Change the PivotTable section code

    For table veiw

    Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css

    Change the section of the Table

    PS:take backup your original file before you edit any css file. Don't forget to give the points/close the thread

    Thank you
    saichand.v

  • Unable to draw the table 1 d with a cluster of 2 items on a XY Chart

    I am unable to draw a table 1 d with a cluster of 2 items on a XY Chart. The data displayed at the entrance in the graph, but nothing is drawn. I'm trying to draw a line connecting each point generated.

    You need a registry change on the inside of loops as well.

    But beyond that, you create too complicated a structure.  You create several plots of 1 point and not a single multipoint parcel.

    See attachment for the change that works.

  • Get an "Unable to locate required tables" error at startup

    Original title: unable to locate required tables

    I have windows 7 ultimate 32 bit. When I used my computer last night and stop it, everything was fine. But today morning when I start my PC, instead of the windows loading screen, I get the following message:

    "FATAL ERROR: unable to locate the tables needed to make adjustments." Press any key to continue initialization. "

    When I press a key, it gives a list of options to start windows in:

    (1) safe mode

    (2) safe mode with networking

    (3) safe mode with command prompt

    (4) last known good configuration

    (5) start windows normally

    When I choose the option 4 or 5, the windows of the loading screen (which says "STARTING WINDOWS") appears after which it hangs or restarts.

    When I choose option 1, it loads several files up to a named "CLASSPNP. SYS "(pas sûr dele de nom) after which it hangs or restarts." I tried to start my DVD win 7 to repair my installation but after loading the necessary files, it just reboots or freezes at the loading screen windows.

    My PC Config:

    Intel Dual Core 2.00GHZ

    3 GB RAM DDR2

    Seagate 160GB HDD

    DVD - RW drive LG

    Gigabyte motherboard with BIOS F5 v 945GCMXS2 (I've never risked updated my BIOS).

    I do not have any hardware changes since the last successful startup (which was yesterday). Kindly help me with this problem.

    Try this:
    1. put your BIOS so that it uses the DVD drive as its primary boot device.
    2 start the computer with the Windows 7 repair CD or with your Windows 7 installation DVD.
    3. press a button if you are prompted to start from the DVD.
    4. When prompted, select "Safe Mode Command Prompt".
    5 log in as administrator if you are prompted.
    6. Select repair when prompted.
    7. When you are prompted, select System Restore.
    8. set Windows to a point before this problem occurred.
    _________________________

    If this answer solves your problem, please click "Propose as answer" so that the thread can be closed. Thank you.

  • For Timo: Dynamically create pivot table binding

    Hi Timo,

    Long time ago you have this announcement on a thread:

    "The solution for your use a 2013 DOAG case, I presented was to create binding table pivot out user defined attributes in the table."

    For the defined attributes, VO is created dynamically and the pivot link.

    The pivot link is exchanged during execution as well as the activation of the adequate VO Dynamics to get only the

    necessary data for the pivot table in particular.

    ......

    I can't give you a working example because it is too complex. I can make available slides, but they are in German. "

    We have the same problem.

    Can you please send me this presentation on: email address removed by the moderator - there is no private through this public forum consultation >

    I can't find this Presentation on the Internet.

    Maybe, if you have some examples of simple work, too.

    Kind regards

    Diana

    Diana, you can get the DOAG2013_DynamicPivotTable_virtual7 blades | JDev & ADF Goodies

    The sample is too complex to be made available through my blog.

    Timo

  • Sort data in pivot table

    Hi Experts,

    Here's the requirement I need to sort the text Text_field field say to sort this column, I called another field. Sort_Text_field.

    I have the pivot table as follows

    Can I sort Text_field even if Sort_Text_field is not in the PivotTable on the side.

    Thank you!

    Month1-(Jan) Month2-(Feb)
    Text_fieldMetricValue1MetricValue2


    Thank you!!

    Just in case if helps others. Tim Dexter tanks

    Follow this link: https://blogs.oracle.com/xmlpublisher/entry/new_skool_crosstabbing

    Customization

    One new feature that I discovered this week is the ability to show a single column and sort by another. I got a data set which was extracting the month abbreviations, we wanted to show for months through the top and headers of lines on the side. As you know XSL is not very good with dates, in particular recognizing the names of months. He just wants to sort them alphabetically, so, after comes before Jan, etc..
    A way around this is to generate a number of months to the sides of the month and which allows to sort. We can do that in the crosstab, unfortunately it is not exposed in the user interface still but its doable.

    Go back and take a look at the initial crosstab command. especially the line inputs and columns. There, you will find the sort criteria.

    "ProductsBrand {, o = a, t = t}, PeriodYear {, o = a, t = t}.

    Note these key commas inside the braces? Because there is no field that precedes them, this means that the crosstab should sort on the column before the brace that is PeriodYear. But you can insert another column in the data set to be sorted. For myself how I needed to work.

    <>" _Fund_Type_._Fund_Type_Sort_, o = a, t = n} ';' _Fiscal_Period__Amount__._Amt_Fm_Disp_Abbr_ {_Fiscal_Period__Amount__._Amt_Fiscal_Month_Sort_, o = a, t = n} ';' _Execution_Facts_._Amt_ ';' amount '? >

    Excuse the horribly verbose XML tags, good ol' BIEE: 0) emboldened columns are not in the table, but in the data set. I just open the field, dropped and changed the value type (t) is 'n', number, instead of the default 'a' and my crosstab started sorting how I wanted that it.

    If you find other tips and tricks, please share in the comments.

  • Table ADF attribute Transient refreshing on the scroll bar

    Hello

    I use JDeveloper 11.1.1.6.

    My case is

    I have a SQL based ViewObject that made table ADF, transitional attribute table is there which is the type Boolean data must select several rows in the table for the deleting.

    When the ADF tables retrieves the database lines, I can select/check the transitional attribute and scroll down in the table, then select a few lines more for deletion.

    When I scroll the selected/checked lines become non controlled has refreshed.

    How to stop updating the data from one table of ADF on the scroll bar?

    Please help me...

    Thanks in advance.

    Kind regards

    Shashidhar

    Problem solved, I changed the View object to View object based entity and added transitional attribute in entity object.

    When I scroll down/up the value of fetch VO of EO so I'm getting transitional attribute as checked/selected.

    Thank you

    Shashidhar

  • How can I customize the font size for Pivot Table Section 11 g?

    Hi all

    I'm new to CSS customization, and I followed the suggestions to use tools like Firebug to look at the CSS styles applied to a particular item.

    11 g, I have a report that uses rotating sections of the table to display the numbers associated with the Department in each Department and the sections. Using Firebug, I see that the titles of the Department are on police-size: 9px; by default. The HTML is:

    < class = "PTSC OOLT" td style = "" are-size: 9px; ">"

    I would like to change the font size default to the values of the Section of the Pivot Table so that it displays 11px-size of font instead of 9px for all reports.

    Digging around, I don't see a way to do unless I have use custom styles custom.css and reference in each of my pivot views. Does anyone else have a suggestion how how I can change the default font size without having to create a custom.css entry? We have many existing reports that have been migrated over 10 g that I prefer not to go back and must add a reference to each view simple pivot.

    Thank you.

    Hello

    Please see:
    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/bi/bi1113/customizing_obiee11g/customizing_obiee11g.htm
    and search for "Deployment of a Style Custom"

    Concerning
    Young

  • Convert pivot table to a table in the same answers BI report

    Hello

    I have a simple BI answers report. I used a PivotTable when in fact I have no aggregate
    so it would be faster performance (I said) to use a table for the view, rather than on a pivot table view.


    Is there a quick way to convert a pivot table view to a table view, without having to re - select
    all the columns all over again?

    Thanks a lot for all the replies.

    -Greg

    user1636556 wrote:
    Thanks for your reply. How exactly "choose you as ' a table view. At runtime, I get the view composed upwards.
    Then change the drop-down menu that says "Compound Layout" and choose "Table" currently? I tried that and
    the PivotTable returned at run time. Or do I do 'View Edition' on the existing PivotTable and change something that
    for a Table view?

    Thanks for your help.

    -Greg

    Compound mode is the "view holds that all views." On the upper right side, you can click on the Red 'X' and remove the Pivot Table view. You can then "Add View", and select the Table view. Compound mode will be your title and Table.

    So to answer your question, no, not "change the drop down menu that currently says"Compound Layout"and choose"Table"that takes you only to the view of the Table, because it does not affect the report itself. That's why at run time, you still get the Pivot Table View. Follow my instructions in the previous paragraph. Good luck!

    Edited by: David_T December 9, 2011 10:25

  • Problem with pivot table

    Hello.

    I have a pivot table, and it should update that I change the value of selectOneChoice. I can only view some data in a PivotTable when I choose a value for the first time in selectOneChoice. If I select another value in the SelectOneChoice the PivotTable that is not updated.

    Here is my PivotTable:
     
     <dvt:pivotTable id="pivotTable1"
                                value="#{bindings.TValoresMatrizEnViewUp1.pivotTableModel}"
                                binding="#{backingBeanScope.backing_valoresMatriz.pivotTable1}"
                                contentDelivery="immediate" var="matrix"
                                visible="false" partialTriggers="::socCodigo"
                                rendered="true" 
                               >
                  <dvt:dataCell>
                    <af:inputText value="#{matrix.dataValue}"
                                valueChangeListener="#{backingBeanScope.backing_valoresMatriz.alteraPivot}"
                                autoSubmit="true"
                                partialTriggers="it5"
                                id="it5"/>
                                
                  </dvt:dataCell>
                </dvt:pivotTable>
    Can someone help me?

    My JDeveloper is 11.1.1.4.0

    Thank you

    Hi Marcos,

    Open your page definition and together in the iterator tag refresh properties = 'always' and cacheResults = "false"...

    That that it will solve your problem.

    Kind regards

    Renan

  • ORA-01653: unable to extend the table SYS. ARGUMENT$ 13 in the SYSTEM tablespace

    I created the new database manually.

    When I @?/rdbms/admin/catproc.sql put this sql to execute.

    for some time he said created, granted. but after somewhere, it gives me the error.

    ORA-01653: unable to extend the table SYS. ARGUMENT$ 13 in the SYSTEM tablespace

    Please help me on this.

    Thank you in advance.

    Your query does not tablespace SYSTEM size. It provides a list of tablespaces. And may not be a complete list because I can't UNDO and TEMP tablespace. In all cases, based on the output, you have not created a user storage space, so all the tables you create in SYSTEM tablespace and finally you ran out of space. You need create user storage space if you don't have any. You want to change the non-system and non-system tablespaces value default tablespace users. Even if you don't have a non-system tablespaces, tables will be created in the tablespace default user unless you explicitly specify one. You must move the tables/indexes existing user for the non-system tablespaces.

    SY.

    PS to get the size of the SYSTEM tablespace, you will need to run:

    Select sum (bytes) / 1024/1024 tablespace_size_in_mb
    from dba_data_files
    where nom_tablespace = 'SYSTEM '.

  • 11 total Pivot Table prompt g

    I created a PivotTable in which I have two columns listed in the Pivot Table guest area (formerly area pages in 10 g).

    When you change the PivotTable, the layout section shows a warning next to the Pivot Table guest words icon. I clicked this icon and selected before.

    The drop-down list of the column (far left) ranked first in the Pivot Table of guests watch now an entry of all values higher than retail values, as it should.

    However, the drop-down list for the other column doesn't have an entry of all values .

    In addition, by selecting the entry of all the values for the first column is completely HIDES the drop-down list for column 2 and the PivotTable displays a grand total of all the values for the second column.

    It makes no sense at all. I want to see all values for my first column and be able to continue to select individual values for my second column, or maybe a all the values for the second column.

    It there is no documentation on this feature, because the OBIEE 11 g user's Guide does not contain the string Pivot Table invites.

    This signals that a bug?

    I have not yet explored 11g.
    But in 10g so the columns in the page area are displayed as guests. The messages appear to be cascaded, so only the first column in the page area contains "All Pages" option.
    Try if you can modify the XML to produce the desired effect.

    So I think this isn't a bug with 11g, rather inherited 10 g.

    -bifacts
    http://www.obinotes.com

  • Limit the rows in a Pivot table view in dashboard

    Hello
    I tried the same thing and stuck

    Hi all

    I have the PivotTable in dashboad, but it shows all the lines. so, to limit to 25 I changed the instanceconfig.xml as
    iin mentioned blog
    http://obiee101.blogspot.com/2008/02/OBIEE-controling-pivot-view-behavior.html

    Here's the code for the instanceconfig.xml file
    <?xml version="1.0" encoding="utf-8"?>
    <WebConfig>
       <ServerInstance>
         <pivotview>
         <MaxVisibleColumns>500</MaxVisibleColumns>
         <MaxVisiblePages>2500</MaxVisiblePages>
         <MaxVisibleRows>25</MaxVisibleRows>
         <MaxVisibleSelections>3000</MaxVisibleSelections>
         </pivotview>
       <DSN>AnalyticsWeb</DSN>
    
    <CatalogPath>C:\OracleBI_Home\OracleBIData\web\catalog\ManufacturingHubAnalyzer</CatalogPath>
    <Alerts>
    <ScheduleServer>ORACLE-MOC2</ScheduleServer>
    </Alerts>
    <AdvancedReporting>
    <ReportingEngine>XmlP</ReportingEngine>
    <Volume>XmlP</Volume>
    <ServerURL>http://ORACLE-MOC2:9704/xmlpserver/services/XMLPService</ServerURL>
    <WebURL>http://ORACLE-MOC2:9704/xmlpserver</WebURL>
    <AdminURL>http://ORACLE-MOC2:9704/xmlpserver/servlet/admin</AdminURL>
    <AdminCredentialAlias>bipublisheradmin</AdminCredentialAlias>
    </AdvancedReporting>
    <JavaHome>C:\oracle\PROD\apps\apps_st\comn\util\jdk</JavaHome>
    <BIforOfficeURL>client/OracleBIOffice.exe</BIforOfficeURL>
    <!-- To configure a limited set of languages to be available to users uncomment the <AllowedLanguages> tag below and choose a subset set of language tags from the list. Values must be comma separated. -->
    <!-- <AllowedLanguages>ar,cs,da,de,el,en,es,fi,fr,hr,hu,it,iw,ja,ko,nl,no,pl,pt,pt-br,ro,ru,sk,sv,th,tr,zh,zh-tw</AllowedLanguages> -->
    <!-- To configure a limited set of locales to be available to users uncomment the <AllowedLocales> tag below and choose a subset set of locale tags from the list. Values must be comma separated. -->
    <!-- <AllowedLocales>ar-dz,ar-bh,ar-dj,ar-eg,ar-iq,ar-jo,ar-kw,ar-lb,ar-ly,ar-ma,ar-om,ar-qa,ar-sa,ar-so,ar-sd,ar-sy,ar-tn,ar-ae,ar-ye,cs-cz,da-dk,de-at,de-ch,de-de,de-li,de-lu,el-gr,en-au,en-ca,en-cb,en-gb,en-hk,en-ie,en-in,en-jm,en-nz,en-ph,en-us,en-za,en-zw,es-ar,es-bo,es-cl,es-co,es-cr,es-do,es-ec,es-es,es-gt,es-hn,es-mx,es-ni,es-pa,es-pe,es-pr,es-py,es-sv,es-uy,es-ve,fi-fi,fr-be,fr-ca,fr-ch,fr-fr,fr-lu,fr-mc,hr-hr,hu-hu,id-id,it-ch,it-it,iw-il,ja-jp,ko-kr,ms-my,nl-be,nl-nl,no-no,pl-pl,pt-br,pt-pt,ro-ro,ru-ru,sk-sk,sv-fi,sv-se,th-th,tr-tr,zh-cn,zh-mo,zh-sg,zh-tw</AllowedLocales> -->
    <!-- <Disconnected><ArchiveIbots>true</ArchiveIbots><DisconnectedDir>disconnected</DisconnectedDir></Disconnected> -->
    </ServerInstance>
    </WebConfig>
    then restarted the Server BI and BI presentation server. But still the report dashboard for the pivot table displays all lines.

    I need to make other changes.


    Katia

    HI Katia.
    I suggest you use the pagination

    http://www.biconsultinggroup.com/knowledgebase.asp?CategoryID=198&SubCategoryID=365

    Thank you
    Saichand.v

Maybe you are looking for