Bassam Al-Sarori

Greenhorn
+ Follow
since Aug 23, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bassam Al-Sarori

And the syntax in your jsf page should be binding="#{bean.htmlPanelGrid}"
9 years ago
JSF
Did you remove the jsf-api and jsf-impl from the lib folder of your application?? This exception usually happens when your application contains these libraries and deployed under JBoss.

If you want to use your own JSF libs instead of using those in JBoss, insert this in your web.xml

<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>
9 years ago
JSF
Just trying to help. I thought that there was a conflict between JSF libs inside the application and the server. Yes, your answer seems to make more sense because the exception is fired by JSP servlet.
9 years ago
JSF
And also remove the jsf-api and jsf-impl from the lib folder of your application because JBoss already contains JSF libs.
9 years ago
JSF
Is this tag in your web.xml file??

<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>

if not, make sure it is.
9 years ago
JSF
Make sure that your bean is not null and you have a set and get method for the property you are trying to access.
9 years ago
JSF

code:
javax.el.PropertyNotWritableException: /grid.xhtml @279,45 binding="bean.htmlPanelGrid": Illegal Syntax for Set Operation



This is because your bean class does not have a set and get method for the property htmlPanelGrid.

You should have a set and get methods (maybe setHtmlPanelGrid(HtmlPanelGrid htmlPanelGrid) and getHtmlPanelGrid()).
9 years ago
JSF
Remove this part from your web.xml file

<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>

Then try accessing your index.jsp file using the following url:

http://localhost:8080/jsft/index.jsf
9 years ago
JSF
Can you post your web.xml file? To make sure that JSF is configured properly.
9 years ago
JSF
Ahmed,
I faced this error before
java.lang.IllegalArgumentException: Parameter "size" for convert from HTML to java can not be decoded: [11px], reason: Unparseable number:
.......

I know that this will seem not making sense but this problem only happens when running richfaces under Windows with Language set to Arabic. And as I can see from your error trace your Windows Regional Option is set to Arabic so, try changing this setting to maybe English US.

I hope this solves the problem.
[ August 23, 2008: Message edited by: Bassam Al-Sarori ]
9 years ago
JSF