<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Spinner and Fisheye of DojoToolkit"]]></title>
		<link>http://www.icefaces.org/JForum/posts/list/15.page</link>
		<description><![CDATA[Latest messages posted in the topic "Spinner and Fisheye of DojoToolkit"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Spinner and Fisheye of DojoToolkit</title>
				<description><![CDATA[ Hi,

I needed a spinner component in a J2EE application done with Icefaces. Due to the lack of such a component in Icefaces, I tried to integrate the dojotoolkit JS library (www.dojotoolkit.org) in icefaces (only facelet !!).

The spinner works fine (also with partialsubmit) in my application (Icefaces). I also integrated the fisheye component (http://dojotoolkit.org/demos/fisheye-demo) but did not extensivly tested the component.

The JS files and additional resources are downloaded by the client through an additionnal servlet (like icefaces)

You can check the code and report errors or do suggestions. My intention was not to replace exsting icefaces components with the dojo (or dijit) components but extend the icefaces library with additionnal more (spinner) or less (fisheye) usefull (existing) components.

The jar file is for developpment and not (yet) for production use.

Georges Goebel

Feel free to comment.

usage in a sample facelet :
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
        &lt;ice:form partialSubmit="true"&gt;

            &lt;pch:spinner id="mySpinner" value="#{spinBean.spinValue}" begin="1" end="500"/&gt;


            

            &lt;ice:outputLabel value="test : #{spinBean.spinValue}"/&gt;

            

            

            &lt;pch:spinner id="bubuSpinner22" value="#{spinBean.spinValue2}" partialSubmit="false" begin="1" end="500"/&gt;
            

            &lt;ice:outputLabel value="test : #{spinBean.spinValue2}"/&gt;

            
            &lt;pch:fisheye attachEdge="center" conservativeTrigger="false" effectUnits="2" itemHeight="40" itemMaxHeight="150" itemMaxWidth="150" itemPadding="2" itemWidth="40" labelEdge="bottom" orientation="horizontal"&gt;
                &lt;pch:fisheyeitem icon="http://localhost:8080/customIce/icon_browser.png" action="#{fishEyeBean.action}" label="item1"/&gt;
                &lt;pch:fisheyeitem icon="http://localhost:8080/customIce/678031.jpg" action="#{fishEyeBean.action2}" label="item2"/&gt;
                &lt;pch:fisheyeitem icon="http://localhost:8080/customIce/icon_email.png" action="#{fishEyeBean.action3}" label="item3"/&gt;
            &lt;/pch:fisheye&gt;
        &lt;/ice:form&gt;
</pre>
		</div>

configuration in web.xml :

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
    &lt;servlet&gt;
        &lt;servlet-name&gt;Dojo Servlet&lt;/servlet-name&gt;
        &lt;servlet-class&gt;lu.etat.pch.icefaces.DojoServlet&lt;/servlet-class&gt;
        &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
    &lt;/servlet&gt;

    &lt;servlet-mapping&gt;
        &lt;servlet-name&gt;Dojo Servlet&lt;/servlet-name&gt;
        &lt;url-pattern&gt;/iceDojo/*&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
</pre>
		</div>

]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8506.page#35552</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8506.page#35552</link>
				<pubDate><![CDATA[Wed, 28 May 2008 13:30:05]]> GMT</pubDate>
				<author><![CDATA[ georges.goebel@pch.etat.l]]></author>
			</item>
			<item>
				<title>Re:Spinner and Fisheye of DojoToolkit</title>
				<description><![CDATA[ Hi George,

I am trying to integrate a java script tree component (<a href='http://www.dhtmlx.com/docs/products/dhtmlxTree/' target='_new' rel="nofollow">http://www.dhtmlx.com/docs/products/dhtmlxTree/</a>) in an iceface project. I found your post the closest tutorial on how to do it. 

I downloaded your project from this post and i tried to compile the code in eclipse 3.3 with tomcat 6.0. 

The project layout in eclipse looks like this: 

-[iceDojo]
    +[.metadata]
    +[.settings]
    +[build]
    -[iceDojo]
         +[dijit]
         +[dojo]
         +[dojox]
         +[util]
     -[src]
         -[lu]
             -[etat]
                  -[pch]
                     -[icefaces]
                              .....class
                              .....class
    -[WebContent]
            +[META-INF]
            -[WEB-INF]
                 [lib]
                 faces-config.xml
                 web.xml    
        index.xhtml

ps: i have attached a screenshot of the layout

I have the following questions to ask:

1. i am not able to insert in faces-config.xml the managed beans like fishEyeBean or spinBean. Is it because it doesnt see the source files??

2. I get a HTTP status 404 resource not found? I am using *.xhtml file and it is defined in the web.xml file as default file


Can you throw me any light and tell me where i am making mistakes.

regards,
choesang 




]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8506.page#35777</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8506.page#35777</link>
				<pubDate><![CDATA[Tue, 3 Jun 2008 07:06:22]]> GMT</pubDate>
				<author><![CDATA[ tchoesang]]></author>
			</item>
			<item>
				<title>Re:Spinner and Fisheye of DojoToolkit</title>
				<description><![CDATA[ Hi,

If you already use Icefaces and you want to use a Tree component, why don't you just use the Tree component from Icefaces ?
It's very simple and does (IMO) the same thing than the DHX component. Or do you have any special constraint why you don't use the icefaces tree component ?

You can try and checkout the code example of the Icefaces Tree component from the component-showcase

http://component-showcase.icefaces.org/component-showcase/showcase.iface

Georges Goebel]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8506.page#35783</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8506.page#35783</link>
				<pubDate><![CDATA[Tue, 3 Jun 2008 08:10:23]]> GMT</pubDate>
				<author><![CDATA[ georges.goebel@pch.etat.l]]></author>
			</item>
			<item>
				<title>Re:Spinner and Fisheye of DojoToolkit</title>
				<description><![CDATA[ Hi,

I know that Iceface provides the tree component but we have already implemented a set of functions with dhtmlxtree. Now we would like to have more flexibility in the future and would like to migrate on to Icefaces.

To check the feasibility of the migration on to Icefaces, i wanted to see how to make a custom component of the dhtmlxtree and to make a prototype using such a custom component.

thanks,
choesang  ]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8506.page#35784</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8506.page#35784</link>
				<pubDate><![CDATA[Tue, 3 Jun 2008 08:35:19]]> GMT</pubDate>
				<author><![CDATA[ tchoesang]]></author>
			</item>
			<item>
				<title>Re:Spinner and Fisheye of DojoToolkit</title>
				<description><![CDATA[ Hi,

The iceDojo.jar is infact the binary distribution and does not include the sources. You find some sources (only spinner) at the jira http://jira.icefaces.org/browse/ICE-1786 

If you give me your email I can send you all the sources.

Georges
]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8506.page#35787</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8506.page#35787</link>
				<pubDate><![CDATA[Tue, 3 Jun 2008 09:10:32]]> GMT</pubDate>
				<author><![CDATA[ georges.goebel@pch.etat.l]]></author>
			</item>
			<item>
				<title>Re:Spinner and Fisheye of DojoToolkit</title>
				<description><![CDATA[ Hi;

here is my email add: tchoesang@gmail.com

thanks,
choesang ]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8506.page#35789</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8506.page#35789</link>
				<pubDate><![CDATA[Tue, 3 Jun 2008 09:22:03]]> GMT</pubDate>
				<author><![CDATA[ tchoesang]]></author>
			</item>
			<item>
				<title>Re:Spinner and Fisheye of DojoToolkit</title>
				<description><![CDATA[ Hi Georges, 

I've been trying to run your example in order to test fisheye, but I'm new to icefaces and I get an error when I try to run it:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>This page contains the following errors:

error on line 24 at column 300: Namespace prefix pch on spinner is not defined
error on line 32 at column 386: Namespace prefix pch on spinner is not defined
error on line 37 at column 554: Namespace prefix pch on fisheye is not defined
error on line 38 at column 648: EntityRef: expecting ';'</pre>
		</div>

I'm assuming this may be because I have not defined the tag for it? As I said, I'm knew to icefaces and jsf so I'm not quite certain how to define this particular tag. Any help would be appreciated!

Thanks, 

Mariana D'Angelo]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8506.page#55179</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8506.page#55179</link>
				<pubDate><![CDATA[Fri, 14 Aug 2009 13:37:23]]> GMT</pubDate>
				<author><![CDATA[ mdangelo]]></author>
			</item>
			<item>
				<title>Re:Spinner and Fisheye of DojoToolkit</title>
				<description><![CDATA[ Just a suggestion, I have started including the source in a src directory in the jar files I publish, it works rather well.

I expect to do a lot more custom components and like you we have started building them into seperate jars.

keeping the source with the jar is much more convinient than storing it somewhere else.

]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8506.page#55238</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8506.page#55238</link>
				<pubDate><![CDATA[Mon, 17 Aug 2009 11:52:01]]> GMT</pubDate>
				<author><![CDATA[ michelle2]]></author>
			</item>
			<item>
				<title>Re:Spinner and Fisheye of DojoToolkit</title>
				<description><![CDATA[ Anyone have the source for DojoServlet or know where I can get it?]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8506.page#57696</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8506.page#57696</link>
				<pubDate><![CDATA[Thu, 29 Oct 2009 11:57:45]]> GMT</pubDate>
				<author><![CDATA[ grimholtz]]></author>
			</item>
	</channel>
</rss>