[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: spieler  XML
Profile for spieler -> Messages posted by spieler [5]
Author Message
Hello again,

last days I made some pages and got again some trouble with the managed bean.

to see what is wrong I made again a hello world site (only a t:field - t:button - t:field) - but see the code in the attached files.

so normaly when I press the button I will get a "Hallo + m_field1" in the m_field2 and a messages in the statusbar.
But there is nothing.

Is there a possibility for debugging to see what is going on?
I tried:
# starting the server in debug mode
# eclipse debug configuration - remote java app - connection type: standard (socket attach) - host: localhost - port: 50010
# set a breakpoint (onButtonAction) in eclipse
# start the app and press the button - nothing

who can help me?

EDIT:
I forgot it is on a new windows 7 installation:
# eclipse (configured to use java 6 for projects)
# captain casa (configured to use also java 6)
# java 6 + java 7

EDIT:
Everything is workin now.
There was again a mismatch with the java versions, after deinstalling java7 it works.
Hi again,

I think there was a misunderstanding,...

First I tried to solve the problem without the Dispatcher and upload the files.
After this failed I tried to solve the problem with the Dispatcher.

I have no possibility to upload the project as a zip file, is it possible to give me a possibility to download a sample project (hello world or some other simple project).
OK, now I tried to use the Dispatcher object, but I think I am not clever enough.

Is there a way to export and import a whole project?

I hope that anybody could help me,...
Hi,
thanks for the fast answer.
I have done the changing,... : and got the same problem.

Here are my files:
# DemoHelloWorld.java
# faces-config.xml
# helloworld.jsp

where is my mistace?
Hi,

I'm new in CaptainCasa and try to get the Hello World - testproject running.
My problem is that there is no entry in the Managed Server Beans - Bean Browser.

I already checkt following:
# the DemoHelloWorld.class file is in the folder ..../firstProject/webcontent/WEB-INF/classes/test
-> the compilation works
# I also refreshed the Managed Server Beans list
-> there is nothing
# the faces-config.xml contains the managed-bean like in the DevelopersGuide Dokument
-> should be ok
# the class have no extended classes
# maybe the project configuration is wrong:
take a look to it:

<project
projectdirectory ="Z:\Documents\Eclipse\CaptainCasa\firstProject"
webcontentdirectory="${project}\webcontent"
javasourcedirectory="${project}\src"
uitestcasedirectory="${project}\uitest"

webcontentdeploydirectory="c:\EnterpriseClient\server\tomcat\webapps\firstProject"
webcontextroot ="firstProject"
webhostport ="localhost:50000"

copywebapp ="true"
reloadwebapp="true"
>

When I try to run this project I got the specified label, field and button but if I pressed the button, nothing happened. (I have done the definition in the source code in Eclipse - at last a copy and paste from the document).

The problem have to be, that the system could not find the managed bean, I am right?

Who can help me?

Thanks in advance
Swen
 
Profile for spieler -> Messages posted by spieler [5]
Go to:   
Powered by JForum 2.1.6 © JForum Team