Hi,
In addition to the usual primary menu (Home, List entries, Add entry,
Log in/out, ...), I would like to introduce a secondary, record-aware
menu to my site. The entries in this menu would contain, for example,
Edit current record, Delete current record, Show current
record, ...
There
If your project is more than a simple app (as I'm certain it is), I
would go with JPA. Record is not ready yet, and Mapper is pretty
limited. For example, AFAIK Mapper doesn't do many-to-many
associations.
I've had a lot of success with JPA/Hibernate, and it's getting pretty
solid in Lift
Hi Franz,
Here's what I did, roughly:
trait TimeStamped[OwnerType : ExtMapper[OwnerType]] {
this: ExtMapper[OwnerType] =
private val thisTyped = this.asInstanceOf[MapperType]
object createdOn extends ExtMappedDateTime(thisTyped) with
LifecycleCallbacks {
override def
I don't think it's necessary to make a final decision about your IDE
at any time. AFAIK, all major IDEs work quite well with Maven's pom
files, so it's very easy to switch IDEs at any time.
I for instance used NetBeans until last month, when JetBrains updated
their Scala plugin - then I
Hi,
What's the best way to get generic Cancel links into forms, lift-
style? Assuming that a form can be called from different pages in the
application, and the cancel link should return to the originating page?
Would it work to have a RequestVar for the target of the cancel link,
and
each field in the model, and refer to it
in the view. I really wouldn't mind not having to mention it anywhere
inbetween.
This is actually a nice thing to do. Sorry that I misunderstood your
intentions :)
Thank you for all your help,
Clemens
Clemens Oertel
clem...@oertel.ca
Clemens
debate now .. we had plenty of those :)
Agreed.
Best,
Clemens
Clemens Oertel
clem...@oertel.ca
Clemens Oertel
clem...@oertel.ca
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post
Marius:
On 31-Mar-09, at 12:31 PM, marius d. wrote:
On Mar 31, 5:06 pm, Clemens Oertel clemens.oer...@gmail.com wrote:
- Why not provide the same template mechanism used for forms for HTML
output? This way I can reuse the same template for both - given that
my records have at least
While trying to figure out why my MappedDateTime fields get stored in
the DB with all the time info set to 0, I noticed the following:
MappedDateTime (v. 1.0) claims to be a TimeStamp: def targetSQLType
= Types.TIMESTAMP. However, it uses java.sql.Date for its JDBC-
friendly converted
a look on Record and formvalidation support.
Br's,
Marius
On Mar 17, 11:07 pm, Clemens Oertel clemens.oer...@gmail.com wrote:
Hello everybody,
Still trying to learn how to use lift efficiently and effectively, I
got a little bit confused about the toForm function in the model/
mappers
Hello everybody,
Still trying to learn how to use lift efficiently and effectively, I
got a little bit confused about the toForm function in the model/
mappers. Admittedly, my web framework background may be limited, but
this looked to me as if some view code snuck into the model space
11 matches
Mail list logo