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
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
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
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
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.
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
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
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
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
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
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=
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
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.
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
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
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
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
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;
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
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:
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
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
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
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
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
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 =
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
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:
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
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
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,
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
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=
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
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
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
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=
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
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.
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
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
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
42 matches
Mail list logo