richfaces 3.3.3 problem with ie6 - jsf

I am working using richfaces 3.3.3 , tomcat 6. when i try to access my application using IE6 and the windows language is set to arabic, i get the following exception:
IllegalArgumentException: Parameter "size" for convert from HTML to java can not be decoded: [1px], reason: Unparseable number: "1px".
when i change the windows language back to english, restart the server and try to log in again everything works fine..
Can anybody please help me with this issue

You have this problem. Unfortunately it seems to be a bug in the NumberFormat class.

I managed to find a workaround: In your rich:tabPanel, add the attribute headerSpacing="1" (without any unit). This will solve the parser problem. Took me quite a while debugging jsf and jdk to find out...
One more thing you need to do: In your skin, set generalSizeFont to a value without a unit. I.e. for example "generalSizeFont=11". Otherwise you will get the exception for icons (they will still work, though).

Related

How and why is p:inputMask submitting slotChar as value?

I have a web application using Primefaces 5.2, running on GlassFish 4.1, that has some elements p:inputMask like this example:
<p:inputMask slotChar="_" mask="9" required="true" />
In the server side, I realized that sometimes the submitted value is "_" (without quotes).
I tried to reproduce the problem, but I didn't understand how this happens.
I tried leaving the field blank, copy-paste, pressing enter... I searched in internet, but only found this problem on older versions of PrimeFaces.
I can't talk with users. I just know the last one who caused this error was using Google Chrome.
Does anyone have any clue about how to reproduce the problem? I need to understand this, so I can solve the problem.
Thanks.

No tag "notifyMessage" defined in tag library imported with prefix "rich"

I'm busy getting this red-line when trying to use <rich:notifyMessage>. I'm used to primefaces but for this project richfaces is inevitable, hence i'm quite a novice here. I'm using richfaces 3.3.4 final and all required jars are included. What could I be missing? Is there a perfect alternative for a notification message pop-up apart from <rich:message> or <rich:messages>? I'd really appreciate a working example too. Thanks in advance.

JSF1091: No mime type could be found for file null

I'm working with a web application with the following
jsf 2.3.3
Prime Faces 6.2
Omnifaces 3.0
Payara 4.1, build 181
The problem is that, in all the ajax calls (with p:ajax for example) in the Payara console I see the following
JSF1091: No mime type could be found for file null
My difficulty is that I never saw an error like this in which the word after "file" is "null". Someone have experienced the same issue?
How can I solve the problem?
Thank you
Check if you are loading any Javascript files via outputScript, if that is the case try removing the target attribute from those tags.

I don't get any PropertyNotFoundExceptions although I should

The title almost says it all. In expression language .. expressions I can put any arbitrary property names on beans, still I just get no errors or exceptions on the server console. For example:
<h:selectBooleanCheckbox id="stuff" value="#{bean.stuffEnabled}"
disabled="#{bean.iGuaranteeYouThisPropertyDoesntExistadfasdfokui}" />
I'm just getting nothing. No Error. This really sucks for debugging. I tried googling if there is a setting to disable this somewhere but didn't find anything helpful. Actually, most results I got where concerned with the opposite, getting rid of the PropertyNotFoundException ;)
FYI: this is Mojarra v2.1.19-redhat-1 on JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8)
Thanks for any help or pointers in the right direction

panelMenu of Primefaces

I have a code which includes a
<p:panelMenu></>
is it supported only by primefaces3.4? I have used it using Primefaces 3.2 and 3.3.1 also but it was generating an error regarding that particular tag.
After using 3.4 it is generating a different error as "Unresolved compilation problems:the import oracle cannot be resolved OracleDataSource cannot be resolved to a type".. But my code was working fine before including that tag. Is it really a database related problem or panelMenu has any issue? Plz help.
Thanx in advnce.

Resources