voyent
Studio Creator Design-Time support  XML
Forum Index -> Tools Go to Page: 1, 2 Next 
Author Message
Admin

Joined: 27/May/2004 00:00:00
Messages: 219
Offline


Hi,
does design-time integration with Studio Creator works now? I remember it was promised to work in rel. 1.0.

thanks
-A
pabreau

Joined: 11/May/2006 00:00:00
Messages: 23
Offline


Yes :) The new 1.0 Community Edition release includes a Studio Creator complib for the ICEfaces Component Suite that supports design-time drag-and-drop visual design in Studio Creator using the ICEfaces components. You'll find it in the tools directory of the CE download. And we'd love to hear your feedback after you've tried it.

Thanks,
Philip
[Email]
johnecobo

Joined: 04/Jun/2006 00:00:00
Messages: 1
Offline


Hi, so how does one see the ICEfaces components in Creators palette ? I have installed the .nbm file and can run the samples. Are there instructions somewhere for installing the COMPLIB file ?
Thanks,
JC
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Yes, there is a Complib_ReadMe.html file in the /tools/creator2 directory of the Community Edition download which goes over installing the complib in Creator. After the complib is installed you should see an ICEfaces section in the Creator palette.

Thanks,
Philip

.
Admin

Joined: 27/May/2004 00:00:00
Messages: 219
Offline


I've done both steps of integrating Studio2 with ICEFaces and I can drag/drop ICD components - but when I deploy the page it gives strange results (like input in the middle of application that consists of one static text component...). Is this a known problem or is it just me?

Gregory
frank.ye

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


If you could provide a sample project, we could help you look into it.

Wizard provides some preconfigured project, do you have any problem running it.
[Email]
Admin

Joined: 27/May/2004 00:00:00
Messages: 219
Offline


http://student.agh.edu.pl/~gtwardus/jsf/WebApplication8/

This is a link to a sample project - containing a static text component (from JSC built-in components) and a radio button group (from ICEFaces). Don't know why after hitting Deploy it redirects me to a ".iface" page instead of an ".jsp".

Thanks for your help,
Gregory
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi Gregory,

I noticed that you have a ui:staticText component in you JSP. This is a Sun Rave/Creator-specific compoent that we don't support. I would suggest removing that and seeing what happens.

Thanks,
Philip

.
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi Gregory,

As for your question about IDE-preference...no, we're fairly IDE agnostic here. Creator seems to have by far the most JSF support, and it's the only IDE where we have Design-Time and palette support. We do have other plugins for IBM RAD, Eclipse, NetBeans, JDeveloper, and BEA Workshop. Personally, I'm not very skilled in Notepad;)

Thanks,
Philip

.
frank.ye

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


Try to mapping it with the same rules that set up in navigation.xml

If you use jsp file extension in from-view-id, then the following changes required.

<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
[Email]
Admin

Joined: 27/May/2004 00:00:00
Messages: 219
Offline


Hi Philip,

Indeed after I removed the Creator-specific component the application ran properly. But even with only ICEFaces components there are some problems (after clicking the ICEFaces Command Button from Page1 - which shuld move us to Page2 - Firefox Browser crashes and disables the IDE from another deployment of the the project) - my question is - have you ever developed an ICEFaces-dependant application in the Java Studio Creator, and if so - where there any problems? And another one - do you recommend a specific IDE for developing JSF applications using ICEFaces components or do you prefer hand-coding the whole application in notepad?

Thanks for your help,
Gregory
Admin

Joined: 27/May/2004 00:00:00
Messages: 219
Offline


OK, in my navigation file I tried changing the .jsp extension to .iface:

<navigation-rule>
<from-view-id>/Page1.iface</from-view-id>
<navigation-case>
<from-outcome>go</from-outcome>
<to-view-id>/Page2.iface</to-view-id>
</navigation-case>
</navigation-rule>

And navigation between pages works, but in the java Studio Creator the visual support of the navigation is disabled (the graphical links between pages). Is it normal?

Thanks,
Gregory
frank.ye

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


currently, iface mapping extension is not supported in navigation rule set up.

You could change the other way around where only modify the web.xml with following:

<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>*.iface</url-pattern>
</servlet-mapping>

There is no need to change jsp navigation rule in this case. Let me know if it works for you.
[Email]
Admin

Joined: 27/May/2004 00:00:00
Messages: 219
Offline


Nope:( Neither command button nor command link seem to work. Is there like a big, detailed tutorial on how to build web applications using ICEFaces? (and not the TimeZone tutorial) Because it could come in handy..
frank.ye

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


There is a new Comnunity release 1.0.1 avaliable now.
Could you try that one?
[Email]
 
Forum Index -> Tools Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team