How to call jsf page which is in a seperate project
hi,
I am using JDEV 11.1.2.2.0 verrsion.
how can i call jsf page which is inside the seperate project.
Hi,
How is the jsf page deployed? As a separate application or as part of the same application? If it is separate app, you can use the goLink method suggested by Suresh. If it is in the same app, you can create a taskflow and drop the page as view activity. Then, create an ADF Library out of the project and use it in your project where you want to call it.
-Arun
Similar Messages
-
How to call the Page Fragment in Page with Flow logic
Hi,
I am new to BSP, My requirement is to created 1 page fragment which contains the Logo. and to create 2 pages in flow logic
The logo has to apper in Pages with flow logic Pages. My question is how to call the PAge fragment in the 1 &2 pagesin page with flow logic
Thanks,
sureshSuresh,
There is a very enriching portal help.sap.com where you can find all basic and good documentation .
http://help.sap.com/saphelp_nw04/helpdata/en/77/8a54d7434ff34784272a3df98ab645/content.htm
the above link is from that portal.
Before asking such basic questions please at least try to find or do some research yourself.
There are standard applications like HTMLB_SAMPLES and SBSEXT_HTMLB and more for sample applications.
Regards,
Anubhav -
How to call HTML page through JSP ?
i want to know Hw to call Automaticly a HTML page through JSP.
example :-
have u seen yahoo login wen u put your ID & pass & Clock on login button it will chack ID & pass in the database & if it is correct then It will call A Mail Home Page.
that's same i want to do.
i have a jsp page which chacks the userID & Pass & call the first.html page
but i dont know how to call html page automaticly.
Any one can help me
what i think is this
tell me is it right or not
suppose i have made a variable
String add = "first.html"
after chacking userID & pass
if(idpass == true)
add;
if(idpass == false)
erre;
it will work or not pl tell meIf you do the redirect with javascript, the user cannot resubmit his login when he presses the refresh button. When he does press refresh, he only refreshes the redirect, not the form post that was before it. When he presses back the redirect will also kick him back in stead of going back to the login page. A simple javascript redirect page would look like this:
<html>
<body onload="document.location.href='myhtmlpage.htm';">
</body>
</html>But that is only if you care about resubmits of course. -
how to cache jsf page with submitted data .
Where do you want to cache it? And with which purposes?
-
How to call html page with in the flash
I am new to action script, can some one guide me how to call html page with in the flash. lets say i have movie clip having instance name as "news_feed", I need to disply the html page in this news_feed. kindly help me, thanks alot
some one tell me, weather it is possible or not ??
-
How To Call HTML Page Through Java Swing Page ???....
Hi All ;
Please Can You Tell Me How To Call HTML Page Through Java Swing Page ....
Regards ;Hi,
you can use HTML fragments on a panel.
http://java.sun.com/docs/books/tutorial/uiswing/components/html.html
However, to integrate a browser you need 3rd party software like IceBrowser
If you Google for: HTML Swing
then you find many more hints
Frank -
How to call procedure in which one formal parameter is associative array ty
how to call procedure in which one formal parameter is associative array type,
pls explain with eg.>
above code work fine but when i use case then it give error like
i identifier should be declare
& my code is as
CASE v_array(i)
WHEN 'A' THEN
insert into di_ivpn_report (ID, test_name, table_name, status, entity, proposition)
values (v_att_id, v_att_name, 'DI_'||v_array(i)||'_REPORT'||'_'||v_att_id,
v_status, v_ent_name, v_array(i));
WHEN 'B' THEN
insert into di_mpls_report (ID, test_name, table_name, status, entity, proposition)
values (v_att_id, v_att_name, 'DI_'||v_array(i)||'_REPORT'||'_'||v_att_id,
v_status, v_ent_name, v_array(i));
END CASE;
>
Then you have to use ordinary loop
PROCEDURE insert_update_***_array (TRANID IN VARCHAR2, ATT_NAME IN VARCHAR2, ENT_NAME VARCHAR2, v_array IN ***_array)
IS
v_tranid VARCHAR2(1);
v_att_name VARCHAR2(100) := ATT_NAME;
v_ent_name VARCHAR2(100) := ENT_NAME;
v_att_id VARCHAR2(6);
v_ent_id NUMBER;
v_status VARCHAR2(20) DEFAULT 'INACTIVE';
I NUMBER;
BEGIN
i := v_array.first;
while i is not null loop
CASE v_array(i)
WHEN 'A' THEN
insert into di_ivpn_report (ID, test_name, table_name, status, entity, proposition)
values (v_att_id, v_att_name, 'DI_'||v_array(i)||'_REPORT'||'_'||v_att_id,
v_status, v_ent_name, v_array(i));
WHEN 'B' THEN
insert into di_mpls_report (ID, test_name, table_name, status, entity, proposition)
values (v_att_id, v_att_name, 'DI_'||v_array(i)||'_REPORT'||'_'||v_att_id,
v_status, v_ent_name, v_array(i));
END CASE;
i := v_array.next(i);
end loop;
end; -
How to use j query in .jsf page which is designed using adfpagetemplate.
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document title="untitled7.jsf" id="d1">
<af:form id="f1">
<af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
<f:facet name="center">
<af:resource type="javascript"
source="/lib/jquery/jquery-1.3.2.min.js"/>
<af:resource type="javascript">
function slideSwitch() {
var $active = $('#slideshow IMG.active');
if ( $active.length == 0 ) $active = $('#slideshow IMG:last');
// use this to pull the images in the order they appear in the markup
var $next = $active.next().length ? $active.next() : $('#slideshow img:first');
$active.addClass('last-active');
$next.css({opacity: 0.0})
.addClass('active')
.animate({opacity: 1.0}, 1000, function() {
$active.removeClass('active last-active');
$(function() {
setInterval( "slideSwitch()", 15000 );
</af:resource>
<af:resource type="css">
#slideshow IMG {
position:absolute;
top:0;
left:0;
z-index:8;
opacity:0.0;
#slideshow IMG.active {
z-index:10;
opacity:1.0;
#slideshow IMG.last-active {
z-index:9;
</af:resource>
<af:panelGroupLayout id="slideshow" layout="vertical">
<!-- The use of groups avoids that each image gets surrounded by a div -->
<af:group>
<af:image source="/images/cristo1.jpg" id="i1" />
<af:image source="/images/cristo2.jpg" id="i2"/>
<af:image source="/images/ipanema1.jpg" id="i3"/>
</af:group>
</af:panelGroupLayout>
</f:facet>
<f:facet name="header"/>
<f:facet name="end"/>
<f:facet name="start"/>
<f:facet name="branding"/>
<f:facet name="copyright"/>
<f:facet name="status"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
Above content is my code written in jsf page....
jquery working fine if i create page withoput pagetemplate...
Any please guide me to use jquery in the jsf page(created with page template)...
Thanks in advance
Edited by: 991543 on May 7, 2013 11:05 PMHi frank,
thanks for your reply frank........still am facing the same issue even i tried wat you told.
I have pasted the code below for your reference.....
please let me knw wat is the wrong thing in below code if any thing wrong plz guide me to resolve because this is needed in our project, thanks in advance.
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document title="untitled7.jsf" id="d1">
<af:form id="f1">
<af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
<f:facet name="center">
<af:resource type="javascript"
source="/lib/jquery/jquery-1.3.2.min.js"/>
<af:resource type="javascript">
function slideSwitch() {
var $active = $('#pt1:slideshow IMG.active');
if ( $active.length == 0 ) $active = $('#pt1:slideshow IMG:last');
// use this to pull the images in the order they appear in the markup
var $next = $active.next().length ? $active.next() : $('#pt1:slideshow img:first');
$active.addClass('last-active');
$next.css({opacity: 0.0})
.addClass('active')
.animate({opacity: 1.0}, 1000, function() {
$active.removeClass('active last-active');
$(function() {
setInterval( "slideSwitch()", 1000 );
</af:resource>
<af:resource type="css">
#pt1:slideshow IMG {
position:absolute;
top:0;
left:0;
z-index:8;
opacity:0.0;
#pt1:slideshow IMG.active {
z-index:10;
opacity:1.0;
#pt1:slideshow IMG.last-active {
z-index:9;
</af:resource>
<af:panelGroupLayout id="slideshow" layout="vertical">
<!-- The use of groups avoids that each image gets surrounded by a div -->
<af:group>
<af:image source="/images/cristo1.jpg" id="i1" />
<af:image source="/images/cristo2.jpg" id="i2"/>
<af:image source="/images/ipanema1.jpg" id="i3"/>
</af:group>
</af:panelGroupLayout>
</f:facet>
<f:facet name="header"/>
<f:facet name="end"/>
<f:facet name="start"/>
<f:facet name="branding"/>
<f:facet name="copyright"/>
<f:facet name="status"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
Thanks & Regards
Gowthaman Narayanan
Edited by: 991543 on May 15, 2013 4:27 AM
Edited by: 991543 on May 15, 2013 4:30 AM -
How to call specific page of smartforms
i have smartform in which 5 different pages are there
i want to call PAGE1 when my sy-tcode eq tc1
and PAGE2 when sy-tcode eq tc2 like wise...
how to pass the page name in function module of smartforms???HI,
try this...
case sy-tcode.
when ' '.
Populate the TDPAGESLCT of structure SSFCOMPOP include SSFSPOUTOP of OUTPUT_OPTIONS in form interface of the smartform.
endcase.
call the smartform functionmodule
regards
padma -
How to call required page after the am.invokermethod is called.
Hi All,
I have a serch page which search the table ABC and returns the results(Standard functionality). I results table will have update icon. Now when the update icon, i will pass param mid = 100, is clicked I need to check the table MST whether it has records with mid=100. If yes, i need to display the details by calling the MSTPG page. If no, need to call other page called MSTTEMPPG.
So, How do i check the record exists in the table or not and call the appropriate page.
If i use am.invokermethod(), it call the procedure and executes but this method doesnot return values.so that based on the return value i can call the required page.
Thanks,Thanks Senthil for the response.
I Just wanted to keep the question simple and that is not all the requirement.
I know the switcher bean concept i'm sure that it may not meet my requirements.lets keep it a side.
But sure the second point you mentioned. To redirect to page based on the return value should help me can you elobrate / how do i call a page from the AM.
1) Does am.invokermethod() - returns a value.
2) If no, The procedure AM invokes should have the redirect method - what is the method and how do i call the page from AM
Thanks
Ganesh. -
How to call second page in Smartform without calling first page
Hi Gurus,
I have two pages in one smartform. I am using this for PWB purpose. PLease tell me how I first or second page will be triggered depending on the conditional flag that has been defined in global variables.
For first page it is working...but I don't know how to call the second page bypassing the first page on condition basis.
Thanks in Advance
GautamHi,
The smartform will always start with the first page in the structure by default. However when you call the smartform you can specify which page to start with in the structure CONTROL_PARAMETERS field STARTPAGE, this does mean you have to change you print program to include the logic, not the form.
Regards,
Nick -
How to call/show page(s) from different application
Hi All,
I'm working on couple of applications and some reports (about 30) are used in all applications. I need your advice on doing this efficiently.
Is it possible to
1) Create a separate application with all the reports.
2) Create a blank page with lists linking to all those reports on the same tab
Now, is it possible to call that page in a "reports" tab of each application without prompting for login and still have rest of the tabs visible while the user is using the reports?
Thanks in advance,
Asha
Edited by: ashapatil on Jul 29, 2010 1:54 PM
Edited by: ashapatil on Jul 29, 2010 5:41 PMAsha,
you can create links to call pages from other applications without any problem, just take a look at the structure of APEX URL over here: http://www.oracle-and-apex.com/apex-url-format/
To avoid re-logins you could either disable security on your application (not recommended) or create a custom authentication scheme which takes logged in users from other applications as granted.
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
Work: http://www.click-click.at
Training: http://www.click-click.at/apex-4-0-workshops -
How To Call asp page in j2me application.....?
Hi friends...
I m Developing small application on j2me to call asp page on j2me .
I Dont know how shoud i call this page into j2me .is there any setting we have do in it?
Plz anyone know plz tell me its urgent...
i tried but it will give 401 file not found error
Thnks and Regards
Shri KHi Alekh,
To turn off authentication you must create and make current a No Login Authentication authentication scheme.
or change Page / Security / Authentication as "Page is Public"
Regards,
Benz -
How to call BSP page from Webdynpro ABAP ?
Hi All,
I have a BSP page which has a page attibute . I need to pass a parameter from Webdynpro ALV table to the BSP page attibute and also need to display that BSP Page . Can any one help me out , how to proceed in this ?
Regards,
Kalpana A .hi kalpana,
Use Exit Plug and pass data as URL Parameter.
http://help.sap.com/saphelp_nw04s/helpdata/en/45/1bc575ba064574e10000000a114a6b/content.htm
for how to pass url please check this
http://help.sap.com/saphelp_nw70/helpdata/EN/7b/fb57412df8091de10000000a155106/frameset.htm
Yogesh N -
How to call JSP page from applet?
I have some page1.jsp from which I call applet.
User works with this applet but some information does not in date inside applet.
So user click on some component at applet (some button etc.) and now I would like to do this:
1) open new window;
2) call page2.jsp at this new window.
The reason is that page2.jsp will read some data from database and then displays it in HTML inside page2.jsp itself. It is not necessary to pass these date back to applet for displaying them inside of applet.
So user then can have 2 windows: page1.jsp with applet and page2.jsp with some details information.
But I DO NOT know how to call page2.jsp from applet, and do ti in a new window. Is it possible and how?
Thanks
Mirekimport java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MainMenu extends JApplet implements ActionListener
private JMenuBar mbar;
private JMenu Master,Leave,Report,Logout;
private JMenuItem UserMaster,DeptMaster,DesignationMaster,LeaveAvailable,LeaveApply,Generate;
private JPanel jp;
public void init()
mbar=new JMenuBar();
Master=new JMenu("Master");
Leave=new JMenu("Leave");
Report=new JMenu("Report");
Logout=new JMenu("Logout");
UserMaster=new JMenuItem("UserMaster");
UserMaster.setMnemonic('U');
DeptMaster=new JMenuItem("DeptMaster");
DeptMaster.setMnemonic('D');
DesignationMaster=new JMenuItem("DesignationMaster");
DesignationMaster.setMnemonic('D');
LeaveAvailable=new JMenuItem("LeaveAvailable");
LeaveAvailable.setMnemonic('L');
LeaveApply=new JMenuItem("LeaveApply");
LeaveApply.setMnemonic('L');
Generate=new JMenuItem("Generate");
Generate.setMnemonic('G');
Master.add(UserMaster);
Master.add(DeptMaster);
Master.add(DesignationMaster);
mbar.add(Master);
Leave.add(LeaveAvailable);
Leave.add(LeaveApply);
mbar.add(Leave);
Report.add(Generate);
mbar.add(Report);
mbar.add(Logout);
UserMaster.addActionListener(this);
DeptMaster.addActionListener(this);
DesignationMaster.addActionListener(this);
LeaveAvailable.addActionListener(this);
LeaveApply.addActionListener(this);
Generate.addActionListener(this);
Logout.addActionListener(this);
mbar.setVisible(true);
Container con=getContentPane();
con.add(mbar,BorderLayout.NORTH);
public void actionPerformed(ActionEvent ae){
if(ae.getSource()==UserMaster)
}
Maybe you are looking for
-
How can I convert Pagemaker 7.0 file to InDesign CS5.5?
I have problem with open pagemaker file to InDesign CS5.5. Before I was using PageMaker 7.0. Now I have InDesign CS5.5 & tried to convert my old file to InDesign. But I am having problem to convert. When I convert Pagemaker File, all text looks uncle
-
i was completing surveys and closed the page i was on along with several others.
-
Converting CYMK to spot color?
Alright, i just read the 'how to get help quickly', and will attempt to not let my panic show through too much: I designed graphics to go into my college's literary magazine. I used only two colors: brown and green (8dc63f and 603913). However, last
-
Hi guys, I have an issue where the user is running F.13. He is giving a document number to clear and GR/IR clearing accounts in the select G/L account field. The output generated is not selecting any items(vendors,customers or g/l accs). The output s
-
BW Currency Conversion with rate of next year
Hi, I need to show cumulated values of previous year(PYTD) converted with the exchange rate of the current year (e.g. Jan 06 value converted with Jan 07, Feb 06 with Feb 07 etc.). I can't upload the converted value, because the rate (monthly average)