IceFaces with MyEclipse5.5
[Logo]
ICEfaces Forums
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
IceFaces with MyEclipse5.5  XML
Forum Index -> Tools Go to Page: 1, 2 Next 
Author Message
mercury


Joined: 17/03/2007 00:00:00
Messages: 39
Offline


Folks,

I have a project to be built on JSF tech, using AJAX. For AJAX, I have been exploring and found IceFaces.

I have downloaded it and followed the steps to add it as a plugin in MyEclipse5.5. Yet I couldnt find it as added.

I have added JSF capabilities to my project. But, under 'MyEclipse' ... 'Add IceFaces Capabilities' is not visible for me.

How can I AJAXify my project? Can anyone help me out??

Thanks in advance.

Cheers,
Mercury
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 170
Offline



This integration officially support MyEclipse 5.1 which is current release version of MyEclipse. I have tested it on MyEclipse 5.5 Milestone 1 and it looks ok. I think you are using MyEclipse 5.5 Milestone 1.

If you project is a web project and JSF capabilities have been successfully added, you should see "Add ICEfaces capabilities" under "MyEclipse" on the web project's popup menu.

If you cannot see "Add ICEfaces capabilities" menu item, could you please check to see if the plugin has been installed properly by
clicking Help->About MyEclipse Enterprise Workbench->Plug-in Details and find the row with following info in the long list.

Provider: ICEsoft Technologies Inc.
Plug-in name: ICEfaces MyEclipse 5.0/5.1 Integration
Version: 1.5.3
Plug-in Id: com.icesoft.ide.myeclipse.integration


Regards

Liming
[Email]
mercury


Joined: 17/03/2007 00:00:00
Messages: 39
Offline


Liming,

Yeah! I couldnt see "Add ICEfaces capabilities" menu item yet. Actually, I have downloaded IceFaces and copied the folder at Plugins of MyEclipse5.5. I think this is the right way to add on a plugin.

As you told, I have checked in "Help->About MyEclipse Enterprise Workbench->Plug-in Details". But there also, I couldnt find the row related to IceFaces.

Can you please help me out?
Kindly suggest me if I have done anything wrong!

Thanks,
Mercury.
mercury


Joined: 17/03/2007 00:00:00
Messages: 39
Offline


Liming,

Yeah! I couldnt see "Add ICEfaces capabilities" menu item yet. Actually, I have downloaded IceFaces and copied the folder at Plugins of MyEclipse5.5. I think this is the right way to add on a plugin.

As you told, I have checked in "Help->About MyEclipse Enterprise Workbench->Plug-in Details". But there also, I couldnt find the row related to IceFaces.

Can you please help me out?
Kindly suggest me if I have done anything wrong!

Thanks,
Mercury.
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 170
Offline



Please double check the location of directory com.icesoft.ide.myeclipse.integration_1.5.3 to see if it is located under {MYECLIPSE_INSTALL_HOME}/myeclipse/eclipse/plugins. On windows, normally the path should be

c:\program files\MyEclipse 5.5 M1\myeclipse\eclipse\plugins\com.icesoft.ide.myeclipse.integration_1.5.3

Regards

Liming
[Email]
mercury


Joined: 17/03/2007 00:00:00
Messages: 39
Offline


Liming,

Thanks. Finally I could add IceFaces as Plugin to MyEclipse5.5.

Now I could see "Add IceFaces Capabilities" also.

Thanks once again.

As I a newbie in JSF, I will be in touch with you for my clarifications.

Rgds,
Mercury.
mercury


Joined: 17/03/2007 00:00:00
Messages: 39
Offline


Liming,

Can you please help me out in uploading docs using ICEFaces?

Actually, I have tried using <ice:outputProgress> tag, but am in a mess to complete the available attributes in that tag.

My problem is to upload any doc and save it somewhere on my hard disk.

Please help me out.

Thanks,
Mercury.
mercury


Joined: 17/03/2007 00:00:00
Messages: 39
Offline


Please find the attached zip file containing the source code, what i have coded.

Please help me out, so that I can proceed with my project.

Thanks,
Mercury
 Filename ICEFaces_Upload.zip [Disk] Download
 Description
 Filesize 4852 Kbytes
 Downloaded:  58 time(s)

 Filename ICEFaces_Upload.zip [Disk] Download
 Description
 Filesize 4852 Kbytes
 Downloaded:  31 time(s)

liming.wu

Joined: 26/10/2004 00:00:00
Messages: 170
Offline


Please check ICEfaces demo application component showcase ICEfaces Component Suite -> Components -> File Upload at http://component-showcase.icefaces.org/component-showcase/ for how to use ice:inputFile component.

[Email]
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 170
Offline


You can also check ICEfaces tutorial on how to use the ICEfaces InputFile component at http://facestutorials.icefaces.org/tutorial/inputFile-tutorial.html
[Email]
mercury


Joined: 17/03/2007 00:00:00
Messages: 39
Offline


Thanks for your suggestions.

I have already gone thru Component Showcase before. But the tutorials given by you are very useful in developing the code.

As of now, I am successful in developing the UI Part for uploading files. Still, I have a problem on saving the uploaded file somewhere hard disk. Actually, I started off only to upload a file and save it in the hard disk.

Please advice me.

Thanks,
Mercury.
mercury


Joined: 17/03/2007 00:00:00
Messages: 39
Offline


Hi,

Am able to get the view of Uploading doc. Gr8 to see that at last.

But unable to save the uploaded file to a location in my machine.

Plz advice me.

Thanks,
Mercury.
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 170
Offline


In 1.5.x, you can define com.icesoft.faces.uploadDirectoryAbsolute or com.icesoft.faces.uploadDirectory in your web.xml and uploaded file can be saved to the directory relatively to web content root. Or you can also get file object from InputFile in your actionHandler for enclosing form. With the file object you can create inputstream and save it or parse it etc.

Hope this helps

Liming
[Email]
mercury


Joined: 17/03/2007 00:00:00
Messages: 39
Offline


The following was available by default.

<context-param>
<param-name>com.icesoft.faces.uploadDirectory</param-name>
<param-value>upload</param-value>
</context-param>

In the <param-value> tag, I have tried using "D:/', but its not working.
May be it is not the right way. How can I save an uploaded file into a specific directory in my machine?

Can you plz help me out?

Thanks,
Mercury.
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 170
Offline


The context param com.icesoft.faces.uploadDirectory allows you specify the upload directory, which is relative to context root.

Hope this helps.

Liming
[Email]
 
Forum Index -> Tools Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team