How to keep entering data in web pages
hi,
i am using ADF 11g 2 release. I have remote application connect with ADF jar lib and local application. when i enter data to my local application and redirect to remote application and enter the data their also. But when I link to local app page via url view but I entered data is not there. I am not commited any page data. In remote app... alos link but there also no data. how to keep them??
all page in taskflow and they connect with control flow case. I made Auto submit true and immediate true for text component.. but no any change.
can not use any setting changes? Need java coding for both application??
hoping chance..
thanks.
hi,
I have developed ADF 3 web applications. 2 of them are connect as ADF jar lib files in other application. That application name is local application and other 2 mentioned as remote application(jar lib files). those are in taskflowcall. IN my Local Application which has Application Module. so I selected remote application's Application modules as Application Module Instances. Then in my Local Application DataControl which include that added Application Modules inside the local application DataControl. which are in nested. Remote application DataControl also appear in the local app DataControl.
Problem is I want to save all applications data through my local application. therefore I link to first remote app and enter data but not commit ,then come back to local app.. and enter data and again goto first remote app again, BUT entered data Not there. so I want to keep them and save all 2 remote app data and local app data.
DCDataControl dc = bc.findDataControl("TestRemoteAppDataControl"); // *<-- this is one of my remote application Data control name..*
ApplicationModule am = (ApplicationModule)dc.getDataProvider();
am.getTransaction().commit();
dc.commitTransaction();
this code is not worked. BUT local app data only saved using below code...
BindingContext bc =BindingContext.getCurrent();
DataControlFrame dcf= bc.findDataControlFrame(bc.getCurrentDataControlFrame());
Collection<DCDataControl> dcCol =dcf.datacontrols();
for(DCDataControl dCDataControl : dcCol) {
if(dCDataControl.isTransactionDirty()){
try{
dCDataControl.commitTransaction();
catch(Exception e) {
FacesContext facesContext = FacesContext.getCurrentInstance();
facesContext.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, e.getMessage(), null));
e.printStackTrace();
thanks ,hopping chance.
any who know this??
thanks.
Similar Messages
-
How to keep the data entered on a page apex
how to keep the data entered on a page apex
so, I've got a registration page then wish go to another page P2 and I return to this P1 without losing dataHi,
As long as the registration page is within the same session, the values will remain in the session until they are specifically cleared out. This can be done by a process on a page - so check if you have a "reset page" process on P1 and, if you do, delete it. This can also be done on a branch - so check the branch that takes you to P2 and see if there is anything entered in the Clear Cache setting and, if it shows *1*, remove that. There are other ways as well, but these are most typical.
Andy -
How to display all data on one page in web app
Hello.
So I have web app JSF (IceFaces framework) + JBoss all Crystal Report working perfectly. So I have page with Crystal Report tags (e.g.
<bocrv:reportPageViewer reportSource="#{crystalReport.reportPath}" ...
in this report I have table with some data (data from DB) and I want to display this data on one page. Unfortunately now this data are moving to the next page and unfortunately I even donu2019t know how switch to the next page (I see only info e.g. 1with 2).
So how to display this data on one page if its impossible how to torn on pagination.So I canu2019t do this, I canu2019t display all data on one page (until Iu2019m using JSF tags)?
In JSF tags Iu2019m setting only path to file. In my bean Iu2019m using u201CReportClientDocumentu201D object itu2019s easy way to load report file (u201Copenu201D method) and set parameters (u201CgetDataDefController().getParameterFieldController()u201D method) and also connect to data base (u201Clogonu201D method) but I havenu2019t this property u201CsetSeparatePages(boolean)u201D.
Maybe Iu2019m doing this wrong and there is a simpler way maybe I can use somehow u201CCrystalReportVieweru201D please give my any advice. -
I keep finding words on web pages (including my own) written in green and doubly underlined (described as 'Text enhance') that provide a hyperlink to "Groupon". Why does this happen and how can I stop it?
I dont want to "OPT-OUT"....i want it gone permanently!!
-
Hello, all,
how can I enter data in an input schedule on a member in the EPM Add-On that is not a base member?
E.g. I want to implement a top-down-planning scenario and I have the following hierarchy:
Europe
Germany
France
UK
Spain
Italy
How can I enter a value on Europe in an input schedule in order to allocate this value afterwards?
Thanks in advance and best regards
GerdGerd,
It should be something like below -
EuropeInput
Europe
Germany
France
UK
Spain
Italy
EuropeInput shall be kept out of hierarchy and should be a base level member. Users will enter the numbers in this member. In your script logic, you will make use of this member to allocate the data in Bas(Europe) i.e. Germany, France, etc.
Effectively, after allocation the same data will be rolled up to Europe.
Many top-down planning would use such work-around as BPC doesn't allow writing to parent node.
Regards,
Ashish -
How can I delete an old web page ??
How can I delete an old web page ?? I have created a web page some time ago and now I want to delete it but i do not know how to do it: can anyone help me ?
Delete the web page where it is published.
If it is published to MobileMe, then you need to log into MobileMe and go to your iDisk or mount it on your desktop and then delete it from your Web/sites folder.
If you have published to a server, then you'll need to download Cyberduck, Filezilla or Transmit - all dedicated ftp programmes to connect with your host/server and then delete your old files from the server.
It really is not hard. -
How to Hightlight the Data in Jsp Page
How to Hightlight the Data in Jsp Page,
I am doing doing search page,based on values given search page those are sent to servlet,in servlet based on some conditions if particuler id i am getting then i am redirecting to Respective jsp page with highlight the data from database..
Thanks in advance..."Highlighting data in JSP sounds strange".
Without looking at your search specific algorithms I feel you are finally going to display a page (HTML content) to user which contains highlighted text. Highlighting is not directly related to server side language you use (JSP, ASP, PHP etc.). This is purely HTML and CSS. However, server side script (such as JSP) should generate HTML content for getting highlight effect.
Following HTML shows highlighted text using background-color property on span element.
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body>
<p style="font-size:1.1em">This is a long paragraph which contains <span style="background-color: yellow;">highlighted text</span> and non highlighted text.</p>
</body>
</html>Thanks,
Mrityunjoy
Edited by: mrityunjoy on 14 Jun, 2010 3:30 AM -
Regarding how to pass the data from web dynpro to workflow
hi gurus,
how to pass the data from web dynpro to workflow.
Regards
vijayCheck this [thread|SAP_WAPI_START_WORKFLOW;
-
How to pass the data from web dynpro to workflow.
hi gurus,
how to pass the data from web dynpro to workflow.
Regards
vijayHi
you can use function module
data ls_input_container TYPE swr_cont.
data lt_input_container TYPE TABLE OF swr_cont.
CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
EXPORTING
task = ptask
IMPORTING
return_code = lv_return_code
new_status = lv_new_status
TABLES
input_container = pinput_container
message_lines = lt_message_lines
message_struct = lt_message_struct.
where you pass the data in imnternal table "pinput_container" as
ls_input_container-element = 'KUNNR'.
ls_input_container-value = ls_skna1-kunnr ."wd_this->lv_kunnr.
APPEND ls_input_container TO lt_input_container .
ls_input_container-element = 'CLUSER'.
ls_input_container-value = lv_cluser.
APPEND ls_input_container TO lt_input_container .
ls_input_container-element = 'BUKRS'.
ls_input_container-value = lv_bukrs. " youe value as per requirement.
APPEND ls_input_container TO lt_input_container .
ls_input_container-element = 'VKORG'.
ls_input_container-value = ls_sknvv-vkorg. " youe value as per requirement
APPEND ls_input_container TO lt_input_container .
ls_input_container-element = 'VTWEG'.
ls_input_container-value = ls_sknvv-vtweg. "youe value as per requirement.
APPEND ls_input_container TO lt_input_container .
ls_input_container-element = 'SPART'.
ls_input_container-value = ls_sknvv-spart. "youe value as per requirement.
APPEND ls_input_container TO lt_input_container .
*Also Forgot to mention where ptask is your workflow ID *
Regards,
Arvind
Edited by: Arvind Patel on May 14, 2010 7:38 AM -
How do i Hyperlink to a web page from a java application?
How do i Hyperlink to a web page from a java application using internet explorer as my default web browser?
It's very simple.You can start any Application with the class Runtime. The command is an array consisting of the path of .exe and the file to be open.
String [] cmd={path of IE+Filename.exe,"URL of your website"}
try
Runtime.getRuntime().exec(cmd);
catch (Exception e)
System.err.println(e.toString());
} -
How do I close the current web page in Safari?
UPgraded to IOS 8 because a friend said it cured his problems, so I took the plunge.
BIg mistake.
THis question concerns Safari.
how do I close the current web page?I just found how to do this on my iPad! At the top right are two squares overlapping. Click on that and you will get your page hanging in space. There is an X on the top (I think) left. Click on that and TaDa! Lost of hoops, but glad I found it.
-
HOW WE CAN DISPLY DATE IN WEB-DYNPRO
Hi friend,
i want to one example to up load the date format in web-dynpro abap.
THAHi Vikash,
>
vikash wrote:
> Hi friend,
>
> HOW WE CAN DISPLY DATE IN WEB-DYNPRO
>
> THA
if you want to see date calender help in your view, you have to add an input field in the view and bind it with a context attribute of type dats.
Regards
Pranav -
How to create progress bar in web page!!!
Dear,
I do not know how to create progress bar in web page?
Please show me the way to solve it.
Best regards,
HuyGod your lucky/lazy
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import javax.swing.*;
import java.util.*;
import java.io.*;
public class ProgressBar extends Applet
private boolean isStandalone = false;
private int width;
private int height;
private double percentComplete;
private double fundsTarget;
private double fundsRaised;
private Properties values;
private String propertiesFile;
private JPanel jPanel1 = new JPanel();
private JProgressBar PB_FUNDS_PROGRESS = new JProgressBar();
private GridLayout gridLayout1 = new GridLayout();
private BorderLayout borderLayout1 = new BorderLayout();
private JPanel jPanel2 = new JPanel();
private JLabel jLabel1 = new JLabel();
private JLabel jLabel2 = new JLabel();
private JLabel jLabel3 = new JLabel();
private GridBagLayout gridBagLayout1 = new GridBagLayout();
private JPanel jPanel3 = new JPanel();
private JLabel jLabel4 = new JLabel();
//Construct the applet
public ProgressBar()
//Initialize the applet
public void init()
try
jbInit();
catch(Exception e)
e.printStackTrace();
//Component initialization
private void jbInit()
throws Exception
fundsTarget = new Double( 100 ).doubleValue();
fundsRaised = new Double( 50 ).doubleValue();
PB_FUNDS_PROGRESS.setBackground(Color.green);
PB_FUNDS_PROGRESS.setForeground(Color.red);
this.setLayout(gridLayout1);
jPanel1.setLayout(borderLayout1);
jPanel2.setLayout(gridBagLayout1);
jPanel1.setBackground(Color.white);
jPanel2.setBackground(Color.white);
jPanel3.setBackground(Color.white);
jLabel2.setBackground(Color.white);
jLabel1.setBackground(Color.white);
jLabel3.setBackground(Color.white);
jLabel4.setText(" ");
jLabel1.setText(" ");
jLabel2.setText(" ");
jLabel3.setText(" ");
this.setBackground(Color.white);
this.add(jPanel1, null);
jPanel1.add(PB_FUNDS_PROGRESS, BorderLayout.CENTER);
jPanel1.add(jPanel2, BorderLayout.SOUTH);
jPanel2.add(jLabel2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 5, 0), 0, 0));
jPanel2.add(jLabel1, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0,
GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 150, 5, 5), 0, 0));
jPanel2.add(jLabel3, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(6, 5, 4, 150), 0, 0));
jPanel1.add(jPanel3, BorderLayout.NORTH);
jPanel3.add(jLabel4, null);
propertiesFile = this.getCodeBase().getFile().replaceAll("%20", " ")+"funds.properties";
System.out.println("Properties file at " + propertiesFile);
values = new Properties();
try
values.load(new FileInputStream(propertiesFile));
fundsTarget = new Double( values.getProperty("TARGET", "100").toString() ).doubleValue();
fundsRaised = new Double( values.getProperty("RAISED", "50").toString() ).doubleValue();
System.out.println("target: " + fundsTarget + " raised: " + fundsRaised);
catch (IOException ioe)
System.err.println(ioe.getMessage());
percentComplete = (fundsRaised/fundsTarget)*100;
System.out.println(percentComplete);
//Start the applet
public void start()
PB_FUNDS_PROGRESS.setMaximum(new Double(fundsTarget).intValue());
PB_FUNDS_PROGRESS.setMinimum(0);
repaint();
//Stop the applet
public void stop()
public void paint(Graphics g)
Graphics2D g2 = (Graphics2D)g;
PB_FUNDS_PROGRESS.setValue(new Double(fundsRaised).intValue());
String percent = Double.toString(percentComplete).substring(0, 4);
jLabel4.setText("Currently At " + percent + "%");
jLabel1.setText("100%");
jLabel2.setText("50%");
jLabel3.setText("0%");
//Destroy the applet
public void destroy()
public String getAppletInfo()
return "Funds progress applet by A really nice person";
} -
HT1349 How do I get rid of web pages I'm through viewing?
How do I get rid of web pages I'm through viewing?
Not sure exactly what you mean but while you are using Safari, just tap the X on the left side of the tab to close a it. Only the active tab shows the X. You have to tap on a tab to make it active or the foremost window.
If you want to clear the history - Settings>Safari>Clear History.
These are instructions for Safari in iOS 5. What version are you running? -
How can I make photos on web page enlarge with mouse-over?
How can I make photos on web page enlarge with mouse-over?
There's a couple of recent topics which mention MagicZoom and JQZoom...
https://discussions.apple.com/message/17438064#17438064
https://discussions.apple.com/message/17440847#17440847
A very simple method is shown here...
https://discussions.apple.com/message/17440847#17440847
Maybe you are looking for
-
I was Updating my Iphone 4s to iOS 6 through itunes. an error happended now iphone stuck on connect to itunes logo screen . tried tukrning on and of it connects but itunes does not recognize so i can restore .. any ideas?
-
Extra pair of HTML /HTML tag included at web source
I have created a report of JSP format. The charset of the file was UTF-8 and the report contained some Chinese words. When I previewed the file using Reports Developer, it displayed the Chinese words correctly. Then I deployed the report to Oracle AS
-
I need to connect a eMac - power mac 6,4 -PowerPC G4 (1.1) to the internet wirelessly running mac osx 10.4.11. Can anyone advise me please. I have done some research and think a USB adapter is the best option as I doubt the eMac will be able to take
-
Support status 10.2.0.3/4
10gR2 runs out of regular support in July 2011. We currently still operate some databases 10.2.0.3, 10.2.0.4 and 10.2.0.5 and plan to upgrade these to 11gR2. Are 10.2.0.3 and/or 10.2.0.4 still supported as of now (or 10.2.0.5 only)?
-
Problems installing Solaris 8 w/ Win2k
Hi all, I tried to install Solaris 8 IA today on a hard drive that previously had Win2000. I ran into many problems and am incredibly frustrated, so please forgive me. I hope somebody can help. In essence, I installed Solaris 8, and it looks like it