Calendar example code forms 6i
I tried to find examples of code to implement a calendar in forms 6i (client/server), but all the links I found are invalid links. For example,.http://www.Oracle.com/technology/sample_code/products/forms/index.html
If anyone can point the new link, or some other place where I can find a code example?
Thank you!
Thank you. I actually finally found a link that works.
http://download.Oracle.com/OTN/NT/forms/forms6idemos.zip
This thread off the coast: How to call a calander in oracle forms6i
I downloaded the demo and found the parts I needed.
Calendar.FMB
Calendar.PLL
standard20.olb
Katia
Tags: Oracle Development
Similar Questions
-
View full calendar on the form
Hello
I use Apex 4.2 and want to view the full calendar on the form.
to do this, I use
http://www.mredkj.com/JavaScript/calendar.html
link.
I created two points on the form: P1_MONTH AND: P2_YEAR and submit created the button on the page.
code defined below is given in this link.
What changes I should in the body section of this code to use my own agenda: P1_MONTH and: P1_YEAR instead of html code.<html> <head> <title>Calendar</title> <script language="JavaScript" src="CalendarDisplay110.js"></script> <script language="JavaScript"> <!-- calendarTry = new CalendarDisplay(); calendarTry.setNavigationOn("calendarTry"); calendarTry.setOpenOn(); calendarTry.setAutoCloseOn(); calendarTry.setLinkOn("fillInFields"); calendarTry.setDayFormat(calendarTry.TWO_LETTER); function calendarOpener(frm) { var m = frm.month.options[frm.month.selectedIndex].value; var d = frm.day.value; var y = frm.year.value; var showMonth = true; if (frm.yearMonth[1].checked) { showMonth = false; } if (showMonth) { calendarTry.createMonth(m, d, y); } else { calendarTry.createYear(m, d, y); } } function fillInFields(month, day, year) { document.frmCalendar.month.selectedIndex = month; document.frmCalendar.day.value = day; document.frmCalendar.year.value = year; } //--> </script> </head> <body> <form name="frmCalendar"> <table border="1" cellpadding="5" cellspacing="0"> <tr> <td>Month</td> <td>Day (1-31)</td> <td>Year (e.g. 2002)</td> </tr> <tr> <td align="center"> <select name="month"> <option value="0">January</option> <option value="1">February</option> <option value="2">March</option> <option value="3">April</option> <option value="4">May</option> <option value="5">June</option> <option value="6">July</option> <option value="7">August</option> <option value="8">September</option> <option value="9">October</option> <option value="10">November</option> <option value="11">December</option> </select> </td> <td align="center"><input type="text" name="day" size="3" /></td> <td align="center"><input type="text" name="year" size="5" value="2002" /></td> </tr> <tr> <td colspan="3" align="center"> <input type="radio" name="yearMonth" value="month" checked /> Month <input type="radio" name="yearMonth" value="year" /> Year </td> </tr> <tr> <td colspan="3" align="center"> <input type="button" value="Open Calendar" onclick="calendarOpener(this.form);" /> </td> </tr> </table> </form> </body> </html>
Thanks & looks
CORINE.
Published by: Sophie on February 25, 2013 22:01There was an extra * {* at the beginning of the file, I noticed that in your responses above as well.}
Thank you
Vikram -
I'm in 11.1.2.3, how do I initialize a hyperion planning application which will already have dimensions and examples of forms created?
Connect to the application, go to administration, application, manage applications, select the app, the actions and the initialization.
See you soon
John
-
Example code to create a new role as well as its class
Friends,
I'm looking for the example code snippet create a role as well as its class.
Can you please help.Try this.
private String getCategoryKey (String CategoryName) {}
CategoryManager oimClient.getService (RoleCategoryManager.class) = RoleCategoryManager;
RoleCategory str = null;
try {}
= categoryManager.getDetails Str (null, "name of the role category", CategoryName),
} catch (SearchKeyNotUniqueException e) {}
e.printStackTrace ();
} catch (NoSuchRoleCategoryException e) {}
e.printStackTrace ();
} catch (RoleCategoryLookupException e) {}
e.printStackTrace ();
}
System.out.println ("CreateCategory.Process ()" + str.getEntityId ());
String categoryKey = str.getEntityId ();
CategoryKey return;
}' Private Sub createRoleWithCategory (String RoleName, String CategoryName) {}
HashMapmapAttrs = null;
RoleManager roleManager = oimClient.getService (RoleManager.class);
Result RoleManagerResult = null;
Role = null;
int categoryKey = Integer.parseInt (getCategoryKey (CategoryName));mapAttrs = new HashMap ()
;
mapAttrs.put (RoleManagerConstants.ROLE_NAME, RoleName);
mapAttrs.put (RoleManagerConstants.ROLE_CATEGORY_KEY, categoryKey);
mapAttrs.put (RoleManagerConstants.ROLE_DISPLAY_NAME, "TESTROLE2 test");
mapAttrs.put (RoleManagerConstants.ROLE_DESCRIPTION, "OIMClient API testMigration");
role = new Role (mapAttrs);
try {}
result = roleManager.create (role);
} catch (ValidationFailedException e) {}
e.printStackTrace ();
} catch (RoleAlreadyExistsException e) {}
e.printStackTrace ();
} catch (RoleCreateException e) {}
e.printStackTrace ();
}
System.out.println ("State of creation: '" + result.getStatus () + "'");
} -
Calendar on the forms reveals an error in date labels.
Hi, I have this error when I want to select a date in the calendar of the forms.
http://s15.PostImage.org/9a5l9bvln/Captura_de_pantalla_2012_04_19_a_las_13_38_11.jpg
The problem is that the labels days (MON, MAR, MIE, JUE, LIFE, SAB, SAB) that (sab) is repeated.
even more, the image I downloaded shows January, as you can see, it starts (Monday) and the true is that January 2012 begins (Sunday)
DB 11 G 2
FMW 11 g.
11.1.1.4 forms
any help I would appreciate it.
Thanks in advance!Thanks for your reply,
I solved my problem debugging all procedures involved and finally found the error, now it shows everything is correct.http://S9.PostImage.org/coy3tmmfj/screen_0003.jpg
Thank you very much.
-
I work with a WSDL where one of the operations returns a mammoth collections response nested about five levels deep. In addition, the answer requires some massage here and there. That said, I have created a Web Service Proxy and can invoke the operation successfully.
A test, I created a WSDL data control and tried to drag / drop a tree on the page; However, JDeveloper is unable to build iterators successfully but with elegance. When I try to add rules, JDeveloper outright crashes.
So here's the question. Does anyone have examples of code to programmatically create a tree of the ADF? My requirement is to display master shapes / detail such that as I drill down to the main shaft, the data of the respective collection are displayed in the detailed form.
There is a patch for JDeveloper available on MOS that solves the problem of not being able to drag & drop a tree on a page.
Patch 14022488: ADF TREE TABLE CONTROL BLANK during a DROP ATTEMPT ON JSPX OR JSF PAGE
-
Disable the image of calendar in tabular form in version APEX4.0
Hi all
I used the JQuery code following in dynamic Action to disable the Hiredate column in tabular form in APEX4.0.
$('INPUT[name="f01"]').each (function (i)
{
var rowSelected = $(this).attr("id").substr (4);
var hire_date_id = $('#f05_'+rowSelected).attr ("id"); F05-> column of hiring Date which is the date picker
$x (hire_date_id) .readOnly = "readonly";
$x (hire_date_id).style.background = "#F2F2F5";
$($("td [headers ="HIREDATE"] img')) .addClass ('apex_disabled');
}
);
HireDate column is disabled the calendar Image is not disabled in APEX4.0 but it did not work in version APEX4.2.
Can someone tell me the reason and the solution for this problem?
Thanks in advance.
Kind regards
Lacombe
Published by: 1004558 on May 7, 2013 07:39Thank you very much, Dene,.
Your code has been useful for me. But I created the picker using JQuery in DA as below,
$('input[name="f05"]').datepicker({ dateFormat: 'dd-M-yy', changeMonth:true, changeYear:true, showButtonPanel:false, buttonImageOnly:true, showOn:'both', buttonImage:"#IMAGE_PREFIX#asfdcldr.gif" }).parent("td").addClass("datepicker");
and use the following query to disable,
$('input[name="f01"]').each( function(i) { var rowSelected = $(this).attr("id").substr(4); $('#f05_'+ rowSelected).datepicker( "disable" ); } });
After that I enabled it in another DA before submitting the page.
It works Fine... :))
Thank you
Lacombe -
Disabled in a selector to calendar dates in Forms 10 G
I use a calendar picker to my form. After viewing the calendar, I noticed that whenever I select one of the four buttons ( previous month, next month, last year or next year ), for each month of the calendar, there are several dates that are disabled and therefore can not be selected. I tried to scroll through each month of each year, but it seems that it is widespread. Invalid dates sometimes appear in start dates, such as 1, 2, 3... or the end like 25, 26, 27 dates... or both. Even if I use the tab to scroll through dates, these invalid dates have been ignored. This does not happen to the first view of the calendar, when I sailed through one of the four buttons mentioned that to happen.
Help, please. Thank you.Sorry, it took a day or two to get back to you. I found the cause of the problem and will post an update with the patch. During this time, you can fix your copy by editing the package DATE_LOV body and change the following lines of code in the DISPLAY_CAL procedure.
/* code with the error! :( */ -- Assign the number to the day FOR i IN first_dow..loop_end LOOP IF ( get_item_property('date_button'||to_char(i), displayed) = 'FALSE' ) THEN set_item_property('date_button'||to_char(i), displayed, property_true); END IF; ...
The problem is that when the DISPLAY of the element property is set to false, it also sets the property ENABLED to FALSE. It has a waterfall affect the game as the NAVIGABLE, UPDATED only if the value NULL and UPDATE_ALLOWED properties to FALSE as well. This seems to be a trait "undocumented" forms because forms system does not list this has an induced effect of setting the DISPLAYED property to FALSE. It is listed as an effect induced to set the VISIBLE property to FALSE. Therefore, I didn't I had to set these properties to TRUE. Here's the corrected code.
-- Assign the number to the day FOR i IN first_dow..loop_end LOOP IF ( get_item_property('date_button'||to_char(i), displayed) = 'FALSE' ) THEN set_item_property('date_button'||to_char(i), displayed, property_true); IF ( get_item_property('date_button'||to_char(i),enabled) = 'FALSE' ) THEN set_item_property('date_button'||to_char(i),enabled, property_true); set_item_property('date_button'||to_char(i),navigable, property_true); END IF; END IF;
I have using this calendar a bit over the years and this is the first time this was discovered; so thank you to find and report! : D
Craig...
-
Help with the NOR-DAQ example Code
Hello. I just started to work with the NI IBS-6211. It's the first ADC I have ever used, so I'm farily to this news. I have some programming knowledge. After a search in the installation files, I found some examples of C Code that runs in the command prompt. I changed an a bit to get it to do what I want. My question is...
Now, I have a few problems. I am trying to print a voltage in the command prompt. I hooked up everything and I used labview to make sure that everything works as it should (it does!). When I compile the C program and the run, instead of returning a voltage that is just acquired points and I really have no idea what are these 'points '.
Here is the main part of the code example:
DAQmxErrChk (DAQmxCreateTask("",&taskHandle)); DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0","",DAQmx_Val_Cfg_Default,1.0,10.0,DAQmx_Val_Volts,NULL)); DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"",10000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,1000)); /*********************************************/ // DAQmx Start Code /*********************************************/ DAQmxErrChk (DAQmxStartTask(taskHandle)); /*********************************************/ // DAQmx Read Code /*********************************************/ DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,1000,10.0,DAQmx_Val_GroupByChannel,data,1000,&read,NULL)); printf("Acquired %d points\n",read); Error:
And then he moves right down to the exit clause. Is there documentation anywhere that tells me what DAQ command should I use to print a voltage continuously updated reading? (As a decimal number, such as 5.21V for example).
Thanks to you all
John
John,
The data acquired by DAQmx are written in the array called "data". The number of points DAQmx wrote in this table is stored in the variable 'read' which was adopted by reference in. To print the values returned, you need to loop through the array of 'data' and print each value. See this help topic for an explanation of DAQmxReadAnalogF64.
Dan
-
Example code to read an ER3000 continuousy pressure
I working on a program to control an ER3000 and am tring to use a waveform chart to keep up the pressure. Also, I want to be able to use the current pressure to calculate the rate of Exchange to a new setting of pressure because the ships that we are in charge cannot take quick pressure changes. Does anyone have the sample code specifically for the reading of the pressure on tescoms ER3000.
Tim,
Taking a brief look at the llb linked above it seems as if the "fully ER Command.vi, this is what you want. This vi is read/write vi. But it runs only once. Therefore, there is not a surprise that you have a program that reads and writes to the ER3000. To "read the continuous pressure" you want to make your own vi that has the part 'read' of the 'fully ER Command.vi loop within a certain time. If find you examples in labview for VISA it should help you get started.
Don't forget that if you want to always read the Session VISA will be 'locked '. Which means that you can't write while he performs a continuous reading of the session VISA. You can either programmatically explain this or (if RS232) you can install a sniffer that can interrogate another COM port WITHOUT interfering with your current session of VISA to the device permanently.
Hope that it becomes at least to get started in the right direction.
Best regards
-chazzzmd
-
Hello
I'm looking for a simple example of code for NI9411 (FPGA code and the host). I searched in the examples that come with LabView but I have not achieved anything.
Thanks in advance.
Here is an example that you can use with the NOR-9411. If you are looking for 9401 in the Finder for example of OR, you can also find other examples that were not written for the 9411 specifically, but you can modify it to work with her.
Brandon Treece
Technical sales engineer
National Instruments
-
Find a feature / example code in VB to activate channnels to support USB-9472
Hi all, we have bought support USB-9472 to be used in an RF test Set up. 4 of the 8 channels are connected to 4 switches (2 States) that are connected to several Instruments of measurement. I'll try to find a NI DAQmx C API function (or set of functions) to use in a VB application that will allow me to change / activate 1 or 2 (24 V) channels to the NI USB-9472 carrier - which is connected via USB with PC. Can someone help me with this? Thank you, Dan
Hi Wallace,
I used the DAQmxWriteDigitalLines function.
Initially, I tried with the parameter: DAQmx_Val_ChanForAllLines and created the 1 task for all lines. But the param. writeArray (which is of type Byte) accepts - VB - only the values 0 or 1 (it should be between 0 and 255) i.e.:
Dim ByteArray As Byte
DAQmxErrChk DAQmxCreateTask("", TaskHandle)
DAQmxErrChk DAQmxResetBufInputBufSize (TaskHandle)
DAQmxErrChk DAQmxCreateDOChan(TaskHandle, "Dev1/port0/line0:7", "", DAQmx_Val_ChanForAllLines)
ByteArray = 2
DAQmxErrChk DAQmxWriteDigitalLines(TaskHandle, 1, True, 5000, DAQmx_Val_GroupByChannel, ByteArray, 0, 0)
DAQmxErrChk DAQmxStartTask (TaskHandle)
StopTask (a subroutine to stop and cancel the task)
For example, when I assign Val. 2 (which equals '00000010' in binary), I get the following error message:
DAQmx =-200562 error code
Error message = side = attempt to write digital data which are not supported.
If I assigned the values 0 or 1 to ByteArray, then everything is OK, except that I can activate the line 1 (when ByteArray = 1)
For example, instead of using the param. DAQmx_Val_ChanForAllLines, I used DAQmx_Val_ChanPerLine and I created 4 spots - 1 for each of the 4 lines that I use to connect to the switches.
In this way, I only need to use 0 (OFF) or 1 (ENABLED) for each line - and it works.
The issue should be considered to be resolved.
Thank you and best regards,
-
Example Code for HelloCameraApp camera
void HelloCameraApp::onWindowAttached(screen_window_t win, const QString &group, const QString &id) { qDebug() << "onWindowAttached: " << win << ", " << group << ", " << id; // set screen properties to mirror if this is the front-facing camera int i = (mCameraUnit == CAMERA_UNIT_FRONT); screen_set_window_property_iv(win, SCREEN_PROPERTY_MIRROR, &i); // put the viewfinder window behind the cascades window i = -1; screen_set_window_property_iv(win, SCREEN_PROPERTY_ZORDER, &i); #ifdef WORKAROUND_FWC // seems we still need a workaround in R9 for a potential race due to // ForeignWindowControl updating/flushing the window's properties in // parallel with the execution of the onWindowAttached() handler. mViewfinderWindow->setVisible(false); mViewfinderWindow->setVisible(true); #endif }
Hi, the above code was copied from the sample project HelloCameraApp.
The example works fine but I have a question for the code in bold above.
What does it mean by these? Thank you
// seems we still need a workaround in R9 for a potential race due to // ForeignWindowControl updating/flushing the window's properties in // parallel with the execution of the onWindowAttached() handler
Hello
This means that there is a bug in the 10.0.9 current version of the software for devices where there is a race condition between the update thread libscreen in onWindowAttached() properties and the Cascades UI thread that executes code ForeignWindowControl in parallel. If I do not include this work around, the window can stay invisible while it explicitly visible value by the thread of Cascades.
I'm still this debugging with the team of Cascades and the graphical team. For now, workaround in the #ifdef will cause a re-synchronization with the interface user of waterfalls thread. Once it is fixed, this workaround solution (visibility toggling) won't be necessary.
An alternative would be to say Cascades do not update THE properties of the window by initializing the window with mViewfinderWindow-> setUpdateProperties (0), but then you will have to respond appropriately to all the layout changes and do a manual update of all associated properties libscreen.
See you soon,.
Sean
-
Hello
I am tryting to execute a java code example to understand cim api and I get the below question. I send the credentials and hostname ESX4.1.
Could you get it someone please let me know if I'm missing something? Thank you.
Error: XMLERROR:
enumerateInstances, java.net.ConnectException
: Connection refused: connect - 10.137.200.104:5988
Try something like this: String urlStr = "https://172.x.x.x/sdk";
I hope this helps.
-
Example code to check if a particular resource is implemented in OIM11g
Hello
I would check whether or not resources AD is put into service for a given user. If so, I would like to add a group to it.
Can you please provide me a sample code for this scenario. I use oim 11g.Hello
Here is a code example:
tcResultSet userSet = userAPI.findUsers (userSearchMap);
If (userSet.getRowCount)<= 0)="">=>System.out.println ("found user in IOM:-" + userID);
continue;
}userSet.goToRow (0);
Take long = userSet.getLongValue ("Users.Key");tcResultSet userObjSet = userAPI.getObjects (take);
for (int i = 0; i)< userobjset.getrowcount();="" i++)="">
userObjSet.goToRow (i);If (roName.equalsIgnoreCase (userObjSet
{.getStringValue ("Objects.Name")))}objStatus = userObjSet
.getStringValue ("Objects.Object Status.Status");
oiu_key long = userObjSet
.getLongValue ("object Instance.Key");
If (!) ("Provisioned".equalsIgnoreCase (objStatus))
|| "Disabled".equalsIgnoreCase (objStatus) "| Active. "
{.equalsIgnoreCase (objStatus)))}continue;
}
}
}Concerning
user12841694
Maybe you are looking for
-
Satellite L40: Need driver WLAN for XP
I just bought this laptop and I removed Vista and installed Windows XP. Since then, I can't use my wireless LAN. Does anyone know, what wireless LAN chip is on board and where can I find the driver.
-
I uninstalled a program called Flash Player free from GNU, and it took my files system with it. Now, some of my desktop icons won't work and will change to paint miniatures of program. My outlook express open used... error says "windows does not reco
-
Recently, my laptop crashed and would ONLY start for "Recovery Manager" with 3 options for "need help immediately!": 1 the Microsoft System Restore (which did NOT work for ANY of the listed restore points), 2. System recovery (or something to that ef
-
My girlfriend Hotmail has been hacked. It is now blocked, but able to unlock it must send an email to an old email that no longer exists. She can not even send it to me. And she can send to me, she can not fully answer the question are too personal a
-
How can I get my shortcut on my dektop?
I just deleted my McAfee my desktop shortcut. He deleted the shortcut everything and I don't know how to put it back on. I don't know why she deleted, I think that this has happened to me before and I don't remember how I solved the problem or if I d