Repost of b12s post from 20070712: JavaServer Faces - Dynamic faces and Int

Thanks for taking a second to read my post, i hope you can help. I am almost complete with my web app using Netbeans VWP and Dynamic Faces. I have come across a simple application that i can not get working in Internet Explorer and as simple as it is I am surprised that it is not working. I cant believe that the Dynamic Faces team would just ignore compatability with IE altogether. Basically i am trying to get AJAX interaction going on by adding text into a textbox and adding a new DynaFaces.fireAjaxTransaction(this); to the submit however it does not seem to work. Maybe you can help...
Here is my page:
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<webuijsf:page binding="#{testies.page1}" id="page1">
<webuijsf:html binding="#{testies.html1}" id="html1">
<webuijsf:head binding="#{testies.head1}" debug="true" id="head1">
<webuijsf:link binding="#{testies.link1}" id="link1" url="/resources/stylesheet.css"/>
</webuijsf:head>
<webuijsf:body binding="#{testies.body1}" focus="form1:layoutPanel1:textField1" id="body1" style="-rave-layout: grid">
<webuijsf:form binding="#{testies.form1}" id="form1">
<webuijsf:button actionExpression="#{testies.button1_action}" binding="#{testies.button1}" id="button1"
onClick="new DynaFaces.fireAjaxTransaction(this);" style="left: 144px; top: 110px; position: absolute" text="Button"/>
<webuijsf:staticText binding="#{testies.staticText1}" id="staticText1" style="position: absolute; left: 170px; top: 185px"/>
<webuijsf:textField binding="#{testies.textField1}" id="textField1" style="position: absolute; left: 75px; top: 55px"/>
</webuijsf:form>
</webuijsf:body>
</webuijsf:html>
</webuijsf:page>
</f:view>
</jsp:root>
Here is my backing bean:
* testies.java
* Created on July 10, 2007, 8:39 PM
package mypkg;
import com.sun.rave.web.ui.appbase.AbstractPageBean;
import com.sun.webui.jsf.component.Body;
import com.sun.webui.jsf.component.Button;
import com.sun.webui.jsf.component.Form;
import com.sun.webui.jsf.component.Head;
import com.sun.webui.jsf.component.Html;
import com.sun.webui.jsf.component.Link;
import com.sun.webui.jsf.component.Page;
import com.sun.webui.jsf.component.PanelGroup;
import com.sun.webui.jsf.component.PanelLayout;
import com.sun.webui.jsf.component.StaticText;
import com.sun.webui.jsf.component.TextField;
import javax.faces.FacesException;
import javax.faces.component.html.HtmlPanelGrid;
* <p>Page bean that corresponds to a similarly named JSP page. This
* class contains component definitions (and initialization code) for
* all components that you have defined on this page, as well as
* lifecycle methods and event handlers where you may add behavior
* to respond to incoming events.</p>
public class testies extends AbstractPageBean {
// <editor-fold defaultstate="collapsed" desc="Managed Component Definition">
private int __placeholder;
* <p>Automatically managed component initialization. <strong>WARNING:</strong>
* This method is automatically generated, so any user-specified code inserted
* here is subject to being replaced.</p>
private void _init() throws Exception {
private Page page1 = new Page();
public Page getPage1() {
return page1;
public void setPage1(Page p) {
this.page1 = p;
private Html html1 = new Html();
public Html getHtml1() {
return html1;
public void setHtml1(Html h) {
this.html1 = h;
private Head head1 = new Head();
public Head getHead1() {
return head1;
public void setHead1(Head h) {
this.head1 = h;
private Link link1 = new Link();
public Link getLink1() {
return link1;
public void setLink1(Link l) {
this.link1 = l;
private Body body1 = new Body();
public Body getBody1() {
return body1;
public void setBody1(Body b) {
this.body1 = b;
private Form form1 = new Form();
public Form getForm1() {
return form1;
public void setForm1(Form f) {
this.form1 = f;
private TextField textField1 = new TextField();
public TextField getTextField1() {
return textField1;
public void setTextField1(TextField tf) {
this.textField1 = tf;
private Button button1 = new Button();
public Button getButton1() {
return button1;
public void setButton1(Button b) {
this.button1 = b;
private StaticText staticText1 = new StaticText();
public StaticText getStaticText1() {
return staticText1;
public void setStaticText1(StaticText st) {
this.staticText1 = st;
// </editor-fold>
* <p>Construct a new Page bean instance.</p>
public testies() {
* <p>Callback method that is called whenever a page is navigated to,
* either directly via a URL, or indirectly via page navigation.
* Customize this method to acquire resources that will be needed
* for event handlers and lifecycle methods, whether or not this
* page is performing post back processing.</p>
* <p>Note that, if the current request is a postback, the property
* values of the components do <strong>not</strong> represent any
* values submitted with this request. Instead, they represent the
* property values that were saved for this view when it was rendered.</p>
public void init() {
// Perform initializations inherited from our superclass
super.init();
// Perform application initialization that must complete
// before managed components are initialized
// TODO - add your own initialiation code here
// <editor-fold defaultstate="collapsed" desc="Managed Component Initialization">
// Initialize automatically managed components
// Note - this logic should NOT be modified
try {
_init();
} catch (Exception e) {
log("testies Initialization Failure", e);
throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
// </editor-fold>
// Perform application initialization that must complete
// after managed components are initialized
// TODO - add your own initialization code here
* <p>Callback method that is called after the component tree has been
* restored, but before any event processing takes place. This method
* will <strong>only</strong> be called on a postback request that
* is processing a form submit. Customize this method to allocate
* resources that will be required in your event handlers.</p>
public void preprocess() {
* <p>Callback method that is called just before rendering takes place.
* This method will <strong>only</strong> be called for the page that
* will actually be rendered (and not, for example, on a page that
* handled a postback and then navigated to a different page). Customize
* this method to allocate resources that will be required for rendering
* this page.</p>
public void prerender() {
* <p>Callback method that is called after rendering is completed for
* this request, if <code>init()</code> was called (regardless of whether
* or not this was the page that was actually rendered). Customize this
* method to release resources acquired in the <code>init()</code>,
* <code>preprocess()</code>, or <code>prerender()</code> methods (or
* acquired during execution of an event handler).</p>
public void destroy() {
* <p>Return a reference to the scoped data bean.</p>
protected ApplicationBean1 getApplicationBean1() {
return (ApplicationBean1)getBean("ApplicationBean1");
* <p>Return a reference to the scoped data bean.</p>
protected RequestBean1 getRequestBean1() {
return (RequestBean1)getBean("RequestBean1");
* <p>Return a reference to the scoped data bean.</p>
protected SessionBean1 getSessionBean1() {
return (SessionBean1)getBean("SessionBean1");
// Get the text from the textbox and set it in the staticTextField
public String button1_action() {
String str = (String)textField1.getValue();
staticText1.setText(str);
return null;
Any help is appreciated.

Using your source files pasted into a new VWP project, I get these errors when I access the app:
JSF1001: Managedbean testies could not be created.
executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1afcfd4) threw exception
javax.faces.FacesException: javax.faces.FacesException: Cant instantiate class: testies.Page1.. testies.Page1
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:560)
at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:73)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:193)
at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:102)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:666)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:641)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:249)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
Caused by: javax.faces.FacesException: Cant instantiate class: testies.Page1.. testies.Page1
at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:282)
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:550)
... 44 more
Caused by: java.lang.ClassNotFoundException: testies.Page1
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1490)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:274)
... 45 more
StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
javax.faces.FacesException: Cant instantiate class: testies.Page1.. testies.Page1
at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:282)
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:550)
at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:73)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:193)
at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:102)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:666)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:641)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:249)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
Caused by: java.lang.ClassNotFoundException: testies.Page1
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1490)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:274)
... 45 more
I didn't have time to debug this but it would be helpful if you could make the netbeans project for this demo available.
Sincerely,
Ed Burns, jsf co-spec-lead

Similar Messages

  • JavaServer Faces and Struts

    For those of you interested in using JavaServer Faces and Struts together (and my mailbox indicates that this is quite a few people :-), I'm happy to announce the immediate availability of an integration library that allows you to use the EA3 release of JavaServer Faces with a recent nightly build (20030216 or later) of Struts 1.1 -- it will also work with the upcoming 1.1-rc2 and 1.1-final releases -- together. Nightly builds of the integration library are available at <http://jakarta.apache.org/builds/jakarta-struts/nightly/struts-faces/>.
    The sources for this package are in the Struts CVS repository, in the "contrib/struts-faces" directory, and will be included in the source nightly distributions starting with the 20030307 version. It is not currently planned to include the struts-faces integration library with binary distributions of Struts 1.1, since it is still an EA quality release.
    See the README.txt file (included in the nightly build) for more information on running the example application and using the integration library in your own applications.

    What are the reasons not to have extended
    RequestProcessor from Struts with the
    capabilities of the FacesServlet... a sort of
    "FacesProcessor" (extended the regular
    RequestProcessor)? (should be nice for views
    with no JSF components: in order not to execute
    FacesServlet for each views , event if there is
    no JSF component in the view)It turned out that I needed a customized RequestProcessor anyway (a couple of the processXxx methods had to work differently), but it actually would have been more work incorporating FacesServlet directly into it. In essence, there is now (in the combined version) a "front controller" for UI events , FacesServlet, and a "middle controller" for form submit events (RequestProcessor). When a UI event happens that just causes the current page to be redisplayed (think of a tree control where you click on the "expand this node" icon), you don't really want the Struts controller servlet to even be bothered by this request. Indeed, if you're using a presentation that was based on DHTML+Javascript, such an event would have been handled on the client anyway, and would never have been sent to the server at all.
    The combined approach still supports Faces and non-Faces pages, though. This means you can migrate one page at a time and test things (which is exactly what I did when I ported the pages of the example app).

  • JavaServer Faces and JavaFX

    Is JavaServer Faces and JavaFX the same?

    Nope, Java FX was only announced in May 2007 whereas JSF has been around for a few years now. JSF is a framework and JavaFX are a series of products.
    Try looking up Wikipedia for the info:
    http://en.wikipedia.org/wiki/Java_FX
    http://en.wikipedia.org/wiki/Java_Server_Faces
    Illu

  • JavaServer Faces and Portal Servers

    Hi all,
    Do you think JavaServer Faces will have substantial applications in developing the user interface for a portal server? To me, it seems like the whole portal page with the tabbed panes and other gadgets could be one large JavaServer Faces component, composed of many smaller JavaServer Faces components. The user interface for a portlet for instance would be a smaller component that is a part of the larger portal page component. Does this make sense to you?
    Your ideas are appreciated.
    Thanks,
    Mete

    Hello Craig,
    Thanks very much for your reply. I think this topic is an exciting one: Making portal servers and portlets integrate well with JavaServer Faces.
    You said that JavaServer Faces will make it easy for portal servers to contain portlets that have JavaServer Faces components in their GUI, but understandably this does not mean that portlets will be required to have a GUI that is made out of JavaServer Faces. The portal server should be tolerant to any kind of GUI that a portlet may be using. So, how would a portal server that has its portal layout built completely with JavaServer Faces work well with portlets that do not have a JavaServer Faces GUI? Would JavaServer Faces make it easy to to embed GUI markup from non-Faces portlets into a portal page that is generated by a master JavaServer Faces component that encapsulates the whole portal page layout?
    How could a scenario like this be handled:
    The user device is a handheld device, so the master portal page JavaServer Faces component decides to use a WML renderer for generating the portal page instead of an HTML renderer. All of the JavaServer Faces enabled portlets are generated using the WML renderer, but the portlets that do not have a JavaServer Faces GUI cannot be rendered in WML. What should the master portal page JavaServer Faces component do in this case?
    Thanks,
    Mete

  • JavaServer Faces and servlet???

    Dear All,
    I'm very new to J2EE. I'm wondering, when should we used Java Servlet?
    If we develop with JavaServer Faces technology, do we code any servlets? I came accross the FacesServlet. The book says that it is included with the JavaServer Faces API and it seems that I don't need to write any code for this class.
    I'm very confuse. PLease help me...

    did you maybe forget to specify the /faces/* prefix within the URL?
    You have to configure the faces servlet to a prefix path and specify it within your URLs...

  • JavaServer Faces and J2EE 1.4

    I have been trying to load the JSF sample .WARs from the Java Web services development pack but the J2EE verifier tool and the application server won't accept the .WAR giving me the following error:
    Error loading C:\Java\jwsdp-1.2\jsf\samples\jsf-cardemo.war: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,...
    Is there some way to configure the application server so that it will accept the JSF .WARs, or am I bettter off calling my EJBs from the provided JSWDP Tomcat server? I need the J2EE application server because I am using EJBs in my application.
    Any information would be helpful.

    I manged to fix the deployment descriptor by changing the web-ap declaration:
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    I also altered the xml declarationg at the beginning to the following, just in case it made a difference:
    <?xml version="1.0" encoding="UTF-8"?>
    This change seemed to make the verifier tool happy but the server choked on the .war file and caused the server to crash issuing about 6k of errors and warnings that started as follows:
    <[WARNING][j2eesdk1.4_beta2][][][14][org.apache.commons.beanutils.MethodUtils][30.October.2003 09:51:27:873 EST][Cannot setAccessible on method. Therefore cannot use jvm access bug workaround.
    java.security.AccessControlException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
         at java.security.AccessController.checkPermission(AccessController.java:401)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
         at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
         at org.apache.commons.beanutils.MethodUtils.getMatchingAccessibleMethod(MethodUtils.java:578)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:243)
         at org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:499)
         at org.apache.commons.digester.Rule.end(Rule.java:276)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1064)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:546)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(XMLDTDValidator.java:2041)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1992)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:902)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1073)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1535)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:348)
    Does the phrase "cannot use jvm access bug workaround" mean that there is a bug with virtual machine that JSF manages to bring up?
    From what I understand JSF uses Tomcat 5.0 and the Application Server uses parts of Tomcat.  Are there some resources that the application server needs to reference in order to be able execute the jsf applications?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • JavaServer Faces and table

    Hello,
    I need to create a table as the following with a single column and more rows. I think I need a datatable component because my data are in a list but how can I display all the information in a single column?
    Thanks and bye,
    Giordano
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
    <tr>
    <td width="100%">Title</td>
    </tr>
    <tr>
    <td width="100%">Authors</td>
    </tr>
    <tr>
    <td width="100%">Info</td>
    </tr>
    <tr>
    <td width="100%"> <hr></td>
    </tr>
    <tr>
    <td width="100%">Title</td>
    </tr>
    <tr>
    <td width="100%">Authors</td>
    </tr>
    <tr>
    <td width="100%">Info</td>
    </tr>
    <tr>
    <td width="100%"> <hr></td>
    </tr>
    <tr>
    <td width="100%">Title</td>
    </tr>
    <tr>
    <td width="100%">Authors</td>
    </tr>
    <tr>
    <td width="100%">Info</td>
    </tr>
    <tr>
    <td width="100%"> <hr></td>
    </tr>
    </table>

    A couple of choices:
    1. Transpose your data source list control so it can be used with a datatable.
    basically turn the columns into rows in the list control bound to datatable.
    2. Use a custom datatable that does what you're looking for. There are a few out
    there that do similar things to what you're looking for in case you don't want to
    build it yourself. I would not suggest that you do since some people already
    did it

  • JavaServer Faces and Data Bases - Help me!

    I am beginning in JSF and I have that to create one aplication using JSF.
    somebody could indicate me a site or send for me code samples of JSF and data base, using insert, delete and update?
    since already I am thankful!

    Serarch google for "JSF CRUD table". Also, please read SUN JDBC tutorial.

  • Selecting the JavaServer Faces in the Frameworks list diables FINISH button

    I create a new Web Application in Netbeans 5.5.1 by clicking the new project item from the FILE pull down list. I complete steps 1 and 2 and continue to step 3, FRAMEWORKS. A list of possible frameworks are listed with unchecked checkboxes. I highlight the JavaServer Faces and put a check in the checkbox. As soon as the checkbox is checked, the FINISH button becomes disabled. If I uncheck the JavaServer Faces, the FINISH button is enabled.
    What do I do to allow JavaServer Faces when creating a new web application project?
    It is not only the JavaServer Faces checkbox that disables the FINIISH button, ALL of the frameworks listed disable the FINISH button when I check them.

    Resolution: In Netbeans 5, click on the TOOLS menu pull down list. In that list, select Module Manager. A node listing of modules is displayed. Scroll down to the WEB node and click on the plus (+) to list the web modules. Uncheck the GWT4NB in the Active column. In my case it was version 1.3.4. Also uncheck the Struts Support in the active column, my version was1.3.30.1

  • [ANNOUNCE] JavaServer Faces Resources Page

    Hi Everyone,
    I've compiled a list of everything related to JavaServer Faces and put a page on my website for it.
    Here it is:
    http://www.jamesholmes.com/JavaServerFaces/
    If you see anything that I've missed, feel free to drop me a line.
    -James
    [email protected]

    well did you notice that JSF EA4 has just been released ?
    I have one more link (but in french) :
    http://www.builder.fr/story/0,,t541-s2134284,00.html
    It says "Struts is dead, live JSF" (bad translation maybe...)

  • Posts from 2008 showing up in Aperture list this AM

    Is this a glitch or what? This morning posts with last post dates from 2008 starting showing up at the top of the message list in *Aperture Installation, Setup and General Usage* .
    Is there a problem with the list serve or am I missing something?

    Hopefully the hosts will see this.
    I suppose there are good reasons for the hosts doing this marking of posts so that they show up in searches. There is a danger doing this however with a topic like Aperture. All of the posts being 'bumped up' so far are from 2009 and back and cover earlier versions of Aperture (pre version 3). Now I didn't start using Aperture until version 3 so I'm not all that familiar with earlier version but I do know that were some significant changes going into version 3.
    Few of the posts mention what version they are addressing, which is to be expected as at the time the only version out was the current version. However given the changes some of the information in the posts do not pertain to version 3.
    For example this post from July 2009 [Creating new folders and why are they brown and blue?|http://discussions.apple.com/thread.jspa?threadID=2094642&tstart=0]. Folders in 3 are all blue there are no more brown folders. A new Aperture user seeing this post will be confused at the least and could wind up using Aperture in a less then optimal way because they believe there are different types of folders that can only hold certain data.
    There are others, one post from 2009 asked about Aperture and Time Machine and was told that TM and Aperture don't work together. While this was true in 2009 TM now works well with Aperture libraries.
    Again I think this bumping of old posts needs to be rethought, as a minimum the posts should be modified to reflect that that are discussing prior versions of Aperture and that the information may not apply to the current version.
    regards

  • How do I use Struts Tiles with JavaServer Faces?

    I want to use JavaServer Faces and need something like tiles.
    Is it right that tiles is for struts what Portlets is for JavaServer Faces?
    Do I have to use Portlets or is there something else?
    What Do I have to do to use Portlets?
    Do I have to use any "engines" or something like that?
    Thanks

    Miikee_
    I guess you understood me wrong!
    JSF RI (and also MyFaces) are implementation of JavaServer Faces Spec.
    Each JSF app needs to be deployed inside of a Servlet Container.
    (like Tomcat). An no, they aren't coming up with an own servlet engine.
    But... you can also run MyFaces and the RI inside of an portlet container
    (eg pluto) instead of Servlet Container.
    HTH,
    Matthias

  • How do I post a pictures from LR to Face Book

    How do I post a pictures from LR to Face Book

    To just post directly from Lightroom to Facebook use this plugin: http://regex.info/blog/lightroom-goodies/facebook
    To have more sophisticated control you will need to setup Lightroom's Publish Services. Lightroom Help | Post photos online using publish services

  • When to move from Struts to JavaServer Faces

    Hi all,
    we've noticed that JavaServer Faces appears to be the future for Model-View-Controller (MVC) framework, and eventually make Struts obsolete (IMHO).
    we are just about to embark on a new project and wondering if JavaServer Faces (JSF) is mature enough to deserve our attention, or should we wait until its full production release.
    any comments will be appreciated.
    regards,
    Trajano

    I would say if it's not at a full production release yet, then wait. If you have a real world app, it's not worth using a beta system to run it on. At least not without some thorough testing of your own, but only you know what your application needs.

  • Download javaServer faces business objects enterprise

    Post Author: gzofera
    CA Forum: JAVA
    hello, where do I download the javaServer face enterprise business objects?
    I am preparing an environment to start customizing web intelligence, and I lost well as to libraries, tools, etc.. which FDI sweat, ECLIPSE? NETBEANS? OTHER? WHERE THE PLUGINS FOR MEETING SET THE SDK? is there any tool that characterizes the Gazette to customize the WEBI? thanks

    Post Author: amr_foci
    CA Forum: JAVA
    i didnt know that there is something like that from Business Objects,  thats work in JSF layer
    but you can check you ESD if you've an account
    https://businessobjects.subscribenet.com/control/bobj/login
    good luck

Maybe you are looking for

  • Blank message when I send a video via a text message

    I got a replacement iPhone 4s last week.  Whenever I try and send a video (shot using the phone) via text message, the recipient (who uses an iPhone) gets a blank message, but are able to get pictures?  Do I need to check certain settings?

  • Cannot install SAP Widget Foundation

    Hi there, i want to install the SAP Widget Foundation. But the following error occurs: C:\TEMP>C:\j2sdk1.4.2_18\bin\java -jar C:\TEMP\SAPWidgetFoundation.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: corp/sap/pal/ ewcs/wizard

  • I can't see MSSQL to create a connection

    Hi ! I don't have the possibility to create a MS SQL connection. I can only connect to Oracle or Access Database. I have the release 1.5.0.53 (the last I think) Thank you for your help

  • Reversed PGI on the wrong date

    dear sir, i created a sto for a material and transferred the material from plant A to B. on 10th Oct, now against this material i created an order on 20th October. created delivery .and issued it against order. now on 25th..we had to cancel the order

  • Displaying  documents using adf

    hi: i've a table that hase a column that carries the link to the directory where my word documents are stored, iwant to display thsi column as a hyperlink that when user clicks it will open the word file,but when i add href tags around the column val