On 02.04.2008, at 21:25, Eleni Manou wrote:
I am just copying some lines from my project in WO 5.3. There in
Session.java I define
public String userName;
and then in a component I set this variable using
((Session)session()).userName = .....
This is not working in WOLips project, wher I get the error message
Unresolved compilation problem:
username cannot be resolved or is not a field
Add public accessor methods to your session class for the username and
call
((Session)session()).setUserName("aUserName");
I can not understand what you mean by "Do you have some things in
packages and others not? Are you importing the correct Session
class?". Sorry, I am a newcomer in Eclipse/WOLips. Can you help me a
little bit more?
Background is, that sometimes people *think* they are asking the right
Session class, but they import a Session class from a completely
different package (JavaMail for example).
cug
--
http://www.event-s.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]