How to Disable a entire JSP form based on single value
Hi,
My requirement is I have to disbale a JSP form based on getting single value from the drop down box. Please suggust me some ideas.
Highly aprreciated
Thanks In advance
Anbr19
Well as said by my fellow it could be easily acheived by javscript
say i'm assuming the dropdown has set of value under a form named SampleForm..
here is how you do using javascript
<script language="javascript">
function disable(txt){
if(txt == '<Condition Value>'){
for(var i =0 ; i < document.SampleForm.length ;i++)
document.SampleForm.elements.disabled = true;
</script>
<form name="SampleForm">
<select name="dropdown" onchage="disable(this.value)">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</form>
hope this might help :)
REGARDS,
RaHuL
Similar Messages
-
How to disable security on the forms-based transactions
WLS 7 web services include automatically created forms for each web
service. When using these forms, a login is required into the 'Default'
realm. How can this login be disabled?
Regards,
Joop KaashoekThis is caused by a bug, it only happens when using SSL. A CR has been
created for the fix (CR078442)
Joop Kaashoek wrote:
WLS 7 web services include automatically created forms for each web
service. When using these forms, a login is required into the 'Default'
realm. How can this login be disabled?
Regards,
Joop Kaashoek -
How to disable a Entire row in a Matrix in Find Mode (User Form)
Hi,
How to disable a Entire row in a Matrix in Find Mode (User Form)
Regards
JambuHi,
Iam using Bubble event = false in click event but the matrix row
is allow to edit but we cant save the document in Find Mode That is fine.
What is my actual requirement is In find mode matrix Row not allow to enter the data .
For examble In ADD mode i enter the data in Three rows (Item Section - Matrix) and
save the document. Whwn i open the document in find mode the three row is not allow
to editable like the same functionality of PO, sales Order, etc ..
Regards
Jambu -
How to disable debugger for sapscript forms.
How to disable debugger for sapscript forms.
Once activated in se71-Utilities-Activate debugger I do not know how to disable itThank you Rich
I assigned you points for good answer on my preavious mail)
. Actually my real problem is a transported the SAP script form znalepke2 , printer definition nale
and device type zststartsp of a thermal printer.
On original system (ak1) the printout is ok but on target system(ak2)
not.
Lateron I transported also :
R3TR SCPD 1403(as the device type uses this character set)
R3TR TABU TSP08 (All entries)
R3TR TABU TSP1D(All entries)
R3TR TABU TSP1T(All entries)
I used also report RSTXSCRP to traport form and device types. L
Lately I discovered that when I performe printout preview I get also eronneous printout If I ssue an printout preview in language "EN" on system "ak1"(only on system ak1 and form preview in "SL" is oK. What steps you suggest me to solve the prolem
Thank you in advance -
How to disable Withholding Tax in Form Setting
Hi,
How to disable Withholding Tax in Form Setting for A/P or A/R service invoice document.
Thank you.
sridharHi Sridhar,
You cannot disable Withholding Tax from Form Setting in A/P or A/R for specifically service invoice only. If you want to disable you have uncheck from General Settings BP master, Item Master.
Thanks
Sachin -
Link same column to different forms based on column value
Hi All
I have one report with column "STATUS" with values 'schedule' and 'Active'. I want to link this column to some forms based on these values if column value is 'schedule' then it will go to some other form or if value is 'Active ' then go to some other forms and also i want to send some parameters of particular column value so it will fetch data from table based on this status. how can i link same column to diffrent forms. please help me out.
ThanksHi,
In the report query you can conditionally generate the links.
Example.
select
case when status = 'schedule' then '<a href="'||'f?p=&APP_ID.:150:&SESSION.::NO:150:P150_ITEM1,P150_ITEM2:'||
value_for_item1||','||lvalue_for_item2||'">status </a>'
when status = 'active' then '<a href="'||'f?p=&APP_ID.:200:&SESSION.::NO:200:P200_ITEM1,P200_ITEM2:'||
value_for_item1||','||lvalue_for_item2||'">status </a>'
else status end column_title,
....Regards,
Natarajan
Edited by: Nattu on Mar 18, 2013 11:53 PM -
How to: disable buttons in standard forms
Hi all,
does anybody know how to disable session date button from standard forms?
I cannot find in forms (through Form Builder) the right data block / canvas where this button is.
Thanks all.
JacopoI'm not aware of any "session date button". A button on a form can be disabled using the set_item_property.
Use the layout editor and double-click the button. It will tell you what button it is. The button will also be highlighted in the Object Navigator window.
Message was edited by:
Mark Roberts -
How do I open up a form based on a query/parameter
Can someone please tell me how can I open the form based on a query and the query is based on a pre-set value. Thanks.
I am new to Oracle Form. Please treat me like a newbie. Thanks.Hi,
If I understand u , you want to call a form
and execute query automatically with preset value.
Is that what you mean?.
1.suggestion: You can use the call_form, or open_form .
check all parameters like "auto query" and so on.
(see help-online for parameters to pass for call_form, open_form....)
2.Suggestion: In the pre-query trigger set the value.
in the When-new-form-instance
write this code:
Begin
execute_query; -- built-in procedure
end;
I hope this gives you an idea,
Regards
CB -
How given valus directly in jsp form ?
hi
i have a 1 html form.. in that first number , last number. and average..
how to assign values for first number and last number direcly in jsp form..
and also that values should be stored to Mysql..
my final result is when i click the Average button it display the additon of two numbers.....
plz help me how to calculate the average in jsp with mysql..
plz provide codeplz help me how to add two numbers
1number=someone
2number=someone
average=result
and when i assign values directly stored to mysql and retrive the database
plz help and provide code -
How to disable buttons in ADF form so it can be reused
I would like to reuse the same Human Task ADF form for multiple User Activities in the same BPM 11g process definition. The only difference between the User Activities in the process are the outcomes (buttons) allowed. For example, in some User Activities, the outcomes allowed are APPROVE and REJECT. In others, it might be APPROVE, REJECT, and REPROCESS. Is it possible to hide, or disable, buttons in a Human Task ADF form based on some settings done in the User Activity, or something passed to the Human Task ADF form?
I started digging, and I see in the jspx file for the form, there is an attribute named "visible" that is set as follows on the button:
<af:commandToolbarButton actionListener="#{invokeActionBean.setOperation}"
text="#{wf:getResourceValue('APPROVE', 'bindings.customActions')}"
disabled="#{!bindings.APPROVE.enabled}"
action="#{invokeActionBean.invokeOperation}"
partialSubmit="false"
visible="#{wf:isCustomActionAvailable('APPROVE', 'bindings.customActions')}"
id="ctb2">
<f:attribute name="DC_OPERATION_BINDING" value="bindings.APPROVE"/>
</af:commandToolbarButton>
So if I can figure out a way to pass flags to the form, and then use those in the setting of the "visible" flag, would that do it? Is there a better method?
Thanks,
Joe A.Set the binding to the button in the managed bean based on the input form parameter. For example if parameter value is paramValue1
<task-flow-definition id="sourceTaskflow">
<input-parameter-definition>
<name>inputParameter1</name>
<value>#{pageFlowScope.paramValue1}</value>
<class>java.lang.String</class>
</input-parameter-definition>
</task-flow-definition>
Set binding to not enabled.
#{!bindings.CreateInsert.enabled}
Some relevant references
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/oct2010-otn-harvest-183714.pdf
Using Parameters in Task Flows -
How to disable encryption in oracle forms
Hi,
Is there any parameter or profile option need to be changed to disable encryption in oracle forms?
My requirement is to print all the parameters comes to ListenerServlet.java ,I'm able to do that but in the console i'm getting junk values because of encryption.
Thanks in advanceInsufficient information. Start with Forms version and description of what you are trying to do in greater detail.
The URL is encoded. So what exactly is this junk? Are you seeing encoded things like %20, %7C, etc . along with your actual values? Or, is it completely garbled with unreadable characters? Post a bit of that is you can in a pair of {code} tags like this.{code}<your stuff>{code}.
Regards, -
Populate one text field on a form based on the value in another
I am new to APEX and building my first application.
When a user enters a value in one field, I would like to run a SQL command and then display a value in another field based on the value in the first field. For instance, if a user enters a part number in one field, when they tab off of the field, I would like to display the name of the part in the part name field.
ThanksThanks. That put me on the right track. I used that link to find the link http://htmldb.oracle.com/pls/otn/f?p=11933:11:2890374750690437 and then using the two was able to put together a solution.
I am down to one last issue. I am able to return the name back from the process and display it with an alert statement. Unfortunately, I am unable to display the value on the form.
I am doing the following.
<script language="JavaScript1.1" type="text/javascript">
function f_getCustomerName(id)
var v_id = id;
var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=getCustomerName',$v('pFlowStepId'));
get.addParam('x01',$v('P2_CUSTOMER_ID'));
gReturn = get.get();
get = null;
gReturn = (!gReturn)?'null':gReturn;
/* The below do not work
$s('P2_CUSTOMER_NAME',gReturn);
document.getElementById('P2_CUSTOMER_NAME').value = gReturn;
document.getElementById('P2_CUSTOMER_NAME').value = 'TEST';
alert(document.getElementById('P2_CUSTOMER_NAME').value );
alert(gReturn);
//-->
</script>
Process: getCustomerName
declare
l_customer_id customer.customer_id%type;
l_customer_name customer.customer_name%type;
begin
l_customer_id := to_number(wwv_flow.g_x01);
select customer_name
into l_customer_name
from customer
where customer_id = l_customer_id;
htp.p(l_customer_name);
end; -
Insert a number of rows for tabular form based on frequency value
Hi,
I have a page with two search items.
Based on the values in the search item, a report is created as tabular form.
The information displayed has a frequency column.
Values for frequency can be Q, Y, M, D
I would like to know if it is possible to to load the form with a standard numbers of row depending on the frequency.
Example: If frequency is Q ,then when i click the go button in the search region, the tabular shoud load with the information displaying 4 rows, even if the information returned is less than 4 rows.
If frequency is Y ,then when i click the go button in the search region, the tabular shoud load with the information displaying 2 rows, even if the information returned is less than 2 rows.
When no data is found, the form should load displaying a number of empty rows depending on the frequency.
ThanksFollowing this example:
http://apex.oracle.com/pls/otn/f?p=31517:209
you should be able to achive that.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
How to Disable a Standart Oracle Forms Error Message?
Hello,
On 'Work Incidents' page, we are using 'REPORT_TIME' field for the work starting time. But when we enter a time for work starting time, that is before the 'Incident Time' we get the "APP-PER-289032: The value for Report Time cannot be earlier than the value for Incident Time if Report Date is the same date as Incident Date" error message. I want to disable this error message. How can I do this?
Thank you...
Emrah ÖzgünWelcome to the forums !
Pl post details of your OS and EBS versions. One option could be to use forms personalization
395117.1 - Form Personalizations in Oracle Applications (Release 12)
279034.1 - Information About the Oracle Applications Form Personalization Feature in 11i
468657.1 - How To Do Forms Personalization
744069.1 - Sample Testcase For Using Form Personalization In Oracle Applications
Another option could be to use CUSTOM.pll
438922.1 - ORDER MANAGEMENT SUITE - USAGE OF CUSTOM LIBRARY CUSTOM.pll
747508.1 - How To Call Code Logic Or Procedure In CUSTOM.PLL Using Form Personalization - Builtin 'Call Custom Library'
HTH
Srini -
How do I send entire pdf form via email from web browser
How do you send a pdf completed form on your web browser via email to email address?
Hello Wayne, see no offense in this message
There is a faster scheme.
Copy the range of cells to send (it may be an entire table)
Enter the application entitled Preview.
File > Create a new doc from the clipboard
File > Send the selected PDF document (I'm not sure of the exact wording).
It's the highlighted one.
Bingo, it will create a mail with the PDF embedded.
Yvan KOENIG (VALLAURIS, France) jeudi 3 novembre 2011 22:32:21
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community
Maybe you are looking for
-
Hi all, using Forms 6i and reports 6i. vParamList:=CREATE_PARAMETER_LIST('MyRep'); ADD_PARAMETER(vParamList, 'DESCHANGE_CODE',TEXT_PARAMETER,:EDCD_CODE); ADD_PARAMETER(vParamList, 'EMPLOYEE_CODE',TEXT_PARAMETER,:EDCD_EMP_CODE); ADD_PARAMETER(vParamLi
-
2007 Macbook Pro having CPU problems
My macbook pro has been acting weird recently. It's been running slower, and things have been happening like... When i watch Youtube videos sometimes, when i try to fullscreen the video, the computer takes a long time to do it sometimes and other tim
-
How can I use JDBC to get the db name in a db url ?
Hi, My program needs to read a database url from a txt file and connect to the specify database. And my program also needs to know what's the database name. So DatabaseMetaData or Driver can retrieve the database name from the url ? Please brief me a
-
How to avoid outputting goods receipt
Hi, iam printing a goods receipt with output type WE01 thru MB90 How to avoid outputting befor printing it?? Regards Krishna
-
I recently got hit by the data usage but in iOS8, it ate all my data. So, tonite i updated to 8.1. I have been on wifi at home ever since the update, i reset all my stats to watch what it uses. My phone is USING DATA WHILE ON WIFI! how is that even p