How expire a form when expire the session
Hi, I have a request of my boss who wants that a form close automatically and open a login form when expire the session. Anybody know how do that ?
I'm using Oracle forms 10.12.0.2
Regards
Hi
Well,ur requirement is not quite clear when u want ur form close automatically...?
My thought is after a while of time in order to do so u have to create a timer Form-Level Then use WHEN-TIMER-EXPIRE Trigger Form-Level and use the following Built-In...
EXIT_FORM;Then in Post-form Trigger call the log-in form with the procedure built in
CALL_FORM('LOGIN_FORM_NAME');Hope this helps,
Regards,
Amatu Allah.
Similar Messages
-
How to store forms fields into the session ?
Hi All,
I have to store forms fields into the session.
I have four forms (htm forms) in four jsps and there are total 25 fields.
I am inserting all the fields into the database at once while user submit the last form.
I want to use session to store forms fields.
So please anybody tell me how to do that.
Is the following code correct to store the forms fields into
the sesstion........
// creating a session
HttpSession session=request.getSession(true);
// retrieving form fields
String name=request.getParameter("customer_name");
String business=request.getParameter("business");
String address=request.getParameter("address");
and so on....
// store form fields into the session
session.setAttribute("name",name);
session.setAttribute("business",business);
session.setAttribute("address",address);
and so on....
and later on get the value as:
session.getAttribute("name");
session.getAttribute("business");
session.getAttribute("address");
and so on....
OR
is there another way to store form fields into the session.
Please guide and reply with coding.....
Please answer and help.
Thanks
AmitindiaI don't mean to be an *** but I have no desire to help someone so unwilling to think >>and do. Go through some of these tutorial, do the examples in each and you will be far >>better equipped to ask questions:
http://www.google.co.za/search?hl=en&q=%2Bjsp+%2Bjavabean+%2Btutorial&b >>tnG=Google+Search&meta=
I was just asking that if I use the following
<jsp:useBean id="cart" scope="session" class="session.Carts" />
<jsp:setProperty name="cart" property="address" value="myaddress" />
</jsp:useBean>then will I be able to acheive my aim as I have to store form fields into the session and later retreive while user submit the last form.
Please read my question that I have posted.
Am I using the right way................or which is the best way to store form fields into the session and later retrieve them.
please reply
Thanks
Amitindia -
I ordered cards 1 week ago through iPhoto and I have not yet received a shipping confirmation. How do I know when/if the cards will be processed and shipped? Thank you.
go to the online apple store (store.apple.com) and check your account for order status
LN -
i want to do banners ,how can we do when click the same button (next button) it must show different images . cam any one help
Check out my blog with samples on Edgehero.
http://www.edgehero.com/articles/interactivity -
How to get form input in the same portlet using pageflow
Hi this is premkumar
i created 2 portlet in a portal how to get form input in the sampe portlet using
pageflow
help as early as possibleDo to the complexity of the program we need to run it with sequences. This is because we need to aquire data with DAQ until it reaches a certain point and then stop collecting so that it can do its process (only once for all times criteria is met), and then loop around till again collecting after DAQ drops back below certain point looking to once again reach that point. Another flat sequence is going outside of this where I want to put the prompt and have a user input to affect how many times that that the inner loop is run (No a For Loop instead of the while loop will not work either for other reasons).
I just want to know if after the program starts you can have a user input that will change the effect of the rest of the programs action based on the number inputed. -
How to stop a popup if the session has expired??
Hi
I have a situation wherein i have my jsp page. in that i have a button on clicking it a pop up window will open to take a input parameter.
Now what we want is that if the session is not valid than the pop up shud not open.
Currrently what is happening wen the session is not valid the popup gets open and in that popup a login page is coming.
The logic for pop has been put in a javascript code which gets executed when the page was first loaded . So even if i put a logic for checking the session before the popup opens it wont work. So what can be a possible way i can do it?
I am writing a scriptlet to check the logic for valid session.
function changeLimitFunc(count)
<% if ((request.getSession(false)== null)) {%>
return false;
<%}
else {%>
popUp('');
openedForm.target = 'change_download_limit';
openedForm.submit();
<%}%>
and in the page which geot loaded the same code appears like
function changeLimitFunc(count)
popUp('');
openedForm.target = 'change_download_limit';
openedForm.submit();
this popUp is amethod where we are createing our popup.
please help me out to resolve itDoubleposted and already answered: [http://forums.sun.com/thread.jspa?threadID=5342037].
Please don't doublepost, stick to one topic. -
How to install forms 6i on the same machine oracle8i installed
I have oracle8.1.6 release 2 installed on microsocft windows 98. How do I installed forms 6i on the same machine. when I installed forms6i, it has overwritten the resgistry settings and I cannot run database any more. Please give me some ideas how to install all these on the same machine on windows 98 , operating system DOS.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Simon Jennings ([email protected]):
You need to use seperate Oracle homes.<HR></BLOCKQUOTE>
You have to install Forms6i on a different Oracle_Home not Default_Home, which I believe is where you installed Oracle8i. -
Amount of forms open in the session
Hello all,
I would like to restrict/control the amount of forms open by the user,
as I am using open_form.
I have found nothing in the forms help about that, like a system variable and nothing so far on the web.
A possible workaroung/idea could be to have a global
that I count up on when-new-form-instance
and count down on key-exit.
Did someone have experience that problem ? what do you think ?
I am using Forms 10g R2.
Regards
Frane
PS : I guess an amount of 10 forms open by user, could be a good limit in order to don't get performance problem.Hello François,
So far that's the only workaround that I found sor far, init the global at my starting, then count up/down.
Do you think a limit of 10 opened forms at the same time is reasonable ?
Thx
Frane
PS : btw bravo about your LAF project !!!!, it rocks the layout, I am testing it at the moment on forms migration 6i=>10g that I have to do (sad that it's not brand new appli/project to do, then layout could be really be review and defined nice from the beginning) -
Any restictions on back ground job when submit the session?
Hello friends
below is my code part. problem is when i execute this program in back ground the data is not picking from APQI. but in fore ground it is picking . for this SESSION submission in back ground am i missing any thing here. please suggest me , any restiction is their in back ground? if possible please send a sample code to submit SESSION automatically in background.
SUBMIT rsbdcsub AND RETURN
USER sy-uname
WITH mappe = p_group
WITH von = sy-datum
WITH bis = sy-datum
WITH z_verarb = 'X' .
SELECT userid credate groupid qstate FROM apqi
INTO TABLE it_apqi
WHERE userid = sy-uname
AND credate = sy-datum
AND groupid = p_group
AND qstate = 'E'. "Only look for 'Error' status
DESCRIBE TABLE it_apqi[] LINES temp.Codes for Submitting the session through RSBDCSUB (via Job)...
" The function module JOB_OPEN is called to create the job.
call function 'JOB_OPEN'
exporting
delanfrep = 'X' "Delete job after execution
jobname = fv_jobname "Job name
importing
jobcount = fv_jobcount "Internally generated
exceptions
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
others = 4.
if sy-subrc = 0.
submit rsbdcsub
with mappe = v_filec
with von = sy-datum "From
with bis = sy-datum "To
with z_verarb = 'X'
with fehler = ' '
with batchsys = space
with logall = ' '
via job fv_jobname
number fv_jobcount
and return.
call function 'JOB_CLOSE'
exporting
jobcount = fv_jobcount
jobname = fv_jobname
strtimmed = 'X'
exceptions
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
others = 8.
Hope this helps!
Edited by: Vin on Jun 4, 2009 10:58 AM -
How to install forms FMX to the server?
FRM-99999 a network error occured, the client will not be able
to continue.
java.net.socketException:Connection reset by peer.
I tried to setup forms 6.0 server w/ OAS 4.07 on NT 4 Sp3
plateform. Oracle client software is 8.0.5. Db backend on
the other PC is 8.1.5.
I created the base HTML file(I copied from
selltools.us.oracle.com). My browser is Netscape 4.51 with
Jinitiator 1.1.7.11. It works fine for the demos at
selltools.us.oracle.com.
I installed Developer server and demo tables. I can run demos
(calendar and buttons) from the Forms Builder in both
client/server mode and web mode.
I copied the .FMX files into e:\orant\webtemp\" folder. I defined
FORMS60_MAPPING and other stuffs in the registry.
When I go to the URL of the base HTML (static), the browser
displays:
Loading java applet...
oracle.forms.engine.Main inited.
FRM-99999 a network error occured, the client will not be able
to continue.
java.net.socketException:Connection reset by peer.
If I stopped the forms server from "Control Panel". I got an
error
msg like:
can't contact to xzang-pc.us.oracle.com:9000.
I think the applet is talking with the Forms server. The socket
has been established. But the applet doesn't show anything at
all.
best regards,
---- HTML ---------
<OBJECT>
<COMMENT>
<EMBED TYPE="application/x-jinit-applet;version=1.1.7.11"
CODE="oracle.forms.engine.Main"
CODEBASE="/forms_code/"
ARCHIVE="f60all.jar"
WIDTH=300
HEIGHT=200
serverPort="9000"
serverArgs="module=E:\ORANT\WEBTEMP\BUTTONS
userid=xzang/[email protected]"
<NOEMBED>
</COMMENT>
</NOEMBED>
</EMBED>
</OBJECT>
nulluse F:\oracle\ora90 as your oracle-db-home
use F:\oracle\forms6 as your forms-home
try it
Gerd -
HT1476 How would I know when does the iPod touch completes charging?
Since the iPod touch doesn't display a battery percentage, how would I know when the charging is completed? In iOS 6 and earlier there would be a plugged-in icon meaning that the device is charged, but in iOS 7 there is only one icon that can mean both charging or charged.
Battery icons
The battery indicator icon in the upper-right corner of the screen shows battery charging status and about how much charge is left in the battery. When connected to a power source, a small lightning icon will appear next to the battery icon:
If the battery charge is very low, the device may display a black screen with an empty battery icon, indicating that the battery needs to charge for up to ten minutes before you can use the device. If the battery is extremely low on power, the device may display a black screen for up to two minutes before one of the low-battery images appears; continue to charge the unit for at least 30 minutes or until it is fully charged.
Yes I already saw this article before and this doesn't help ansewering my question. For iOS 6 and earlier, there would be a lightning icon in the battery when it's charging. If it's charged then there would be a plugged-in icon in the battery. However, the lightnight icon besides the battery in iOS 7 stays the same all the time as long as it's plugged into the charger. So I have no idea when does it finishes its charging, as it doesn't even show battery percentage like iPhone does. -
How to find program which created the session
Hi friends,
can anybody tell me, how to find out the program name that as generated perticular batch session in SM35.
I have session name and i want to find out the program which created the session.
Thanks in advance.
SayaHi Saya,
Check table <b>TBTCO</b> and<b> TBTCP</b> to know about the program created by a session.
Give Job name to TBTCP-JOBNAME and get report name in the field TBTCP-PROGNAME.
Thanks,
Vinay -
How to Hide Form Field If the data null
Hi All,
I have an issue in the RTF, i am working in XMLP 5.6.2 Desktop Edition. I am developing template for Dunning Letter report. I have four fields in the footer like collector name,mail id, tele number and then fax. Here some collectors may not having fax and mail id since these fields are opition in the DFF. So I want to hide the form fields with the labels also if the collectors dont have mail id and fax nos. Now i am getting blank space for the collector who dont have mail id and fax nos. I dont knw what logic that need to apply over here.
I have the form fields in the template like ....
<?COLLECTOR_NAME?>
<?COLLECTOR_MAIL_ID?>
Tel. <?COLLECTOR_TELE?>
Fax. <?COLLECTOR_FAX?>
Please advice me to close this issue.
Thanks in Advance
PrabuHi,
This tag is working if the fax value is not in the xml code. But i am getting blank space
Cfx, In my report if mail id and fax is not avaliable then it displays like...
HENRY MICH (Collector name)
(Collector mail id)
432-627-9393 (Collector phone)
(Collector fax)
I want to display the in my report like
HENRY MICH
432-627-9393
I want to remove the blank space for the mail id and fax if the value is not there in the report.
Please advice me to resolve this...
with regards
prabu -
How to map a calculation with the session ID
Hi,
we have been using HBR and as usual many a times we have concurrent rules that are being executed .
now i can view the sessions in the admin services but i am not able to make out that which rule is the one thats running right now.
is there any way that we can map the session Id that is apperaing in the sessions with the intersection on which that rule was executed or the name of the rule.for instance if we could get the session id details in th eHBR Launch log files then we can make out which rule is being executed whith which session ID.you have a detailed information under planning's job console and for more information you can match the time stamp with essbase session.
Can help you up to some extant. -
How to specify delimiter when parsing the parameter list in URL
Here is a sample URL used to call the servlet:
http://myhost.com/servlet?param1=test1¶m2=test2¶m3=test3In the doGet method of my servlet, I understand I can use the getParameter method to retrieve the various parameter values:
String p_param1 = request.getParameter("param1");
String p_param2 = request.getParameter("param2");
String p_param3 = request.getParameter("param3");However, what if the URL was of the form:
http://myhost.com/servlet?param1=test1+param2=test2+param3=test3where the URL parameter delimiter was a plus sign rather than an ampersand (&).
By default, the servlet is only recognizing the ampersand (&) as a parameter delimiter.
When I use a plus sign as the delimiter, getParameter retrieves everything after the question mark (?) as the first parameter
i.e. param1 = test1 param2=test2 param3=test3
param2 = null
param3 = null
How can I get getParameter to recognize a plus sign (+) as a valid delimiter?Servlets follow the HTTP specification. So, there is not much you can do on that level. What you could do (though I do not recommend it) is to set-up a filter that will automatically swap the plus with an ampersand before the actual servlet processes it. My strong advice, however, is to give up on using a nonstandard delimiter.
[http://java.sun.com/products/servlet/Filters.html]
- Saish
Maybe you are looking for
-
I tried disabling the iCloud on my iPhone and ipad2 and re-enabling in hopes elimnating the extra empty folder on my iphone. Despite disabling the iCloud on my iPhone, the empty Photo Stream folder remained on my iPhone and the other Photo Stream fo
-
I have created a form in Formscentral but cannot save it as a PDF to send.
I have created a form in Formscentral but cannot save it as a PDF to send.
-
Java problem ODBC please help!!
Hi everyone,I am getting an error when i try to compile my java code it says : SQL Problem: java SQLException: [Microsoft] [ODBC Driver Manager] function sequense error I need my code to print out questions and possible answers from my database of qu
-
Files generated by Web Service Proxy give errors for complex input types
Hi , I generated a Java Web Service Proxy using a WSDL file. The input params are of this fashion - 1) Object 1 have 3 attributes 2) Object 2 having nested Object 2 (yes , again) which has a nested attribute which needs to be passed say Param 1. When
-
Hi all; just bought a new X BOX 360, ive tried every single solution wireless or wired...i have an actiontec MI424wr current firmware, keep getting that MTU incorrect error even tho i did reset it...i tried from 1364 to 1492....ive added the xbox in