Several LOVs for LOV activate view attribute
JDeveloper 11.1.2.3 ADFbc + JSFI have a multiple LOVs of an attribute of the LOV-Enabled view object, (2 of the list of values, SalesRep and managers)
in the ADF Tester model works as expected.
but in the GUI does not work, only the default LOV is indicated, when I change the discriminator value LOV default remain selected,
and then go to the next line (I use the table of entry af:table) LOV changed and select the initial value on the other list. (Partial self submit and triggers are already set up)
any ideas or clues will be welcome.
Thank you
Do you use a LOV Switcher to the ADF BC layer to achieve? You have configured by dependency of attribute for the transient attribute?
Tags: Java
Similar Questions
-
How can I select several values for popup LOV
Hello
I need to select several values for popup lov. Is it possible to select several values from popup lov
Concerning
Veronica BCheck your page now, added a javascript in shared components file > images and a css in the components share > cascading style sheets
I used the plugin below
http://www.erichynds.com/jQuery/jQuery-UI-MultiSelect-Widget/ -
If several LOVs are defined on an attribute
If several LOVs are defined on an attribute how to switch between them please explain with examplehttp://andrejusb.blogspot.com/2008/10/multiple-lovs-per-attribute-in.html
-
Possible BUG: af:query with several LOVs throws bitIndex exception
Hi all
I use the af:query for the search component and I get constantly "bitIndex < 0:-1 error" when searching on a LOV (by typing the value in the part of the LOV not using inputtext does not popup LOV).
Installation program:
I use Jdev 11.1.2.1 with JDEVADF_11.1.2.1.0_GENERIC_110907.2314.6081.
Using the schema HR, I created the entity departments and a Department display object based on the entity.
I created 2 objects of basis for the LOVs SQL view (not from entities not):
1. view LOV departments - select * from departments
2 view of the LOV locations - select * from places
The two views of Lov were created using the wizard with all the default values.
In my opinion main departments (based on the entity), I created 2 LOVs for LocationId and for DepartmentId.
The LOV for DepartmentId returns 2 attributes, DepartmentId and DepartmentName both are mapped to the corresponding attributes in the main view of Department. (I did using the popup "Edit the list of values", in the section 'List return values').
Finally, I dragged the "all searchable attributes" from the control panel of data to a test page, creating a group of ADF query with table
The error:
I type a valid service id in the LOV DepartmentId within the research section and I get the "bitIndex < 0:-1 error.» No results are returned.
When the server running with - Djbo.debugoutput = console I see the following error messages:
CtrlAttrs < JUCtrlValueBinding > < setInputValue > [18415]: exception caching: oracle.jbo.AttrValException: Houston-27019: the get method for attribute "DepartmentName" in the PREMISESof VIEW_USAGE_internal_vci_def_values is not resolved.
< DCBindingContainer > < cacheException > [18416] * updated BindingContainer cache EXCEPTION: oracle.jbo.AttrValException
< DCBindingContainer > < cacheException > [18417] java.lang.IndexOutOfBoundsException: bitIndex < 0:-1
at java.util.BitSet.get(BitSet.java:441)
at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1823)
at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1962)
at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:824)
at oracle.adf.model.bean.DCDataRow.getAttributeInternal(DCDataRow.java:366)
at oracle.adf.model.bean.DCCriteriaValueRowImpl.getAttributeInternal(DCCriteriaValueRowImpl.java:241)
at oracle.jbo.server.ViewRowImpl.getAttrInvokeAccessor(ViewRowImpl.java:906)
at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:854)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1213)
at oracle.jbo.uicli.binding.JUCtrlListBinding.setTargetAttrsFromLovRow(JUCtrlListBinding.java:2799)
at oracle.jbo.uicli.binding.JUCtrlListBinding.setTargetAttrsFromLovRowAndUpdateMRU(JUCtrlListBinding.java:2712)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding.setInputValueInRow(FacesCtrlLOVBinding.java:1163)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValue(JUCtrlValueBinding.java:2926)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValue(JUCtrlValueBinding.java:2889)
to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$ AdfCriterionValues.set (FacesCtrlSearchBinding.java:3589)
at javax.el.ListELResolver.setValue(ListELResolver.java:240)
at oracle.adfinternal.view.faces.model.AdfELResolver.setValue(AdfELResolver.java:162)
at oracle.adfinternal.view.faces.model.AdfELResolverProxy.setValue(AdfELResolverProxy.java:71)
at com.sun.faces.el.DemuxCompositeELResolver._setValue(DemuxCompositeELResolver.java:255)
…
Note:
The search works as expected if I only have a LOV attached to the main view. (if I don't have the Department LOV attached as described above everything works fine)
If both LOVs of DepartmentLOV and LocationsLOV return a single value, the departmnetId and the locationId, without mapping any additional return attributes research as planned as well.
This is test case the simplest I could create to reproduce the error I see in our code.
Here is a link to my test project: [http://www.2shared.com/file/QxZJDfax/bitIndexTest.html]
Help, please
I'm looking for workarounds / fixes.
Any advice would be greatly appreciated.
Thank you
SashaHi Sasha,
which seems related to the bug 12851501 - ARRAYINDEXOUTOFBOUNDSEXCEPTION LIFTING OF VIEWROWSTORAGE CLASS
expected to be fixed in JDeveloper 11.1.2.2.0If you have access to My Oracle Support, there are here available patch (patch 12851501).
Kind regards
Didier.
-
Experts,
I'm trying to create a YOUNG refreshable ON COMMIT MV (xyz) using a table (circuit) and quickly updateable on validation MV (abc), but get an error:
SQL error: ORA-12054: cannot set the attribute ON COMMIT refresh for the materialized view
12054 00000 - "cannot set the refresh attribute COMMIT for the materialized view.
* Cause: The materialized view did not meet the requirements for update to
moment of validation.
* Action: Specify only valid options.
1] MV abc
= MV abc defined as below =.CREATE MATERIALIZED view abc_MV
Immediate CONSTRUCTION
REFRESH QUICKLY YOU COMMIT using constraints of trust
WITH ROWID AS SELECT n.*,.
n.ROWID noderowid
node n
where n.nodetype in (1610000069,1610007267);
-Above works OK and MV connect you on table node is created successfully
=====================================================
[ 2] Circuit Board
======================================================
CREATE MATERIALIZED VIEW LOG ON Cramer.Circuit WITH SEQUENCE, ROWID ( ) -all columns of table ofcircut parentheses
INCLUDING THE NEW VALUES;
-More top works OK and MV connect you on table circuit is created successfully
======================================================
[3] trying to create MV xyz
======================================================
CREATE MATERIALIZED VIEW LOG ON cramer.abc_MV WITH SEQUENCE, ROWID ( ) -all columns of abc_MV brackets
INCLUDING THE NEW VALUES;
-Above works OK and log on ABC MV MV gets created successfully
-Problematic step below
Xyz_MV CREATE MATERIALIZED VIEW
IMMEDIATE CONSTRUCTION
REFRESH QUICKLY YOU COMMIT using constraints of trust
AS
SELECT c., c.rowid circuit_rowid, n.rowid tr_rowid
the circuit c, abc_mv n
where circuit2startnode = n.nodeid
and c.rpplanId = n.rpplanId;
==========================================================Clues on how to solve this problem and make quickly updatable ON Commit MV xyz
Thanks in advance.
Chanchal,
If you can read my original post carefully you may have noticed that all these restrictions will not apply in my case.
All,
In any case I found the solution to my problem.
There are a few additional restrictions for materialized views multilayer
Additional Restrictions for master materialized views
The following types of materialized views may not be masters of editable materialized views:
ROWID
materialized views- Complex materialized views
- Read-only materialized views
I've updated the underlying MV abc below and everything worked like a charm
CREATE MATERIALIZED view abc_MV
Immediate CONSTRUCTION
REFRESH QUICKLY YOU COMMIT using constraints of trust
IN SELECT
n.*, n.rowid noderowid, nt.rowid nodetyperowid
the node n, nodetype_m nt
where n.node2nodetype = nt.nodetypeid
and nt.nodetypeid in (1610000069,1610007267);
Note: To ADD a join without which I was getting error below (although had primary key on the table of the node)
SQL error: ORA-23415: materialized view log for "NODE" does not save the primary key
23415 00000 - "view the log for materialized \"%s\".\"%s\"does not save the primary key.
* Cause: A primary key materialized view is refreshed quickly, but the
The materialized view log does not record the primary key information.
* Action: Use CREATING MATERIALIZED VIEW LOG... Command to add a PRIMARY KEY to
start recording of the primary key information in the materialized view
Newspaper.
-
Need help for query joining views
Hi all
I need to run a query that joins a number of tables with multiple instances of the same view. For example, a view named MY_VALUES, is an array of key / value resembles the following:
Application_ID Attirbute_Description value
1 1 000 basic benefit
1 multiplier 1 0.5
1 Multiplier_2 1.2
1 total profit 1,115
2 1 025 basic benefit
2 multiplier 1 0,268
2 Multiplier_2 1.3
Total profit 2 1.4500
Say I want a query that selects basic earnings and a multiplier 1 for Application ID 1, as well as, other information from a table called APPLICATION that has a relationship to display pk - fk. I would do the following:
Select the application. Name, mv1.value, mv2.value
from dbo. App APPLICATION, dbo. MY_VALUES mv1, dbo. Mv2 MY_VALUES
where app.id = mv1.application_id and mv1.attribute_description = "Basic benefits"
and app.id = mv2.application and mv2.attribute_description = id 'multiplier 1'.
and app.id = 1
My actual query is similar to this. However, I have many other attributes of the notice I need to select, which requires that the view be attached to several times. After 16 these joins, the request is fine. After 17, however, the query runs always, never return a result within 45 minutes I have let it run.
Is there a better way to write such a request or an indicator of optimization that would be useful here?
Any help is greatly appreciated.
....
For this type of application, it is often best to extract multiple lines in a single request on the view and their pivot in the output.
For example
Select the application. Name
, max (CASE when mv.attribute_description = "Core service" then mv.value any other purpose) BaseBenefit
, max (CASE when mv.attribute_description = 'Multiplier 1' then mv.value any other purpose) Multiplier1
, max (CASE when mv.attribute_description = 'Multiplier 2' then mv.value any other purpose) Multiplier2
, max (CASE when mv.attribute_description = 'Multiplier 3' then mv.value end to another null) Multiplier3
from dbo. App APPLICATION, dbo. MY_VALUES mv
where app.id = mv1.application_id
and mv.attribute_description IN ('benefits of home', 'multiplier 'multiplier 'multiplier 3' 2' 1')
and app.id = 1
This runs often much better than several joins to the table for the view or the value of the attribute.
-
Elapsed time for the materialized view vs Master table query
Hello all;
Small confusion about time up for the vs Master materialized view table query
SQL > select count (*), sum (quan_sold), sum (amt_sold) of the sale;
COUNT (*) SUM (QUAN_SOLD) SUM (AMT_SOLD)
6000000 12000000 720480000
Elapsed time: 00:00:30.54
SQL > create materialized view mv1
Materialized view created.
2 activate the rewrite of the query as
3. select count (*), sum (quan_sold), sum (amt_sold) of the sale;
Elapsed time: 00:00:01.45
SQL > select count (*), sum (quan_sold), sum (amt_sold) of the sale;
COUNT (*) SUM (QUAN_SOLD) SUM (AMT_SOLD)
6000000 12000000 720480000
Elapsed time: 00:00:00.01
Please see the three cases "Elapsed Time"...
When comparing other cases.
1. my query takes long time (30.54), extraction of data from the sale
2. create a materialized view takes less time (01:45) why?
Source: http://uhesse.com/2009/07/08/brief-introduction-into-materialized-views/>
Small confusion about elapsed time for the materialized view vs Master table querySQL > select count (*), sum (quan_sold), sum (amt_sold) from the sale.
COUNT (*) SUM (QUAN_SOLD) SUM (AMT_SOLD)
6000000 12000000 720480000
Elapsed time: 00:00:30.54SQL > create materialized view mv1
2 activate the rewrite of the query as
3. select count (*), sum (quan_sold), sum (amt_sold) of the sale;
Materialized view created.
Elapsed time: 00:00:01.45SQL > select count (*), sum (quan_sold), sum (amt_sold) from the sale.
COUNT (*) SUM (QUAN_SOLD) SUM (AMT_SOLD)
6000000 12000000 720480000
Elapsed time: 00:00:00.01Please see the three cases "Elapsed Time"...
When comparing other cases.
1. my query takes long time (30.54), extraction of data from the sale
2. create a materialized view takes less time (01:45) why?
>
Many queries take less time the second time you run them. After the first performance, there may be many, if not all, lines in the buffer cache. Then the second round will not make any or all e/s physical but will obtain data from the buffer cache.Also, you haven't checked that the MV was even used for the second run.
Drop the MV and make the query several times and means of the time. Then create the MV and do the same thing.
-
Large pdf (over 1000 pages) generated files form SSRS crashes when opened in Adobe reader 11 and saved as with "Optimized for fast web view" activated. This saves fine with disabling this option. However, our customers are not ready to accept this solution because they do not want to change any settings. Please suggest if we should create a ticket with microsoft for SSRS allow the generation of pdf quick display of Web pages or is it an option in Adobe to fix this problem without changing the settings.
The SSRS file has Fast Web View: 'No' and that's how Microsoft SSRS generates these files.
Thank you for the complete maxwyss response
As you have indicated, the PDF SSRS seems to have some elements that are quite similar to be supported for fast web view.
We asked customers to disable the fast web view, but the customer is big enough to make a change individually on their machines and so were looking for a solution.
I saw in several forums and a few discussions here as well as disable the fast web view option works for pdf fails.
Which was just wondering if its known that multiple PDFs genarted by third parties may have problems with the optimization, the Save as optimized for fast web view could be disabled by default installation of acrobat reader rather than be enabled by default
Thanks again for the reply!
PS: links indicating similar problems
https://forums.Adobe.com/message/7965091#7965091
https://forums.Adobe.com/thread/1456971
How to fix Adobe Acrobat "save under" error - Digital Factory tool blog
-
Several renditions for iPhone 3/4 and iPhone 5
I need to create a folio iPhone app only viewer with several renditions for iPhone 3/4 and iPhone 5. What is the best way to go about this?
You cannot create a unique folio for iPhone Viewer. You will need to create a multi-folio Viewer, and it must be an iPad + iPhone combined. There is no option for iPhone only.
-
DISTINCT in the SELECT for entities instructions / views - Oracle JDeveloper 11 G
Hi Steve,.
I have a question on the use of DISTINCT in the SELECT for instructions
Entities / views. Oracle JDeveloper 11G ADF / BC4J
-It is unique-
SELECT
separate (GC". "" 'course_title'),
DCM SEC_GRP_PARENT_ID,
of 'grp_courses' GC
-This is NOT unique, but ROWID seems to be mandatory as - PrimaryKey
SELECT
separate (GC". "" 'course_title'),
DCM SEC_GRP_PARENT_ID,
ROWID
of 'grp_courses' GC
How to use this query;
SELECT
separate (GC". "" 'course_title'),
DCM SEC_GRP_PARENT_ID,
of 'grp_courses' GC
and yet still be able to use it in view / entity without a primary key or an equivalent solution.
Thank you and best regards,Use the VO Assistant.
Select (*) access read-only through SQL query
Enter the query statement:
SELECT
separate (GC' '. course_title ") as course_title,.
DCM SEC_GRP_PARENT_ID,
of 'grp_courses' GCThen set the attribute "CourseTitle' as a [x] Key attribute
-
A movie for relaxing family viewing. It was not evaluated and which seemed to be a good family movie. Not 5 minutes into the film, we have made the language is insulting to us and turn it off. Can we delete this movie rentals and choose another?
Contact iTunes Store Support.
Contact info varies by location, but you can find it at the bottom of the web page of the iTunes Store.
-
I lost the toolbar that displays 'file' 'view' 'edit' etc at the top, it is impossible to follow your instructions for using the 'view' option to fix my toolbars. I have no idea how access toolbars without this toolbar - I can't believe this allows this toolbar to delete (I did accidentally while trying to get an another toolbar restored). Thanks for any help
Hi toby,.
on the assumption that you always have access to the navigation bar, right click on the stop button, when the home page is loaded and check the 'Menu Bar' option in the context menu that appears.
If you need more help see the knowledge base article the Navigation buttons such as back, home, bookmarks and recharge are missing
Daniel
-
Can I share a link to a document (for example, a .pdf file) for anyone to view and/or download on iCloud drive? I currently do with Copy.com and Dropbox. If so, how.
Post edited by: mac710
iCloud drive does not have this capability. You must continue to use Dropbox or Copy.com.
-
Ask your parent for permission to view this page...? Please send reply
Ask your parent for permission to view this page
The answer is: ask your parents to unlock.
-
I have a laptop on vista home-use. When you look in the control panel - and then to uninstall, should there be several entries for SQL server, or one or none? Each entry seems to have a different digital denotation, but apparently I should have only one entry maximum.
The reason that I ask is that I have had problems in the software. I want to uninstall everything that is not supposed to be there.
Some lines of programs listed show information... some lines are completed.
When you click on a line that is complete, I am allowed the usuall to uninstall, options etc.
When you click on a line that is not complete, I'm not allowed the option uninstall.
The Compact Edition and the full SQL Server can be installed at the same time without any problems. I saw SQL Server2005 apparently installed by a manufacturer, perhaps to support some software they have grouped in. He could have an Acer.
I do not know what cause the problem with the uninstall option is not available. Information to fill in these fields are in the registry.
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall if you want to watch.
It could be the result of a broken uninstall or a bad registry cleaner. I'm not aware of anything that would fix this. You can try this http://support.microsoft.com/mats/Program_Install_and_Uninstall
but you may have to reinstall programs later.
You need two redistributable Visual C++ if you have programs that need it, which is likely. They had several updates that fits into the list programs. I have two for 2005 and six for 2008.
Maybe you are looking for
-
Hello. I just scrolled support to see if a HP G60 located on Win Vitsa can get Win 7 installed. But I found a sublist for this model. I have not yet bought this laptop and I really don't like Vista so need to know if this model can have the chipset d
-
Original title: control Pasnel: Device Manager Trying to open Device Manager in Control Panel, I get the following error message: "MMC will not work with a version of Internet Explorer prior to version 5.5" OS Vista Home Premium 32 bit SP2 There are
-
Download this whenever I start. Cannot determine what th is app.
The details are; System NullReferenceException: Objectreference not set to an instance of an object. to DDNi.CenterStage.Profile. c_DisplayClass6.c/addInData A - O) I can't determine what application it is, so can't remove or repair or install a new
-
I reloaded windows xp on this laptop. I reinstalled all the drivers I could find. I'm still having a problem with a message (Controller of other network devices) told me that this phone is supposed to have a wifi and yet 2 drivers from the web site w
-
Good idea to save to shared dir *.db files / sdCard?
HelloI was wondering, is it a good idea to save files *.db APP to one of the directories in the file system to backup purposes or Let's save it in the directory without extension ".db"? Any other way to back up the data if sqlite is used? I'm not tot