Asycronous page load with JSF
We are looking to develop a portlet/widget type page in JSF (2.0) and would like to set it up so that each widget load concurrently. So the intial page would render and then each component would render after that. It doesn't appear that we can have more than one ajax call execute at a time with JSF. I was wondering what is the best way to accomplish this. I know iframes would work, but I am a little reluctant to go down that path. Are there any other ways this can be done with a standard JSF application?
The trouble with JSF is that it is oriented on the business side of things and not the front-end; what you have here however is a strong front-end requirement. I'll be very blunt there: if these sort of requirements are important then JSF is not the right choice for this application.
You mention portlets; something like this is perhaps an option?
http://www.hascode.com/2011/07/creating-portlets-with-java-server-faces-2-and-liferay/
I don't know if this solves your requirement of asynchronously loading widgets though.
Similar Messages
-
Pages load with a "hiccup"...
Hi!
I have a problem with pages loading with a visual "hiccup". My site www.joecurtisband.com (Google will say it's going to my myspace, but it goes to the proper site) loads o.k. and everything is good EXECPT... when you go from one page to the next, as the new page loads the image and text "hiccup". Everything seems to load for a split second about an 1/8" higher than it should, then loads in place. This ONLY happens at the published site, not in iWeb. I took great pains to assure everything was consistent from page to page so it would flow nice. Any advise would be MUCH appreciated.
Thanks,
JosephAfter the pages load in the browser, a JavaScript is executed to draw the navigation bar at the top of each page.
That instance between loading the page and the drawing of the links takes a split second.
It's browser dependent too. Safari shows the hiccup. Firefox 3.0 & Flock do not. -
Execute ViewObject with Parameters at JSF Page Load? JSF/ADF/BC 10.1.3
This 'should' be a simple problem, but I'm not seeing an answer, no doubt because I'm not searching for the right thing.
I have a page that has a grid populated by a view object that has a couple of named parameters. I have the values stored for the parameters based upon actions the user has already taken before they navigate to this page. I need to pass the parameters to the view object and open the query up without any user intervention, preferable before (or at) page load.
I see I can drag an 'ExecWithParams' from the data control pallette, but it looks like it would default to having the user enter the parameter values, which is what I'd like to avoid.
In a previous life I had events available like 'OnCreate' where I'd put code like this, but I'm still learning to think in JSF/Java.Ok, now I see how it's supposed to work. Pretty straightforward if you know where to look. It raises another question for me though...
In my process, I've got the user logging in, at which point a series of user preferences are extracted from the database. My first thought was to store them somehow in the users' session, but I didn't see a way to do that, so I created my own implementation of it with a bunch of getter/setter methods, inside the data model of the project. Unfortunately, I can't see a way to surface them without putting them in the ApplicationModule and adding them to the client interface. In the interim, I came across some utilities methods (written by Steve Muench and Duncan Mills) called ADFJSFUtils and JSFUtils. In the JSFUtils there's this method:
void storeOnSession(String key, Object object) {
FacesContext ctx = getFacesContext();
Map sessionState = ctx.getExternalContext().getSessionMap();
sessionState.put(key, object);
I assume it's designed to work in the ViewController project (since I haven't been able to call it from my Model project) .
This has been a long way to ask: What's the best/recommended way to store variable values for the users' session is a way that I can access them for binding to view objects (as you described above)? I'd love to just implement the storeOnSession right in my appplication module, but it lacks the context, apparently. -
How to call a action on page load in jsf
Hi all,
i am having a JSF page where i want to display the records from the datatable. I have a method in bean which call database and gets the list of records. If i call this method from a link (action on this link) present on this page i can display the records on this page.
But i want to display these records at the time of page load only. How we can do this? How to call a action at the time of page load?
Thanks in adv.If i am calling the database class and get the list in constructor only i am able to display list in the datatable on page load. This works fine. But the requirment is that if there are no records in the list display a error page with message-No records found! . But how i can navigate from the constructor to error page?
Like-
class MyBeam{
MyBean{
private List requestVOList = null;
MyDao dao = new MyDao() //for fetching list from DB
List records = dao.getList() //get list from dao class
if(records==null)
//Navigate to error page. How to do this navigation here?
else
requestVOList = records;
//setter/getters for requestVOList
} -
How to render a JSP page dynamically with JSF controls ??
Hi All,
I am new to JAVA and JSF. I am recently started doing a web project. First we started using plain JSP and servlets and now we are going to use JSF.
Now I am facing one problem with JSF. In a JSP page, I am having a combobox and a div and when i am selecting a value from the combo box, the div should be filled with some controls(like text boxes and comboboxes, buttons, etc) according to the selection.
I have done this in plain JSP with the help of XML/XSLT, AJAX and JavaScript. i.e. XML contains the details of the controls and XSLT transformer will give me controls in a string format in the server, AJAX helps to retrieve it and I have to simply set the div.innerHTML property to that string. It is working fine.
Now with JSF, I need to add JSF controls into my XML file, and it inturn returns the corresponding string having JSF controls easily, but i could not set it directly to div's innerHTML as the String contains JSF controls (Moreover, these JSF controls are linked with JAVA beans).
Is there any provision to add JSF controls to a running page dynamically or is there any provision to convert the above mentioned string of JSF controls to normal HTML controls like the JSF taglibraries doing.??
thanks in advance
noushad
Edited by: naash007 on Apr 20, 2009 4:17 AM
Edited by: naash007 on Apr 20, 2009 5:45 AMThat's simply asking for trouble. Do not suggest to use JSTL in combination with JSF.
JSF already provides almost everything which the JSTL flow control tags provides in flavour of the 'rendered' attribute. -
Web pages loading with a long wait period
Hello
I have just i have just installed windows server 2012 R2 on my new PC
Here is my configuration:
Core i7 3370
4 GB RAM
1GB Graphics
I am using Netgear wireless adapter WNA3100
Internet connection seems to be OK, download is OK
However web pages are loading very slowly on first load and then on subsequent loads it is more rapid.
Do i need to do any additional config to solve this issue?
ThanksHello
I have the same latency issue with all web pages on this server (firefox, IE and chrome)
on my laptop which uses the same connection web pages load instantly
I have a 2mbps internet connection
in internet download manager i have a download rate of 225 kbps
below is the tracert result for one of my website http://www.newturf.com:
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>tracert newturf.com
Tracing route to newturf.com [109.104.87.150]
over a maximum of 30 hops:
1 * * * Request timed out.
2 18 ms 18 ms 28 ms 197.226.32.1
3 223 ms 113 ms 88 ms 196.20.255.10
4 23 ms 22 ms 18 ms tengig4-1-tr.telecomplus.net [196.20.254.169]
5 258 ms 257 ms 255 ms 81.52.188.125
6 306 ms 259 ms 291 ms gigabitethernet13-2-1.marcr2.Marseille.opentrans
it.net [193.251.133.209]
7 276 ms 322 ms 326 ms tengige0-9-0-9.pastr1.Paris.opentransit.net [193
.251.128.242]
8 270 ms 275 ms 276 ms telia-3.GW.opentransit.net [193.251.250.222]
9 262 ms 261 ms 261 ms prs-bb1-link.telia.net [213.155.132.192]
10 293 ms 282 ms 272 ms ldn-bb1-link.telia.net [80.91.247.7]
11 293 ms 277 ms 270 ms ldn-b5-link.telia.net [80.91.246.145]
12 295 ms 279 ms 275 ms hosteurope-ic-143126-ldn-b5.c.telia.net [213.248
.96.50]
13 288 ms 274 ms 276 ms 109.104.95.102
14 275 ms 315 ms 273 ms cr5-cr4.core.webfusion.com [109.104.95.145]
15 302 ms 276 ms 276 ms cr4-ld4.core.webfusion.com [109.104.95.142]
16 275 ms 276 ms 275 ms ds7073.dedicated.turbodns.co.uk [109.104.87.150]
Trace complete.
Is there any config i need to make for DNS? -
WLS 9.2.2: JSP recompile for every page load with JAR'ed tag files
I have a small custom tag library of three tag files. With the server running in development mode and the tag files in a JAR (included in WEB-INF/lib), the server appears to be doing a JSP recompile on every page load. However, it only compiles on the first page load if the tag files are included in WEB-INF/tags (no JAR). Also, running the server in production mode with the JAR'ed tag files avoids the recompile for every page load.
Is that how the server should behave?
For whatever it's worth, I'm also using Eclipse 3.3.2 with WTP and WebLogic Server Tools 1.1.2. The server is running the Sun JVM (1.5_10).Vikram,
I went back and created a simple example to test. Below I'm posting the Java source code generated from the two relevant files: index.jsp, and hello.tag.
__index.java:
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public final class __index extends weblogic.servlet.jsp.JspBase implements weblogic.servlet.jsp.StaleIndicator {
private static void _releaseTags(javax.servlet.jsp.tagext.JspTag t) {
while (t != null) {
if(t instanceof javax.servlet.jsp.tagext.Tag) {
javax.servlet.jsp.tagext.Tag tmp = (javax.servlet.jsp.tagext.Tag)t;
t = ((javax.servlet.jsp.tagext.Tag) t).getParent();
try {
tmp.release();
} catch(Exception ignore) {}
else {
t = ((javax.servlet.jsp.tagext.SimpleTag)t).getParent();
public boolean _isStale(){
boolean stale = staticIsStale((weblogic.servlet.jsp.StaleChecker) getServletConfig().getServletContext());
return _stale;
public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
if (sci.isResourceStale("/index.jsp", 1207926672370L ,"9.2.2.0","America/Denver")) return true;
if (sci.isResourceStale("/null", 1207926783245L ,"9.2.2.0","America/Denver")) return true;
return false;
private static void _writeText(javax.servlet.ServletResponse rsp, javax.servlet.jsp.JspWriter out, String block, byte[] blockBytes)
throws java.io.IOException {
if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)){
out.print(block);
} else {
((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
private static boolean _hasEncodingChanged(javax.servlet.ServletResponse rsp){
String encoding = rsp.getCharacterEncoding();
if ( "ISO-8859-1".equals(encoding) || "Cp1252".equals(encoding) || "ISO8859_1".equals(encoding) || "ASCII".equals(encoding) ){
return false;
if (_WL_ORIGINAL_ENCODING.equals(encoding)) {
return false;
return true;
private static boolean WLENCODED_BYTES_OK = true;
private static final String WLORIGINAL_ENCODING = "ISO-8859-1";
private static byte[] _getBytes(String block){
try {
return block.getBytes(_WL_ORIGINAL_ENCODING);
} catch (java.io.UnsupportedEncodingException u){
WLENCODED_BYTES_OK = false;
return null;
private final static String wlblock0 ="<!--\n * $Id$\n-->\n \n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \n\t\t\"http://www.w3.org/TR/html4/loose.dtd\">\n \n";
private final static byte[] wlblock0Bytes = getBytes( wl_block0 );
private final static String wlblock1 =" \n \n\t";
private final static byte[] wlblock1Bytes = getBytes( wl_block1 );
private final static String wlblock2 ="\n";
private final static byte[] wlblock2Bytes = getBytes( wl_block2 );
private final static String wlblock3 ="\n\n<html>\n<head>\n\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n\n\t<title>Tag File Test</title>\n</head>\n<body> \n\t";
private final static byte[] wlblock3Bytes = getBytes( wl_block3 );
private final static String wlblock4 ="\n</body>\n</html>";
private final static byte[] wlblock4Bytes = getBytes( wl_block4 );
static private javelin.jsp.JspFunctionMapper jspxfnmap = javelin.jsp.JspFunctionMapper.getInstance();
public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException, java.io.IOException {
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
javax.servlet.jsp.tagext.JspTag _activeTag = null;
Object page = this;
javax.servlet.jsp.JspWriter out;
javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true , 8192 , true );
response.setHeader("Content-Type", "text/html; charset=ISO-8859-1");
out = pageContext.getOut();
javax.servlet.jsp.JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession( true );
try {;
response.setContentType("text/html; charset=ISO-8859-1");
{_writeText(response, out, _wl_block0, _wl_block0Bytes);}
{_writeText(response, out, _wl_block1, _wl_block1Bytes);}
{_writeText(response, out, _wl_block2, _wl_block2Bytes);}
{_writeText(response, out, _wl_block3, _wl_block3Bytes);}
jsp_servlet._tags.__hello_tag __tag0 = null ;
int __result__tag0 = 0 ;
if (__tag0== null )__tag0 = new jsp_servlet._tags.__hello_tag ();
__tag0.setJspContext(pageContext);
__tag0.setParent(null);
activeTag=_tag0;
__tag0.doTag();
{_writeText(response, out, _wl_block4, _wl_block4Bytes);}
} catch (Throwable __ee){
if(!(__ee instanceof javax.servlet.jsp.SkipPageException)) {
while ((out != null) && (out != _originalOut)) out = pageContext.popBody();
releaseTags(activeTag);
pageContext.handlePageException(__ee);
__hello_tag.java:
package jsp_servlet . _tags ;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public final class __hello_tag extends javax.servlet.jsp.tagext.SimpleTagSupport {
private static void _releaseTags(javax.servlet.jsp.tagext.JspTag t) {
while (t != null) {
if(t instanceof javax.servlet.jsp.tagext.Tag) {
javax.servlet.jsp.tagext.Tag tmp = (javax.servlet.jsp.tagext.Tag)t;
t = ((javax.servlet.jsp.tagext.Tag) t).getParent();
try {
tmp.release();
} catch(Exception ignore) {}
else {
t = ((javax.servlet.jsp.tagext.SimpleTag)t).getParent();
public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
if (sci.isResourceStale("/META-INF/tags/hello.tag", 1207926783175L ,"9.2.2.0","America/Denver")) return true;
return false;
protected static final String tagxTagInfo = "-84,-19,0,5,116,0,5,104,101,108,108,111,116,0,29,106,115,112,95,115,101,114,118,108,101,116,46,95,116,97,103,115,46,95,95,104,101,108,108,111,95,116,97,103,116,0,5,101,109,112,116,121,112,112,112,112,119,5,0,0,0,0,3,116,0,10,106,115,112,67,111,110,116,101,120,116,119,1,0,116,0,28,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,74,115,112,67,111,110,116,101,120,116,113,0,126,0,4,119,1,1,112,119,2,1,0,112,112,116,0,7,106,115,112,66,111,100,121,119,1,0,116,0,36,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,116,97,103,101,120,116,46,74,115,112,70,114,97,103,109,101,110,116,113,0,126,0,6,119,1,1,112,119,2,1,0,112,112,116,0,6,112,97,114,101,110,116,119,1,0,116,0,31,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,116,97,103,101,120,116,46,74,115,112,84,97,103,113,0,126,0,8,119,1,1,112,119,2,1,0,112,112,119,4,0,0,0,0,112,112,";
protected JspContext jspContext ;
public void setJspContext ( JspContext ctx ){
super . setJspContext ( ctx );
java.util.List nested = null ;
java.util.List atBegin = null ;
java.util.List atEnd = null ;
this.jspContext = new javelin.jsp.JspContextWrapper(ctx, nested, atBegin, atEnd, null);
}public JspContext getJspContext() {
return this.jspContext;
private java.io.Writer jspxsout;
private javax.servlet.jsp.tagext.JspTag _activeTag;
private static void _writeText(javax.servlet.ServletResponse rsp, javax.servlet.jsp.JspWriter out, String block, byte[] blockBytes)
throws java.io.IOException {
if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)){
out.print(block);
} else {
((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
private static boolean _hasEncodingChanged(javax.servlet.ServletResponse rsp){
String encoding = rsp.getCharacterEncoding();
if ( "ISO-8859-1".equals(encoding) || "Cp1252".equals(encoding) || "ISO8859_1".equals(encoding) || "ASCII".equals(encoding) ){
return false;
if (_WL_ORIGINAL_ENCODING.equals(encoding)) {
return false;
return true;
private static boolean WLENCODED_BYTES_OK = true;
private static final String WLORIGINAL_ENCODING = "ISO-8859-1";
private static byte[] _getBytes(String block){
try {
return block.getBytes(_WL_ORIGINAL_ENCODING);
} catch (java.io.UnsupportedEncodingException u){
WLENCODED_BYTES_OK = false;
return null;
private final static String wlblock0 ="\n<center><h1>Hello World</h1></center>";
private final static byte[] wlblock0Bytes = getBytes( wl_block0 );
static private javelin.jsp.JspFunctionMapper jspxfnmap = javelin.jsp.JspFunctionMapper.getInstance();
public void doTag() throws JspException, java.io.IOException {
javax.servlet.jsp.PageContext pageContext = (javax.servlet.jsp.PageContext) getJspContext();
javax.servlet.http.HttpServletRequest request = (javax.servlet.http.HttpServletRequest) pageContext.getRequest ();
javax.servlet.http.HttpServletResponse response = (javax.servlet.http.HttpServletResponse) pageContext.getResponse();
javax.servlet.http.HttpSession session = pageContext.getSession();
javax.servlet.ServletContext application = pageContext.getServletContext();
javax.servlet.ServletConfig config = pageContext.getServletConfig();
javax.servlet.jsp.JspWriter out = jspContext.getOut();
javax.servlet.jsp.tagext.JspTag _activeTag = null;
try {
{_writeText(response, out, _wl_block0, _wl_block0Bytes);}
} catch ( Throwable t ){
if( t instanceof javax.servlet.jsp.SkipPageException )
{throw (javax.servlet.jsp.SkipPageException)t;}
if( t instanceof java.io.IOException )
{throw (java.io.IOException)t;}
if( t instanceof IllegalStateException )
{throw (IllegalStateException)t;}
if( t instanceof javax.servlet.jsp.JspException )
{throw (javax.servlet.jsp.JspException)t;}
throw new javax.servlet.jsp.JspException(t);
finally {
((javelin.jsp.JspContextWrapper)jspContext).syncEndTagFile();
Edited by Stephen Davison at 04/11/2008 9:02 AM -
Incomplete page loads with Safari
Let me preface by saying that I am accessing the internet through Earthlink Satellite and I know there is a chance that my problems relate to that, but being that it takes me about seven-and-a-half months of hold time to reach a support person, I'm hoping that one of you may have insights in the event that this is a Safari problem.
I'm using MacBookPro (OSX 10.4.9) with Safari and I am geting many errors when loading complicated sites such as USA Today, MSNBC and MLB.com. I either get question marks or no image at all and Quicktime related images come up with the QT logo with a question mark. I've found that if I clear my Cache and delete all previous cookies, I can get nearly error free loads (although Quicktime stuff still comes up with question marks). But the problem returns soon after the purging.
If anyone has ideas regarding these problems I would be very grateful for help.Hi
For the Quicktime ?, go to System Preferences>Quicktime>Advanced>Mime Settings>Miscellaneous - uncheck "flash media". Restart Safari
Earthlink:
Go to your System Preferences>Network.
- Location - set up a personal location by clicking on the drop down menu and selecting "add a location". Use a name familiar to you. Once established, select "apply".
- Next, click on the "Show" drop down menu and select Network Port Configurations. Depending on whether you use a direct connection into the computer, or wirelss, only Ethernet or Airport, respectively ought to be checked. Move it to the top of the list (you can drag it). Select "apply".
- Back to the "Show" menu, select either "Ethernet" or "Airport" (whichever applies). Click on the TCP panel. There, enter 207.69.188.171 and 207.69.188.172 (separate lines) in the DNS servers box and select "apply". These are Earthlink Codes as cited in this related article.
Select Apply.
Lastly, in the Finder, go to your Utilities folder and select "Terminal". Once the screen is open enter lookupd -flushcache and press return. This clears out the DNS cache. Once done, quit Terminal.
Creating a personal location, plus adding the DNS codes ought to improve the page loads.
Post back -
Slowness on page load with LOVs
Hi people
I am on APEX 3.2 and Oracle database 11.2.0.2.0
I have a page where I have to display 6 list boxes
2 of the 6 list boxes show 10,000 records each
2 od the 6 show 5000 each
final 2 show 1500 each
I have noticed that sometime (not always) this page would take about 3 minutes to fully load and other time it takes 5 seconds to load. The data in the list boxes is coming from SQL queries on some tables. There tables have indexes. Also note that when I run these queries in PL/SQL Developer or SQL-Plus they return records within seconds. Its just on the APEX page where "sometimes" it will just wait for several minutes.
What could be the problem and are there any suggestions to fix this?. I have just read somewhere that I should change shared_server parameter to 5. Right now its 1. I will test this tomorrow morning.
But this has really puzzled me. I have looked at the memory and cpu usage and nothing is happening while it waits for 3 minutes to open the page.
Thanks for your suggestionsHi there..
Peter is right... Creating a page that has select lists that are that large will rarely be performant. I'm surprised that you get an acceptable result as often as you do.
You have to be careful when comparing the results you're getting in APEX with the results you get in other GUI interfaces to ORACLE. Often these GUI interfaces introduce array fetch processing behind the scenes without you even knowing it. For instance SQL Developer by default will only bring back the first 50 rows and only retrieve more as you scroll through the result set. This makes it SEEM like the query ran fast when in reality it was fast bringing back 50 rows.
A more proper comparison would be to run the query in command line SQL*PLUS, which does no array fetch processing by default.
As Peter said, DEBUG MODE is one way of looking at the what is actually happen in APEX when the page loads. If you're familiar with 10046 SQL Trace files, you can produce one of these for the page rendering by appending '&P_TRACE=YES' to the end of the URL for your page. W
WARNING: If you're uninitiated, SQL Trace files are not for the faint of heart! Seek help from a DBA or Tuning Analyst...
Hope this helps
Doug Gault
www.sumneva.com -
Hide Page Controls on Page Load with JavaScript
Good Morning, I am trying to use a peice of code that I found on another thread:
HTML Header
<script language="JavaScript1.1" type="text/javascript">
function setDisabled(PageItem) {
document.getElementById(PageItem).style.visibility = "hidden"
</script>
HTML Body Attribute
onLoad="javascript:setDisabled('P36_COMMS1_0');
The code works if I change the "onLoad" to "onClick" and click the control. But when I use it as written, it doesn't trigger when the page loads. Does anyone have any ideas?
Here is the original thread: http://forums.oracle.com/forums/thread.jspa?messageID=2760790�, but the thread didn't really relate to my question.
DonaldHi Donald,
As the code is within a function block it is has to be called by something when the page loads.
The simplest method would to be ensure that you have a piece of javascript at the bottom of the page (ie, underneath the function and the field it refers to):
<script type="text/javascript">
setDisabled('itemname');
</script>When the browser loads this piece, because you haven't wrapped it within a function block, the code is executed immediately (hence needing to be loaded after the function and the field).
Andy -
Problem with JSF Page loading with WAS 6.1.0.2
We are using Trindad Faces & the app server is Websphere 6.1.0.2.
When the server starts up, its gives lots of logs (does not say error or warning) as below.
11:13:58:881 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [group]
[11/10/06 11:13:59:061 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [property-metadata]
[11/10/06 11:13:59:231 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [group]
[11/10/06 11:13:59:372 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [property-metadata]
[11/10/06 11:13:59:532 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [group]
[11/10/06 11:13:59:782 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [property-metadata]
[11/10/06 11:13:59:942 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared Face
And, when I try to access the Page, the following error message is shown up and the page is not getting displayed.
java.lang.NullPointerException
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:754)
at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:66)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:255)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:277)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:70)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:134)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:150)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:76)
at org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:294)
Any thoughts on what could be the issue?
Thanks in advance!!Hi Raymond,
Is it possible to package a JSF implementation with your web application and then use the usual classloading order?
* Tried that, looks like that wont work. WAS throws all sorts of exceptions :
java.lang.NoSuchMethodError: javax/servlet/jsp/JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
+Caused by: org.springframework.binding.expression.EvaluationException: An ELException occurred getting the value for expression 'ehrRequest.savePractice(practice)' on context [class org.springframework.webflow.engine.impl.RequestControlContextImpl]+
+.....+
What about hiding the JMS queuing behind an EJB (that way the JMS happens in the EJB container, not the web container, a total hack but what can you do)? Have you tried moving all of your classes and libraries from the WAR and into the application space?
Thats actually a pretty good idea. I am gonna try that. -
JSF page loading another JSF in iframe from same domain with diff port
I was wondering if anyone has experienced this issue. I'm using ADF 11g and weblogic 10.3.2. Here's the scenario
1. two ADF 11g application, app1 and app2
2. app1 is deployed on managedserver1 running on port 7001
3. app2 is deployed on managedserver2 running on port 7002
4. page1 on app1 loads page2 from app2 inside an iframe.
5. When a button is clicked on page1 that does a ppr or even a complete postback, the following message from the browser appears:
Because of inactivity, your session has timed out and is no longer active. The page will automatically be reloaded in 10 seconds; if not, click here.
When i check the log file on managedserver1 its has the following error:
SEVERE: Could not find saved view state for token <some token>
I did some research and came across oracle.adf.view.rich.security.FRAME_BUSTING, but this is not the issue here, the iframe loads fine, but after loading when i tried to do something on page1 it seems that the state of the page is messed up.
Any idea would be helpful.
Edited by: user8663354 on Jun 20, 2010 7:05 PMHi,
chances are that the iframe is not isolated as you think it is and the state management of the two overrides each other. I think its best to file a service request with customer support to ensure this scenarion is supposed to work
Frank -
Safari 2.0.3 - Pages load with no images or some images
Hi
I just bought a new iMac Intel. It comes with safari 2.0.3
Any page on the web loads without the images. In place of the image is a ? icon.
If I hit the reload button a few times, the images load up. Sometimes even after a dew reloads, some images are still not loaded.
Any idea why this is happening?
Thanks in advance for any assistance.I have not changed any of the Quicktime settings yet.
Since posting I have installed Firefox. Firefox loads the page www.apple.com flawlessly.
If you would like me to check any of the quicktime settings, can you give me more details on how to do this?
Thanks for your advice -
Browsers Infected and Every Page Loads With Ad Banner
Evidently something I installed on my computer has impacted my browsers with some malware or virus. Every page that I now load in any of my browsers (Safari, Firefox, and Chrome) comes with a small white strip across thr top of the page with this ad: "Make Money At Home http://www.PossibilityNow.com Join Now For The Best Money Making Opportunity For 2014. Go Now." There is an x to click on to get rid of the box, but I am trying to figure out how to get rid of this. I installed a few pieces of software yesterday trying to be able to download flash video from Safari and one of them did this to me. The problem is that I'm not sure which programs I installed as I was playing around with a few to try and find one that worked! Is there a way to find this specific software that is doing this to my browsers? Thanks.
There's likely something similar for Chrome and Firefox, but I suggest checking exactly what you installed, in case something else that's more hidden was also placed on your computer.
-
Why won't Pages load with IOS 10.8.2
After downloading and installing IOS 10.8.2 Pages won't load. I get this error. I'm using a Macbook Air with Intel processor.
Process:
Pages [7403]
Path:
/Applications/Applications/*/Pages.app/Contents/MacOS/Pages
Identifier:
com.apple.iWork.Pages
Version:
4.1 (923)
Build Info:
Pages-9230000~1
Code Type:
X86 (Native)
Parent Process: launchd [146]
User ID:
501
Date/Time:
2012-11-29 15:12:34.753 -0500
OS Version:
Mac OS X 10.8.2 (12C60)
Report Version: 10
Interval Since Last Report:
30920 sec
Crashes Since Last Report:
3033
Per-App Crashes Since Last Report: 4
Anonymous UUID:
FE0B561A-F8BB-8AB1-52F7-6F478CA00A22
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/SFCompatibility.framework/Versions/A/SFCompatibility
Referenced from: /Applications/Applications/*/Pages.app/Contents/MacOS/Pages
Reason: image not found
Binary Images:
0x1000 - 0x345fe8 com.apple.iWork.Pages (4.1 - 923) <CA075805-8E22-2F83-8911-ED378A10FA8D> /Applications/Applications/*/Pages.app/Contents/MacOS/Pages
0x3cc000 - 0x44bff7 com.apple.iLifeMediaBrowser (2.7.2 - 546) <824E7748-CA28-3105-B5C3-27E9D8C6D465> /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser
0x8fea7000 - 0x8fed9e57 dyld (210.2.3) <23516BE4-29BE-350C-91C9-F36E7999F0F1> /usr/lib/dyld
Model: MacBookAir4,2, BootROM MBA41.0077.B0F, 2 processors, Intel Core i5, 1.7 GHz, 4 GB, SMC 1.73f65
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE9), Broadcom BCM43xx 1.0 (5.106.98.81.22)
Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM128C, 121.33 GB
USB Device: FaceTime Camera (Built-in), apple_vendor_id, 0x850a, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: Cruzer Glide, 0x0781 (SanDisk Corporation), 0x5575, 0xfa130000 / 6
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 5
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821f, 0xfa113000 / 8
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x024c, 0xfa120000 / 4
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8404, 0xfd110000 / 3Hello
I have been using Lightroom since it was first created. I am a very experienced Lightroom user, and I just updated to version 5 with my new Canon Eos 5D Mk II (I have used every 5 series camera too).
THERE IS NO LINK AVAILABLE FOR THIS AND THAT IS THE PROBLEM. CS6 SAYS IT IS UP TO DATE, LIGHTROOM SAYS IT IS NOT.
LIGHTROOM SAYS THAT I NEED THAT FILE. I HAVE BEEN SELECTING ‘IGNORE’ OR RENDER WITH LIGHTROOM ADJUSTMENTS DEPENDING ON THE COMPUTER THAT I AM ON.
What I don’t understand is why is lightroom saying that i need the plug-in for my camera, CS6 says my software is up to date, and mostly THERE IS NO PLACE WHERE I CAN SIMPLY DOWNLOAD THE PLUG-IN TO FIX THE PROBLEM.
I am mostly annoyed about the last part- there is no place to simply download the plugin- hence I am writing here, and from what I have read online I am not the only person with this complaint. When I get a moment I will try the link to download it, but as I mentioned, why is it not available as there is obviously a glitch here.
Obviously I am a very frustrated user because the software is not updating and your site does not have the download available so the problem can be simply fixed. I find it a little offensive that you would suggest that I have the problem, and that I don’t know how to use the software, when I am pointing out clearly that there is a software issue here. And trust me, i understand the difference in the options but the fact the plugin does not show up as an update in CS6 (where you say it will be and how it should be installed), is the real issue.
Maybe you are looking for
-
I'm not sure what happened. iPhoto has always worked fine before. It was open when my kids were fooling around in Photobooth, and ever since then, whenever I try to open it, it just spins in the slideshow screen. Even if I plug in my camera, and i
-
Problems accessing Time Capsule disk on Desktop
I'm having problems connecting to my Time Capsule (used as a NAS shared disk) from my Snow Leopard machine. (If it makes any difference) I don't use it for Time Machine backups. If I click on the Time Capsule in Shared in Finder's sidebar it will acc
-
Are there preferences or some other settings that can be adjusted to significantly improve the import speed? On a system with an e6700 processor, SATA mirror drives, and 4GB of memory running XP64 - I dump a dozen or so directories with around 9500 .
-
I just upgraded to Firefox 4.0 and I noticed a discrepency upgrading my plugins.
After upgrading to Firefox 4.0, the website http://www.mozilla.com/en-US/plugincheck/ shows a different upgrade status than the Tools -> Addons (ctrl-shift-A) -> Plugins then "Check for Updates" option. The mozilla website will list several updates (
-
How to contact Adobe support by a Portuguese costumer? Thanks.
How to contact Adobe support by a Portuguese costumer? Thanks.