[OT] problem with MailingList (and spam database)

2007-06-04 Thread Michael Heinen
Hi, I can't receive emails from time to time from this mailing list. The problem is that the sender's IP address (140.211.11.2) is listed in a 3rd party spam database called SenderScore. As soon as the score is above a level (in my case 70) I can't get mails. When the score is below this

how to reset submitted values caused by validation errors ?

2007-06-28 Thread Michael Heinen
Hi, I have a serious conversion/validation problem and don't see any solution. My form contains an inputField for dates and a dateTime converter. If an invalid format is entered then the submitted value is not erased and the page is rerendered with the entered date. This is working fine

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
and should not be subject to state saving and consequently shouldn't polute subsequent requests. My first guess would be that you're using binding attribute with a session bean. Also, are you using client or server side state saving? Regards, ~ Simon On 6/28/07, Michael Heinen [EMAIL PROTECTED

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
? Perhaps you just aren't re-rendering that component? Also, is that component in the region? If not, then that component will not be validated and updated, and thus will not have the submitted value and local values cleared. -Andrew On 6/28/07, Michael Heinen [EMAIL PROTECTED] wrote: Hi, I

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
); text.setValid(true); text.setLocalValueSet(false); } Now the input text should have a value of cleared instead of the submitted value -Andrew On 6/29/07, Michael Heinen [EMAIL PROTECTED] wrote: Hi Andrew, yes, the control is reRendered and part of the reRendered attribute of the cancel

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
I could make this a sandbox component. It would also work well with the subForm component (as that behaves similar to the a4j:region). Don't count on a quick turn around though, I just had my first child, so have almost no time now :-) -Andrew On 6/29/07, Michael Heinen [EMAIL PROTECTED] wrote

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
. Regards, ~ Simon On 6/29/07, Michael Heinen [EMAIL PROTECTED] wrote: Andrew, Thanks for discussing this with me. I think this is a major downside in the JSF implementation and makes the usage with AJAX very difficult, inconvenient or even impossible. This would mean that I have to use

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
that enables a text field -- that component should only be required if the checkbox is checked. On 6/29/07, Michael Heinen [EMAIL PROTECTED] wrote: Congratulations but you'll have much time from now on because you will not sleep late any more :-)) I'm experiencing this right now. Back to topic

action not invoked: LifecycleImpl shouldRenderResponse returns true

2007-07-13 Thread Michael Heinen
Hi, I have a problem with some kind of a freezing UI. The error is unfortunately not reproduceable and does only occur sometimes for some users (I know this sounds strange) If it occurs then the log file contains following lines: [1399575725] [2007-07-12 19:31:37,582]

NUMBER_OF_VIEWS_IN_SESSION usage ?

2007-07-26 Thread Michael Heinen
Could anybody explain the NUMBER_OF_VIEWS_IN_SESSION parameter ? I know that it is only used for server side state saving and that it defines the amount of the latest views that are stored in session. The disadvantage of increasing this parameter is more memory consumption. But what is the

RE: NUMBER_OF_VIEWS_IN_SESSION usage ?

2007-07-26 Thread Michael Heinen
, it defines how often you can press the back-button. regards, Martin On 7/26/07, Michael Heinen [EMAIL PROTECTED] wrote: Could anybody explain the NUMBER_OF_VIEWS_IN_SESSION parameter ? I know that it is only used for server side state saving and that it defines the amount of the latest views

number conversion and null values

2007-09-11 Thread Michael Heinen
I have a conversion problem with doubles and null values. JSP snippet: h:inputText value=#{!empty MyController.category MyController.category.treshold=0? MyController.category.treshold:''} f:convertNumber pattern=##0.##/ /h:inputText Class Category public double getTreshold()

RE: number conversion and null values

2007-09-12 Thread Michael Heinen
conversion and null values Maybe f:convertNumber pattern=###.##/ instead? I'm not an expert on format patterns, but doesn't 0 mean at least one digit? On 9/11/07, Michael Heinen [EMAIL PROTECTED] wrote: I have a conversion problem with doubles and null values. JSP snippet

RE: number conversion and null values

2007-09-13 Thread Michael Heinen
convert from a Double that is null to a double that cannot be null. Offtopic: the primitive/Object duality is one of the many concepts in Java that make it a bit inelegant. --Ben On 9/12/07, Michael Heinen [EMAIL PROTECTED] wrote: The problem is independent of the used pattern. I removed

RE: number conversion and null values

2007-09-13 Thread Michael Heinen
-Original Message- From: Michael Heinen [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 13. September 2007 10:09 To: MyFaces Discussion Subject: RE: number conversion and null values Thanks Ben, this solved the problem. Changing only the setter was not sufficient. I have to change the getter

RE: number conversion and null values

2007-09-13 Thread Michael Heinen
A wonderful :-))) Thanks Mario. I was not aware of this converter in sandbox. This seems to be what I need. Isn't the default converter useless in combination with doubles without this destType ? Michael -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent:

RE: [jira] Commented: (MYFACES-1714) submitted (or local) values are not erasable after conversion or validation error

2007-09-25 Thread Michael Heinen
: 1.1.5 Environment: tomcat 5.5.23 myfaces 1.1.5 tomahawk 1.1.5 ajax4jsf 1.1.1 Reporter: Michael Heinen Priority: Critical Attachments: validation.war There is a serious conversion/validation problem with JSF in combination with ajax.. From my

RE: Post request encoding problem

2007-10-04 Thread Michael Heinen
What about using a Filter for setting the encoding ? public void doFilter(ServletRequest srequest, ServletResponse sresponse, FilterChain chain) throws IOException, ServletException { srequest.setCharacterEncoding(UTF-8); chain.doFilter(srequest, sresponse); } Michael

validateCompareTo with optional dates

2007-01-11 Thread Michael Heinen
I have two date fields: dateStart and dateEnd. Both are optional. It is valid to enter just one of them. If both are entered than dateEnd must be of course after dateStart. I tried s:validateCompareTo therefore. Unfortunately this does not work if dateStart is empty. Any suggestions how to

RE: Div tag and action

2007-01-17 Thread Michael Heinen
Sure. Add the onclick attribute to your div and execute the commandLink via JS. Get the commandLink via document.getElementById(commandLinkId) and call the click() method. Or see http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces Michael -Original Message- From: Oellien, F

IllegalArgumentException: Value is no String (Bug in HtmlRendererUtils?)

2007-01-24 Thread Michael Heinen
IllegalArgumentException: Value is no String (Bug in HtmlRendererUtils?) I get the following exception if I submit my form via a normal h:commandLink and no option is set for an extended HtmlSelectOneRadio component. java.lang.IllegalArgumentException: Value is no String

RE: IllegalArgumentException: Value is no String (Bug in HtmlRendererUtils?)

2007-01-24 Thread Michael Heinen
I just found this thread and it seems to deal with the same problem. http://www.nabble.com/Re%3A-java.lang.IllegalArgumentException%3A-Value- is-no-String-p7609739.html Andrew, did you find a solution? Michael From: Michael Heinen [mailto:[EMAIL

RE: IllegalArgumentException: Value is no String (Bug in HtmlRendererUtils?)

2007-02-01 Thread Michael Heinen
wasn't being processed or something and I ended up with null. I converted this to use a ListSelectItem on the bean instead of using select item tags and it works just fine now. On 1/24/07, Michael Heinen [EMAIL PROTECTED] wrote: I just found this thread and it seems to deal with the same problem

session scoped Bean created twice!

2007-02-22 Thread Michael Heinen
One of my session scoped beans is created two times. I call an ajax actionListener (a4j:commandlink) via JS when the user resizes the browser window. The onresize event of the documentBody is fired multiple times during resizing. Therefore my actionListener is also called multiple times

RE: session scoped Bean created twice!

2007-02-23 Thread Michael Heinen
, or a custom VariableResolver that has a bug...) * something is deleting it from the session after it is created Regards, Simon Michael Heinen wrote: It is the same session id. I have absolutely no idea what's going wrong internally. -Original Message- From: David Delbecq [mailto

invoke JSP page from servlet - IllegalArgumentException

2007-02-28 Thread Michael Heinen
I want to forward a request from a servlet to a JSF page but I don't get it working. I read the article InvokingJsfPagesWithStandardUrls in the WIKI (http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls?highlig ht=%28link%29%7C%28jsf%29) but I get always following Exception:

check existence of managed bean

2007-03-27 Thread Michael Heinen
Hi, I am looking for a way to check whether a managed bean has been created. Is there any function for this in the JSF api ? Or do I have to check all scopes manually ? Michael

escaping in EL?

2007-03-29 Thread Michael Heinen
I want to express the following Javascript function call via EL: sometag onclick=#{MyBean.checkA?'doJS('staticvalue','#{beanA.value}');':'alert(' hello'));'} /sometag How can I do this ? Is there any way to escape this stuff ? Thanks, Michael

RE: escaping in EL?

2007-03-30 Thread Michael Heinen
, Michael Heinen [EMAIL PROTECTED] wrote: I want to express the following Javascript function call via EL: sometag onclick=#{MyBean.checkA?'doJS('staticvalue','#{beanA.value}');':'alert('hello'));'} /sometag How can I do this ? Is there any way to escape this stuff ? Thanks

RE: escaping in EL?

2007-03-30 Thread Michael Heinen
A simpler sample: attribute=#{ MyBean.checkA ? 'alert('aaa');':'alert ('bbb');'} results in org.apache.commons.el.parser.ParseException: Encountered ? \'alert (\' aaa at line 1, column 52. Michael -Original Message- From: Michael Heinen [mailto:[EMAIL PROTECTED] Sent: Freitag, 30

RE: escaping in EL?

2007-03-30 Thread Michael Heinen
, Michael Heinen [EMAIL PROTECTED] wrote: This does not work. The ? must be part of the EL expression, or ? What I want is that if MyBean.checkA is true, then doJS('staticvalue','#{beanA.value}'); should be printed into the attribute value. This expression has to be in single quotes

selectOneRadio in tree2 ?

2007-04-27 Thread Michael Heinen
Could anybody give me a hint how to use a selectOneRadio inside tree2? Every node should have a radio button but only one of them should be selected. This is no problem inside datatables with spread layout and access over an index. But I have no right idea how this could work inside tree2.

RE: selectOneRadio in tree2 ?

2007-05-10 Thread Michael Heinen
. Mai 2007 20:03 To: users@myfaces.apache.org Subject: Re: selectOneRadio in tree2 ? Michael, Michael Heinen wrote: Could anybody give me a hint how to use a selectOneRadio inside tree2? Every node should have a radio button but only one of them should be selected. I was trying to get

ClassNotFoundException RedirectTrackerNavigationHandler

2007-05-14 Thread Michael Heinen
I get the following Exception after updating myFaces and tomahawk from 1.1.4 to 1.1.5. javax.faces.FacesException: java.lang.ClassNotFoundException: org.apache.myfaces.custom.redirectTracker.RedirectTrackerNavigationHandl er at

RE: ClassNotFoundException RedirectTrackerNavigationHandler

2007-05-14 Thread Michael Heinen
Thanks Mario, I replaced my sandbox with an actual 1.1.5 version and now it's working. Michael -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Montag, 14. Mai 2007 13:55 To: MyFaces Discussion Subject: Re: ClassNotFoundException

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

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: [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

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: 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.

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

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: 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

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: 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

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: 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. -

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

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: 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

{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

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:

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

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: 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

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

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: 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

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: 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

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: 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

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: 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

dynamic columns with different UI components

2006-01-30 Thread Michael Heinen
Hi, I apologize for this cross posting. A few hours ago I accidentally sent this question to the dev list. I am new to JSF and I need some help: I use a datatable with a dynamic number of columns. This is generally working well like in the openDataTable.jsp sample. Now I have

DataScroller without form validation ?

2006-02-07 Thread Michael Heinen
Hi all, I have a form containing a data table and a data scroller for paging this table. Moreover there are some input fields outside the table with validations. The problem is that these fields are always validated when another page is clicked in the dataScroller. I set the

ClearInputComponents - how to access component in Listener method ?

2006-02-08 Thread Michael Heinen
Hi all, I have to clear some form fields in an ActionListener method. The method is called with the immediate=true attribute. I found in the WIKI an article about ClearInputComponents. There is following snippet: component.setSubmittedValue(null); // The following is only

Re: DataScroller: possible to set pageIndexVar?

2006-02-10 Thread Michael Heinen
Hi all, I need also to access and set this var. Is this possible and can someone give me sample code? Thanks Hi, I am trying to reset the pageIndexVar of a dataScroller something like to

display label in error message instead of id

2006-02-16 Thread Michael Heinen
Hi all, I try to display the label of a field instead of the id in an error message, but I don't get it to work. I'm sure there is an easy solution for it. Here is my code: Messages: login.name = User JSP: h:outputLabel for=""> h:outputText value=#{msgs['login.name']}/

RE: display label in error message instead of id

2006-02-16 Thread Michael Heinen
:[EMAIL PROTECTED] Sent: Donnerstag, 16. Februar 2006 08:47 To: MyFaces Discussion Subject: Re: display label in error message instead of id Sure, there is an easy solution. Use the extended messages component from tomahawk (t:message). Regards, Bruno On 2/16/06, Michael Heinen [EMAIL PROTECTED

Access selected value without validation

2006-02-16 Thread Michael Heinen
Hi all, I have a selectOneMenu and a link beside it. When the user clicks the link I need the selected value in my Bean without form validation! I tried to call an ActionListener (DynaControllerBean.doSomething) and to get the new selected value but the following code fails. I dont

RE: display label in error message instead of id

2006-02-17 Thread Michael Heinen
instead of id And what if you try showSummary=false showDetail=true? Bruno On 2/16/06, Michael Heinen [EMAIL PROTECTED] wrote: Thanks Bruno. I replaced my h:message tag with t:message but without success. I added replaceIdWithLabel=true but this does not change anything. Unfortunately I can't

RE: display label in error message instead of id

2006-02-17 Thread Michael Heinen
instead of id try it with t:messages - if it works there.. regards, Martin On 2/17/06, Michael Heinen [EMAIL PROTECTED] wrote: It does still not work!!! login.name = User t:outputLabel for=name h:outputText value=#{msgs['login.name']}/ /t:outputLabel h:inputText id=name value

RE: display label in error message instead of id

2006-02-17 Thread Michael Heinen
Thanks a lot for your help. Now it works of course :-) -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Freitag, 17. Februar 2006 11:58 To: MyFaces Discussion Subject: Re: display label in error message instead of id Hi! Ok, I found a problem if one uses

RE: t:selectOneRadio has no preselection with spread layout

2006-02-20 Thread Michael Heinen
Sorry, I dont want to push my question but does anybody know whether this is a bug or whether I do something wrong? From: Michael Heinen Sent: Freitag, 17. Februar 2006 18:00 To: 'MyFaces Discussion' Subject: t:selectOneRadio has no preselection Hi all, I have trouble

t:columns with t:commandSortHeader ?

2006-02-20 Thread Michael Heinen
Hi all, I have a t:dataTable with dynamic columns (switchable) and this table has also to be sortable. Is it possible to use t:columns in combination with t:commandSortHeader in one table ? Or is there any other standard approach within myfaces? Thanks Michael

RE: t:selectOneRadio has no preselection with spread layout

2006-02-21 Thread Michael Heinen
wrote: Looks like a bug to me... Michael Heinen schrieb: Sorry, I don't want to push my question but does anybody know whether this is a bug or whether I do something wrong? *From:* Michael Heinen *Sent

RE: t:selectOneRadio has no preselection with spread layout

2006-02-21 Thread Michael Heinen
are checked and on spread layout the real value objects are checked. I create a jira issue for this, but in the meantime you can use the above workaround. Regards, Volker Michael Heinen wrote: Hi Volker, Datafield is a Map containing Objects as values. The requested field 'draft' is of type

simple identification of incorrect fields

2006-02-21 Thread Michael Heinen
Hi all, I display at the top of my page a summary of all error messages. In addition I try to mark all incorrect fields with a '*' or another symbol. Currently I have no idea how to implement this in an easy way. The following simple approach is not working: h:inputText

RE: simple identification of incorrect fields

2006-02-22 Thread Michael Heinen
. The defaults are ... javax.faces.component.UIInput.REQUIRED= Validation Error javax.faces.component.UIInput.REQUIRED_detail = {0}: Value is required. If you check the spec docs you can see the various ways to overload these and replace them with your own. Sean On 2/21/06, Michael Heinen

RE: simple identification of incorrect fields

2006-02-22 Thread Michael Heinen
them when they fail to submit a required value or do you want to show them all of the time? Sean On 2/22/06, Michael Heinen [EMAIL PROTECTED] wrote: I was afraid of having to do this. Actually I don't want to override the messages because I want to show them in a summary list at the top of my

RE: simple identification of incorrect fields

2006-02-22 Thread Michael Heinen
(myfaces) renderer. I clone the object before changing it though so that the messages tag still shows the correct information and not an asterisk. On 2/22/06, Michael Heinen [EMAIL PROTECTED] wrote: I want to show the asterisk only in error cases. It is not limited on required fields. I want

RE: simple identification of incorrect fields

2006-02-22 Thread Michael Heinen
, I always get those confused on which one is the tooltip), to an asterisk before passing it to the base (myfaces) renderer. I clone the object before changing it though so that the messages tag still shows the correct information and not an asterisk. On 2/22/06, Michael Heinen [EMAIL

  1   2   3   4   >