Re: Error when trying to display web application.

2006-02-26 Thread Thomas DELHOMENIE
Have you added commons librairy (commons-digester.jar, ...) to your classpath ? [EMAIL PROTECTED] a écrit : I have changed my web.xml as below : http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2e

Re: Error when trying to display web application.

2006-02-26 Thread Dennis Byrne
You will need to put commons-digester[X].jar under WEB-INF/lib . Take a look at the lib dirs in the example webapps, this will give you a better idea about which dependencies you need. Dennis Byrne >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Monday, Feb

Re: Error when trying to display web application.

2006-02-26 Thread econavigator
I have changed my web.xml as below : 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"; version="2.4"> org.apache.myfa

Re: Where to get JSF 1.2 jars?

2006-02-26 Thread Wayne Fay
I already sent an email to [EMAIL PROTECTED] list (I'm already on it, big user of Maven) with the CDDL info etc. From my reading of the license text on the Glassfish site, the binaries are distributed under a Sun Binary license which is pretty limited. Whereas the source code itself is available un

Re: Error when trying to display web application.

2006-02-26 Thread Dennis Byrne
The web.xml code you have posted is not well-formed. Try looking at how some of the deployment descriptors are configured in the example applications ( goes outside of ). http://www.apache.org/dyn/closer.cgi/myfaces/binaries/myfaces-1.1.1-examples.tar.gz Dennis Byrne >-Original Messag

Error when trying to display web application.

2006-02-26 Thread econavigator
Hi, I have been using JSP and Servlet before and this is the first time I try to use JSF in my web application. I used MyFaces 1.1.1 and put the myfaces-all.jar file in WEB-INF/lib of my web application folder. I have set my web.xml as below: http://java.sun.com/dtd/web-app_2_3.dtd";>

RE: what is the worse thing that could happen - escape=false

2006-02-26 Thread Jesse Alexander \(KBSA 21\)
That kind of security is a wasp's nest... _javascript_ is not the only possible fountain of problems... SQL-Code-injection is another one...   My take is that JSF's validation might be already too far within the application's scope to deal with such attack-oportunities. I would prefer to have

what is the worse thing that could happen - escape=false

2006-02-26 Thread Dave
allows users to input a description including any HTML tags, then display back to client using   escape="false".   Users can type in _javascript_ and anything else. What is the security hole? client side or server side?  Can users break in server side security this way? I believe it is client s

A bunch of belated answers about ADF

2006-02-26 Thread Adam Winer
Hi all, I've been remiss in not subscribing to the users list - I've only been on the dev list - and I hadn't realized that people were already talking about ADF Faces over there, before we've even gotten a truly Apache branded release out. Well, nice to know we're attracting that much interest!

Re: MYFACES-703 (Have to manually specify renderer type for ExtendedDataTable)

2006-02-26 Thread Enrique Medina
Hi Martin,It's quite simple. If you use the tag, when the doStartTag() method is called, also the findComponent() method is, and within this one, the setProperties() method is also called. Inside this last method we find this code snip:     if (getRendererType() != null)    {    _co

Re: FacesContext.getCurrentContext is null after login on Tomcat/JBoss

2006-02-26 Thread David Schlotfeldt
I have the same problem. I opened an issue on it a few days ago: https://issues.apache.org/jira/browse/MYFACES-1151 I just added a comment to it about it being a duplicate. David Mike Duffy wrote: I just upgraded to JBoss 4.0.4RC1. I did not have this error in the previous version of JBoss.

Re: FacesContext.getCurrentContext is null after login on Tomcat/JBoss

2006-02-26 Thread David Schlotfeldt
I have the same problem. I opened an issue on it a few days ago: https://issues.apache.org/jira/browse/MYFACES-1151 I just added a comment to it about it being a duplicate. David Mike Duffy wrote: I just upgraded to JBoss 4.0.4RC1. I did not have this error in the previous version of JBoss.

setting value of attributes like binding, value, validator, converter, and required in java

2006-02-26 Thread David Schlotfeldt
I have parts of forms I would like to reuse from page to page but because binding, value, validator, converter, and required are all specified in the XML code I can't reuse the code. I have been playing with the idea of removing these settings from my XML code completely and instead setting th

view mapping

2006-02-26 Thread David Schlotfeldt
I need to change where my application is getting the XML of the view from. For example, currently when a request comes in for /company/history.jsf it will use the contents of /company/history.html. I want to be able to make a request for /company/history.jsf get its content from /documents/comp

Re: MYFACES-703 (Have to manually specify renderer type for ExtendedDataTable)

2006-02-26 Thread Martin Marinschek
Hi Enrique, hmm.. I thought I had identified the bug being that the renderer-type was not set in the constructor itself. AFAIK, it is not necessary to set the component-extension part in the faces-config.xml. Thoughts? regards, Martin On 2/25/06, Enrique Medina <[EMAIL PROTECTED]> wrote: > Gar

Help: not working

2006-02-26 Thread Yee CN
Hi,   I tried to follow create a Composition Components as follows:   --             …   --     The line throws the following exception if label attributes is not specified. Is this meant to be working for Facelets? I was trying to fo

Re: DataTable - changing dataModel.pageSize

2006-02-26 Thread devosc
If I'm understanding right, I think you might be able to do something like: t:dataTable.rows="#{BackingBean.rowsPerPage}" This would then go in hand with: dataModel = new LocalDataModel(getRowsPerPage()); Where getRowsPerPage() is a method in your backing bean. --- You said that you have the

t:inputCalendar component position

2006-02-26 Thread Arshad Ali
Sorry, document.>  ==  document. clear="all">-- Syed Arshad Ali

DataTable - changing dataModel.pageSize

2006-02-26 Thread Artur Skorupa
Hi All, I use data model for taken from page "WorkingWithLargeTables" on MyFaces wiki (PagedListDataModel). It's model that's support paging and works fine with scroller. Everything is OK, but I need to change page size dynamically. I don't know, how to force data table to show more record

Re: tree2 does not expand

2006-02-26 Thread Carsten Burghardt
Am Monday 20 February 2006 22:37 schrieb Sean Schofield: > Last I checked the examples in the nightly worked. Can you point to a > problem with one of the examples? If not, try sending an SVN patch > for an existing example that can be tweaked to demonstrate the > problem. If you're uncomfortabl

Re: Pro JSF and Ajax: it's good

2006-02-26 Thread Cagatay Civici
I've been looking for a book specified on this topic for a while, and ordered it instantly.Thanks for the info,On 2/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: My copy of Pro JSF and Ajax showed up on Friday, and I sat down toread it this weekend.  I had put it on preorder, based only on t

ADF Renderer-Kit and Tomahawk incompatibility

2006-02-26 Thread Claudio Tasso
Hi, I'm using the latest version of Tomahawk (nightly) and ADF (10.1.3.04). ADF requires the installation of its custom RendererKit (oracle.adf.core), but it does not work well with some Tomahawk components. For example, let's examine the HtmlDataScrollerRenderer, which creates a HtmlCommandLin