For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 8 replies, 3 voices, and was last updated 19 years, 3 months ago by
dpinell.
-
AuthorPosts
-
parthiv117MemberHi,
when I tried the JSFLoginDemo for MyEclipse on my Linux box, the userLogin.jsp and userLoginSuccess.jsp both can not resolve the UserBean.
<h:commandButton value=”#{bundle.login_button_label}” rendered=”true”
action=”#{UserBean.loginUser}” id=”submit” />It says UserBean can not be resolved.
Any idea why? What could I be missing in my path?
Thanks for the help
March 20, 2007 at 10:57 am #267714
Riyad KallaMemberIs this an error inside the IDE, or from your app server when you try and load the pages?
What does your faces-config.xml file look like?
March 20, 2007 at 12:29 pm #267734
parthiv117MemberYes this is an error inside my IDE. My faces-config is same as the one provided in the example.
Actually I got it working by turning the validations off. By default the validations were on in MyEclipse and I disabled them and the compilation error was gone. After this when I deploy the application over Tomcat it worked fine.
But still any suggestions about how to resolve the bindings during compile time?
Thanks.
March 20, 2007 at 12:52 pm #267739
Riyad KallaMemberCan you send me this project by exporting it to an archive (File > Export > Archive) and then email it to support@genuitec.com ATTN Riyad, with a link to this thread for reference?
March 20, 2007 at 2:44 pm #267752
parthiv117MemberHi Riyad,
Sent the file to you.
March 20, 2007 at 2:52 pm #267756
Riyad KallaMemberI’m not sure if you just sent me the demo project or the project you were working with, but I didn’t get any validation errors of any kind. Autocomplete, validation and deployment/testing seemed to work fine for me.
Let’s take a look at your install info to see what is going on. Can you copy-paste the information from MyEclipse > Installation Summary > Installation Details here for me?
March 20, 2007 at 3:47 pm #267762
parthiv117MemberHi Riyad,
I sent to you the demo project that I was trying on my system. That project use to give me compilation errors when validations are turned on. It was not able to resolve UserBean under src/com.jsfdemo.bean. But when I suspend all the validations it worked fine.(didn’t give me compilation errors). Because of this, previously when i tried to deploy the application on tomcat and tried to access it via URL it used to give me MissingResource Exception.
Here are the details of MyEclipse installation
———————————————————————————————————–
*** Date: Tue Mar 20 16:41:48 EDT 2007
*** System properties:
OS=Linux
OS version=2.6.9-42.7.EL
Java version=1.5.0_09*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.0 GA
Build id: 20060805-5.0-GA*** Eclipse details:
Eclipse PlatformVersion: 3.2.0
Build id: M20060921-0945Eclipse Platform
Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
Build id: M20060921-0945Eclipse Java Development Tools
Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
Build id: M20060921-0945Eclipse Graphical Editing Framework
Version: 3.2.1.v20060921
Build id: 20060921-1617Eclipse RCP
Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
Build id: M20060921-0945Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20060921-0945Eclipse Project SDK
Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
Build id: M20060921-0945Eclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20060921-1617Eclipse startup command=-os
linux
-ws
gtk
-arch
x86
-launcher
/opt/jive/packages/eclipse/current/eclipse
-name
Eclipse
-showsplash
600
-exitdata
6c0005
-showlocation
-data
/users/pmalani/workspace
-vm
/opt/jive/packages/jdk/current/bin/javaThanks.
March 20, 2007 at 4:00 pm #267764
Riyad KallaMemberI honestly don’t know what errors you are seeing, I just double checked and the validators are enabled for this project, I introduced some bugs in the code and they were caught, then I removed them and they were corrected, and I don’t see any issues with it.
Can you take a screenshot of some of the problems you are seeing and PM them to me? Also what resource error what Tomcat giving you?
May 15, 2007 at 6:39 pm #270123
dpinellMemberDon’t know if this is the same situation but at first the IDE marked the bundle and UserBean as unresolved. Right-clicking in the jsp file(s) and then MyEclipse->Run Validation resolved the display.
-
AuthorPosts
