ADF - Collections with Arrays Not Displaying
I am using JDeveloper 10.12.
Within the applicaiton I am developing I have the following:
nominalRecord - Java Bean
nominalRecordCollection - Collection of nominalRecords
I have generated a data control from the nominalRecordCollection. The data within each of the nominalRecords is being populated correctly - I know this as I have written a sperate test class to display the data to screen.
I have tried to display this collection using ADF by dragging and dropping the nominalRecordCollection data control onto a data page. Unfortunately this does not seem to be displaying the data correctly.
Some of the data within the nominalRecord is contained within Arrays as there are multiple values. For Example:
String surname;
String firstname;
String[] descriptionCode;
String[] descriptionText;
This is necessary because an individual may have more that one descriptive features - I need to store them like this because an individual can have any number of descriptive features. e.g.
01 - Tattoo
02 - Beard
03 - Wig
etc etc.
When the applicaiton is executed the data that is stored within the String variables within the nominalRecord classes are displayed correctly BUT the data stored within the arrays is not displayed at all.
I've speant the afternoon looking into this but have not managed to find a suitbale solution. Can ADF in fact render Collections that have Arrays in them?
I'd appreciate any help/assistance with this matter.
Thanks in advance for your help
David.
What do the JSTL expressions look like where you're trying to access the nested array values?
See example #45 on my Not Yet Documented examples page of my blog for an example based on your setup here.
http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
Similar Messages
-
ADF swing: JTabbedPane does not display column names.
Hi all,
I have created an ADF Panel, which allows the user to run a few simple queries against an Oracle database done using ADF view objects and ADF view links and ADF application module.
From the data control area I drag and drop a view link containing a query into a JTabbedPane. But when I run the ADF panel, JTabbedPane does not display the column headers from the SQL as opposed to JScrollPane which does.
Suppose you do a select * from departments(dep_id, manager, state_cd), you will see all column headers meaning dep_id, manager, state_cd, and under each column the corresponding data which was retuned by the SQL if you use JScrollPane. But if you use you use JTabbedPane then you would only see the data which was retuned by the SQL without seeing the column header names meaning dep_id, manager, state_cd.
What do I need to do to make JTabbedPane display columns headers?
I would appreciate your input.
Thanks.
Bobby A.Hi,
JScrollPane should be used. You can add this into a JTabbedPane if you like. Not all Swing panel show table headers
Frank -
Problem with data not displaying in website
Hello All,
I am having a problem with one of our applications. It is written in ColdFusion and uses SQL server. The problem that we are having is when we use the URL Http://bma.com (that is not actually the site name) we cannot see all the data that it is suppose to pull in. I get an error on page and when I select to view the error this is what I get
Message: 'WddxRecordset' is undefined Line: 184 Char: 2 Code: 0 URI: http://bma.com/user_maintenance.cfm and Message: 'jsusersTLV' is undefined Line: 3208 Char: 6 Code: 0 URI: http://bma.com/user_maintenance.cfm
If I put the IP address in the URL for example http://165.83.109.246/bma/login.cfm all of the data is displayed as it should.
Any thoughts or sugguestios on how to correct this?
ThanksYes, the user_maintenance.cfm is one of the forms that the data is not displaying on. There are multiple forms in the application and that just happens to be one of them. the login.cfm is just the login screen. Once you select your name and enter your password to the application then you can select the user maintenance form. If you select someones name the application should pull in all of that persons information. That is the problem, it is not pulling in any information on the user. We get a blank screen where data should be. When we use the IP address in the URL and select someones name in the user manintenance form, it pulls in all the data from that user as it should.
-
Need help with code not displaying on the Stage:(
// The following code is for a puzzle i'm trying to create, but it doesn't seem to want to display:
stop();
import flash.display.stage;
import flash.events.stage;
import flash.text.stage;
import flash.utils.stage;
var solve_btn:SimpleButton;
var myFormat:TextFormat;
var theSolution:Array;
var visualGrid:Array;
var showSolutionTimer:Timer;
var s:Sudoku;
var iGridUnsolved:Array;
var showSolutionStepsOrder:Array;
function Solution()
addFrameScript(0,frame1);
return;
}// end function
function randomSort(param1, param2:Object) : int
return 1 - Math.floor(Math.random() * 3);
}// end function
function createGrid() : void
var location_2:TextField = null;
var location_1:int = 0;
while (location_1 < 81)
location_2 = new TextField();
location_2.x = Math.floor(location_1 / 9) * 67 + 108;
location_2.y = location_1 % 9 * 57 + 48 + 20;
location_2.width = 60;
location_2.height = 53;
location_2.defaultTextFormat = myFormat;
if (iGridUnsolved[location_1] != 0)
location_2.text = iGridUnsolved[location_1];
visualGrid.push(location_2);
this.addChild(location_2);
showSolutionStepsOrder.push(location_1);
location_1++;
showSolutionStepsOrder.sort(randomSort);
return;
}// end function
function frame1()
s = new Sudoku();
iGridUnsolved = new Array(3, 5, 0, 4, 6, 0, 2, 0, 0, 6, 0, 0, 1, 0, 2, 0, 4, 0, 0, 1, 0, 3, 0, 0, 0, 7, 8, 0, 0, 4, 0, 1, 8, 5, 0, 7, 0, 6, 5, 0, 0, 0, 9, 8, 0, 0, 0, 7, 6, 5, 0, 1, 0, 0, 7, 8, 0, 0, 0, 6, 0, 2, 0, 0, 2, 0, 8, 0, 9, 0, 0, 3, 0, 0, 0, 0, 7, 1, 0, 5, 6);
visualGrid = new Array();
myFormat = new TextFormat();
myFormat.color = 000000;
myFormat.font = "Arial";
myFormat.size = 24;
myFormat.align = TextFormatAlign.CENTER;
showSolutionStepsOrder = new Array();
createGrid();
theSolution = s.solve(iGridUnsolved);
showSolutionTimer = new Timer(90);
showSolutionTimer.start();
showSolutionTimer.addEventListener(TimerEvent.TIMER, showStep);
solve_btn.addEventListener(MouseEvent.CLICK, Start);
return;
}// end function
function showStep(event:TimerEvent) : void
var location_2:* = showSolutionStepsOrder.pop();
var location_3:* = theSolution[location_2];
var location_4:* = new TextFormat();
new TextFormat().color = 0;
if (visualGrid[location_2].text.length == 0)
visualGrid[location_2].text = location_3;
visualGrid[location_2].setTextFormat(location_4);
if (showSolutionStepsOrder.length == 0)
showSolutionTimer.stop();
event.updateAfterEvent();
return;
}// end function
// Its probably something really small, just can't figure it out myself.Not sure why you are using addFrameScript() - try just calling the funcion, i.e. replace this
function Solution()
addFrameScript(0,frame1);
return;
}// end function
with this
frame1();
Kenneth Kawamoto
http://www.materiaprima.co.uk/ -
Downloaded files with ActiveX not displays using Windows 8 and IE 11
We are using ActiveX for downloading file from our server. After downloading ActiveX decrypt downloaded files. ActiveX works fine with all other IE versions but in case of IE 11, when we download the files ActiveX doesn't throw any error, but when we check
the files at downloaded location, it looks like there was no files downloaded. When we the same process again using "IE 11 using "run as Administrator" the downloaded files displays at the downloaded location.
After debugging, We didn't found error like "access denied or path not found or any other error." with or without Administrator mode. but still facing this issue.
When we download file again using "Browse for Folder" it display the previous downloaded folders, but not exists at the actual location.
Your quick reply will highly appreciated.
ThanksHi,
on the user account.
Tools>Manage Addons>Show all addons>Locate your custom download control in the list and double click it to display its properties.
at the bottom of the Properties dialog there is a list of allowed sites. compare this with the settings on the Administrators account. The value should be the same as on the user account.
If you are talking about the Akami Download manager from TechNet.
Name: DLM Control
Publisher: Akamai Technologies Inc.
Type: ActiveX Control
Architecture: 32-bit
Version: 2.2.6.2
File date: Thursday, 28 June 2012, 4:02 PM
Date last accessed: Wednesday, 24 October 2012, 9:23 PM
Class ID: {4871A87A-BFDD-4106-8153-FFDE2BAC2967}
Use count: 3
Block count: 1
File: DownloadManagerV2.ocx
Folder: C:\Windows\Downloaded Program Files
it is only available in the x86 version.
On server versions of windows you can only download software from MS on the Admin account. By default
http://microsoft.com is mapped to the Trusted sites list...
If possible please post back with the Properties of your custom AX download control from the Manage Addons dialog.
Rob^_^ -
ADF Faces 16 Components not displaying in Disign Tab
I am trying to create a page with the ADF Faces Table component. When I add the component to the page it tells me to restart JDeveloper (as expected). When I restart JDev the page shows up blank in the designer tab. The source tab seems to have all the code.
Also, when I run the project the page does display with the header text but without the table.
Any ideas on how to get the components to show in the designer?btw, here is the jsp code:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/EA16"
xmlns:afh="http://xmlns.oracle.com/adf/faces/EA16/html">
<jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<afh:html binding="#{backing_JSFCustomerUwq.html1}">
<afh:head title="JSFCustomerUwq"
binding="#{backing_JSFCustomerUwq.head1}">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<style type="text/css">
body {
background-color: #ffffff;
</style>
</afh:head>
<afh:body binding="#{backing_JSFCustomerUwq.body1}">
<link href="css/blaf.css" rel="stylesheet" media="screen"/>
<h2>
My Delinquent Customer Work List
</h2>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
<af:table binding="#{backing_JSFCustomerUwq.table1}" banding="Row"
bandingInterval="2" rows="5"
value="#{CustomerUwqBean.customers}" var="DelCustomers"/>
</p>
</afh:body>
</afh:html>
</f:view>
</jsp:root> -
Bulk Collect with FORALL not working - Not enough values error
Hi,
I am trying to copy data from one table to another which are having different number of columns. I am doing the following. But it threw not enough values error.
Table A has more than 10 millions of records. So I am using bulk collect instead of using insert into select from.
TABLE A (has more columns - like 25)
c1 Number
c2 number
c3 varchar2
c4 varchar2
c25 varchar2
TABLE B (has less columns - like 7)
c1 Number
c2 number
c3 varchar2
c4 varchar2
c5 number
c7 date
c10 varchar2
declare
TYPE c IS REF CURSOR;
v_c c;
v_Sql VARCHAR2(2000);
TYPE array is table of B%ROWTYPE;
l_data array;
begin
v_Sql := 'SELECT c1, c2, c3, c4, c5, c7, c10 FROM A ORDER BY c1';
OPEN v_c FOR v_Sql;
LOOP
FETCH v_c BULK COLLECT INTO ldata LIMIT 100000;
FORALL i in 1 .. ldata.count
INSERT
INTO B
VALUES ldata(i);
END LOOP;
COMMIT;
exception
WHEN OTHERS THEN
ROLLBACK;
dbms_output.put_line('Exception Occurred' || SQLERRM);
END;
When I execute this, I am getting
PL/SQL: ORA-00947: not enough values
Any suggestions please. Thanks in advance.Table A has more than 10 millions of records. So I am using bulk collect instead of using insert into select from.That doesn't make sense to me. An INSERT ... SELECT is going to be more efficient, more maintainable, easier to write, and easier to understand.
INSERT INTO b( c1, c2, c3, c4, c5, c7, c10 )
SELECT c1, c2, c3, c4, c5, c7, c10
FROM a;is going to be faster, use fewer resources, be far less error-prone, and have a far more obvious purpose when some maintenance programmer comes along than any PL/SQL block that does the same thing.
If you insist on using PL/SQL, what version of Oracle are you using? You should be able to do something like
DECLARE
TYPE b_tbl IS TABLE OF b%rowtype;
l_array b_tbl;
CURSOR a_cursor
IS SELECT c1, c2, c3, c4, c5, c7, c10 FROM A;
BEGIN
OPEN a_cursor;
LOOP
FETCH a_cursor
BULK COLLECT INTO l_array
LIMIT 10000;
EXIT WHEN l_array.COUNT = 0;
FORALL i IN l_array.FIRST .. l_array.LAST
INSERT INTO b
VALUES l_array(i);
END LOOP;
COMMIT;
END;That at least eliminates the infinite loop and the unnecessary dynamic SQL. If you're using older versions of Oracle (it's always helpful to post that information up front), the code may need to be a bit more complex.
Justin
Edited by: Justin Cave on Jan 19, 2011 5:46 PM -
Collected Tooltip does not display in SSRS 2008 or SSRS 2008 R2 on a pie chart
I've tried everything I can think of, but setting the Custom Property "Collected Tooltip" for a pie chart where there is data that will be "collected" into an "Other" slice doesn't appear to work. I am using SQL Server 2008 and SQL Server 2008 R2,
and neither one seems to display the collected tooltip. I have no difficulty getting a tooltip to appear for all the other slices in the pie, using the series tooltip property. I've searched this forum as well as Google, and the
only things I managed to find with any reference was one page that shows you where all those custom attributes are and how to use them. Is there a bug here, or am I doing something wrong?
SteveHi Steve,
I have reflected the issue to the product team, and confirmed this known issue possibly would be fixed in the next release.
If the issue is urgent to your business, it is recommended that you contact Microsoft Customer Support Services (CSS) via telephone so that a dedicated Support Professional can
assist you in a more efficient manner. Please be advised
that contacting phone support will be a charged call. However, it will be free if this is a product issue.
To obtain the phone numbers for specific technology request please take a look at the web site listed below.
http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
If you are outside the US please see
http://support.microsoft.com for regional support phone numbers.
Regards,
Tony Chain
Tony Chain [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Help with spry not displaying using ssi
Hi,
I have reviewed previous tutorials and can't find where my mistake is. I cut and pasted the code for spry onto an include file with the extention .shtml . I pointed to the file and the header seeems to correct,
My files are root relative
I have a file called includes, you can view the source here
http://crystalbeach.com/funthings/includes.shtml
Here is my link that is supposed to be displaying the spry navigation bar.
http://crystalbeach.com/funthings/index_erinn.shtml
Please help!
thankshttp://crystalbeach.com/funthings/index_erinn.shtml
Line 29
<!--include file="includes.shtml"--> is simply a plain HTML comment. It doesn't do anything.
Change to
<!--#include virtual="/funthings/includes.shtml" -->
This assumes that your include file is named includes.shtml and is always stored inside a folder named "funthings". Many people store includes inside a folder named "includes" in the root folder on the server.
NOTE: the .shtml file extension only applies to the parent page calling the include file.
The include file can have any file extension e.g. menu.monkeybutt where the include code would change to <!--#include virtual="/includes/menu.monkeybutt" --> -
TS3276 Problem with mail not displaying the arrow "replied"
Hi
I having a problem with my mail account. The arrow appearing on the side of a message after being replied do not appear anymore. It is therefore hard for me to keep track if I replied or not to a specific email. The email is still being sent and received.
Any help would be appreciated.I am having the same issue. I have multiple imap accounts and one of the accounts does display the replied to arrow after replying to a e-mail. I have check every setting I can think of, with no sucess.. Any luck fixing this issue??
-
Nested Internal tables with cl_gui_alv_grid - not displaying records
Hi,
I wrote a program using nested internal tables with cl_gui_alv_grid class
At runtime, when I select dropdown on one of the cells (RESWK - driver to the nested table), it does not bring the related record and display it
Does cl_gu_alv_grid support nested internal tables?
Or which class to use
Appreciate reply at the latest
Thanks
Rajeev
Edited by: Thomas Zloch on Feb 7, 2011 4:11 PM - priority reducedHi Rajeev,
Maybe checking out this documnetation will answer your question:
[ALV Grid Control (BC-SRV-ALV)|http://help.sap.com/saphelp_erp2004/helpdata/EN/bf/3bd1369f2d280ee10000009b38f889/frameset.htm]
To my knowledge ALV does not support deep structures.
Kind regards,
Robert -
Issues with Dates not displaying
Hello! I've built a small form with HTMLDB to handle operational tickets/issues/incidents. I've been able to display the data in one page, graph statistics in another but my page where the incidents can be edited has a small issue.
When I click on an edit icon (on pg1) to edit the row, it brings me to page 2 and all the data from that row is displayed EXCEPT for the dates. I've chosen a date picker for that item but in the case where that column was already filled with a date beforehand, it now displays null. All the other data (numbers and varchar2s) display without issue. I can edit the fields and submit the changes and all the changes update correctly (even the dates once new ones are picked) but in some cases I do not want to change that date but display it for informational purposes.
I'm using the TIMESTAMP datatype for those dates by the way.
Thanks,
ThomIndeed! I used the wizard and had the dates as TIMESTAMP datatypes. I changed the datatypes back to DATE for now and it works perfectly. Another satisfied customer! ;-)
Thanks! -
Report with BDC not displaying success message when run in Background
I am running a BDC report in Background mode.The below statement is not capturing the Success message when a document is posted.But when I am running the same in ForeGround mode it is capturing and is displayed in the output.Can anyone please help me in understanding why this is happening and how can I resolve this.
CALL TRANSACTION 'MB1C' USING bdcdata MODE mode UPDATE 'S'
MESSAGES INTO messtab.Hi Madhu,
I think your BDC didnt generated any document when you run it in 'N' screen mode.
Debug your program when you run it in background
Goto Tcode :SM37
Select the job ( march checkbox )
==> in command prompt enter 'JDBG'
==> Then you can start reexecting the job .
You can check the sucess messages accordingly in debug mode
Also add a read statement on messtab for msgtype = 'S'.
Thanks
Bhanu -
RGB pdf with hyperlinks not displaying in RGB
I'm creating a PDF for use online. It began as a print document but I've changed everything to RGB and I want the hyperlinks to display in a bright RGB blue color. (InDesign CS6) When I open the PDF in Acrobat, it displays ONLY THE FIRST PAGE in RGB. All subsequent pages are displaying in CMYK. I have saved this file out every which way, and the only way it seems to preview all pages in RGB is by taking the compatiblity down to Acrobat 4.0. Unfortunately, that does not support the hyperlinks, so that is not an option. Please help. I'm so baffled.
Check the blend space is RGB.
-
Problems with navigator not displaying artboard correctly
I'm having a heck of a time getting my navigator window to only display the artboard, option is selects in nav tab to "only display artboard". The navigator window is always bigger than the image and has extra white space around the artboard settings. Any ideas, I've tried a new preference and windows login, that seemed to work for awhile then it went back.
My thoughts:
Does a placed image with a clipping mask applied have an effect ?
Does the use of numerous compound paths and groups have an effect?
My navigator window is very important to me as I design for mobile devices and I use it to see the design at handheld size.
Any help?On component resize in layeredpane I get the following output:
Layared pane component resized: 2
LayeredPane size: w=540 h=422
LayeredPane Pref size: w=509 h=412
Component 1: x=119 y=114 w=100 h=100
Component 2: x=119 y=219 w=19 h=14
Maybe you are looking for
-
Internet Shareing on Solaris 10
Internet Shareing on Solaris 10 Hi to all I am using solaris 10 on intel based (x86) home pc. There are two interface card . one is being used for local LAN and other is being used for internet connection. Internet connection is working properly. Now
-
USB port not functional at startup
This is 100% reproducible. I plug my 23" Apple Cinema monitor into my new 2.8GHz MacBook Pro. I use a display to DVI connector for the monitor and plug the USB from the monitor into one of the USB ports on the mac. I have a third party mouse and keyb
-
OBIEE 11.1.1.5 installation failed at: Create A Sinstance
hello, I am trying to install OBIEE 11.1.1.5 in my Windows 7 laptop. But, it is always failing at Create A Sinstance: while configuring. I did the following things. Please let me know where I am doing wrong. 1. Ran RCU to create BI_PLATFORM and BI_MD
-
Two Computers two itunes libraries... 1 Iphone
I have two computers - 1 iphone and 2 itunes libraries... is there an easy way to make the two Itunes libraries sync, so i don't have to constanly make sure both libraries match, so it doesn't delete the stuff i want, and so podcasts etc don't downlo
-
AppleScript Ignoring "with timeout" Command
Mac OS 10.4.11 AppleScript 1.10.7 Hi all. I'm experimenting with the idea of using my screensaver as my Desktop Background. In order to continue using a script in the macosxhints site that locks the screen via the keychain menubar item (so I'm not fo