ICEfaces 2.0 selectInputDate does not work.
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
ICEfaces 2.0 selectInputDate does not work.  XML
Forum Index -> Development Build Feedback
Author Message
sfryer

Joined: 28/07/2009 00:00:00
Messages: 10
Offline


When trying to expand a popup calendar or selecting a date a Javascript error occurs relating to j_idcl can anybody help me on this??
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


Did you get this error when trying to use component-showcase (compat version)? If so, which browser? If not, please deploy this sample application and look for differences between your application and it.
sfryer

Joined: 28/07/2009 00:00:00
Messages: 10
Offline


Thanks, where is the component showcase (compat version)?
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


It's a standard example application found within any of our distribution bundles. (when you download ICEfaces--whatever version-- look in the /samples folder)
kalamar

Joined: 29/11/2009 00:00:00
Messages: 8
Offline


sfryer wrote:
When trying to expand a popup calendar or selecting a date a Javascript error occurs relating to j_idcl can anybody help me on this?? 

I have the same error in Firebug. I am using Firefox 3.6. The calendar examples in the showcase bundeled with the Alpha-dist works.
Here is my code:
Code:
 [...]
 <html xmlns="http://www.w3.org/1999/xhtml"
 	xmlns:ui="http://java.sun.com/jsf/facelets"
 	xmlns:f="http://java.sun.com/jsf/core"
 	xmlns:h="http://java.sun.com/jsf/html"
 	xmlns:ice="http://www.icesoft.com/icefaces/component">
     <h:head>
         <title>ICEfaces 2</title>
         <ice:outputStyle href="./xmlhttp/css/rime/rime.css"/>
          <h:outputScript name="jsf.js" library="javax.faces"/>
     </h:head>
     <h:body>
         <div id="header">
         </div>
          <div id="content">
              <ice:form id="iceForm">
                 <ice:outputText value="Welcome to ICEfaces 2. Add ICEfaces 1.8 components"/>
                 <ice:selectInputDate renderAsPopup="true"/>
              </ice:form>
          </div>
     </h:body>
 </html>
 

It seems to me that quite a lot of compontents don't works well.

Regards
izafarid

Joined: 28/02/2010 00:00:00
Messages: 1
Offline


it's work actually, but not really work...

if you have one selectinputdate then renderAsPopup must false or you will get javascript error.

if you have more then one selectinputdate then at least one of it must false for renderAsPopup

test it on component-showcase.
Filename: component-showcase\WEB-INF\includes\examples\custom\selectInputDate.xhtml
Add renderAsPopup="false" at selectInputDate tag at line 72, then restart webserver
smikesh

Joined: 01/09/2007 00:00:00
Messages: 21
Offline


judy.guglielmin wrote:
It's a standard example application found within any of our distribution bundles. (when you download ICEfaces--whatever version-- look in the /samples folder) 

I cannot find it in IceFaces 20 distribution package..
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


What exactly are you looking for in the distribution bundle? If you are looking for the samples, then auction and basic example (showing jsf2, ICEfaces2 examples using <h:> and <f:> tags only) are in the /samples directory. If you are looking for examples of <ice:> components (similar to 1.8.x release), then you want to look in /compat/samples for the auctionMonitor and component-showcase examples.
smikesh

Joined: 01/09/2007 00:00:00
Messages: 21
Offline


judy.guglielmin wrote:
What exactly are you looking for in the distribution bundle? If you are looking for the samples, then auction and basic example (showing jsf2, ICEfaces2 examples using <h:> and <f:> tags only) are in the /samples directory. If you are looking for examples of <ice:> components (similar to 1.8.x release), then you want to look in /compat/samples for the auctionMonitor and component-showcase examples. 

Yes, Thank you, I have found it :)
I was looking for the showcase in order to test the Tree component
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


You can track the selectInputDate issue at ICE-5455
arunjoyonline

Joined: 07/01/2010 00:00:00
Messages: 1
Offline


I downloaded the latest iceface2.0 and this issue is not yet fixed.
selectinputdate with renderAsPopup="true" gives a javascript error.
I am attaching a screenshot from ie;

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:ice="http://www.icesoft.com/icefaces/component">
<h:head>
<title>TODO suply a title</title>
<link rel="stylesheet" type="text/css" href="./css/rime/rime.css"></link>
</h:head>
<h:body>
<h:form>
<ice:selectInputDate id="hh" renderAsPopup="true"/>
</h:form>
</h:body>
</html>


[Thumb - error.png]
 Filename error.png [Disk] Download
 Description Java Script Error in IE8 when clicked on the selectinputdate popup
 Filesize 58 Kbytes
 Downloaded:  53 time(s)

frweisma

Joined: 02/07/2008 00:00:00
Messages: 10
Offline


The ice:selectInputDate works only in a ice:form.
If you change your h:form against ice:form, it will work
thierry_gagnaire

Joined: 02/06/2010 05:01:09
Messages: 45
Offline


Hello,

Question about the compat sample application :
(I've installed it and it works fine - but the HTML code of the Wed pages is not very readable).

How to absolutly know which XHTML source page in the application we are trying (while testing this demo application) ?

Thanks

Thierry
 
Forum Index -> Development Build Feedback
Go to:   
Powered by JForum 2.1.7ice © JForum Team