[Lift] Re: JPA w/Scala - never mind

2008-09-03 Thread Derek Chen-Becker
Sorry I didn't get back to you on that. I'm working on an improved version
of the tutorial to include a complete example but it's dependent on
0.10-SNAPSHOT right now. As soon as 0.10 goes GA I'll revise the tutorial
page.

Derek

On Tue, Sep 2, 2008 at 8:35 PM, Charles F. Munat [EMAIL PROTECTED] wrote:


 I figured it out, I think. Should be author.name, without the parentheses.

 Charles F. Munat wrote:
  Has anyone followed the JPA tutorial using pure Scala instead of Java?
  I've got it very close to running, but I am getting the following error:
 
  [WARNING]
 
 /private/var/www/wsbg/webapp/src/main/scala/com/foo/jpaweb/snippet/AuthorOps.scala:22:
  error: value getName is not a member of com.foo.jpaweb.model.Author
  [WARNING]  name -- Text(author.getName()),
  [WARNING] ^
  [WARNING] one error found
 
  I'm neither a Scala nor a Java programmer, but I'm guessing that the
  getter for the name attribute in Scala is not getName. Is this correct?
 
  Chas.
 
  

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: JPA w/Scala - never mind

2008-09-02 Thread Charles F. Munat

I figured it out, I think. Should be author.name, without the parentheses.

Charles F. Munat wrote:
 Has anyone followed the JPA tutorial using pure Scala instead of Java? 
 I've got it very close to running, but I am getting the following error:
 
 [WARNING] 
 /private/var/www/wsbg/webapp/src/main/scala/com/foo/jpaweb/snippet/AuthorOps.scala:22:
  
 error: value getName is not a member of com.foo.jpaweb.model.Author
 [WARNING]  name -- Text(author.getName()),
 [WARNING] ^
 [WARNING] one error found
 
 I'm neither a Scala nor a Java programmer, but I'm guessing that the 
 getter for the name attribute in Scala is not getName. Is this correct?
 
 Chas.
 
  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---