Re: Tomahawk Partial rerender datatable column

2012-10-26 Thread Michael Heinen
Do you want to update a complete column or a single cell in the same row? Which versions (MyFaces, Richfaces) do you use? Richfaces doesn't like the forceId attribute in many cases. Try to remove it from the datatable. And the region around the outputtext with textVehiclename does not make any

Re: ViewExpiredException with valid session

2012-08-09 Thread Michael Heinen
Do you have multiple forms on your page? Am 09.08.2012 14:11, schrieb Jarosław Szczepankiewicz: Hi, I have a big (for me) problem with primefaces / myfaces. Server: tomcat 7, myfaces: 2.1.2, jdk 7, primefaces 3.3.1 I have simple managed bean with @ViewScope. I have an edit form. I access the

Re: ViewExpiredException

2012-05-08 Thread Michael Heinen
As far as I know there is still no better fix or workaround. The portlet case is supported out of the box and the other 90% of the real world projects need this workaorund. Michael Am 08.05.2012 12:11, schrieb Paul Rivera: Hi Guys, I just had a similar problem as with the one posted in this

Re: PPS ?

2012-04-03 Thread Michael Heinen
or is the standard Ajax stuff enough. The blog entries I wrote about pps and the no_portlet_env only adheres to what MyFaces 2.x brings out of the box, I cannot speak about extension frameworks there which run their own ajax lifecycle. Werner Am 02.04.12 16:18, schrieb Michael Heinen: Hi Werner

Re: use collections with selectManyCheckboxes and JSF 2.1?

2012-04-03 Thread Michael Heinen
is pretty quick in fixing bugs. Werner Am 02.04.12 15:45, schrieb Michael Heinen: I use a List of SelectItems for the inner f:selectItems tag. The value attribute of selectManyCheckbox points to an ArrayList with Strings, representing the selected values. The checkboxes are initially correctly

use collections with selectManyCheckboxes and JSF 2.1?

2012-04-02 Thread Michael Heinen
Hi all, I have another weird problem during the migration from JSF 1.2 to 2.1. In my model I use ArrayLists for the value of selectManyCheckboxes. If a form is now posted StringArrays are received instead of ArrayLists! After a lot of debugging I stumbled over two new attributes:

Re: use collections with selectManyCheckboxes and JSF 2.1?

2012-04-02 Thread Michael Heinen
, schrieb Michael Heinen: What's going wrong here? How can I use Collections with selectManyCheckboxes and JSF 2.1? Hi I usually pass a list of SelectItem Objects that has been working since JSF 1.0. Werner

Re: PPS ?

2012-04-02 Thread Michael Heinen
or not. Werner Am 02.04.12 14:52, schrieb Werner Punz: Am 30.03.12 15:52, schrieb Michael Heinen: Hi again, I read an article about PPS at http://werpublogs.blogspot.de/2011/07/apache-myfaces-jsfjs-queue-control.html If I understand this correctly then the data passed to the server should

Re: no parallel ajax requests anymore with JSF 2.1?

2012-03-30 Thread Michael Heinen
, Michael Heinen wrote: Hi all, I'm still converting my application (mayfaces, tomahawk and richfaces) from JSF 1.2 to 2.1. Now I noticed that parallel ajax requests are not working at all! E.g. a long running request which calculates something and parallel poll requests to fetch status or partial

PPS ?

2012-03-30 Thread Michael Heinen
Hi again, I read an article about PPS at http://werpublogs.blogspot.de/2011/07/apache-myfaces-jsfjs-queue-control.html If I understand this correctly then the data passed to the server should be reduced in ajax calls. I added myfaces.config.pps = true on clientside as a script during

no parallel ajax requests anymore with JSF 2.1?

2012-03-29 Thread Michael Heinen
Hi all, I'm still converting my application (mayfaces, tomahawk and richfaces) from JSF 1.2 to 2.1. Now I noticed that parallel ajax requests are not working at all! E.g. a long running request which calculates something and parallel poll requests to fetch status or partial results until the

Re: Clear Input Components after validation or conversion error with JSF 2.1

2012-03-28 Thread Michael Heinen
/primeext-showcase-mojarra/views/resetEditableValues.jsf Michael Heinen píše v Po 26. 03. 2012 v 15:22 +0200: So I would like to clear the component values AFTER rendering and BEFORE state saving. Is this possible at all? Or do I have any better alternatives with JSF 2.1? Thanks, Michael Am

Re: Clear Input Components after validation or conversion error with JSF 2.1

2012-03-28 Thread Michael Heinen
but in this case the INVOKE_APPLICATION phase is not invoked. That's the dilemma. So I'll change my ResetInputPhaseListener from after RESTORE_VIEW to before INVOKE_APPLICATION for better state handling. Thanks, Michael Am 28.03.2012 16:42, schrieb Martin Koci: Michael Heinen píše v St 28. 03. 2012 v

Clear Input Components after validation or conversion error with JSF 2.1

2012-03-26 Thread Michael Heinen
Hi all, I refer to the problem described at: https://cwiki.apache.org/confluence/display/MYFACES/Clear+Input+Components# Workflow: 1) Form is submitted 2) Validation or conversion fails 3) Another command is clicked that loads new or fresh data into the same area Problem: The data of

Re: Help : tasks supported by RichFaces

2012-03-26 Thread Michael Heinen
Did you try the richfaces forum? https://community.jboss.org/en/richfaces?view=discussions Am 26.03.2012 12:13, schrieb ayouB __: Hello, Does RichFaces4 supports : 1) Mobile components as it's the case for PrimeFaces. 2) Charts components (graphs) 3) Reporting components (PDF, Excel, Word,

Re: Clear Input Components after validation or conversion error with JSF 2.1

2012-03-26 Thread Michael Heinen
So I would like to clear the component values AFTER rendering and BEFORE state saving. Is this possible at all? Or do I have any better alternatives with JSF 2.1? Thanks, Michael Am 26.03.2012 13:49, schrieb Michael Heinen: Hi all, I refer to the problem described at: https

Re: onsumit not exeucted for ajax requests - alternative?

2012-02-06 Thread Michael Heinen
Unfortunately a deregistration is not possible within the jsf api within myfaces there is a way but that would break the compatibility of the code with Mojarra. Werner Am 02.02.12 11:05, schrieb Michael Heinen: Hi, I am currently migrating an application to JSF 2.1 I have a lot

Re: onsumit not exeucted for ajax requests - alternative?

2012-02-06 Thread Michael Heinen
an error in your code the request then will be cancelled and an error handler will be called. That might be a dirty way to cancel the request upfront. Am 06.02.12 14:12, schrieb Michael Heinen: Thanks Werner for the suggestion. I created meanwhile a JIRA issue for this: https://issues.apache.org

Re: onsumit not exeucted for ajax requests - alternative?

2012-02-03 Thread Michael Heinen
, 2012-02-02 at 11:35 +0100, Michael Heinen wrote: Hi Milo, what's onbegin ? Where do i define that? This attribute is not specifed for h:form. See http://myfaces.apache.org/core21/myfaces-impl/tagdoc/h_form.html Michael Am 02.02.2012 11:21, schrieb Milo van der Zee: Hello Michael, might

onsumit not exeucted for ajax requests - alternative?

2012-02-02 Thread Michael Heinen
Hi, I am currently migrating an application to JSF 2.1 I have a lot of ajax commands (richfaces) and some new f:ajax tags. My forms contain some js functions which should be called during onsubmit but unfortunately onsubmit is not called for ajax requests. How can I specify some JS functions

Re: onsumit not exeucted for ajax requests - alternative?

2012-02-02 Thread Michael Heinen
der Zee On Thu, 2012-02-02 at 11:05 +0100, Michael Heinen wrote: Hi, I am currently migrating an application to JSF 2.1 I have a lot of ajax commands (richfaces) and some new f:ajax tags. My forms contain some js functions which should be called during onsubmit but unfortunately onsubmit

Re: NoSuchMethodError org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.isPreserveRowComponentState

2011-12-20 Thread Michael Heinen
It was caused by a local Patch I did not see immediately Am 19.12.2011 17:12, schrieb Michael Heinen: Hi, I am still migrating a myFaces/richfaces app from JSF 1.2 to 2.1 Tomahawk is updated from 12-1.1.10 to 20-1.1.11. App runs under Tomcat 6.0.32 On pages with a t:datatable I am getting

NoSuchMethodError org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.isPreserveRowComponentState

2011-12-19 Thread Michael Heinen
Hi, I am still migrating a myFaces/richfaces app from JSF 1.2 to 2.1 Tomahawk is updated from 12-1.1.10 to 20-1.1.11. App runs under Tomcat 6.0.32 On pages with a t:datatable I am getting following stack: Caused by: java.lang.NoSuchMethodError:

{Tomahawk sandbox] CompareToValidator and JSF 2.1 ?

2011-12-16 Thread Michael Heinen
I am right now migrating myFaces/richfaces app fronm JSF 1.2 to 2.1 and try to resolve all compile errors first (started with 230). Tomahawk must be also updated from 12-1.1.10 to 20-1.1.11. I extended the tomahawk sandbox component CompareToValidator but this is not existing anymore. What's

Re: My Faces Tunning

2011-10-18 Thread Michael Heinen
A few thoughts: - Set the NUMBER_OF_VIEWS_IN SESSION to 1 if your app does not support the browser back button! - try to reduce the number of components (e.g. conditionally controls can be excluded at compile time via c:if or via dynamic includes instead of visibleOnUserRole or rendered

id of submitted command accessible in PhaseListener?

2011-10-17 Thread Michael Heinen
Hi, Can I determine in a PhaseListener which action/actionListener should be called or which commandButton was executed? Especially after skipping some phases due to validation or conversion errors? Michael

Re: JSF application very slow with HTTPS

2011-04-13 Thread Michael Heinen
Richard, I don't understand your response. What dou you mean with primefaces? Did you see similar behaviour with it and ssl? Michael Am 12.04.2011 18:13, schrieb Richard Yee: Aloysius, Read the issue. It is with PRIMEFACES. -Richard On Tue, Apr 12, 2011 at 9:07 AM, Michael

Re: JSF application very slow with HTTPS

2011-04-13 Thread Michael Heinen
The issue is solved. It was a bug in Tomcat, created in version 6.0.28 and fixed in 6.0.30! See https://issues.apache.org/bugzilla/show_bug.cgi?id=49613 Michael Am 12.04.2011 18:13, schrieb Richard Yee: Aloysius, Read the issue. It is with PRIMEFACES. -Richard On Tue, Apr 12, 2011 at

Re: JSF application very slow with HTTPS

2011-04-12 Thread Michael Heinen
Thanks Bernd for pointing to this. I tried to profile the single request with yourKit. I found some method calls that look strange to me. Note the millis are much larger due to additional profiling costs): The whole request took now around 100 seconds with tracing. -

JSF application very slow with HTTPS

2011-04-11 Thread Michael Heinen
Hi, My JSF application is very slow via HTTPS. Some parts are 15 times slower compared to HTTP I measured the response times of the xhtml requests with Fiddler (locally and over network) Result for a very large page (512 KB) with a big datatable without ajax usage: -- local access with

Re: JSF application very slow with HTTPS

2011-04-11 Thread Michael Heinen
Yes, compression is enabled, at least on the real systems. It was turned off in this local test. However, turning on compression results in 43KB instead of 512 KB and the response time is locally a little bit slower (17.5 sec). So the problem with HTTPS is independent of the compression. I

TagAttributeException after migration to jetty

2011-04-11 Thread Michael Heinen
This is a follow-up discussion for JSF application very slow with HTTPS in order to no hijack my own thread. I want to compare the performance of my app with tomcat and jetty. Environment: Facelets myFaces 1.2.9 tomahawk12_1.1.10 richfaces 3.3.3 The app runs fine with all Tomcat

Re: JSF application very slow with HTTPS

2011-04-11 Thread Michael Heinen
Fat? Well there is a lot of EL in this table, nearly in all cells, e.g. for column widths, values, styles etc. The EL is always hitting backing beans, some with additional map access. But the real problem is the poor HTTPS performance compared to HTTP. It should not be caused by the app and

Re: JSF application very slow with HTTPS

2011-04-11 Thread Michael Heinen
Yep, that's what I'll do after getting the app running on jetty. What a pain, I thought this would have been done in a few minutes Am 11.04.2011 18:12, schrieb Mark Struberg: Ah sorry, have overread that: The time is spent in htmlTableRenderer.encodeInnerHtml I'd start the application

Re: myfaces-tree2 component

2011-03-01 Thread Michael Heinen
Hi Pritam, I migrated a few weeks ago to the richfaces tree which has ajax support on board. Maybe it's an alternative for you. Regards, Michael Am 01.03.2011 09:20, schrieb Jakob Korherr: Hi Pritam, I had a similar problem in one of my projects and we solved it by making the tree AJAX

global validation of all input fields in order to remove forbidden chars?

2011-01-10 Thread Michael Heinen
Hi, My app does not work correctly if a user enters an ISO control character (e.g. 'START OF HEADING' (U+0001) or ALT+01) in an input field. I get a xml parsing error on client side if the illegal char is inside an attribute (here the value attribute of an input field). This happens with

Re: ui:param value accessible in backing bean?

2010-07-21 Thread Michael Heinen
Hi Jakob, I migrated my app from jsp/tiles to xhtml/facelets successfully in the last 2-3 days. But your hint is unfortunately not working for me. namespace in xhtml file for core tags is: xmlns:c=http://java.sun.com/jsp/jstl/core; Is this the right one or do I have to use

Re: ui:param value accessible in backing bean?

2010-07-21 Thread Michael Heinen
Many thanks Jakob, your tag is working well. Michael Am 21.07.2010 13:06, schrieb Jakob Korherr: Hi Michael, I just created a Facelets 1.1.x custom tags project and adapted the SetHandler from MyFaces core 2.0 for Facelets 1.1.x. You can find the source at

ui:param value accessible in backing bean?

2010-07-20 Thread Michael Heinen
Is it possible to access the value of a facelets ui:param tag in phase render response in a backing bean? I tried to resolve #{activeTab} in MyController.getOnlick() without success. Sample: 1) Template ui:composition template=templates/main.xhtml ui:param name=activeTab value=blabla/

Re: Myfaces Upgrade Issues 1.1.5 to 1.2.9

2010-07-05 Thread Michael Heinen
Do you use the right version of tomahawk, tomahawk12-1.1.9 ? Which tiles version are you using? Tiles 2.0.7 works fine with tomahawk 12_1.1.9. Newer versions are not supported by tomahawk. Make sure to read the tiles migration guide if you update from an older struts-tiles version. See this

Re: Myfaces Upgrade Issues 1.1.5 to 1.2.9

2010-07-05 Thread Michael Heinen
You should remove the struts.jar completely because tiles is now a separate project with it's own jars. But your exception looks like another problem. You should try to debug it find out why path is null in your case. Michael Am 05.07.2010 12:17, schrieb شہباز علئ : I tried after replacing

Re: Using tiles with tomahawk12 1.1.9

2010-04-29 Thread Michael Heinen
Which tiles version are you using? Tiles 2.0.7 works fine with tomohawl 12_1.1.9. Newer versions are not supported by tomahawk. Make sure to read the tiles migration guide if you update from an older struts-tiles version. See this web page and the other migration pages at the bottom.

ConcurrentModificationException in RequestMap.getAttributeNames

2010-04-09 Thread Michael Heinen
Hi, I found followoing exception a few times in my tomcat log after running a JMeter stresstest some hours with a few hundred users. Any ideas about a ConcurrentModificationException during RequestMap.getAttributeNames() ? [2010-04-07 09:00:59,653] http-8080-6 [ERROR]

Re: ConcurrentModificationException in RequestMap.getAttributeNames

2010-04-09 Thread Michael Heinen
Thanks Jakob for the analysis. But what is another thread? Do you know whether myFaces (or richfaces) starts another thread? I don't think that any other thrid party libs are involved here. Any instant ideas for this? It's not a real problem so far because it occurred during a load test only.

Re: [tomahawk] replaceIdWithLabel not working in t:messages after update to JSF 1.2

2010-04-06 Thread Michael Heinen
} /h:inputText --- results in masterForm:enterPaymentForm:Amount: Validation Error: Value is required. On Tue, Dec 22, 2009 at 12:49 PM, Michael Heinen michael.hei...@recommind.com wrote: I found

RE: dramatic performance decrease after update to JSF 1.2

2010-02-12 Thread Michael Heinen
. Michael -Original Message- From: Michael Heinen [mailto:michael.hei...@recommind.com] Sent: Freitag, 29. Januar 2010 09:36 To: MyFaces Discussion Subject: RE: dramatic performance decrease after update to JSF 1.2 I am really astonished that nobody else out in the world faced or addressed

RE: dramatic performance decrease after update to JSF 1.2

2010-01-29 Thread Michael Heinen
completely two times, for creation and rendering? Michael -Original Message- From: Michael Heinen [mailto:michael.hei...@recommind.com] Sent: Freitag, 15. Januar 2010 11:07 To: MyFaces Discussion Subject: dramatic performance decrease after update to JSF 1.2 Hi, I have updated my

dramatic performance decrease after update to JSF 1.2

2010-01-15 Thread Michael Heinen
Hi, I have updated my application to JSF 1.2 during the last weeks. Now I did some performance tests and the result has been alarming! Performance declined by factor 2-4 depending on hardware and actions!!! Measurements: I used two different contexts on same Tomcat means identical tomcat config

access MethodExpression from actionListener

2010-01-12 Thread Michael Heinen
Hi, I use a global action-listener defined in faces-config via the action-listener tag to log called actions/actionsListeners. With JSF 1.1 I used following code: private void storeCalledAction(ActionEvent actionEvent){ ActionSource actionSource = (ActionSource) actionEvent.getComponent();

javascript problem with commandlink and onclick after update to JSF 1.2

2010-01-04 Thread Michael Heinen
Hi, I have another problem after my update from myfaces 1.1.5 to 1.2.8. I cannot use this anymore in onclick attributes of commandLinks due to changed rendering of commandLinks. Instead of the link the outer form is accessed via this. sample: h:form id=tabform ... t:commandLink id=tabTemplates

RE: javascript problem with commandlink and onclick after update to JSF 1.2

2010-01-04 Thread Michael Heinen
of the command link generates this javascript and so it puts the id there. From my point of view it would be great if myfaces would replace »this« with »document.getElementById('clienId')« automatically. However, I don't know if this violates the jsf 1.2 spec. Regards, Jakob 2010/1/4 Michael Heinen

RE: javascript problem with commandlink and onclick after update to JSF 1.2

2010-01-04 Thread Michael Heinen
! Regards, Jakob 2010/1/4 Michael Heinen michael.hei...@recommind.com Hi Jakob, I feared this. I used this often in dynamic expressions returned from managed beans to do some client side stuff e.g. getOnclick(){ doit(this); } From my point of view it would be great if myfaces would replace

RE: t:inputDate value problem in tomahawk 1.1.9

2010-01-02 Thread Michael Heinen
Hi Damar, It's caused by different timezones. Pls see this page: http://wiki.apache.org/myfaces/FAQ#Date Michael -Original Message- From: Damar Thapa [mailto:thapa.da...@gmail.com] Sent: Samstag, 2. Januar 2010 09:49 To: MyFaces Discussion Subject: Re: t:inputDate value problem in

commandButtons with type=button rendered as type=submit

2010-01-01 Thread Michael Heinen
Happy new year! A question regarding commandButtons. I noticed that the attribute type=button is not working anymore. type=button is rendered with myfaces 1.1.5. type=submit is rendered with myfaces 1.2.8. Is this expected behavior according to spec or is it a bug? myfaces 1.2.8

Servlets return 404 after update to 1.2

2009-12-22 Thread Michael Heinen
Hi, After my update from myfaces 1.1.6 to to 1.2.8 I got a strange error in my Non-Faces Servlets. All Servlets are working well until I access the Faces Context as described in the WIKI: http://wiki.apache.org/myfaces/AccessFacesContextFromServlet After this all responses are empty and status

RE: Servlets return 404 after update to 1.2

2009-12-22 Thread Michael Heinen
handler sends a 404 not found. To fix this problem just remove the code that sets the UIViewRoot in the FacesContext (if you don't need it) or replace it with: facesContext.setViewRoot(new UIViewRoot()); This should work for you! Regards, Jakob 2009/12/22 Michael Heinen michael.hei

[tomahawk] replaceIdWithLabel not working in t:messages after update to JSF 1.2

2009-12-22 Thread Michael Heinen
Hi, I have another migration issue: Error messages are rendered with the component ids instead of the label after update from myfaces 1.1.6 to 1.2.8 and tomahawk to 12_1.1.9 jsp: h:outputLabel for=name value=User/ h:panelGroup h:inputText id=name value=#{MyController.name} required=true

RE: [tomahawk] replaceIdWithLabel not working in t:messages after update to JSF 1.2

2009-12-22 Thread Michael Heinen
about your jsp. Regards, Jakob 2009/12/22 Michael Heinen michael.hei...@recommind.com Hi, I have another migration issue: Error messages are rendered with the component ids instead of the label after update from myfaces 1.1.6 to 1.2.8 and tomahawk to 12_1.1.9 jsp: h:outputLabel for=name

conversion error in selectmanyCheckbox - IllegalArgumentException - Cannot convert java.util.ArrayList

2009-12-18 Thread Michael Heinen
Hi, I have another migration problem and cannot solve it so far. One of my selectManyCheckboxes is not working anymore. A Conversion error is thrown after form submission: SCHWERWIEGEND: Cannot convert [soccer, tennis] of type class java.util.ArrayList to class

RE: conversion error in selectmanyCheckbox - IllegalArgumentException - Cannot convert java.util.ArrayList

2009-12-18 Thread Michael Heinen
again in JSF 2. This makes updates cumbersome. So long, Michael From: sethfromaust...@gmail.com [mailto:sethfromaust...@gmail.com] On Behalf Of Jakob Korherr Sent: Freitag, 18. Dezember 2009 13:27 To: MyFaces Discussion Cc: Michael Heinen Subject: Re: conversion error in selectmanyCheckbox

JspPropertyNotWritableException - Illegal Syntax for Set Operation after update to 1.2

2009-12-17 Thread Michael Heinen
Hi, are conditional Expressions not allowed anymore in value attributes in JSF 1.2? Stack: Caused by: org.apache.jasper.el.JspPropertyNotWritableException: /pages/search.jsp(13,2) '#{sessionScope.visit.user.restrictedToSearchInBatches?FlatBatchForReviewerCacheBean:NullBean}' Illegal Syntax

RE: JspPropertyNotWritableException - Illegal Syntax for Set Operation after update to 1.2

2009-12-17 Thread Michael Heinen
: Michael Heinen Subject: Re: JspPropertyNotWritableException - Illegal Syntax for Set Operation after update to 1.2 Hi Michael, Due to the change to the Unified EL from MyFaces 1.1 to 1.2 some EL related things changed. The problem you're describing is one of those, I'm afraid. Looking at the first

RE: JspPropertyNotWritableException - Illegal Syntax for Set Operation after update to 1.2

2009-12-17 Thread Michael Heinen
I just tried the latest 6.0.20 without success. Do you think it's Bug in tomcat's EL impl? If so I'll try to talk with some tomcat guys but this will take some time I fear. Michael -Original Message- From: Michael Heinen [mailto:michael.hei...@recommind.com] Sent: Donnerstag, 17

RE: JspPropertyNotWritableException - Illegal Syntax for Set Operation after update to 1.2

2009-12-17 Thread Michael Heinen
is org.apache.myfaces.component.html.ext.HtmlDataTable). Hope this helps! Regards, Jakob 2009/12/17 Michael Heinen michael.hei...@recommind.commailto:michael.hei...@recommind.com I just tried the latest 6.0.20 without success. Do you think it's Bug in tomcat's EL impl? If so I'll try to talk with some tomcat guys but this will take

RE: JspPropertyNotWritableException - Illegal Syntax for Set Operation after update to 1.2

2009-12-17 Thread Michael Heinen
. This is another blocker for my migration. Michael -Original Message- From: Michael Heinen [mailto:michael.hei...@recommind.com] Sent: Donnerstag, 17. Dezember 2009 15:28 To: Jakob Korherr; MyFaces Discussion Subject: RE: JspPropertyNotWritableException - Illegal Syntax for Set Operation

RE: JspPropertyNotWritableException - Illegal Syntax for Set Operation after update to 1.2

2009-12-17 Thread Michael Heinen
the next one ... Michael From: sethfromaust...@gmail.com [mailto:sethfromaust...@gmail.com] On Behalf Of Jakob Korherr Sent: Donnerstag, 17. Dezember 2009 16:11 To: MyFaces Discussion Cc: Michael Heinen Subject: Re: JspPropertyNotWritableException - Illegal Syntax for Set Operation after update to 1.2

RE: updateActionListener not working with tomahawk12_1.1.9?

2009-12-16 Thread Michael Heinen
else, who knows it. Regards, Jakob Korherr 2009/12/15 Michael Heinen michael.hei...@recommind.com Hi, I am still working on my update from JSF 1.1 to 1.2. Now Buttons using a t:updateActionListener are not working anymore due to a java.lang.NullPointerException

updateActionListener in JSF 1.2 - exec before outer action possible?

2009-12-16 Thread Michael Heinen
Hi, What's the recommended migration for tomahawk updateActionListener from JSF 1.1 to 1.2? I did not find any helpful hints so far. In JSF 1.1 the updateActionListener was called before the Action/ActionListener of the outer command. In JSF 1.2 the order has changed apparently. The component

RE: updateActionListener in JSF 1.2 - exec before outer action possible?

2009-12-16 Thread Michael Heinen
Damn copy paste error. I meant in JSF 1.1 of course: t:commandButton id=acmd1 action=#{MyController.doIt} -Original Message- From: Michael Heinen [mailto:michael.hei...@recommind.com] Sent: Mittwoch, 16. Dezember 2009 11:51 To: MyFaces Discussion Subject: updateActionListener in JSF

RE: updateActionListener in JSF 1.2 - exec before outer action possible?

2009-12-16 Thread Michael Heinen
/                 f:setPropertyActionListener target=#{test.stringValue} value=two/                /h:commandButton TestBean: execute() TestBean: setStringValue()=one TestBean: doItTest1() On Wed, Dec 16, 2009 at 5:51 AM, Michael Heinen michael.hei...@recommind.com wrote: Hi, What's the recommended migration for tomahawk

updateActionListener not working with tomahawk12_1.1.9?

2009-12-15 Thread Michael Heinen
from 3.1.5 to 3.3.2 (api,impl and ui) tiles from 1 to 2.0.5 Any ideas? Michael [cid:image001.gif@01CA7DB0.113FA420] Michael Heinen Senior Software Engineer Recommind GmbH Tel: +49 (0) 2226 1596620 Email: michael.hei...@recommind.commailto:michael.hei...@recommind.com Recommind GmbH

duplicate component ids after mirgration to JSF 1.2

2009-12-10 Thread Michael Heinen
I have massive problems with duplicate component ids after updating: - myFaces from 1.1.6 to 1.2.8 - tomahawk from 1.1.7 to tomahawk12-1.1.9 - tomhahawk sandbox from 1.1.7 to 1.1.9 - richfaces from 3.1.5 to 3.3.2 (api,impl and ui) - tiles from 1 to 2.0.5 The curious thing is that unique ids are

RE: pages not rendered anymore after update from 1.1.6 to 1.2.8

2009-12-09 Thread Michael Heinen
, 2009 at 8:24 AM, Michael Heinen michael.hei...@recommind.com wrote: Thanks Richard, I tried this finally with a simple page in this project. TILES is the culprit. My simple page is now rendered with tomahawk tags after I removed context param org.ajax4jsf.VIEW_HANDLERS

RE: update from 1.1.6 to 1.2.8 - IllegalStateException: No Factories configured for this Application

2009-12-08 Thread Michael Heinen
I use this pattern with JSF 1.2? Michael From: sethfromaust...@gmail.com [mailto:sethfromaust...@gmail.com] On Behalf Of Jakob Korherr Sent: Montag, 7. Dezember 2009 18:21 To: Michael Heinen Cc: MyFaces Discussion Subject: Re: update from 1.1.6 to 1.2.8 - IllegalStateException: No Factories

RE: update from 1.1.6 to 1.2.8 - IllegalStateException: No Factories configured for this Application

2009-12-08 Thread Michael Heinen
Found the solution. My Wrapper has to implement DelegatedFacesServlet. -Original Message- From: Michael Heinen [mailto:michael.hei...@recommind.com] Sent: Dienstag, 8. Dezember 2009 09:45 To: MyFaces Discussion Subject: RE: update from 1.1.6 to 1.2.8 - IllegalStateException

pages not rendered anymore after update from 1.1.6 to 1.2.8

2009-12-08 Thread Michael Heinen
Hi, I tried to update my webApp from myfaces 1.1.6, tomahawk 1.1.7 and richfaces 3.1.5 to JSF 1.2 After some problems the webapp finally started but no page is rendered anymore. Instead of the pages I get only empty screens without any content at all! I am still using Tiles1 (from struts1.1jar)

RE: pages not rendered anymore after update from 1.1.6 to 1.2.8

2009-12-08 Thread Michael Heinen
] webapp.BaseFilter checkMyFacesExtensionsFilter: MyFaces Extensions Filter should be configured to execute *AFTER* RichFaces filter. Refer to SRV.6.2.4 section of Servlets specification on how to achieve that. Sent from my iPhone On Dec 8, 2009, at 6:22 AM, Michael Heinen michael.hei...@recommind.com wrote

RE: pages not rendered anymore after update from 1.1.6 to 1.2.8

2009-12-08 Thread Michael Heinen
Thanks Richard, I tried this finally with a simple page in this project. TILES is the culprit. My simple page is now rendered with tomahawk tags after I removed context param org.ajax4jsf.VIEW_HANDLERS=org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl from web.xml. The

RE: pages not rendered anymore after update from 1.1.6 to 1.2.8

2009-12-08 Thread Michael Heinen
are also not working according to http://issues.apache.org/jira/browse/TOMAHAWK-74 Now I get a 404 for all pages accessed via tiles. This update is really no joy ... Michael -Original Message- From: Michael Heinen [mailto:michael.hei...@recommind.com] Sent: Dienstag, 8. Dezember 2009 17

update from 1.1.6 to 1.2.8 - IllegalStateException: No Factories configured for this Application

2009-12-07 Thread Michael Heinen
Hi, I tried to update my webApp from MyFaces 1.1.6, Tomahawk 1.1.7 and RichFaces 3.1.5 to JSF 1.2 compliant version. Now the app does not start anymore and I get following exception on startup: INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 07.12.2009 17:58:49

RE: how to detect if a request is a ajax submit or normal submit?

2009-09-01 Thread Michael Heinen
With jsf 1.1 you can do it this way: /** * Check whether this request is an AJAX Request * @return true if it is an AJAX Request; false otherwise */ protected boolean isAjaxRequest() { ServletRequest request = (ServletRequest)

RE: Expression Language question

2009-07-17 Thread Michael Heinen
Try #{useGun useRifle} -Original Message- From: mitroiasi [mailto:mitroi...@yahoo.com] Sent: Freitag, 17. Juli 2009 16:22 To: users@myfaces.apache.org Subject: Expression Language question Hi, I have a problem concerning the EL syntax. I want that a componennt to be rendered when 2

RE: Message bundle problem

2009-03-06 Thread Michael Heinen
You can use a Lazy map as Wrapper to build the keys dynamically. A Transformer will be called during map access and you can add your prefix to your key. This does also work inside tables, lists etc Sample: import java.io.Serializable; import java.util.HashMap; import java.util.Map;

RE: Data table is taking long time to render

2009-01-29 Thread Michael Heinen
What about profiling or at least adding some log statements to see exactly where the time is spent? If it is in JSF rendering: I do not render any (ajax) command links in datatables or lists anymore. Instead of this I place one commandlink for each action before the table which is called

[tomahawk] single checkboxes are rendered inside label tags

2008-11-04 Thread Michael Heinen
I recently updated tomhawk 1.1.5 to 1.1.7 and noticed that single checkboxes are rendered inside an additional label tag. The html output is now: LABEL INPUT id=... type=checkbox /foo /LABEL Why is this additional label tag rendered in 1.1.7? Is there any benefit? It is in class

RE: [tomahawk] single checkboxes are rendered inside label tags

2008-11-04 Thread Michael Heinen
-Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Dienstag, 4. November 2008 13:06 To: MyFaces Discussion Subject: Re: [tomahawk] single checkboxes are rendered inside label tags Michael Heinen schrieb: I recently updated tomhawk 1.1.5 to 1.1.7 and noticed

RE: Date output depending on the userlocale?

2008-10-30 Thread Michael Heinen
Yes, you can simply specify the various date formats in resource bundles and use the pattern in converters: Sample: h:outputText id=aDate value=#{MyBean.mydate} x:convertDateTime pattern=#{msgs['dateFormat]}/ /h:outputText messages.en dateFormat = DD/MM/ messages.de dateFormat =

RE: Handling View expired Exception?

2008-10-25 Thread Michael Heinen
You could use a Servlet Filter and check whether the session is still valid. If not create a new one and redirect to login page Michael From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 22. Oktober 2008 15:09 To: users@myfaces.apache.org Subject: Handling View expired

RE: [ANNOUNCE] Release of Tomahawk 1.1.7

2008-09-17 Thread Michael Heinen
Good news! Could someone please update the compatibility matrix? Does the new tomahawk release still work with myFaces 1.1.5? Michael From: Leonardo Uribe [mailto:[EMAIL PROTECTED] Sent: Sonntag, 14. September 2008 05:31 To: MyFaces Development; MyFaces Discussion Subject:

RE: statesaving - memory consumption

2008-09-02 Thread Michael Heinen
I extended the JspStateManagerImpl also for this reason (and for some simple multi window support). I removed the Map with the old views stored as weak references because they are not useful at all in my App. Benefit is that GC is more performant and that possible errors (View could not be

RE: myfaces with richfaces

2008-08-07 Thread Michael Heinen
Yes JSF 1.1: richfaces 3.1.X, myfaces 1.1.X - Tomcat 5.5 JSF 1.2: richfaces 3.2.X, myfaces 1.2.X - Tomcat 6 -Original Message- From: Hardik Shah [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 11:20 To: users@myfaces.apache.org Subject: Re: myfaces with richfaces so i have

JavaDoc links broken

2008-08-05 Thread Michael Heinen
The Javadoc links on http://myfaces.apache.org/javadoc.html are broken http://myfaces.apache.org/api/apidocs/index.html and http://myfaces.apache.org/impl/apidocs/index.html cannot be found. Michael

unbdeploy WepApp - struts.jar locked

2008-07-15 Thread Michael Heinen
Hi all, I have a problem with undeploying my JSF WebApp which is (most likely) not MyFaces specific. My App runs under Tomcat 5.5.26 using Tiles for templating and therefore struts.jar is under webInf\lib. The file struts.jar is always locked after undeploying the WepApp via Tomcat

RE: unbdeploy WepApp - struts.jar locked

2008-07-15 Thread Michael Heinen
/tiles-config_1_1.dtd; Why does this result in locking struts.jar ? I tried also to use a local dtd without success. Michael From: Michael Heinen [mailto:[EMAIL PROTECTED] Sent: Dienstag, 15. Juli 2008 14:20 To: MyFaces Discussion Subject: unbdeploy WepApp - struts.jar locked Hi

RE: unbdeploy WepApp - struts.jar locked

2008-07-15 Thread Michael Heinen
: unbdeploy WepApp - struts.jar locked On Tue, 2008-07-15 at 09:37 -0600, Michael Heinen wrote: After spending many hours with this I found a solution that I do not understand. I removed following doctype definition from tiles-defs.xml !DOCTYPE tiles-definitions PUBLIC -//Apache

RE: access names of called actions and beans

2008-07-02 Thread Michael Heinen
example: http://seamframework.org/Community/SeamPerformanceProblemRewardingWorkaround There's a little bit more configuration to do when you are not using Seam, but not too complicated either way. Michael Heinen wrote: What's the best approach to output the name of the called action

RE: date conversion in tooltip ?

2008-07-01 Thread Michael Heinen
Discussion Subject: Re: date conversion in tooltip ? Hi Michael, 2008/6/30 Michael Heinen [EMAIL PROTECTED]: I have to format a date inside a tooltip (or title attribute). Is there any way to apply a converter for a tooltip ? afaik no. Or is it possible to call a converter via EL ? afaik

access names of called actions and beans

2008-07-01 Thread Michael Heinen
What's the best approach to output the name of the called action/actionListener and the name of the corresponding managed beans ? I want to use a ServletFilter to measure the times for http requests and print out these names. Is there anything generic available via FacesContext? I do not want to

date conversion in tooltip ?

2008-06-30 Thread Michael Heinen
I have to format a date inside a tooltip (or title attribute). Is there any way to apply a converter for a tooltip ? Or is it possible to call a converter via EL ? I fear that converters are always used with the value attribute of the outer tag. Any ideas ? Michael

RE: Leak in saveState?

2008-04-29 Thread Michael Heinen
: Michael Heinen [mailto:[EMAIL PROTECTED] Sent: Dienstag, 22. April 2008 11:11 To: MyFaces Discussion Subject: RE: Leak in saveState? Hi, I removed also the map containing the old views as weak references. It does not make any sense in my use case because my app does not support the browser back

  1   2   3   4   >