Input field semi-automatic apex allows only values from the suggestion
Hi team,
I use Apex 4.1.
I have a field 'AutoComplete' in my page. Y at - it sort of in which I can limit the entries only from the suggestions and the user cannot type values in the field.
Thank you
Jyo
I agree with Jari. Why do you need a control that allows free to restrict text values? Select lists, lovs of popup or plugins such as skillbuilders or enkitec lovs modal best fit the Bill. These allow free text entry but have a setting to restrict their lov values. They have not seized semiautomatic, but then again they have a list that you can search. Or check the select2 plugin, which is also very nice: - point Plugin - Select2
Further, I note that the entry widget semi-automatic apex IS NOT a jQuery UI autocomplete. The widget of the apex is almost causes, do not interfere with her workings.
If you need to, and want an AutoComplete, you will need to roll your own using the widget in jQuery UI, providing the source and parameters yourself. The change on this event receives the item selected - if applicable, thus allows you to check if an option has been selected. You must always - validation on the side of extra server, as javascript validation can be easily circumvented.
Tags: Database
Similar Questions
-
Impossible to select the value from the search screen (quick select, then) on OFA
Hello
We have a problem with a user who are not able to select any value from the LOV on any page of the Oracle.
1. click the button of LOV
2. search + go
3. Select or quick selection nothing happens (error on the Page appears in the left corner of the homepage)
4. only cancel works.
Any suggestion would be appreciated.
I saw a similar question posted Impossible to select the value from the search screen (quick select, then) on OFA
But unfortunately this is not the answer.
Thank you
Sam
Display of the solution to help others. I tried to connect a SR and suddenly a pop Note ups that helped.
The problem is related to the profile "Self Service Accessibility Features" customer has defined for the user concerned.
Follow these steps:
1 change the value of 'None' profile at the user level.
2 disconnect / connect to the application and testing.
See you soon.
-
Need to use values from the first query in other queris to the data model
Hello
Here is my requirement-
I use the data model to run multiple queries. The first query, I get 10 records. Now, I want to use these 10 records in the second query to get my final result. I am not able to use the sub query as the two motions are quite long and complex.
Select distinct Bishop of emp
Select empno, emp where Bishop in (: Bishop)
I can't use: Bishop because it will give only the last value stored at Archbishop. Is it possible to be able to use all the values from the first query in the second query using the data model?Hello
Are you sure that you have your "dataStructure" configured correctly? Try this simple example:
Hope this helps
Andy
-
Hi all
I'm doing a vi where I save the selected value from the ListBox with values respective tab control dropdown selected in another list box. Whenever I select Item1 can change of course and the respective tab will be open for this element. But now I want to just save the selection and put it into another ListBox.SO I can't renmove or add my wishes. Please help me.
It will work.
Probably not the greatest solution well.
-
Restore the default value from the drop-down list
Hyperion Inreatctive reports.
I have an embedded in a dashboard report. I drag the lists that filter the report. Filter feed results and it works fine.
I want to put a command button on the dashboard that restores the default values from the dropdown lists. I have a selection in each drop-down menu, 'all '. "All" is the default value.
For example, for the year
drop_Year
for the region:
drop_Region
What command should I put on the command button that any value is displayed in the drop-down lists of this command, restore it to "all"?
Watch the Select() method
w
-
MessageLOVInput Field to display values from the LOV
Hi all
On my personal page, I have a MessageLOVInput Field and I need to restrict the user to enter the values of text free/junk in it and assign this user to select values only from the LOV (i.e. actual query LOV values) pop-up.
I tried to find the same kind of questions, but I got this message https://community.oracle.com/thread/606973?start=0 & tstart = 0
Please provide me the solution in detail
Thank you
Afzal
Hi amal.
Create a dummy element of value in the form type in your lov plan point create a new card for lov and give the point criteria as the id for your first card for lov and dummy element give posting as 'Yes' to the palette property. so every time that user enters certain undesirable values and try to save it will throw an error message like please enter a valid value
Ex: LOVMAP1: lovregionitemid:give regionitemid lov
ReturnItem:Give lov returnitemid
criteriaitem:give lov criteriaitemid
useforvalidation:Yes
LOVMAP2: lovregionitemid:give regionitemid lov (SAME AS first lovmap)
ReturnItem:Give dummy element point
criteriaitem: NULL
ReturnItem:default
Thank you
Deb
-
Need allow only one of the 2 buttons in a region to answer when returned in a hurry
Hello
Version 4.2 of the apex
Theme: Responsive blue 25
My page has 1 region with a subregion inside. Both regions have a button. When I hit enter it seems that the button of the subregion is one that gets executed. I don't want to do that I want the other button to run. Is this possible?
Also when I google looking for answers to this question, I see references to elements of page apex of a parameter value of ' submit when enter pressed "which can be changed to Yes or no. Simply, I can't find this setting in my articles. Perhaps it has been deleted in the apex 4.2?
Thank you
Steve.
Daggers wrote:
Thanks Scott,.
It's useful information. I turned on debug and I see that my problem is in fact that neither button is presented on enter.
Are you able to tell me where the parameter ' submit when enter pressed "?" is located. I think that's probably the key to my problem.
Steve.
It's in the settings section of the element. However, it is only available on the text elements and the password.
-
How do I divide the values from the cfselect which allows multiple?
I have a basic form with a drop-down box and a cfselect box which allows the user to select multiples. For each element selected in the cfselect box, I need to fill in a line in the database. How do I "split" the values of the cfselect and fill several lines in the database?Found a large sample... and it works fine now... http://KB.Adobe.com/selfservice/viewContent.do?externalId=tn_17007
INSERT INTO tContentLinks (ContentID, SubSectionID)
VALUES (' #Form.ContentID # ', ' #SubSectionID # ')
-
Return a value from the pop-up screen
Long story short - I have a PopupScreen. This has two text boxes. What I want to do is to call a method on the original screen (the one that calls the popup), using these values in two text box.
The only thing I can't do is pass back the two field values. Ive tried to call the method. Even tried passing the screen in the popupscreens constructor.
private class goToMenuItem extends MenuItem { public goToMenuItem() { super( new StringProvider( "Test" ), 0, 0 ); } public void run() { CustomPopUpScreen cstmScreen = new CustomPopUpScreen(); UiApplication.getUiApplication().pushModalScreen(cstmScreen); } }
public class CustomPopUpScreen extends PopupScreen { BasicEditField T1; BasicEditField T2; public CustomPopUpScreen() { super(new VerticalFieldManager(CustomPopUpScreen.NO_HORIZONTAL_SCROLL)); BasicEditField T1= new BasicEditField( "T1: ", "", 20, BasicEditField.EDITABLE | BasicEditField.FILTER_REAL_NUMERIC); BasicEditField T2= new BasicEditField( "T2: ", "", 20, BasicEditField.EDITABLE | BasicEditField.FILTER_REAL_NUMERIC); ButtonField cancel = new ButtonField("Cancel"); ButtonField submit = new ButtonField("Go To"); add( T1); add( T2); add(submit); add(cancel); cancel.setChangeListener( new FieldChangeListener() { public void fieldChanged(Field arg0, int arg1) { close(); } }); submit.setChangeListener( new FieldChangeListener() { public void fieldChanged(Field arg0, int arg1) { GoTo(); close(); } }); } public void GoTo() { //GoTo(Double.parseDouble(T1.getText()),Double.parseDouble(T2.getText())); } }
Just to add a bit to the response of Simon.
"I want to do is call a method on the original screen.
OK, I have to ask, why do you do this? It doesn't seem very object ish.
If you want to call this method once the screen has been closed, then the approach you use (modal form) works, you need to get the values in the treatment of menu and then you can call the transformation of in the menu on the screen who has access to the treatment method.
-
I want to add values from the individual at the end of an existing channel
I have a program the calulates several values of my data and you want to write each one sequentialy in a new way that I created. How to assign a value to the end of a string?
Option Explicit
protected chObj: set chObj = data. Root.ChannelGroups.Add ("Target"). Channels.Add ("Target", DataTypeChnFloat64)
«OPTIONAL: channel automatically.» In this place it is possible to book before the start of the speed
chObj.ReservedSize = 1000Call AppendValue (chObj, 1.0)
Call AppendValue (chObj, 2.0)
Call AppendValue (chObj, 3.0)
Call AppendValue (chObj, 4.0)
Call AppendValue (chObj, 5.0)Void AppendValue (chObj, newVal)
chObj.Values (chObj.Size + 1) = newVal
End SubChannel grows automatically. Remember that it might be useful to use the ReservedSize property if you can assume that the channel will be how long.
-
The model HP LaserJet 2430 Q5964A only print from the manual feeder
The LaserJet printer will no print (Tray 1) manual feeding. We need the printer to print only starting from tray 2. I tried to change the settings to the local node as a server-side. I tried to make the Tray 1 not available both client-side and server without result. Regardless of what I select settings, the printer will always say, ' manually feeding heavy extra paper. I do not use a card stock. I use a brand line 2 MACO of 10 very similar to Avery label sheets. How can I get the printer to pass the Tray 1 and only draw starting from tray 2.
Please, do not provide generic answers to change the size and type of paper. I did this several times.
Currently, tray 1 is A4 size, and the Type of tray 1 is labels. I also settheis to envelope #10. No matter what is put here the printer insists on the use of Tray1.
Tray 2 has currently the size value LETTER. Default paper size is set to letter.
Without the help of HP, on mine I found a solution.
1 remove the printer from the server
2. go to the computer of each user who uses the said printer and remove it form the devices and printers
3. return to the server and add a printer again (used PCL 6) since August 2013 instead of new
4. replace in the computers of users and add the printer again.
5 test printing. It worked correctly in my situation.
-
To access the values from the row outside the ListView ListItem
Hello
I spent two hours browsing the forums and documentation with no chance of finding a solution on how to access the list item data from outside the listview.
Let explain me my code. It is marked with I work and what does not work and its expected behavior.
Should work behavior
Tapping & getting dataThe arrayDataModel is filled with 4 rows. Firstly the list item, second item in the list... etc.
- Tapping on the order of the day, label with the id of triggeredText displays the value of a threaded list item.
- The index of the tapped icon appears in the label with the id of triggerredIndex.
Incrementing Index using ActionItems onBar
By pressing action items 'previous' and 'next', you can increment the index value to the label with the id of triggeredIndex. The order of the index is 0-4, even as total of the items in the list.
How to extract data from the index when the value of triggeredIndex?
Buttons
The buttons at the bottom of the screen... Select 1, select the 2nd, 3rd Select should select indexes 0,1,2 of the list and display the value in triggeredText and triggeredIndex. They do not work.
How did I pull the values when you click the buttons?
import bb.cascades 1.3 TabbedPane { id: root showTabsOnActionBar: false Tab { id: mainTab title: "Test List" Page { id: mainPage titleBar: TitleBar { title: "List Traversal Test" } actions: [ ActionItem { title: "Previous" ActionBar.placement: ActionBarPlacement.OnBar onTriggered: { // get current selected index from list= var currentIndex = parseInt(triggeredIndex.text); if(currentIndex <= 0){ //do nothing already at first item }else{ // subtract 1 from index ( ci - 1) ? var newIndex = parseInt(triggeredIndex.text) - 1; // show data from new selected index // ??? // triggeredItem.text = XXX // the data // ??? // triggeredIndex.text = X // the current index triggeredIndex.text = newIndex; } } }, ActionItem { title: "Next" ActionBar.placement: ActionBarPlacement.OnBar onTriggered: { // get current selected index from list= var currentIndex = parseInt(triggeredIndex.text); if(currentIndex == 4){ //do nothing already at lastitem }else{ // add 1 to index ( ci + 1) ? var newIndex = parseInt(triggeredIndex.text) + 1 // show data from new selected index // ??? // triggeredItem.text = XXX // the data // ??? // triggeredIndex.text = X // the current index triggeredIndex.text = newIndex; } } }, ActionItem { title: "Clear" ActionBar.placement: ActionBarPlacement.OnBar onTriggered: { // set current index to 0 (top item in list) } } ] Container { preferredHeight: maxHeight layout: StackLayout { orientation: LayoutOrientation.TopToBottom } Label{ id: triggeredItem // value of listitem from current index text: "0" } Label{ id: triggeredIndex // current index text: "0" onTextChanged: { // set triggeredItem.text to contents of selected ListItem with same index // STUCK HERE cannot access ListItem.dataModel(indexPath) from here.... } } Container{ ListView { id: theList objectName: "dalist" dataModel: ArrayDataModel { id: theListModel } listItemComponents: ListItemComponent { StandardListItem { id: itemRoot title: ListItemData } } onTriggered: { var si = dataModel.data(indexPath); triggeredItem.text = "LIST ITEM CONTENT: " + si; //set content when user taps on item triggeredIndex.text = "LIST ITEM INDEX INDEX: " + indexPath; // set index when user taps } onSelectionChanged: { //console.log(selected); } onCreationCompleted: { //add some data to the listview theListModel.append("First List Item"); theListModel.append("Second List Item"); theListModel.append("Third List Item"); theListModel.append("Fourth List Item"); } } } Container{ layout: StackLayout { orientation: LayoutOrientation.LeftToRight } Button{ text: "Select 1st" onClicked: { theList.clearSelection(); theList.select(0); } } Button{ text: "Select 2nd" onClicked: { theList.clearSelection(); theList.select(1); } } Button{ text: "Select 3rd item" onClicked: { //expected behaviour is to show data from Third List Item // triggeredIndex.text = INDEX 3 // triggeredText.text = (DATA FROM THIRD LIST ITEM) // THIS IS NOT WORKING .... theList.clearSelection(); theList.select(2); console.log(theList.dataModel(3)); triggeredItem.text = theListModel.dataModel(3); } } } } } }//tab }
Thank you and have a happy and healthy 2015!
Your help will be greatly appreciated.
I ran and got this:
asset:///main.qml:161: TypeError: Result of expression 'theList.dataModel' [bb::cascades::ArrayDataModel(0x1091a838)] is not a function.
But it works
theListModel.data([3])
But this isn't the solution, you have a more serious problem. You select a value, you trigger. If you add this in onTriggered you select it (and you can see that it changes color when it is selected).
theList.select(indexPath);
If you want to use option to deselect
theList.select(indexPath, !theList.isSelected(indexPath));
And if you want to have that one chose this
theList.clearSelection(); theList.select(indexPath);
Inside the button 'Select the 3rd point' allows to select programmatically
theList.select([2]);
It works but I'm not sure what you're trying to do
-
execution of a service to read values from the DB
Hello!
I have a pretty simple question, but I seem to fail to be able to understand what :
I have a custom table EUM_DIV. I have three columns: EUM_1, EUM_2, EUM_3.
I also created a view based on that table, so that when I call him that from this point of view, it returns all the necessary information
< $HttpCgiPath$ >? IdcService = GET_SCHEMA_VIEW_FRAGMENT & schViewName = EUM_Division_Abbr_View & IsSoap = 1';
My job is that I need to extract the value of the column based on the value of EUM_1 EUM_3. I need then save the extracted value of EUM_3 in a variable for future purposes. (And this is where I'm stuck) How can I call this service from a resource of IntraDoc? Must this whole sequence happen when the user select a value in a list of Meta-field option. I'm sure that the answer must be very streightforward!
Thank you very much for your help!
Anya
executeService uses variables/result sets that have already been defined on your page before calling executeService. This means that you can define variables beforehand and those become the service settings.
Jonathan
-
Insert the value from the date of the operation, max
Hello
We use oracle 10g R2 on windows.
I want to insert values from one table to the other. Suppose I have a table emp (empcode, salary, dt_update) and have another table emp_live (empcode, salary).
data into the emp table are as
My requirement is to insert only those records where the maximum date of DT_UPDATE.EMPCODE SALARY DT_UPDATE 281G 10611230.319 10/9/2010 6:38:30 PM 281G 37819399.457 10/8/2010 6:38:30 PM 291G 16500012.429 10/10/2010 6:38:30 PM 291G 108145595.738 10/9/2010 6:38:30 PM 292G 79449005.406 10/11/2010 6:38:30 PM 292G 198819948.865 10/10/2010 6:38:30 PM 293E 4532332.618 10/12/2010 6:38:30 PM 293E 142572824.216 10/11/2010 6:38:30 PM 294D 116505728.748 10/13/2010 6:38:30 PM 294D 90087585.925 10/12/2010 6:38:30 PM
In the above senario only records below need to obtain insert
I am trying to insert it asEMPCODE SALARY DT_UPDATE 281G 10611230.319 10/9/2010 6:38:30 PM 291G 16500012.429 10/10/2010 6:38:30 PM 292G 79449005.406 10/11/2010 6:38:30 PM 293E 4532332.618 10/12/2010 6:38:30 PM 294D 116505728.748 10/13/2010 6:38:30 PM
But above not giving not correct results beacase when I select the records asinsert into emp_live select empcode,salary from emp where dt_update=(select max(dt_update) from emp)
Above shows 1665 records, but when I am inserting only insert 16 records.select empcode,max(dt_update) from emp group by empcode
Help, please.Something like this:
create table test (empcode varchar2 (4), salary number, date of dt_update);
Insert test values (' ' 281 G ", 10611230.319, to_date (October 9, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
Insert test values (' ' 281 G ", 37819399.457, to_date (October 8, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
Insert test values (' ' 291 G ", 16500012.429, to_date (October 10, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
Insert test values (' ' 291 G ", 108145595.738, to_date (October 9, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
Insert test values (' ' 292 G ", 79449005.406, to_date (October 11, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
Insert test values (' ' 292 G ", 198819948.865, to_date (October 10, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
insert into test values ('293E', 4532332.618, to_date (October 12, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
insert into test values ('293E', 142572824.216, to_date (October 11, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
Insert test values ('294, 116505728.748, to_date (October 13, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
Insert test values ('294, 90087585.925, to_date (October 12, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))SQL> column salary for 99999999999.9999; SQL> select * from test; EMPC SALARY DT_UPDATE ---- ----------------- --------- 281G 10611230.3190 09-OCT-10 281G 37819399.4570 08-OCT-10 291G 16500012.4290 10-OCT-10 291G 108145595.7380 09-OCT-10 292G 79449005.4060 11-OCT-10 292G 198819948.8650 10-OCT-10 293E 4532332.6180 12-OCT-10 293E 142572824.2160 11-OCT-10 294D 116505728.7480 13-OCT-10 294D 90087585.9250 12-OCT-10 10 rows selected.
SQL> ed Wrote file afiedt.buf 1 select min(empcode),max(salary),max(dt_update) 2 from test 3 group by empcode 4* order by 1 SQL> / MIN( MAX(SALARY) MAX(DT_UP ---- ----------- --------- 281G 37819399.5 09-OCT-10 291G 108145596 10-OCT-10 292G 198819949 11-OCT-10 293E 142572824 12-OCT-10 294D 116505729 13-OCT-10
SQL> insert into test 2 ( 3 select min(empcode) empcode,max(salary) salary,max(dt_update) dt_update 4 from test 5 group by empcode 6 ) 7 / 5 rows created. SQL> select * from test; EMPC SALARY DT_UPDATE ---- ----------------- --------- 281G 10611230.3190 09-OCT-10 281G 37819399.4570 08-OCT-10 291G 16500012.4290 10-OCT-10 291G 108145595.7380 09-OCT-10 292G 79449005.4060 11-OCT-10 292G 198819948.8650 10-OCT-10 293E 4532332.6180 12-OCT-10 293E 142572824.2160 11-OCT-10 294D 116505728.7480 13-OCT-10 294D 90087585.9250 12-OCT-10 281G 37819399.4570 09-OCT-10 EMPC SALARY DT_UPDATE ---- ----------------- --------- 293E 142572824.2160 12-OCT-10 294D 116505728.7480 13-OCT-10 291G 108145595.7380 10-OCT-10 292G 198819948.8650 11-OCT-10 15 rows selected. SQL>
Concerning
Girish Sharma -
OFA: how to insert values from the front end of the OPS to the database page
Hi friends, I am new OAF, iam using jdeveloper version 9.0.3.5
I created a QueryPG .in this page I HAV set a "create" button on this page when I click that "create" button must navigate to another page (ie) createPersonPG, I have hepatitis has created this createPersonPG in a RegionStyle of = > defaultsinglecolumn, with some of my attribute as "personId, phoneno, e-mail, address" in my createPersonPG I hav also set a button titled "save"...»»» " After you enter the data when I click on save button means a new line should be added to my database table that was my task... for which I wrote the code in my MainCO
Successful work means:
--------------------------------------
I can able to query the data from the database
From my QyeryPG, I can access createPersonPG
MY PROBLEM
-------------------
When I enter values in the createPersonPG wen I click on "Save" button means that the data that I enter are not save to database, but in my QueryPG I get confirmation that saved successfully in my QueryPG. " I want data to be saved in the database... when I get select * from table_name average, should be a rank more
can anyone help me with this task please I'll be greateful to you.. _ I was doing this job for more than 20 days Please helpme I complete this task
Thank you
Thilib
my code for in MainCO
in LICS I HAV written query command and navigate to the code "createPersonPG" like this:
' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processFormRequest (pageContext, webBean);
String actionInMainProgramScreen = pageContext.getParameter (EVENT_PARAM);
String personId = pageContext.getParameter ("PersonId");
If (pageContext.getParameter ("GO")! = null)
{
System.out.println ("Submit button");
OAQueryUtils.checkSelectiveSearchCriteria (pageContext, webBean);
String firstName = pageContext.getParameter ("FirstName");
String phoneNO = pageContext.getParameter ("PhoneNO");
[Serializable] parameters = {personId, firstName, phoneNO};
System.out.println ("AM method is called");
OAApplicationModule am = pageContext.getApplicationModule (webBean);
am.invokeMethod ("initQuery", parameters);
}
If (actionInMainProgramScreen.equals ("Create"))
{
System.out.println ("create key");
() pageContext.setForwardURL
'OA.jsp?page=/gwp/oracle/apps/xxi/aaaPersonDetails/webui/createPersonPG '.
null
OAWebBeanConstants.KEEP_MENU_CONTEXT
null
null
true
OAWebBeanConstants.ADD_BREAD_CRUMB_YES
OAWebBeanConstants.IGNORE_MESSAGES);
}
}------------------------------------------------------------------------------
IN MY createPersonCO I HAV wrote this code
' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processRequest (pageContext, webBean);
String paramPersonAction = pageContext.getParameter ("xxParamActionOnPerson");
OAApplicationModule am = pageContext.getApplicationModule (webBean);
PersonParamList serializable [] = {paramPersonAction};
If (paramPersonAction! = null & & paramPersonAction.equals ("Create"))
{
am.invokeMethod ("createPerson");
}
}
/**
* How to manage remittances form for form elements in
* a region.
@param pageContext OA page context
@param webBean the grain of web for the region
*/
' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processFormRequest (pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule (webBean);
If (pageContext.getParameter ('Save')! = null)
{
System.out.println ("first line button Save");
am.invokeMethod ("saveProgramToDatabase");
System.out.println ("navigate to home page');
String message = "saved successfully ';
OAException exp = new OAException (message, OAException.CONFIRMATION);
pageContext.putDialogMessage (exp);
() pageContext.forwardImmediately
'OA.jsp?page=/gwp/oracle/apps/xxi/aaaPersonDetails/webui/aaaPersonDetailsMainPG '.
null
OAWebBeanConstants.KEEP_MENU_CONTEXT
null
null
true
ADD_BREAD_CRUMB_YES);
}
}-------------------------------------------------------
IN my AM I wrote this code
' public void initQuery (String personId, String firstName, String phoneNo)
{
System.out.println ("Am initQuery");
aaaPersonDetailsVOImpl vo = (aaaPersonDetailsVOImpl) getaaaPersonDetailsVO1 ();
System.out.println ("aaaPersonDetailsVO initQuery method called");
vo.initQuery (personId, firstName, phoneNo);
}
Public Sub createPerson()
{
System.out.println ("first createPersonMethod line");
aaaPersonDetailsVOImpl vo = (aaaPersonDetailsVOImpl) getaaaPersonDetailsVO1 ();
System.out.println ("Line before if condition createPersonMethod");
If (!) VO.isPreparedForExecution ())
{
System.out.println ("first line If condition createPersonMethod");
vo.setMaxFetchSize (0);
}
System.out.println ("creating New Row");
Line r = vo.createRow ();
System.out.println ("new insertion line");
vo.insertRow (r);
System.out.println ("inserted row");
r.setNewRowState (r.STATUS_INITIALIZED);
System.out.println ("before"sequence initialized");
Number personId = this.getOADBTransaction () .getSequenceValue "(XXI. PER_DETAIL");
System.out.println ("after"sequence initialized");
vo.getCurrentRow () .setAttribute ("Person_Id", personId);
System.out.println ("sequence number =" + personId);
System.out.println ("last line of the Create method");
}
Public Sub saveProgramToDatabase()
{
System.out.println ("before validation.");
getOADBTransaction () .commit ();
System.out.println ("new program created.");
}
Published by: user13307444 on July 26, 2010 10:20Hello
This could be the problem if there is that data validation is there that does not back up the data on the page. Because for example I had this problem when my database column has been primary key while on the EO page it wasn't. & When I tried to record data EO was allowing me to record, but the database did not allow. Please check your OA
AJ
Maybe you are looking for
-
HP mini computer: enter the password administrator or power on mini laptop of password
Pls help me am new here, if I turn on my mini laptop, I've been request to enter the administrator password or power on password, I tried three times and I code this code: 63777861 Pls helpThank you
-
Can I put multiple PDFs into a single pdf file?
Original title: PDF to PDF Can I put multiple PDFs into a single pdf file? I have a lot of files that consists of 1 page. Is it possible so that I can put them together and print them out? Otherewise I have to press the button print 60 times.
-
My printer does not print. I've tried everything. The message appears on the printer, the 'problem hardware 0502.' How can I solve this problem and can you help me?
-
Not able to recover using recovery disk
I have a laptop of HP Envy m6. I created the recovery DVD 3 disk when I bought the computer. I got an automatic update fail because of the power failure during a storm. I got completely saved hard disk but will not start because file missing from t
-
Display Manager Dell change the source of entry by cmd
Hello I'm changing my input between VGA & HDMI source using cmd. So far, I'm only able to switch to VGA but not HDMI: DDM.exe 1:SetActiveInput VGA-> work 1:SetActiveInput HDMI DDM.exe-> does not FYI, I use S2340L.