How to get the context data using java script in interactive forms
Hi All,
How to get the context data using java script in interactive forms by adobe, am using web dynpro java
thanks.
Hi venkat,
Please Refer this link.
Populating one Drop-Down list from the selection of another Drop-down list
Thanks,
Raju.
Similar Messages
-
How to get the current date using HTMLB JSP page
Hi All, I developed an iview with several fields using PDK, I would like to know how can I include for a date field a dynamic value witch in this case is the current date.
<hbj:inputField
id="Date"
type="date"
maxlength="10"
showHelp="TRUE"
required="TRUE"
value="???"
/>
Thanks in advance
AlexisHi Alexis ,
u can use the setDate("3.12.2003") function to set date for this input field.
u just change the id = Date , because in jave we have Date class. rename it to another name..
suppose id = systemDate
<%
Format formater = new SimpleDateFormat("dd.MM.yyyy");
Date syDatum = new Date();
%>
then
put
systemDate.setDate(formater.format(syDatum));
this will set the date .....
Regards
Kishor Gopinathan -
How to get the value retruned by java script function into my jsp page
Hai all,
I had a particular java script function which returns a date.
function getDate() {
var sDate;
// This code executes when the user clicks on a day in the calendar.
if ("TD" == event.srcElement.tagName)
// Test whether day is valid.
if ("" != event.srcElement.innerText)
//alert(event.srcElement.innerText);
sDate = document.all.year.value + "-" + document.all.month.value + "-" + event.srcElement.innerText;
document.all.ret.value = sDate;
var mahi=window.open("configurexml.jsp?xyz=document.all.ret.value")
return sDate;}
Now i want to display this particular date in my jsp page. can anyone tell me the correct approach or a sample code to diaplay this date in my jsp page.
<%@ page language="java"
import="javax.xml.parsers.*,java.io.*,org.w3c.dom.*"%><%@ page import="java.util.*" %>
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <head> <title>Configuring Xml File</title>
<SCRIPT LANGUAGE="JavaScript" SRC="xyz.js"> </SCRIPT>
body bgcolor="#d0d0d0" onClick= "return getDate()" >
<form name="f1">
<b>20 october 2006 </b>
Here where i am printing the date i had to get the value from the js function. how to do that. plz help me....Are you talking about server-side java code (servlets/jsp) or client side (applet)? Given we are in the JSP forum I'll assume we're talking server side.
If so, you are making a common but fundamental mistake. JavaScript executes on the client, not on the server. If you want client data on the server it has to get there somehow. The simplest way to do this in JSP land is via HTTP. So... have your JavaScript code call a JSP (or servlet) and pass the value you want as a URL parameter. Of course this will also change the browser location, so if you don't want this to happen use a frame or iframe to capture your HTTP request.
For example:
Javascript....
function someFunction() {
return 1;
var value = someFunction();
location.href="somejsp.jsp?value=" + value; -
How to get the Parent Id using Groovy script in FCRM
Hi,
I have created one custom object A. I related this object with Opportunity. I created one custom button in custom object. When I click the button I need to get the Optortunity Row Id and pass it to external system.
If I define the OpportunityVO itself it throwing error.
Our application Version : 11.1.7.0.0.
Thanks in Advance,
MohanHi Mohan,
You'll have to use the internal "bindings" to get this value from the session context. As a general recommendation, look at the properties of other pages where this is included (incl. hidden) and see if you can derive the groovy expression from that. You can see an example in this video.
Kind regards, Richard
FA Developer Relations
http://blogs.oracle.com/fadevrel -
How do remove the page number using java script.
Thank you.
Hello,
Where you want remove the page number? If you delete the page number in the first page of the document, that is no way to do. Becasue, first you have to try manually remove the page number 1st page of pages panel, its shown the error "Invalid entry".
Can you please post your query briefly.
thx
csm_phil -
How to get the actual data in ALV report
I am doing some upgradation work in that i am using Submit & And return and also i am using some function modules like LIST FROM MEMORY , LIST TO TXT wnd WRITE LIST , it gives output in normal list format , But i need to print in ALV report .
With the use of set table for 1st display i got the ALV report but not with actual data, (some junk value is showing) , So can any 1 suggest me how to get the actual data in ALV report, With the use of Any Function Module or with Coding,
with regards,Hi Saravana
I am sure you must be getting the values in tables of table parameters from every FM.
consolidate the values from tables of all FMs in one table and built ALV for that table only.
I hope this way you can show the actual data in ALV.
thanks
Lalit -
How to get the "current date" in the BEx?
Hi all,
I need to get the "current date" in my Bex report in order to make a comparison. I know there is a "How to" which shows how to get the current date via a User Exit, but I didn't find it. Could you please help me?
Thanks1. Create a New Formula in Key Figures structure
2. Give tech name and description and Select "New variable" option
3. Next screen will launch Variable Wizard -> create a new variable with replacement path as processing type
4. in next screene select the date characteristic that represents the first date to use in the calculation (From Date)
5. In the next screen select Key in the Replace Variable with field. Leave all the other options as they are
6. In the next Currencies and Units screen select Date as the Dimension ID.
6. Save variable
repeate the Above steps to create another variable (To Date)
and now you can use these two new replacement path variables in your new formula.
Dev -
How to get the current date in a workflow
Hey,
Can anyone tell me how to get the current date while in a workflow?
Thanks in advance.Here is how we did it, hope it helps
<defvar name='locCalendar'>
<new class='java.util.GregorianCalendar'/>
</defvar>
<defvar name='dateFormat'>
<new class='java.text.SimpleDateFormat'>
<s>MM/dd/yyyy</s>
</new>
</defvar>
<defvar name='formatedDate'>
<invoke name='getTime'>
<ref>locCalendar</ref>
</invoke>
</defvar>
<invoke name='format'>
<ref>dateFormat</ref>
<ref>formatedDate</ref>
</invoke> -
How to get the current date ? in the form of dd/mm/yyyy?
Hi all,
As getDate( ), getMonth( ), and getYear( ) is depricated, how to get the current date or System date, month and year ? please help ??
Regards
AshviniHI,
Than u for the reply. But i am getting one error.
as u said, I tried to do so.........
but, i am getting one error.
code
Calendar cald=(Calendar.getInstance.getTime());
out.println(cald);
error message
validate$jsp.java:86: Attempt to reference method getInstance in class java.util.Calendar as an instance variable.
Calendar cald=(Calendar.getInstance.getTime());
^
1 error
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
Pls help
Regards,
Ashvini -
How to get the pixel data so as to work on it?
Hi all,
I am trying to write a plug-in that will crop and scale the image, edit the selection in the image document based on image data. For this purpose I need the pixel data of the image. How to get the image data as different pixels and what is the data structure used to store this data?
Assumption: No layers i.e., only background
Thanks in advance,
SailuHi Ilya,
Thank you for your post. In the plugin architecture you propose (automation + filter), do you have an idea about how to share the pixel data between the two plugins? I have found a post that gives details about how to get pixel data and show it using ADM components
Matthew Hollingworth, "ADM Color Managed Preview?" #1, 22 Oct 2007 11:53 pm but it supposes that you have a filter plug-in.
Again, does anyone knows how to preview the current image in a AUTOMATION plug in? This seems impossible.
Thank you all for your help
Cheers,
Chaker -
How to get the creation date of an event/meeting
I need to implement some control rules on booking conference rooms depending on the creation date and start date.
For example:
- the booking cannot be accepted if the meeting start date is less than 2 hours ahead
at 3:00 PM I can book the conference room for a meeting starting at 5:05PM
but not for a meeting starting at 4:55PM
- the booking cannot be accepted after 5:30PM for a meeting starting the next morning before 10:00AM
at 5:45PM I can book the conference room for a meeting tomorrow at 11:00AM, but not for a meeting at 9:45AMHi Michel,
how to get the creation date of an event/meeting?When you use the calendar sdk to fetch a meeting there is an Icalendar(http://www.ietf.org/rfc/rfc2445.txt) property called CREATED with the creation time in UTC.
For example:
- the booking cannot be accepted if the meeting start
date is less than 2 hours ahead
at 3:00 PM I can book the conference room for a
meeting starting at 5:05PM
but not for a meeting starting at 4:55PM
You would want to implement these rules with with the sdk? That would implie that users connecting to the calendar server with any other client than the calendar sdk could still book these resources whenever they want.
Or you would want to go an validate all the meetings once they are already created?
Cheers,
Jean-Philippe -
How to get the source code of Java Concurrent Program?
Hi,
How to get the source code of Java Concurrent Program?
Example
Programe Name:Format Payment Instructions
Executable:Format Payment Instructions
Execution File Name:FDExtractAndFormatting
Execution File Path:oracle.apps.iby.scheduler
Thanks in advance,
SenthilGo on Unix box at $JAVA_TOP/oracle/apps/iby/scheduler
You will get class file FDExtractAndFormatting.
Decompile it to get source code.
Thanks, Avaneesh -
How to get the manufacturing date of iphone 5s?
how to get the manufacturing date of iphone 5s?
thanksEnter your serial number here:
www.appleserialnumberinfo.com/Desktop/index.php
To find your serial number:
Settings > General > About > Serial Number -
How to get the list of Used Quotations & Non Used Quotations
Hi MM Gurus,
How to get the list of Used Quotations & Non Used Quotations.
i am not talking about Open quotation ,closed quotation..
if once i created PO through quotation it should be used quotation. i not created PO through quotation
it s should be Non used quotation. how to get this list through when we create PO through ME21N
document over view. is there any opetion in Dynamic selection or somthing ..???
Thanks in Advance..
Anthyodaya.ok.
-
How to import the image by using java application
1.how to import the image by using java APPLICATION and display it on the textarea that you have been created.
2.how to store the image into the file.
3. what class should i used?
4. how to create an object to keep track the image in java application.
* important : not java applet.
plzzzzzzz.
regards fennyfollow the link:
http://java.sun.com/docs/books/tutorial/2d/images/index.html
Maybe you are looking for
-
Volume missing in system tray, mute buttons not working
hi, i just reformatted and installed the latest drivers for my Creative Soundblaster Digital 5. (dell) card, and at first everything was fine.. Now they Icon for sound is missing from the system tray.. My volume dial and mute button no longer work. a
-
Module Processor not getting executed
Hi All, I hav created a module processor in the same way as it is mentioned in the pdf https://websmp201.sap-ag.de/nw-howtoguides -> exchange infrastructure -> how to Create Modules for the J2EE Adapter Engine. But to my surprise, it is not working.I
-
Rented two movies last nite from Apple Store - the movies downloaded to 'Video' - tapped the movie I wanted to watch and the screen went not blank but black (like the iPAD was turned off but it wasn't!). I gave up and went to bed. Tried it again thi
-
My mac is not listed under iCloud devices
hi everone I configured "find my mac" and my macbook pro has recovery partition too, but I cant see my macbook pro in icloud. what am I missing ?? Thank you
-
Adobe CS4 rejects serial number
Dear all, I originally bought the CS4 package a few years ago. I have now upgraded to a newer computer (Apple PowerBook running OSX 10.9), and re-installed CS4 on this computer. However, I can not get the newly installed copy to work (except as a dem