New ADF mobile - problem from lacking of Table component
Hi, i need a table/grid like component for my mobile app project. There is a List View component in ADF Mobile but isnt enough for me. . How can i create data views like table/grid?
Hi, thanks for your helpful answers. there table component examples that i need, [Example-1|http://www.google.com.tr/imgres?q=table+view&hl=tr&sa=X&biw=1600&bih=775&tbm=isch&prmd=imvns&tbnid=erU0WN9B4NdweM:&imgrefurl=http://www.visokio.com/table-view&docid=X849sJj0ADP7uM&imgurl=http://www.visokio.com/files/Resources/OUGuide/125_UsingViews/Table226/207_SensitivityAnalysis_500x218.jpg&w=500&h=218&ei=2oisUMOOKYTEsgaWtIGIBg&zoom=1&iact=hc&vpx=924&vpy=432&dur=6925&hovh=148&hovw=340&tx=207&ty=51&sig=116509651760517024274&page=2&tbnh=116&tbnw=266&start=27&ndsp=33&ved=1t:429,r:44,s:0,i:202] [Example-2|http://www.google.com.tr/imgres?q=table+view&hl=tr&sa=X&biw=1600&bih=775&tbm=isch&prmd=imvns&tbnid=3A8oz3El1oxSaM:&imgrefurl=http://docs.oracle.com/cd/E21454_01/html/821-2585/dsgn_db2conn-otd_t.html&docid=ipGQMXtyMBFQwM&imgurl=http://docs.oracle.com/cd/E21454_01/html/821-2585/figures/Oracle_Table_View_Columns.png&w=487&h=396&ei=2oisUMOOKYTEsgaWtIGIBg&zoom=1&iact=rc&dur=337&sig=116509651760517024274&page=2&tbnh=133&tbnw=164&start=27&ndsp=33&ved=1t:429,r:43,s:0,i:199&tx=100&ty=58]
Similar Messages
-
Problem with checkbox on table component
Hello i am having a problem with checkbox in table component
i am developing something like a shopping cart app and i have a checkbox in my table component , i want users to select items from the checkbox to add to thier cart, They can select the items from cartegory combobox , my problem is when they select the items from the checkbox if they select another category the alread selected once do not display in my collection opbject please how can i maintain the state of the already selected items in my collection objectHi,
Please go through the tutorial "Understanding scope and managed beans". This is available at:
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/scopes.html
The details of the selected items need to be stored in an object that is in session scope.
Hope this helps
Cheers
Girish -
ADF Report output from PL\SQL Table
Hi,
I am some complex calcualtions in the report and the report has a fixed number of columns and reports. Is there any way i can do all the programming in pl\sql and call this procedure/package from ADF and return the pl\sql table type?
Can i create a VO from pl\sql table?
Thanks,
Lakshmi.On Database
create or replace type empRow as object (
Employee_ID Number,
First_Name Varchar2(20),
Last_name Varchar2(25)
create or replace type empTable as table of empRow;
create or replace function getEmployees
(aDepartmentID Number)
return empTable
PIPELINED
as
begin
for rec in (select Employee_ID, First_Name, Last_name
from employees
where Department_ID = aDepartmentID) loop
pipe row(new empRow(rec.Employee_ID, rec.First_Name, rec.Last_name));
end loop;
return;
end;
THEN create a VO based on this Query below:
select * from table(getEmployees(:deptid)
and you are ready to Go. -
Problem in deleting row from database in table component
Hi,
I have a table component that its content change by diffrent links.
in this table i have a hyperlink in each row to deleting that row from dataBase.
so i must get the current row .
i do it like this:
define a rowset in the page that have a delete query :
delete from response where responseID=?
in action of delete hyperlink ,i have:
Integer responseId=(Integer)responseDataProvider.
getValue("#{currentRow.value['responseID']}") ;
getSessionBean1().getResponseRowSet().setObject(1,responseId);
getSessionBean1().getResponseRowSet().execute();
but in first line occure a exception:
illigalArgument #{currentRow.value['responseID']}
thanks.by using data table
first you should get current record (row that recived action)
then delete it by using data provider.
I do not think that you could execute delete statement using rowSets because they just can provide Select statements.
btw , following code will retrive clicked row from data table and
delete that row
try {
RowKey rk = getTableRowGroup1().getRowKey();
if (rk != null) {
testDataProvider.removeRow(rk);
testDataProvider.commitChanges();
} catch (Exception ex) {
log("ErrorDescription", ex);
error(ex.getMessage());
hth
masoud -
Data Transfer problem from cursor to table
Hi ,
I created one Extract FM to extract data through a Datasource by RAS3. When i run the FM directly the cursor value (S_CURSOR) is displayed as 3850 and when i try to transfer using FETCH NEXT to a internal table (E_T_DATA) 498 entries populated but if i open the table all lines are blank. Pls help me. i.e. E_T_DATA[] = 498
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT MATNR
FROM MARA AS A "INNER JOIN MARC AS C
"ON A~MATNR = C~MATNR
"INTO TABLE E_T_DATA
WHERE MATNR IN L_R_MATNREAN
AND MTART IN ('ZPLU','ZPAK',
'ZCOM','ZTIN',
'ZSCR','ZEXW',
'ZCOU','ZGVR')
AND EAN11 = ''
AND ATTYP = '00'.
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE S_S_IF-MAXSIZE.
IF SY-SUBRC <> 0.
CLOSE CURSOR S_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.first of all you have to put your FETCH into a DO ... ENDDO
-
Hello -
I am so frustrated with the ADF Mobile deployment. I have already created couple of Android Apps using the native language and never faced problems like this. I am very familiar with ADF development as well.
Anyways this is my problem.
I downloaded the sample adf mobile app from the following tutorial, but I was unable to deploy it on the Android emulator in Release mode. The debug mode takes for ever.
Oracle JDeveloper 11g Release 2 Tutorials - Building Mobile Applications with Oracle ADF Mobile
This is the error messages I am getting:
[11:02:51 PM] ---- Deployment started. ----
[11:02:51 PM] Target platform is (Android).
[11:02:51 PM] Beginning deployment of ADF Mobile application "Employees" to Android using profile "Android3".
[11:02:51 PM] Deployment cancelled.
[11:02:51 PM] ---- Deployment incomplete ----.
[11:02:51 PM] The following Android preference configuration is missing or invalid. Set these options in JDeveloper Preferences on the ADF Mobile panel:
Key Password
(oracle.adfmf.framework.dt.deploy.android.deployers.ValidatePreferencesDeployer)
I generated the keystore using keygen per the tutorial and it doesnt't help.
This is how I validated the keystore.
C:\Oracle\MiddlewareMob\jdk160_24\bin>keytool -list -keystore emp.keystore
Enter keystore password:
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
empl, Nov 19, 2013, PrivateKeyEntry,
Certificate fingerprint (MD5): 8A:27:53:64:B3:AF:01:CA:9C:2F:47:2A:50:16:E4:40
C:\Oracle\MiddlewareMob\jdk160_24\bin>
I tried recreating the keystore couple of times, but it didn;t help. I know the password entered is correct.
Any suggestions will be appreciated. Also, I started learning JQuery Mobile in parallel.
Thanks,
-SThanks for the reply Shay!
Here are the settings:
Android SDK location: C:\Android\sdk (This is where I extracted the Android SDK)
Plat form Location : C:\Android\sdk\platforms\android-17
Android Buid Tools Location: C:\Android\sdk\platform-tools
Keystore location : C:\Oracle\MiddlewareMob\jdk160_24\bin\emp.keystore
Key Alias : empl
Directory of C:\Android\sdk\platforms\android-17
11/19/2013 10:13 PM <DIR> .
11/19/2013 10:13 PM <DIR> ..
11/19/2013 10:13 PM 19,090,582 android.jar
11/19/2013 10:13 PM 1,416 build.prop
11/19/2013 10:13 PM <DIR> data
11/19/2013 10:13 PM 2,362 framework.aidl
11/19/2013 10:13 PM 209 sdk.properties
11/19/2013 10:13 PM <DIR> skins
11/19/2013 10:13 PM 16,802 source.properties
11/19/2013 10:13 PM <DIR> templates
11/19/2013 10:13 PM 8,800 uiautomator.jar
6 File(s) 19,120,171 bytes
5 Dir(s) 39,479,033,856 bytes free
I tried this from a different machine and I am getting the same error there too.
Pls advise.
Thanks! -
Difference between Oracle ADF Mobile and Oracle ADF Mobile Client.
Hi Experts,
I am new ADF Mobile app development. I found docs for Oracle ADF Mobile here as [http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/toc.htm]. I was following it sequentially.
But when i searched for achieving offline data , data synchronization and using database for Mobile apps, i got another docs link [http://docs.oracle.com/cd/E23549_01/doc.1111/e14826/toc.htm] which is for Oracle® Fusion Middleware ADF Mobile Client .
So I got confused which one to prefer over the other..? Both support on device mobile apps.
do they have any difference over other or data sync & db features are not available for Oracle ADF Mobile..? & available only for Oracle ADF Mobile Client..?
It would be much helpful if someone could provide clear difference between these two technologies.
Thanks,
Praveen S KI made a topic and the 'same' question popuped up.
( ADF Mobile: Data synchronization )
In Mobile Client iOS is not supported, in ADF Mobile it is. That's the main difference (in my opinion). -
Hi,
according to the unsupported features list on http://docs.oracle.com/cloud/CSJSU/feat_implement.htm#CEGBGCCE
it states that
- ADF Mobile
is unsupported and there is no applicable alternative.
What does it actually mean ? I don't see a direct relation from ADF Mobile to cloud computing.
Does it mean that
- ADF Mobile Apps are not allowed to consume WebServices on Oracle Cloud?
- Oracle Cloud does not allow to deploy WebServices which could be consumed by ADF Mobile Apps?
- Since ADF Mobile works from Version 11.1.2.3+ and Oracle Cloud is on 11.1.1.6 ADF Mobile is not supported?
- Or is it just a documentation bug?
Thanks for any hints,
Andreas Koop
PS: Also posted on ADF Forum: ADF Mobile on Oracle Cloud
Edited by: Andreas Koop on Jan 9, 2013 10:59 PMHi Andreas, thanks for raising this.
ADFmobile as you know is a framework to built applications that run on phone/tablet devices. They can absolutely invoke/consume web services running on Oracle Cloud including web services hosted on ADF applications running in Oracle Java Cloud Service. There is a section on just this in ADFMobile documentation: http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/cloud.htm#CHDEGCIF
We will update the documentation you pointed to so we remove the confusion.
thanks,
Gangadhar -
ADF mobile: doc for supported css available?
Hi,
jdev 11.1.2.3.0 + mobile extension.
Is there any documentation available which css functionality (known from ADF web applications) is available for ADF mobile and which limitations are known?
e.g.: is -tr-rule-ref supported?
I have already checked the adf mobile samples from Oracle but without success and I could not make a -tr-rule-ref example working for ADF mobile.
regards
PeterHi,
I know this statement from Oracle site.
But:
- As far I know -tr-rule-ref is not CSS3 standard but trinidad/ADF extension
- Even there is no documentation available I know a couple of areas where things are "not supported yet" in ADF mobile.
But anyway I guess the best way to go is to open an SR for this to get clarification.
KR
Peter -
How to get data from crosstab or table?
hi !
i develop my app with bib 9.0.3.1 . To customize my report,i must get data from crosstab or table component (presentation bean) and generate defined XML file ,can you tell me how to do ?hi paul
the sample code like this:
try{
DataAccess dataAccess = thinDataview.getModel().getDataAccess();
int rowCount = dataAccess.getEdgeExtent(DataDirector.ROW_EDGE);
int colCount = dataAccess.getEdgeExtent( DataDirector.COLUMN_EDGE );
for ( int i=0; i<rowCount; i++ )
for( int j=0; j<colCount; j++ )
String dataValue = dataAccess.getValue( i,j,DataMap.DATA_UNFORMATTED).toString();
}catch( Exception e ){
System.out.println( e.getMessage() ); -
ADF Mobile sample - palm simulator and jar problem
Hello.
I got a few problems with ADF mobile tutorial. (http://www.oracle.com/technology/products/jdev/101/tutorials/wireless/mobile2.html)
1. Palm Simulator has no web browser.
As per description under Prerequisites I downloaded the newest Palm Simulator (and some older version too). My Palm Simulator has no web browser. I found nothing how to add or enable web browser. In tutorial screenshots the Palm Simulator has always a browser.
Where can I get a Palm Simulator with web browser or where can I get a free PPC Simulator for testing my application?
2. Incompatible jar-files.
Im using JDeveloper 10.1.3.0.4.3673. I think this is the newest version. Mobile.zip contains adf-faces-impl.jar and jsf-impl.jar. Both files have version 10.1.3.0.5. JDeveloper contains this files too. But version is 10.1.3.0.4! On starting oc4j I got an error with information about this version conflict.
What is wrong on my environment? Did I miss important files? I found no newer ADF files at oracle web site. My solution is to replace the files in Mobile.zip with the older files from JDeveloper.
With best regards
C. SchmüllingHello Christian,
The Palm simulator doesn't include a Web browser by default, You have to install it> Here is the URL where you can download the software: http://www.palmos.com/dev/tech/webbrowser/
Concerning the jar-files it shouldn't be a problem. Just use the jar versions delivered with the Mobile.zip and it should run.
Regards -
Creating new feature in ADF mobile application creates unnecessary folders
Hi,
Jdev 11.1.2.3.0 with ADF mobile extension
Windows 7, 64 bit.
When I create a new feature in a ADF mobile application and change the name of the feature in the create wizard Jdeveloper creates some unnecessary folders.
e.g.:
- Default package of the mobile application is "com.name.mobile"
- I entered the feature name "testFeature1" in the create-feature wizard.
--> follwing folders has been created:
- com.name.mobile.tes
- com.name.mobile.testFeature1
In some of my tests up to 4 directories has been created for 1 new feature.
I have opened windows file explorer parallel to Jdeveloper and opened the folder where the sub-folders for the feature will be created.
So I was able to see at which action the folders are created.
It definitelly happens when using backspace key!
Sometime it happens then the last character has been deleted from the name field and sometimes it happens earlier.
Problem:
=======
I have created an SR on metalink for this but unfortunatelly the support engineer is not able to reproduce the isse on his machine.
So I installed Jdev on a new machine and on this new machine I also could NOT reproduce the isse.
On my own machine I can still reproduce the issue.
What I have done so far:
=================
- I have already re-installed Jdev on my own machine from scratch (deleted all existing Jdev files and folders).
- Restarted my computer
- I use the standard JDK shipped with Jdev 11.1.2.3.0.
- created several new test applications with Jdev. In each application I can reproduce the issue.
Maybe someone else already has noticed similar issues?
Does someone has any ideas what may be wrong on my Jdev installation?
regards
Peteruser12190920 wrote:
I write command tail -f /var/log/system.log in terminal. And I get following output.
May 6 11:32:42 evosys-iMacs-iMac.local manager[507]: Obj-C [CH-1, State=created ableToSend=Yes]: Message arrived - VMMessage [
type: Plain[0x00]
prinorty: 2
channelID: -1
messageID: 3
length: 137
body: {41, 44, 46, 4D, 53, 47, 20, 31, 30, 30, 30, 30, 20, 20, 20, 35, 31, 31, 20, 20, 20, 35, 31, 31, 20, 20, 20, 20, 20, 30, 20, 20, 20, 31, 30, 31, 7B, 22, 72, 65, 73, 75, 6C, 74, 22, 3A, 5B, 5D, 2C, 22, 64, 61, 74, 61, 43, 68, 61, 6E, 67, 65, 45, 76, 65, 6E, 74, 22, 3A, 7B, 22, 76, 61, 72, 69, 61, 62, 6C, 65, 43, 68, 61, 6E, 67, 65, 73, 22, 3A, 7B, 22, 76, 69, 65, 77, 53, 63, 6F, 70, 65, 22, 3A, 7B, 22, 2E, 6E, 75, 6C, 6C, 22, 3A, 74, 72, 75, 65, 7D, 7D, 2C, 22, 70, 72, 6F, 76, 69, 64, 65, 72, 43, 68, 61, 6E, 67, 65, 73, 22, 3A, 7B, 7D, 7D, 7D}
But I have no idea that what is meaning of above,
Thanks in Advance.The message in your body is hexadecimal. When converted (replace the , by a space) to string is becomes readable:
ADFMSG 10000 511 511 0 101{"result":[],"dataChangeEvent":{"variableChanges":{"viewScope":{".null":true}},"providerChanges":{}}} -
ive had a problem syncing with itunes recently. when i delete a song on my iphone when i sync with my computer it still syncs but just greys out and is rendered useless. thats great unless i when i want to add new music or videos from my pc to my iphone it wont sync and will just grey out. i looked for solutions and one said that deleteing all your music from the usage in settings would fix it, well now when i sync all of my music is greyed out. ive tried adding all of my songs manually into my ipod instead of syncing entire library and nothing. (also when i select to sync music nothing shows up in the usage bar (normally 3 gigs) might help) could someone please help?
I had major issues with the iPhone 4s battery, however it’s resolved.
The tech who set the phone up at the Apple store did so with little training.
if you have a mobile me account. First go and move all your data to the cloud by going on your computer and logging in at me.com/move. The cloud has replaced mobile me, so there is no need for those two accounts
Also make sure that for any of your email accounts you set them up to fetch, not push. My tech person set them all to have the email servers push data to the phone. The new iphone4s antenna is extremely strong so it will continually try to access stuff that is pushed–***** a lot of battery life doing this. It makes it worse if you have exchange 2010 accounts. Something about changes made to exchange really suck battery life from devices that access such accounts.
turning of locator and the push notifications from facebook--they have a lot! -
Not able to access SOAP web service data control from adf mobile
Hi,
I am trying to call web services from adf mobile..
I have created data control from external web service and it is perfectlly working on web browser..
But why it is showing an error on emulator??
Is there any .jar file missing in adf mobile so that it is not supporting a web service?
Or is there any other problem? Emulator is connected to network and I am able to run WSDL in emulator's browser..
Please help me to solve this issue..
Thanks,
LaxmiEmulator is connected to network and I am able to run WSDL in emulator's browser..
Connecting to WSDL in the browser is not the same as connecting to WSDL in an application.
To access a web service from an Android device enable a permission in AndroidManifest.xml that allows applications to open network sockets. Add the following uses-permission element.
<uses-permission android:name="android.permission.INTERNET"></uses-permission> -
Extract Multiple Rows from a Single Table into a Single Row in a New Table
I have a table in a database that contains contact data like name, address, phone number, etc.
The folks who designed the database and wrote the application wrote it so that all contact records are placed in that table, regardless of contact type. In fact, the contacts table does not even have a column for "type" even though there are many
different types of contacts present in that table.
I am trying to write a mail merge style report in SRSS, that gets sent to a specific type of contact, based on criteria provided that must be obtained from another table, and that data is then used to get back to a specific set of contacts from the contacts
table.
The attached file directly below describes my problem and all related information in an extremely detailed way.
SRSSMailMergeIssue.pdf
Unless there is a way to make a SRSS Tablix point to two different data sets in SRSS, it looks like I have to combine multiple rows from the same table into a new table.
If anyone can review the details in the attached pdf file and possibly point me in the direction I need to run to solve this probelm, I would greatly appreciate it.
I also included a document (below) that shows the tables I reference in the probelm description.
dbtables.pdfI found a solution.... and posted it below
select
dk.ucm_docketnumber [UCM DocketNumber],
dk.ucm_docketid [UCM DocketID],
vc.FirstName [Victim FirstName],
vc.MiddleName [Victim MiddleName],
vc.LastName [Victim LastName],
vc.Suffix [Victim Suffix],
vc.Address1_Line1 [Victim AddressLine1],
vc.Address1_Line2 [Victim AddressLine2],
vc.Address1_Line3 [Victim AddressLine3],
vc.Address1_City [Victim City],
vc.Address1_StateOrProvince [Victim StateProvince],
vc.Address1_PostalCode [Victim Postalcode],
oc.FirstName [Offender FirstName],
oc.MiddleName [Offender MiddleName],
oc.LastName [Offender LastName],
oc.Suffix [Offender Suffix],
oc.Address1_Line1 [Offender AddressLine1],
oc.Address1_Line2 [Offender AddressLine2],
oc.Address1_Line3 [Offender AddressLine3],
oc.Address1_City [Offender City],
oc.Address1_StateOrProvince [Offender StateProvince],
oc.Address1_PostalCode [Offender Postalcode],
pc.FirstName [Arresting Officer FirstName],
pc.MiddleName [Arresting Officer MiddleName],
pc.LastName [Arresting Officer LastName],
pc.Address1_Line1 [Arresting Officer AddressLine1],
pc.Address1_Line2 [Arresting Officer AddressLine2],
pc.Address1_Line3 [Arresting Officer AddressLine3],
pc.Address1_City [Arresting Officer City],
pc.Address1_StateOrProvince [Arresting Officer StateProvince],
pc.Address1_PostalCode [Arresting Officer Postalcode]
FROM ucm_docket dk
left outer join ucm_victim v on dk.ucm_docketid = v.ucm_docketnumber
left outer join contact vc on vc.contactid = v.ucm_victimlookup
left outer join ucm_offender o on o.ucm_offenderid = dk.ucm_offenderlookup
left outer join contact oc on oc.contactid = o.ucm_individualid
left outer join contact pc on pc.contactid = dk.ucm_ArrestingOfficerLookup
WHERE (dk.ucm_docketnumber = @DocketNUM)
Maybe you are looking for
-
CIF - Integration model name and APO application
Hi Experts, In the CFM1 Transaction, there are 3 mandatory inputs are Model name, Logical system and APO application. Logical systems are customized in CFC1 transaction. I couldn't trace the model name and application creation. What is the transactio
-
Recipe for success in iWeb '08?
Lucky me - I decided to mail order my copy of iLife and didn't get it until today. In the meantime I have been following the threads of this forum, adding my words of "wisdom" and trying to organize myself for the big day. In the past, I kept my indi
-
Migrating VB code to Java - what does Studio/NetBeans/Creator offer?
I realise this may be a dumb question but I have tried searching various sites for any form answer/help and so far no joy. I am trying to understand what support/capability Studio/Creator/NetBeans offer to import Visual Basic code and spit out Java.
-
Hi all, I have Frame documents, which contain anchored frames with callouts. The callouts are created with Frame and contain german special characters like ä,ö,ü. These characters are not converted correctly. Thanks for help. Regards, Rainer
-
I like the separate save dialogs, however ...
... here's what's needed; I always work in EV & create my .wav file with CD tracks marked out & save it with the "save extra non audio information" check box checked so they are there next time I need to open it. At the end of the editing just before