Re: AW: [TRINIDAD] Issue with Trinidad's javascript and UTF-8

2010-03-23 Thread schneidc
Hi Tobias, I just made an interesting observation. I changed the the first line of one page from ?xml version=1.0 encoding=UTF-8? to ?xml version=1.0 encoding=ISO-8859-1? (btw I'm using Facelets instead of JSP) and removed my javascript function which converted Böhm to Böhm. Now, the

Fwd: Book Promo: Apache MyFaces 1.2 Web Application Development

2010-03-23 Thread Bart Kummel
Hi everybody, I announced the publication of my book Apache MyFaces 1.2 Web Application Development [1] a few weeks ago. This week there is a promotion of the book over at JavaRanch [2], se the forwarded message below. Feel free to ask questions about the book on their JSF forum and you might be

Re: Problem with BeanValidation in myfaces 2.0

2010-03-23 Thread Mark Struberg
To me this sounds like a blocker for beta3, isn't? txs and LieGrue, strub --- Jakob Korherr jakob.korh...@gmail.com schrieb am Di, 23.3.2010: Von: Jakob Korherr jakob.korh...@gmail.com Betreff: Re: Problem with BeanValidation in myfaces 2.0 An: MyFaces Discussion users@myfaces.apache.org

Re: [TOBAGO] Controls self-adjusted in the page

2010-03-23 Thread Helmut Swaczinna
Have you had a look on the error/info log of the gridlayout renderer? It gives you several hints when it's unable to layout the controls correctly. Helmut Am 23.03.2010 04:52, schrieb Fernando Augusto: Hello, While working with my app using TOBAGO 1.0.25-SNAPSOT, I found the following

Re: [TOBAGO] Controls self-adjusted in the page

2010-03-23 Thread Helmut Swaczinna
All renderers are theme dependend. You can't remove scarborough because it's the base theme and it contains all renderers. If you want to remove scarborough you must implement all rendereres yourself. But you can define your own theme based on scarborough and override the css style classes.

Re: [TOBAGO] Controls self-adjusted in the page

2010-03-23 Thread Udo Schnurpfeil
Hi Fernando, a usual solution is to have a start/welcome/waiting page. This page may automatically forwards to your application, after checking the size of the browser (which will be done automatically). You can also use a login page for that. Is this a solution for you? If not, you may call

Re: [TOBAGO] Controls self-adjusted in the page

2010-03-23 Thread Udo Schnurpfeil
In Tobago 1.5 the layout management (was rewritten) a moved to core. Udo Am 23.03.10 04:55, schrieb Fernando Augusto: Another question regarding GridLayout class... Why is it inside scarborough theme JAR instead of a core jar, that will be distributed even if I change themes and remove

Tomahawk and eclipse galileo not working?

2010-03-23 Thread Fabio F.
Hello, I've installed Eclipse galileo with myfaces core 1.2.8 and tomahawk12-1.1.9 . I am able to get working the tomahawk tags that don't have javascript, but not those who have them. For example, if in a t:inputDate tag set popupCalendar=false the page is working, if I set it to true it

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Jakob Korherr
Hi Fabio, I saw that you have two FacesServlet definitions in your web.xml: --javax.faces.webapp.FacesServlet mapped for /faces/* named Faces Servlet --org.apache.myfaces.webapp.MyFacesServlet mapped for *.jsf and *.faces named faces And you also have installed the MyFacesExtensionsFilter for

Re: Problem with BeanValidation in myfaces 2.0

2010-03-23 Thread Jakob Korherr
I don't know Mark, since Leonardo said that he wants to do beta releases on a regular basis now I don't think it will take long until we release the next beta. So do you think it is that important to have it in beta-3? Or can it wait for the next beta? Regards, Jakob 2010/3/23 Mark Struberg

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Fabio F.
Thank you Jakob for the help, I tried to modify my web.xml but the problem is the same. This is my new web.xml file, any other idea? ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns= http://java.sun.com/xml/ns/javaee; xmlns:web=

Re: Problem with BeanValidation in myfaces 2.0

2010-03-23 Thread Gerhard Petracek
as alternative users can also test the bv integration provided by myfaces extval2. compared to the standard integration of bv in jsf 2.0 it offers more advanced and typesafe features. early adaptors would help to improve it. e.g. i saw that at least one version of the jsf2 ri had some issues with

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Jakob Korherr
You're welcome! Which url are you using to access the JSF-page in the browser? Also: can you please provide the portion of the HTML that is supposed to include the javascript (something like script language=javascript type=text/javascript src=.../script). Regards, Jakob 2010/3/23 Fabio F.

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Fabio F.
Well, the URL is http://localhost:8080/telemarketing/faces/login.jsp I don't need to include javascript except those generated by the JSF itself. I only need to generate a popup calendar, whose code I don't know because I've been never able to generate it... Fabio Ferrari 2010/3/23 Jakob

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Jakob Korherr
OK thanks for the URL. No I don't mean from the JSP, but from the generated HTML in the browser. Just open your login.jsp in the browser and view the HTML source. Regards, Jakob 2010/3/23 Fabio F. fabio...@gmail.com Well, the URL is http://localhost:8080/telemarketing/faces/login.jsp I

Re: org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser

2010-03-23 Thread pbreen
It was my version number in the rptdesign file. It was 3.2.21 and when I changed it to 3.2.20 it worked. What happened was that I upgraded my eclipse plugin to get the latest version of the BIRT plugin. However, my BIRT runtime was different from what was generated by Ecllipse in the

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Fabio F.
Ah, ok. Here's login.jsp. html head meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 titleLogin aziende/title /head body centerh1Elenco aziende/h1/center form id=login name=login method=post action=/telemarketing/faces/login.jsp enctype=application/x-www-form-urlencoded

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Jakob Korherr
Thanks! Is this the page that is supposed to render the calendar with the popup? Because I don't see the javascript needed for it here.. Regards, Jakob 2010/3/23 Fabio F. fabio...@gmail.com Ah, ok. Here's login.jsp. html head meta http-equiv=Content-Type content=text/html;

Re: [TOBAGO] Controls self-adjusted in the page

2010-03-23 Thread Fernando Augusto
Hey Udo, Thanks for your support again. I already have a login form in the app, and what happens is: 1 - Login Form (the login page has a rows/columns problem and the form doesn't want to be in the center, but I am trying to fix it myself). User uses ID/PWD and validates itself; 2 - Main

UIComponentBase.java - context.getViewRoot() returns null

2010-03-23 Thread Matthias Leis
Hi, I'm using myfaces 2.0 beta 2 and currently I'm using a h:dataTable on my pages and everything is fine. For some reasons (sorting etc.) I want to use the t:dataTable (from Tomahawk 1.1.9). Now, when I click on a link inside the table, I get the following exception:

Re: UIComponentBase.java - context.getViewRoot() returns null

2010-03-23 Thread Jakob Korherr
Hi, Unfortunately there is no tomahawk port for MyFaces 2.0 available yet, so this might be a compatibility problem. I traced the Exception down and found out that it happens, because the RenderKitFactory returns null for the RenderKit here, see the code from UIComponentBase: String

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Fabio F.
No, it is the login page. This page leads to the http://localhost:8080/telemarketing/faces/query.jsp whose code is (note that it is incomplete because it crashes): htmlhead link rel=stylesheet

Re: UIComponentBase.java - context.getViewRoot() returns null

2010-03-23 Thread Andreas Schmidt
Hi Mathias, the tomahawk component is only available for myFaces 1.1 and 1.2 but not for myFaces 2.0. Thus I doubt that tomahawk will work with myfaces 2.0. One just has to wait until a version for Faces 2.0 is available. Andreas. Matthias Leis wrote: Hi, I'm using myfaces 2.0 beta 2

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Fabio F.
And this is the page (query.jsp) for popupCalendar=false htmlhead meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 titleBenvenuto/title style type=text/css !-- .highlight { background-color: #A8D1E8; color=blue;} -- /style /headbody id=j_id_jsp_470444661_3form

Re: UIComponentBase.java - context.getViewRoot() returns null

2010-03-23 Thread Matthias Leis
Hi, I just saw, that I'm not working with the beta 2 but with the snapshot. In beta 2 the NPW is thrown at line 1038 (in snapshot at line 1041). The line is: String renderKitId = context.getViewRoot().getRenderKitId(); And looking at the variables in debugging mode says, that the viewRoot

Re: UIComponentBase.java - context.getViewRoot() returns null

2010-03-23 Thread Jakob Korherr
Hi, OK great! I'll take a look at it later ;) Regards, Jakob 2010/3/23 Matthias Leis matthias.l...@gmx.net Hi, I just saw, that I'm not working with the beta 2 but with the snapshot. In beta 2 the NPW is thrown at line 1038 (in snapshot at line 1041). The line is: String renderKitId =

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Jakob Korherr
Great - Thanks! The HTML tells me that your filter mapping for the extension filter is wrong. Please change it to filter-mapping filter-nameMyFacesExtensionsFilter/filter-name url-pattern/faces/myFacesExtensionResource/*/url-pattern /filter-mapping This should make it work! Regards, Jakob

Re: UIComponentBase.java - context.getViewRoot() returns null

2010-03-23 Thread Matthias Leis
Hi, JIRA link is https://issues.apache.org/jira/browse/MYFACES-2620 I hope I've done it right ;) Matthias Original-Nachricht Datum: Tue, 23 Mar 2010 15:59:22 +0100 Von: Jakob Korherr jakob.korh...@gmail.com An: MyFaces Discussion users@myfaces.apache.org Betreff: Re:

Re: UIComponentBase.java - context.getViewRoot() returns null

2010-03-23 Thread Jakob Korherr
Yeah, great! Thanks ;) Regards, Jakob 2010/3/23 Matthias Leis matthias.l...@gmx.net Hi, JIRA link is https://issues.apache.org/jira/browse/MYFACES-2620 I hope I've done it right ;) Matthias Original-Nachricht Datum: Tue, 23 Mar 2010 15:59:22 +0100 Von: Jakob

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Fabio F.
If I change it to that url-pattern, the page doesn't render at all and the html I obtain is: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META http-equiv=Content-Type content=text/html; charset=utf-8/HEAD BODY/BODY/HTML In case of popupCalendar=true or popupCalendar=false

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Jakob Korherr
Have you changed the filter config only? You must not change the config for the FacesServlet. Take a look at http://myfaces.apache.org/tomahawk/extensionsFilter.html Maybe this will help you solve it! Regards, Jakob 2010/3/23 Fabio F. fabio...@gmail.com If I change it to that url-pattern,

Re: Problem with BeanValidation in myfaces 2.0

2010-03-23 Thread Jakob Korherr
Created MYFACES-2621. Regards, Jakob 2010/3/23 Gerhard Petracek gerhard.petra...@gmail.com as alternative users can also test the bv integration provided by myfaces extval2. compared to the standard integration of bv in jsf 2.0 it offers more advanced and typesafe features. early adaptors

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Fabio F.
I've read and read this page tens of times those days... No, I've modified only the line in the filter config, this is definitely my web.xml: ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns= http://java.sun.com/xml/ns/javaee; xmlns:web=

Re: UIComponentBase.java - context.getViewRoot() returns null

2010-03-23 Thread Leonardo Uribe
Hi Looking the stack trace provided very carefully, I can see the problem is not in myfaces, it is on spring class FlowViewStateManager. Take a look at this three lines: at javax.faces.component.UIViewRoot.processRestoreState(UIViewRoot.java:643) at

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Jakob Korherr
OK, sorry.. But this web.xml includes filter-mapping filter-nameMyFacesExtensionsFilter/filter-name url-pattern/faces/*/url-pattern /filter-mapping but it should have filter-mapping filter-nameMyFacesExtensionsFilter/filter-name

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Jakob Korherr
Here is a web.xml configuration excerpt from a project of mine which uses tomahawk and myfaces - this should help you: !-- Extensions Filter -- filter filter-nameMyFacesExtensionsFilter/filter-name filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class init-param

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Fabio F.
I think it was the same, however I renamed even the variables to be equal to your file... but nothing. ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns= http://java.sun.com/xml/ns/javaee; xmlns:web=

Re: [TOBAGO] Controls self-adjusted in the page

2010-03-23 Thread Udo Schnurpfeil
For Tobago 1.0 it is a good thing to put a managed bean in the session, which manages the layout sizes like: tc:page state=#{layout} width=#{layout.width} height=#{layout.height} The bean has to implement PageState or extend PageStateImpl resp. With this bean you can also influence min/max

Re: Tomahawk and eclipse galileo not working?

2010-03-23 Thread Jakob Korherr
Then I am really sorry, but I don't know what could be the problem. Maybe you could take a look at the MyFaces Tomahawk examples [1] and try them out. There the MyFacesExtensionsFilter should work! Regards, Jakob [1] http://myfaces.apache.org/tomahawk/download.html 2010/3/23 Fabio F.

[EXTVAL] NPE with JBoss 4.2.3.GA

2010-03-23 Thread Dreher, Markus
Hi, I use extVal 1.2.3-SNAPSHOT in my project. When I deploy the project i get a NullpointerException within the first JSF request. The bundled jsf-impl is 1.2_04-b16-p02. If I replace the jsf jars in the jboss server config with e.g. Version 1.2_10-b01-FCS everything works fine. It seems that

Re: [EXTVAL] NPE with JBoss 4.2.3.GA

2010-03-23 Thread Gerhard Petracek
hi markus, you analyzed it correctly - that's an issue of mojarra (old versions of it). you shouldn't see the exception with all new versions of mojarra (as far as i know) or you just use myfaces core :) since such old versions (of mojarra) also have other bugs, it's a good idea to update it in

[ANNOUNCE] Release of Apache MyFaces Extensions Validator 1.1.3, 1.2.3 and 2.0.3

2010-03-23 Thread Gerhard Petracek
The Apache MyFaces team is pleased to announce the 3rd release of Apache MyFaces Extensions Validator (for JSF 1.1, 1.2 and 2.0). Apache MyFaces Extensions Validator is an extensible framework to validate user input based on annotations. The release contains several improvements and new features