How to call a view from another
Hello Experts,
I have embedded a view (let us call this view 'A') in standard homepage. This works fine. Now on click of a button on this embedded view I want to launch another view that is also created by me, in the same component in which I had created view A. But I do not know how to launch this second view
Could you please tell me how to call/launch a view from another on click of a button?
Regards,
Prafful
Hello Prafful,
I guess by launching you mean substituting one view by another. It can be achieved by declaring a navigational link in the runtime repository from one view to another. You have to create an event handler on the button and outbound plug in your view using the wizard. Then, on the event handler you call an outbound plug where you trigger a navigation using this navigational link and the view A will be replaced by view B.
A code which needs to be done in outbound plug:
me->view_manager->navigate(
source_rep_view = me->rep_view
outbound_plug = 'NAVLINKNAME'
data_collection = iv_data_collection ).
Best Regards,
Yevgen
Similar Messages
-
How to refer one view from another view?
Hi,
I have 2 views in my Adobe Flash Builder mobile app. I need to refer the first view in my second view.
How to refer one view from another view? Or how to create a reference to a view wherever needed?I don't need any data from my first view. In a certain flow, I need to make my first view to be invisible.
for eg., My First view is in portrait mode. I change the device to Landscape. In the landscape mode, I want to show a completely different view (second view).
In this case, what happens is, I see my first view in Landscape mode for a second. Then the second view appears. When I change to Landscape mode, only the second view should be seen. I need to make my first view to be completely invisible in the OnOrientationChanging event of
StageOrientationEvent
As stage object and StageOrientationEvent works at application level, I need to know how to refer my first view object in the application level.
private function onOrientationChanging(soe:StageOrientationEvent):void
MyFirstView.Visible = False; ====> don't know how to refer MyFirstView here
Is my question clear now? -
HOW TO CALL A FORM FROM ANOTHER FORM
HOW TO CALL A FORM FROM ANOTHER FORM [local machine]
Balraj wrote:
HOW TO CALL A FORM FROM ANOTHER FORM [local machine]The way you asked question is this bit of request or order?
Secondly, you used capital latters which are being treated as Shouting Language. So, always try to switch off the Capslock of your keyboard.
Thirdly, you are very lazy to serach on forum or google for your problem instead of waiting someone to anwer your question.
Your should seriously have a look at FAQ.
http://wikis.sun.com/display/Forums/Forums+FAQ
Also here.
http://www.catb.org/~esr/faqs/smart-questions.html
Please read documentation for the initial questions.
-Ammad -
How to call a process from another project
Hi;
How to calling a process from another process in another project? Which activity that i need or web service, direct binding? I use 11gHi Tulasi ;
I have wsdl of the process i need to call. Also wsdl address on the server. But CALL activity can't use to service call. CALL activity can use only to reusable process call.
I think, this operation must make on composite.xml. But I have a same problem with this method and it don't work.
I create a base process that looking at below. It's include a direct binding. Is it include a direct binding?
[Base Process|http://d1201.hizliresim.com/t/s/21wqu.png]
Then i create a process that call to base process:
[Caller Process|http://d1201.hizliresim.com/t/s/21wqx.png]
I paste to base process' wsdl address on the server. Then i select port type (BaseProcessPortType) and a warning has occured that you see the picture above. Base Process contain Oracle SOA Composite Type. What's the wrong? It happened for Callback Port Type.
And second question is what's the Address? (under Reference Binding Setails option).
I think, i create the this direct binding correctly, i call to base process into my caller process via service activities. -
How to call a view from Interface view
Folks,
How to call a view from interface view (onPlugDefault method) . I was trying to set context of controller but it is not working . What is the work around.
ManishHi Manish,
An interface view is created for each window that you have, which in-turn has views embedded, one of which is default. If you want to pass data which you have in your interface view, do the following
- Add your component controller in your interface view properties
- In the onPlugDefault method(I assume this is where you have the data available through URL parameters),set the component controller context variables like
wdThis.wdGetComContr.wdGetContext().currentContextElement().setName("John");
-Access these context variables in your view as well by adding the component controller as the required controller
Your default view will appear automatically when you call the application.
Regards,
LM -
How to call WD Application from another WD Appliction
Hi all,
how can we call webdynpro application from another wbdynpro application on click of a button in the same browser.
pls suggest
regards
vishalHi Vishal,
Just try to Embed the another WD Component into Component Controller first.
And then Create a View and map it to window as U regularly do,
then in Window- Explore the tree until that View, now open Context Menu for Embed View Option and from the scroll U get search for that WD Component U wanna Embed.
U also have to handle Plugs here, Because the result application required some parameters to be passed that U do from ur first application by passing those values through Plugs. -
How to call a servlet from another servlet
hi everybody,
i have a problem, i have to call one servlet from another one.
Everything works on my pc, but when i install the application on the customer's server i got an error about an Uknown URL followed by the name of the machine.
Wjat i do is the folloqing :
String urlString = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/"+servletName;
URL url = new URL(urlString);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
the variable servletName is the name of the servlet i have to call.
Is there another way to call the servlet ?
All the servlet are installed in the same server.
Any suggestion ?
Cheers.
StefanoSweep is correct about requestDispatcher being another approach for inter-servlet delegation; the only issue that i recall with this approach is that it defaults the method of the destination servlet to the one it was called from...for example, calling servlet2 from within servlet1.post() resulted in the dispatcher attempting to utilize servlet2.post() - i believe that i searched for a parameterize solution to no avail :( (ended up handling the request by placing a "fake" doPost() in servlet2 that simply called servlet2.doGet())
however, if your application is functioning correctly on your pc/webserver then the problem may be external to servlet communication (e.g. client webserver's ports not configured or blocked, missing runtime classes, etc.)
my suggestion would be to set aside the programmatic concerns for the moment - what is the response if you open a browser on a client's machine and access the URL in question (i.e. http://clientserver:port/stefanoServlet)? If it will not respond to access in this manner then it certainly won't when your application calls for it.
It's possible that there is a coding error but, given the info supplied, i'd start examining the environment, first. Let us know if you have any luck with the test i recommended or not (please provide abundant detail). Or, if you've found the solution then you may want to post back with a quick blub so the next person knows how to escape the trap.
D -
How to call one .SWF from another?
How do I call one .SWF from another. I built a very beefy
base .SWF, and want to add music overlay, and an intro slide show
to the exsting Flash animation, but put it in a second .FLA/.SWF
file. How do I call one from the other?
This will be embedded in an HTML file but I assume this is
superfluous to my question.
F.Z.I think you should open that Another SWF (FLA),
and add some actionscript..
For example, you could create a movie clip, and write
actionscript in the
first keyframe:
loadMovie("
http://www.somewebpage.com/movie.swf",
this);
"FredZimmerman" <[email protected]> wrote in
message
news:ftnjas$mj5$[email protected]..
> How do I call one .SWF from another. I built a very
beefy base .SWF, and
> want
> to add music overlay, and an intro slide show to the
exsting Flash
> animation,
> but put it in a second .FLA/.SWF file. How do I call one
from the other?
>
> This will be embedded in an HTML file but I assume this
is superfluous to
> my
> question.
>
> F.Z.
> -
How to call a BSP from another BSP?
Hi All,
I've created a BSP for hiring new employees. I have a situation whereby when the user presses a button a pop window will be displayed listing all the positions in the company. The user selects the correct position, which then populates an input box on the originating page and the pop up window closes.
This pop up window is a page in another bsp which goes off and gets the positions and stores the selection in a cookie.
Now my problem is how do i call this 'get postions' bsp from my originating bsp?
I've tried using the <%@ include file="/sap/bc/bsp/sap/z_hr_org_model"%> but i get the error only page fragments can be included.
So how do i call one bsp from another??
Any help would be much appreciated,
Kind Regards,
Liz.Look at the below [link|http://****************/Tutorials/BSP/F4Help/Tutorial.htm]
The only difference in your case is, you need to call the popup from different BSP Application.
To do that, just add the full path when you call the document.open..
For example,
document.open("/sap/bc/bsp/sap/z_hr_org_model/main.do", ............)
Raja -
How to Call Image Viewer from Form application
Hi,
how to call Image viewer using host command on oracle form 6i.
i trying using host command on local/client application .. and it is working ...
but when i try on server application (EBS - UNIX) it does not working ...
thanks ..
regards,
safarAre you using Forms 6i in client/server mode or web deployed? I'm not sure what you mean by 'try on server application"
Remember that when using a web deployed architecture, a host command will execute the command on the Forms application server, NOT on the client.
To execute host commands on the client you would have to use WebUtil, but that's not available for Forms 6i. Perhaps there are PJC's out there that can do it for you, but I don't want to get in all those details without me knowing if it is relevant for you. -
How to call one program from another program
Hai,
How to call one program through another program.
Example.
I have two programs 1.ZPROG1 2. ZPROG2.
When i execute ZPROG1 at that time it should call ZPROG2.Hi ,
u can use submit statement to call a program .
DATA: text TYPE c LENGTH 10,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF text,
range_line LIKE LINE OF range_tab.
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'H'.
APPEND range_line TO range_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
regards,
Santosh thorat -
How to call a method from another class
I have a problem were i have to call a method from another class. What is the command line that i have to use. Thanks.
Here's one I wipped up in 10 minutes... Cool!
package forums;
import javax.swing.JFrame;
import javax.swing.JTextArea;
import krc.utilz.io.Filez;
import java.io.FileNotFoundException;
class FileDisplayer extends JFrame
private static final long serialVersionUID = 0L;
FileDisplayer(String filename) {
super(filename);
this.setDefaultCloseOperation(EXIT_ON_CLOSE);
this.setSize(600, 800);
JTextArea text = new JTextArea();
try {
text.setText(Filez.read(filename));
} catch (FileNotFoundException e) {
text.setText(e.toString());
this.add(text);
public static void main(String args[]) {
final String filename = (args.length>0 ? args[0] : "C:/Java/home/src/forums/FileDisplayer.java");
try {
java.awt.EventQueue.invokeLater(
new Runnable() {
public void run() {
new FileDisplayer(filename).setVisible(true);
} catch (Exception e) {
e.printStackTrace();
Filez.read
* reads the given file into one big string
* @param String filename - the name of the file to read
* @return the contents filename
public static String read(String filename) throws FileNotFoundException {
return Filez.read(new FileReader(filename));
* Reads the contents of the given reader into one big string, and closes the reader.
* @param java.io.Reader reader - a subclass of Reader to read from.
* @return the whole contents of the given reader.
public static String read(Reader in) {
try {
StringBuffer out = new StringBuffer();
try {
char[] bfr = new char[BFRSIZE];
int n = 0;
while( (n=in.read(bfr,0,BFRSIZE)) > 0 ) {
out.append(bfr,0,n);
} finally {
if(in!=null)in.close();
return out.toString();
} catch (IOException e) {
throw new RuntimeIOException(e.getMessage(), e);
}Edited by: corlettk on Dec 16, 2007 1:01 PM - dang [code [/tags][ -
How to call Comp1 View From Comp2 View in CE 7.1
Hi Experts,
I need to develop an application to call Comp1 View from Comp2 View (Inter Component Communication).
This application developing CE 7.1 NWDS 7.1 not in NWDS 7.0.
Please any one help me.
Regards,
Satya.Hi Satya ,
please go though following blog for used DC concept.
Componentization of Webdynpro Application in CE7.1
In netweaver 7.1 interface controler is abstract and component controller is implementing interface controller so the context data and methods have to be implemented by component controller -
How to call one procedure from another procedure
Hi all,
Could anyone give me clue how to call a procedure contains out parameters
from another procedure.
I had following procedures.
1)
create or replace procedure INS_PUR_ORDER
p_poamt in number,
p_podate in date,
p_poid out number
is
begin
select pkseq.nextval into p_poid from dual;
insert into pur_order(poamt,podate,poid)
values (p_poamt,p_podate,p_poid);
end;
2)
create or replace procedure INS_PUR_ORDER_DETAIL
p_pounits in number,
p_poddate in date,
p_poid in number)
is
begin
Insert into pur_order_detail(podid,pounits,poddate,poid)
values(pdseq.nextval,p_pounits,p_poddate,p_poid);
end;
I need to write a 3rd procedure which calls above two procedures.
like
call first procedure ,basing on the return value
i.e if p_poid != 0 then
we need to call second procedure
in the loop.
thanks in advance.
rampa.Not sure what are you doing, you can not assign cursor to another cursor, may be you are looking for this?
SQL> create or replace procedure proc1 ( result out sys_refcursor)
2 is
3
4 begin
5 open result for
6 select 'HELLO WORLD' from dual ;
7 end proc1 ;
8 /
Procedure created.
Elapsed: 00:00:00.01
SQL> create or replace procedure proc2
2 is
3 l_cursor sys_refcursor ;
4 begin
5 l_cursor := proc1 ;
6
7
8 open l_cursor;
9 fetch l_cursor into l_text;
10 dbms_output.put_line(l_text);
11 close l_cursor;
12
13
14 end proc2 ;
15 /
Warning: Procedure created with compilation errors.
Elapsed: 00:00:00.01
SQL> show error;
Errors for PROCEDURE PROC2:
LINE/COL ERROR
5/4 PL/SQL: Statement ignored
5/16 PLS-00306: wrong number or types of arguments
in call to 'PROC1'
6/4 PLS-00201: identifier 'L_TEXT' must be
declared
6/4 PL/SQL: Statement ignored
8/4 PLS-00382: expression is of wrong type
8/4 PL/SQL: SQL Statement ignored
9/4 PL/SQL: SQL Statement ignored
9/24 PLS-00201: identifier 'L_TEXT' must be
declared
10/4 PL/SQL: Statement ignored
10/25 PLS-00201: identifier 'L_TEXT' must be
declared
---- this is the correct waySQL>ed
1 create or replace procedure proc2
2 is
3 l_cursor sys_refcursor ;
4 l_text varchar2(100);
5 begin
---- procedure call
6 proc1(l_cursor);
7 -- open l_cursor;
8 fetch l_cursor into l_text;
9 dbms_output.put_line(l_text);
10 close l_cursor;
11* end proc2 ;
SQL> /
Procedure created.
Elapsed: 00:00:00.01
SQL> set serveroutput on
SQL> execute proc2;
HELLO WORLD
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
SQL> -
How to call Oracle form .from another application like VB 6.0
Dear ALL,
I want to call oracle(Developer) form ,from another application (VB 6.0).I want to call the form in such
a way that user dont need to enter login and password.I will hard code the username and password
in my VB 6.0 application.User only press a button on Visual Basic 6.0 form and and that button will
open required Orcale form.How can I DO this.PLEASE HELP............
RegardsYou have the command in VB 6.0 to run any exe files right (I think it is the system command). Next to that command place the following code to run your forms application
ifrun60.EXE <forms.fmx with complete path> userid=<username>/<password>@<connection string>.
Regards,
Senthil .A. Perumal.
Maybe you are looking for
-
Help is not working in Hyperion System 9 WebAnalysis
two months back we have installed Hyperion System 9.2.0.3 BI+ server and is working fine. however recently one user complained that WebAnalysis help is not working.<BR><BR>we are getting "page cannot be displayed" when clicking on Help --> contents a
-
Can't launch Phtoshop CS3 and Aperture at the same time on new iMac
Need some assistance here. I'm extremely new to the Mac world, but my wife is having trouble editing photoshoots. She does a good deal of basic editing in Aperture, but also has some actions that she uses in CS3. She always has to close out almost al
-
How can I get rid of shimmer effect in videos that I create in iMovie?
How can I get rid of shimmer effect in videos that I create from photos in iMovie?
-
Greyed out "close", "minimize", and "zoom" controls with Yosemite
After updating to Yosemite, the "close", "minimize" and "zoom" controls for windows are not in color. They are shown in black and white, only. I am using a 13-inch mid 2010 Macbook Pro with 4 GB memory. Any ideas on what I need to do to get the colo
-
Looking up JMS Server from an applet
Hi!! I am trying to lookup a JMS server via an applet using Oracle9i Application Server. It's giving Security Access Exception. Can anybody help.