How to include page fragment for JSF application deployed on WebSphere?
Hi all,
I have the following urgent JSF problem, I hope that you can support me in solving it;
- I have JSF application need to be deployed on IBM WebSphere 6.0.1 Application Server.
- I have the tag:
<jsp:directive.include file="Actions.jspf"/>
which includes a page fragment.
- This is working file with Tomcat 5.5 & Sun Application Server 9, but it didn't work on WebSphere and each time the page fragment contents rendered as text, I mean that the JSF components in the fragment doesn't converted to html controls.
Please help...
Message was edited by:
AHmadQ
We use:
<%@ include file="../WEB-INF/jspf/head.jspf" %>where the head.jspf is a jsp fragment like:
<% response.addHeader("Cache-Control", "no-cache"); %>
<% response.addHeader("Pragma", "no-cache"); %>
<% response.addIntHeader("Expires", -1); %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<title><%= pageTitle %></title>
<link href="../style/style.css" rel="stylesheet" type="text/css" />
</head>Cheers,
Illu
Similar Messages
-
How to include page fragment dynamically in BSP
Hi all,
I want to include a page fragment dynamically in my BSP default.htm.
Is it possible to give a variable (path to page fragment) in the include? Instead of using:
<%@include file="../bsp_app/test.htm" %>
I want to give:
variable = "../bsp_app/test.htm"
<%@include file= variable %>
Thank you for your help.
OliverWelcome to SDN.
check out this weblog.
<a href="/people/sap.user72/blog/2005/06/02/dynamic-includes-for-bsp">Dynamic Includes for BSP</a>
Regards
Raja -
How to change Apple ID for all applications in iPad2?
I have changed Apple ID via Settings > Store > Apple ID > Sign out my old Apple ID > Sign in with my new Apple ID.... But, by this method, Apple ID in iCloud, Facetime, and iMessage isn't changed follow to my new one! Do I misunderstand about changing ID? and How to change Apple ID for these applications?
PS. I do not want to do hard reset my iPad2
Thank you all for your kindly help ^^Go into Settings > iCloud > Account > Change to your new Apple ID
Settings > Messages > Recieve At > New Apple ID
Settings > Facetime > Change to new Apple ID -
How to increase page size for balance file upload in Workspace.
Hi All,
Please suggest how to increase page size for balance file upload in shared Workspace pages.
Thanks,A word of caution is in order regarding changing from facing to non-facing and back again. If you have overridden master page items, you'll get a second, non-overridden copy on all the even-number pages when that half of the master page is re-applied. This applies to master text frames which override automatically when text flows into them as well as to objects you manually override. I think you'll find this particular technique also only works for master text frames, whereas the Layout Adjustment should work in all situations where frames snap to guides.
-
How To run Currency translation for Consolidation Application in BPC NW
In "How To do Currency Translation for Financial Application in BPC 7 NW", the author mention that there is another "How To run Currency translation for Consolidation Application in BPC NW", anybody know where to get it?
Hi...
Check if the below links are useful to you.....
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6052a57b-8c64-2c10-b3a5-b0378ff21243&overridelayout=true
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0ea1fd8-d6d3-2a10-c1ab-e8164dd98316
You can find all How-to docs in the below link
http://wiki.sdn.sap.com/wiki/display/BPX/EnterprisePerformanceManagement%28EPM%29How-to+Guides -
How to capture memory usage for web application
In OATS openscripts, how to capture memory usage for web application? Does it have the exisitng java method that we can call to get the memory data (e.g. peak bytes, private bytes) consumed by web application?
JProbe
-
TS1702 HOW TO CANCEL AN SUBSCRITION FOR AN APPLICATION THAT DOES NOT WORK
HOW TO CANCEL AN SUBSCRITION FOR AN APPLICATION THAT DOES NOT WORK
Please stop SHOUTING at us.
http://support.apple.com/kb/ht4098 -
How to build ear files for ADF application using Ant task
How to build ear files for ADF applications using Ant. The ojdeploy ant task can not find application-level deployment profiles. I am trying to automated build and release for ADF application.
Any help is highly appreciated.
Thanks
ShivaHi Timo
Thanks for your reply.
I have successfully created ear file using ojdeploy on jenkins. however when am trying to auto deploy using WLDeploy ant task am getting the following
error :
weblogic.application.ModuleException: :oracle.mds.config.MDSConfigurationException:MDS-01335: namespace "/oracle/webcenter/quicklinks/scopedMD" mapped to metadata-store-usage "WebCenterFileMetadataStore" but its definition was not found in MDS configuration
Please advise how to handle this.
As am a newbie to ADF, could you please advise if it is possible for the ADF application deployments can be automated for different environments using jenkins due to this MDS dependencies.
Appreciate your help.
Thanks
Shiva -
Hi Friends,
Can we use Oracle Application Server of R12.1.x (10.1.3) for Custom Application Deployment(jar files) instead of going for seperate Oracle 10g Applicatuion Server.
Let us know the Licensing information as well
Regards
DBHi,
Personally i would'nt suggest using the Application server, due to
1. If you need down time for application patching, you custom application will also be down.
2. If you can not start 10g Application server (The one came with R12) for some issues, it will also affect your custom application.
3. If you are upgrading/patching 10g application server (the one came with R12), you would not know what will the affect of this on custom application.
E-Business Suite Software Development Kit for Java (includes AppsDataSource, Java Authentication and Authorization Service) Readme - Patch 9863609 [ID 974949.1]
How to add custom JAR files to Apache OC4J Classpath in R12 instance? [ID 433241.1]
Regarding the licensing,
Please speak to local sales representative for licensing requirements.
You can also see
http://www.oracle.com/corporate/pricing/pricelists.html
Thanks -
How to include taglib in a JSF page?
Hi,
How can I include a taglib in a JSF page? I tried the following:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>but I get an error as:
Invalid character used in text string ( <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> ).
Please help!!
Thanks.Hello Prasant,
I think page fragments is what your after, one of the Sun guys did a good blog on page layout with jspf but i can't access the weblogs, but you could try this tutorial in the meantime:
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/pagefragments.html
Then search the weblogs when its available. i hope this helps
Cheers
Gaz -
How to adjust size of Portal Page Panels for WDA Applications
Hi,
I am designing a Portal Page using Page Layout "3 Colums (Narrow:Wide:Narrow" for WDA application. The problem is that the width of the web dynpro contents on the Left and Right panels ("Narrow" parts of the Page Layout) is not very wide, leaving lot of empty space between those panels and the Center ("Wide") panel. Is there a way that I can adjust the width of each panel in the mentioned Portal Page Layout?
I went through SAP library which mentions using method lr_port_manager->navigate_absolute but I am not clear how to pass the width value in the method. If that method is relevant, can someone give a code example (no copy/paste from SAP Library pls.) of how to put the width value (e.g., 300 in the method? Also, in which method (e.g., WDDOINIT) I should execute the code.
Will greatly appreciate the help!
Thanks,
TonyYou can easily create a custom page layout with your desired widths.
Take a look at this blog:
The specified item was not found.
Thanks,
Shanti -
How to display page no for different master pages in one adobe form application
Hi All,
we have requirement where we need to display page nos in different master pages in one single adobe form.
For the First form the page nos should be displayed pgno of total pages and for 2nd form the page no shuld be displayed as pgno of total pg.
so please help me with any script or suggestions for displaying the page no accordingly in different master pages. Your suggestions are greatly appreciated.
Thanks
Raja.Hi Lingaraj,
We have 2 different Master pages and 2 Body pages. For the seccond Master page the page no are comming correct like 1 of 3 ,2 of 3 and 3 of 3 but for First master page the page no are comming 0 of 3 in all of the page its not displaying the current page no in 1st master page.
Screen shots are attached for first master page and Hierarchy Node.Pls see the highlighted section in 2nd image.
Pls see and suggest me accordingly. Hope this helps are let me know anything u require. -
Unable to acess page fragraments bindings of included page fragment
Hi All,
We are using Jdeveloper 11.1.1.5.0
I have included a page fragment(say JSFF2) inside a page fragement one(JsFF1).
Issue is, bindings defined in the page defination of JSFF2 is not getting picked up
when jsff1 is rendered on UI.
Can any one please help how we can include the page defination of J2FF2 inside the
pagedefination of JsFF1, without using the regions?
used declarative component to add the page
<af:declarativeComponent viewId="/com/panduit/spa/pageFragments/spaMaintaince/PartsPricing.jsff"
id="dc1"/>
Thanks,
ChandanaThanxz for the response.
I have two jsff page parentjsff and childjsff. Using declarative component i have include child jsff in parent jsff.
On my my child jsff , I have table which based on transient VO.No data is being displayed in the table, when I run my JSPX that contains parent JSFF.
But when Ii include transient VO iterator in my parents jsff page def, then only data is being displayed.
Thanxz
Chandana -
How to set up database for form application in app. server 10g r2
Hi Friends and Bgrant.
I get user compiled fmb file.
I did not find componant in app. server.
However, I can see form server ment with 3 subitem : form compiler, formmigration and run form on the web.
The form application is supported by database. Other person already configured server for application .
I put a URL in URL field in run form on the web. I can see install ed successfully! Oracle application Server. Forme server. Oracle application server 10g. title: welcome oracle application server
after clicked OK button, the page is grey blank without any inforamtion to be displayed. No error message. status bottome as done. the page title as Oracle application server form server.
SO I think that i need to creade a datasource in app. server.
But I do not know how to fill field.
I can log into database from SQL*plus in server PC.
In datasource page in app. server: i copy a default ORCALEDS information
with new ID and password. it does not work
hereData Source Class:
JDBC URL :
JDBC Driver:
Location
Transactional(XA) Location
EJB Location
Thanks for any help!!
jimThanks for help!
I fixed issue of database connection with new issue.
Only display first form setting (first URL) for 4 different URL
URL:
http://salerpt.com/forms/frmservlet?config=emis-srmenu
fmx file Location as C:\OraMid\forms\salerpt-Forms fmx name as srmenu.fmx in same directory
fmb file location as C:\OraMid\forms\salerpt-Forms_source fmx name as srmenu.fmb in same directory
# Single Sign-On OID configuration parameter
oracle_home=C:\OraMid
in formweb.cfg file
baseHTMLjinitiator=basejini.htm
workingDirector : workingDirectory= blank. but C:\OraMid\forms\salerpt-Forms right now
# Forms runtime argument: which form module to run
##form=test.fmx
## i moved bottom section of form section in here and before
line as Forms runtime argument: database connection details
comment two line
#jinit_exename=jinit.exe
#jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
I create 4 sections as
form=srmenu.fmx
width=1200
height=700
pageTitle=Sale Information System (SIS)
form=xxxx
net 3 form setting
However it only display one form interface that i put in( 4 different URL. only display first URL)
It seems that one formsweb.cfg, it doesn not support multip form application.
I have 4 small forms application with 4 URL for one formsweb.cfg.
What should I need to do?
I am waiting for your help!
JIm
Edited by: user589812 on Nov 24, 2008 1:49 PM -
Need a login strategy for JSF application
I have inherited a JSF application (prototype) and need to modify this application to require a user login. Right now, the application requires a login only for a sub-portion of the application, well after JSF is up and running. That has to change to require the login before the JSF application is invoked.
Basically, what I want to do is present a standard login form (user name, password, and "submit" button). This information will be sent to "j_security_check" where the servlet engine will validate the user against an LDAP server and then look up some user role information. I have no control over user authentication. Once the user has logged in, the application will be looking at user roles to determine what elements of the JSF application they are permitted to access.
In addition, I need to be able to detect when the user's session has expired. When this occurs, I need to automatically reroute the user back to the login page. The prototype I inherited currently has all of the JSF backing beans check to see if the Session is still valid before executing any actions. This seems rather tedious and error-prone to me.
I am not very familiar with security and user authentication issues (somebody else always wrote that part). I think the approach I need to take is: (1) create a login page. (2) create a login error page. (3) create a filter to check to see if the user's session has expired and, if so, re-route the request to the login page.
My questions:
1. Is this the best approach? If not , what is a better approach?
2. Can I use JSF elements for the various login pages, or do I need to use JSP or HTML elements only?
3. Can you point me to an example or tutorial that explains what I need to do?
I've looked at a couple of servlet books, a JSF book, and Sun's online Java tutorials, but I don't see anything that looks quite like what I think I need to do here.
Once I get passed security handling, the rest of the application is all JSF and will be easy to build.
Thanks for your thoughts, comments, and assistance.I have three macs and use one of them as the TM backup destination (that mac has 4 large external disks, I devote one disk at a TM backup for each of the macs) - that mac is also the file server. (I do also use an externally attached HD on one of the other macs as redundancy.) The system works very well and when set up requires no administration, it's automatic! Since the backups are made hourly, I have fresher data than my old system of doing nightly backups using a traditional backup app.
I even had to do a full restore last week on one of the macs and found the process worked flawlessly, had the mac up and running after the 2 hour restore finished.
For critical data (business or professional) I also recommend doing occasional boot disk backups using another backup app. I do that with one of my macs. Note: although I have wireless capability with each mac, I use wired Ethernet connections for speed and reliability.
Maybe you are looking for
-
One of my apps wont update and says installing on my phone. I get a message on my phone to check itunes store for the problem but I cant find anything in itunes store to help me
-
Hi I'm running Addressbook and cannot clear previous entry easily when searching my data base of around 5,000 contacts. I prefer to view in All contacts on a double page spread with details on the right page. Searching doesn't seem to work correctl
-
Can the slideshow on iPhoto play more than one song during the duration?
I have put together a slideshow for my grandfathers funeral. I am trying to put it to music, but it will only allow me to use one song at a time from my iTunes, even after I have made a special playlist for this. Help, I have to complete this by to
-
Hey folks, hope you guys will tune into this week'sOn the Air (10am CT on 7/15)where we are talking about "The MostPowerful Workstations in the Universe!"We're going to talk with HPand Spicehead Travis0729about why and when you need to go above and b
-
Can a vendor have multiple Payment terms?
Hi The user has maintained payment terms in MM (MK02) & FI (FK02) and maintained same payment term for Company code. However in BW report for "Purchase statistic per Supplier" does not match with R/3 and some vendor shows multi payment term. What mig