voyent
Incorrect validation warnings on setEventPhase, fileEntry, others  XML
Forum Index -> Tools
Author Message
dwight

Joined: 13/Oct/2008 00:00:00
Messages: 81
Offline


Using ICEfaces EE 3.2.0.GA. At design time, in MyEclipse 2014, I'm getting some validation warning messages which are incorrect. I'm not sure if this is an ICEfaces problem, or Eclipse, or MyEclipse, but it seems most likely some definition problem in ICEfaces.

Here are examples:
Code:
 <html xmlns="http://www.w3.org/1999/xhtml"
 	xmlns:ice-cc="http://www.icesoft.com/icefaces-composite-comps"
 	xmlns:ace="http://www.icefaces.org/icefaces/components"
 	xmlns:ice="http://www.icesoft.com/icefaces/component">
 
 <!-- warning for events says 'Valid values are "true" or "false" '; note that phase validates properly -->
 <ice:setEventPhase events="ValueChangeEvent" phase="INVOKE_APPLICATION">
 </ice:setEventPhase>
 
 <!-- warning on fileEntryListener says
 	"Method must have signature 'void method()' but has signature 'void method(FileEntryEvent)' " -->
 <!-- warning on relative path says "invalid value" -->
 <ace:fileEntry 
 	fileEntryListener="#{sampleBean.listenUpload}"
 	label="Upload image"
 	relativePath="upload" >
 </ace:fileEntry>
 
 <!-- every attribute of triStateCheckBox gets 'unknown attribute' warning -->
 <ice-cc:triStateCheckbox id="myid"
 	bean="#{sampleBean.number}" />
 
 <!-- every attribute of slider gets 'unknown attribute' warning -->
 <ice-cc:slider id="ss" 
 	value="#{sampleBean.number}" />
 


Everything executes fine at run time, but all the warnings from the editor are annoying.
What is the fix for this?
ken.fyten

Joined: 26/Oct/2004 00:00:00
Messages: 1323
Offline


Dwight,

It would appear that MyEclipse 2014 has updated their edit-time validation in a way that the ICEfaces integration has not accounted for.

We'll try to correct this for the next release if feasible.

EDIT-> It is possible that this issue has been resolved as part of a set of changes available in the latest ICEfaces EE 3.3.0.GA_P01 MyEclipse download (Noted as "ICE-9604 Fixed validation error with some custom listeners"in the Release Notes).



Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
jsfranko

Joined: 12/Oct/2007 00:00:00
Messages: 36
Offline


has their been any progress on this? I have the same issue in eclipse juno with the icefaces eclipse 4.2 tools.
 
Forum Index -> Tools
Go to:   
Powered by JForum 2.1.7ice © JForum Team