If the same snippet is used by two pages you would want two separate resource
bundles to be used for the same snippet?
-
Hugo Palma wrote:
So what you're saying is that a page can include a bunch of snippets and
that's why it doesn't be an advantage to have pa
Besides, would it even help? Is the time in obtaining a Method instance rather
than invoking it?
-
David Pollak wrote:
On Tue, Feb 9, 2010 at 9:10 AM, Hugo Palma wrote:
> Why doesn't Lift create the mapping at startup using reflection ?
> It's not using refl
where it's rendered.
Does that make sense to you ?
In the past i've found such an approach very natural and really useful.
On Wed, Feb 10, 2010 at 06:38, Naftoli Gugenheim wrote:
> If the same snippet is used by two pages you would want two separate
> resource bundles to b
On 10/02/10 9:59 AM, Naftoli Gugenheim wrote:
> Never mind, apparently I wasn't up to date.
>
> On Tue, Feb 9, 2010 at 11:20 PM, Naftoli Gugenheim <mailto:naftoli...@gmail.com>> wrote:
>
> I got OneToMany to compile (not in a way that would work on 2.7 though).
>
If adding .toSeq or a : NodeSeq type annotation don't trigger the implicit,
wrap it with NodeSeq.fromSeq(...).
Also, you can do
...flatMap{case (_, account) => bindAccountFields(in, account, false)}
-
Nolan Darilek wrote:
I have a Lift app that's managing its
I mean to wrap the whole flatMap:
case false => NodeSeq.fromSeq(user.accounts.flatMap...
-
Nolan Darilek wrote:
On 02/10/2010 11:18 AM, Naftoli Gugenheim wrote:
> If adding .toSeq or a : NodeSeq type annotation don't trigger the implicit,
>
So are you saying to leave buildSetFromString pointing to Helpers.toDate for
the time being?
-
Jeppe Nejsum Madsen wrote:
Naftoli Gugenheim writes:
> At what would make sense to move around, i.e., what I should to move #257 and
> #258 forward.
> T
What OS is on the server?
-
Jeppe Nejsum Madsen wrote:
Mads Hartmann writes:
> Hello everyone
>
> I can't quite figure out how to deploy my lift app and was hoping one
> of you could point me in the right direction. For fun i uploaded my
> entire project (un
Don't understand the question.
mvn test?
-
Jeppe Nejsum Madsen wrote:
Quick question:
I'm updating archetypes, how can I test them locally?
/Jeppe
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this gr
I think just mvn install from its directory (or archetypes directory).
-
Jeppe Nejsum Madsen wrote:
On Wed, Feb 10, 2010 at 9:21 PM, Naftoli Gugenheim wrote:
> Don't understand the question.
> mvn test?
I've modified the archetypes in my loc
oolean) => Unit =
(inst, v, isNull) => doField(inst, accessor, {case f: MappedDate[_] =>
f.st(Empty)})
2010/2/10 Jeppe Nejsum Madsen
> On Wed, Feb 10, 2010 at 9:02 PM, Naftoli Gugenheim
> wrote:
> > So are you saying to leave buildSetFromString pointing to Helpers.toDate
>
In Mapped(Date)(Time)
And 'type' was also a typo. :)
On Wed, Feb 10, 2010 at 5:21 PM, Naftoli Gugenheim wrote:
> Sorry, type: I was referring to this:
>
> def buildSetActualValue(accessor: Method, v: AnyRef, columnName: String):
> (T, AnyRef) => Unit =
> (inst,
>
>
> - Until now there were two places in Mapped(Date)(Time) where parsing
> occurred. setFromAny used LiftRules.parseDate, while buildSetStringValue
> etc. used TimeHelpers.toDate.
> - Do we need methods like setFromAny and TimeHelpers.toDate, which take an
> Any and pattern match on several type
. means a member of a value.
# means a member of a type.
On Wed, Feb 10, 2010 at 8:32 PM, Strom wrote:
> What's the difference between Enumeration.Value and Enumeration#Value?
>
> I'm getting a type mismatch error:
> [INFO] found : com.test.States#Value
> [INFO] required: com.test.States.Val
If you want it false just leave it out.
2010/2/10 wm
> > Do it XML style:
> >
> >
> >
>
> The problem is even after setting disabled="" (empty string), it's
> still treated as "true"; I found it behave as expected only when
> setting it to boolean true/false.
>
> --
> You received this message
If you're using fromSeq you don't need toSeq.
And I would appreciate if you don't use such acronyms or vocabulary.
2010/2/10 Nolan Darilek
> On 02/10/2010 12:00 PM, Naftoli Gugenheim wrote:
>
>> I mean to wrap the whole flatMap:
>> case false => N
buildSetXXValue needs to have some more general parsing
logic then it would be better to have the second syntax.
Therefore until someone can comment, my current work for Lift is effectively
frozen midair.
2010/2/10 Naftoli Gugenheim
>
>> - Until now there were two places in Mapped(Date)(Ti
May I suggest that instead of naming the tag 'css,' it be given a name
that's more agnostic of the content it affects and more indicative of what
it does? Technically this could be used for any type of resource.
What about something like
> >
> > > thus Lift could generate:
> >
> > >
> >
> > > com
Real neat!
Is it possible to use Goat Rodeo for an offline distributed system? In other
words, several systems need to share a common pool of data but they are not
always connected, so they need to each hold their data locally and when they
are connected they need to push/pull updates.
Right now I'
Pretty please?
On Fri, Feb 12, 2010 at 2:36 PM, Naftoli Gugenheim wrote:
> (FYI: buildSetXXValue methods are called when loading the field from the
> database in MetaMapper.scala. This question is relevant in the context of a
> Mapped(Date)(Time) that corresponds to a database column wi
asHtml?
2010/2/14 Channing Walton
>
> Hi,
> I am using toForm to create forms for crud operations on my mappers, but I
> cannot see an equivalent method for presentation purposes. That is, no form
> elements, just text presented in the same tabular format as the form.
>
> Is there one ?
>
> Chan
What does that mean it doesn't return? Can you catch an exception?
Can you show more clearly the line that doesn't work and how it looks to
make it work?
2010/2/15 soumik
> Hi,
> I'm using 1.1-SNAPSHOT lift release and am experiencing strange
> behaviour when trying to output a NodeSeq formed f
I don't think it's theoretically possible to have the same trait "instance"
recognize which superclass that it was mixed in to is doing the logging.
Because if A mixes in T, and B extends A and also mixes in T, T is not
really mixed in twice. For the same reason using a type parameter would not
hel
Is Alex's problem that the browsers update 24 hours later or not at all or
something else?
2010/2/15 Jeppe Nejsum Madsen
> On Mon, Feb 15, 2010 at 10:27 PM, Alex Black wrote:
> > We don't seem to have this problem with images..
> >
> > Could this have to do with the fact that the CSS files and
Refactor MetaMapper to make it more extensible? :)
2010/2/15 Jeppe Nejsum Madsen
> Hi,
>
> Using PreCache in mapper seems crucial to avoid N+1 select issues and
> works fine for simple FK relationships. I have a model where I need
> something more advanced and would like to avoid doing manual q
How would this be used?
2010/2/15 David Pollak
> If all the SHtml stuff returned a NodeSeq (or Elem) with AnswerHolder and
> AnswerHolder[T] looked like:
>
> trait AnswerHolder[T] {
> def hasAnswer: Boolean
> def answer: Box[T]
> def map[S](f: T => S): Box[S]
> ...
> }
>
> Then we could
>From the wiki: "Each worker has its own SQL store" -- this fills in part of
the picture. :)
On Mon, Feb 15, 2010 at 5:46 PM, David Pollak wrote:
>
>
> On Sun, Feb 14, 2010 at 4:37 PM, Naftoli Gugenheim
> wrote:
>
>> Real neat!
>> Is it possible to u
You probably mean case object...
Also, personally I prefer the version without the underscores.
-
Timothy Perrett wrote:
No, sounds good Marius... go for it.
Cheers, Tim
On 23 Feb 2010, at 11:00, Marius wrote:
> I opened this ticket:
> http://www.assembla.c
Lift-anounce? :)
-
Marius wrote:
Folks,
The ability to specify the JQuery version was changed from:
LiftRules.jQueryVersion = ...
to
LiftRules.jsArtifacts = JQuery14Artifacts // this points to JQuery
1.4.2.
By default this points to JQuery13Artifacts whic
LiftRules.enableLiftGC = false
LiftRules.autoIncludeAjax = _ => false
-
Peter Robinett wrote:
I believe you just need to turn off a garbage collection setting in
boot.scala but if it's there I assume it's an app-wide setting...
Peter
On Feb 24, 1:46 pm, Cliff
Why should an initLogger method be in LiftRules?
-
Marius wrote:
Then perhaps:
LiftRules.initLogger(Log4J)
On Feb 25, 12:16 pm, Jeppe Nejsum Madsen wrote:
> On Thu, Feb 25, 2010 at 10:32 AM, Marius wrote:
> > I'd opt in for something like:
>
> > LiftRules
Wait, I misunderstood something.
What's the difference between logger = X and initLogger(X)?
-
Marius wrote:
Why not? LiftRules is about configuring a lift app at startup.
On 25 feb., 16:56, Naftoli Gugenheim wrote:
> Why should an initLogger meth
Hi, I'd like to get some opinions on the following.
You may want to read http://reviewboard.liftweb.net/r/158/.
I have on Review Board a patch for some date-and-time parsing and formatting
configuration. I put the settings inside a singleton object called
ConversionRules.
The question is, where do
I'm assuming you know that it has a third, Failure state, and you're asking
about the names.
I guess open_! is in keeping with the metaphor of a box (or originally, a can).
The _! is Lift's way of saying, Danger! And I guess 'or' is just shorter. (Lift
tends to put practicality before academic f
Either -- but it's more verbose.
I'm not so sure David will want to rewrite the entire lift anyway...
-
Heiko Seeberger wrote:
Daniel,
I would like to look at this question from a solution oriented
perspective: Certainly you already noticed the third Box subty
case _ if f eq ... ?
-
Jeppe Nejsum Madsen wrote:
Hi,
I would expect the following code to print at most a single line:
Vehicle.mappedFields.filter(_.dbIncludeInForm_?) foreach {f =>
f match {
case Vehicle.customCategory => Log.info("Matc
Does the field know if it's the meta instance?
-
David Pollak wrote:
On Fri, Feb 26, 2010 at 7:05 AM, Jeppe Nejsum Madsen wrote:
> Hi,
>
> I would expect the following code to print at most a single line:
>
> Vehicle.mappedFields.filter(_.dbIncludeInForm_?) f
java.util.Date.before/after
-
Hannes wrote:
I swear that I ONLY use it to compare "if things are older than other
things". I think comparison of long values is faster than string or date
comparison, or?
thanks.
>
> On Fri, Feb 26, 2010 at 10:52 AM, Hannes <
s point, I think the easiest answer is to put the date/time stuff in
webkit until there's a better answer. The locus of configuration for webkit
stuff is LiftRules, so the date/time configuration should live there.
On Thu, Feb 25, 2010 at 7:01 PM, Naftoli Gugenheim wrote:
> Hi, I'd li
up to LiftRules:
LiftRules {
val dateTimeConverter = new FactoryMaker[DateTimeConverter](() =>
DateTimeConverter.vend(S.locale))
}
Make sense?
On Fri, Feb 26, 2010 at 1:54 PM, Naftoli Gugenheim wrote:
> Oh, right--I forgot about per-session and request.
> So what do you vote on t
Would anyone be able to change my open tickets to after M3? I don't think I'l
have a chance to deal with them before code slush. I'm not sure but I think
they're 257, 258, 370, and 371.
Thanks!
-
David Pollak wrote:
Folks,
Code slush for 2.0-M3 is Sunday at
When you bind a form, you write functions that handle parts of the form. They
are stored in memory and when the form is submitted they are executed. They are
triggered by assigning them a unique id and using it as the form element's
name. There's no way to preserve the functions to survive a res
Maybe there could be
case class Or(qps: QueryParam*) extends QueryParam
or something like it? This way ByList could use IN but one can also do OR?
-
aw wrote:
I was searching for a prior thread and couldn't find it last night,
but I think I found it today:
Is a dynamic menu not advantageous for production apps (e.g., a CMS)?
Would changing setSiteMap (if that's what it's called) to take a call by name
be a bad idea?
-
David Pollak wrote:
On Mon, Mar 1, 2010 at 12:30 PM, Jeppe Nejsum Madsen wrote:
> David Pollak
I think that AbstractMethodError always means either mismatched scala version
or out of date class file.
-
Jeppe Nejsum Madsen wrote:
On Mon, Mar 1, 2010 at 3:39 PM, ojonam wrote:
> Hello all,
>
> I am trying to launch a lift web app on my computer, but tryin
You can assign the ticket to me because I have code for such fields that I can
contribute.
-
David Pollak wrote:
On Tue, Mar 2, 2010 at 11:56 AM, Achint Sandhu wrote:
> Hi,
>
>I'm new to scala (2.7.7) and lift (2.0-M2) and as a learning
> exercise
> h
Yes, because, as in the database, essentially it's a MappedLong (for example),
with support built on top of it (via trait mixins) to lookup and cache the
referenced entity.
Is there a problem with the .obj syntax?
-
Achint Sandhu wrote:
Hi,
Is there any reas
26, 2010 at 1:54 PM, Naftoli Gugenheim wrote:
> Oh, right--I forgot about per-session and request.
> So what do you vote on this, then:
> A. ConversionRules is its own singleton, but as a bonus it can also be
> accessed from LiftRules.
> B. Same as A but ConversionRules is private[li
As a last resort override toForm on the mapper to not include it.
-
wm wrote:
Then what's the best way to remove this field from the toForm()
generation?
I override fieldOrder:
object User extends User with KeyedMetaMapper[Long, User] {
// define the order
See David's last post on this thread, and the updated diff on RB.
-
Jeppe Nejsum Madsen wrote:
Naftoli Gugenheim writes:
> Would it be a bad idea to use java.util.Date for now, and if and when support
> is added for JodaTime, change it to a
When are the implicits on a companion object invoked without needing to be
imported?
-
Jeppe Nejsum Madsen wrote:
Naftoli Gugenheim writes:
> Would it be a bad idea to use java.util.Date for now, and if and when support
> is added for JodaTime, cha
Is a syntax like this okay (inside an Author mapper)?
object created extends MappedDateTime(this) with CreatedTimestamp[Author]
Although if we say that timestamps are always a date-time (not date only or
time only) this could be shortened to
object created extends CreatedTimestamp(this)
AbstractMethodError means you need to do a clean build and make sure you don't
have multiple scala versions.
-
Craig Blake wrote:
Just took a minor change to compile (didn't like ?~) and I'll let you know how
it goes soon. I'm running into one more problem,
I don't know the answer, but did you look through LiftRules to see if there's
any setting about comments?
-
aw wrote:
After fielding calls as to why my UI doesn't look correctly on IE, I
discovered that Lift is doing an "optimization" in "production mode"
that
How about
LiftRules.stripComments.default.set( () => !Req.isIE)
etc.?
-
aw wrote:
OK, I have disabled the stripping of comments:
LiftRules.stripComments.default.set( () => false )
It seems to work for me.
On Mar 4, 12:36 am, Jeppe Nejsum Madsen wrote:
not
get the warning that multiple versions were detected) but I am still seeing the
error. Anything else I should try in order to eliminate library/compile
versions as the culprit?
Thanks,
Craig
On Mar 3, 2010, at 9:54 PM, Naftoli Gugenheim wrote:
> AbstractMethodError means you need to d
}
}
I get the same error:
java.lang.AbstractMethodError:
test.Settings$updated$.encode(Ljava/lang/Object;)Ljava/lang/String;
I've also put the test code in Github in case anyone might be able to reproduce
it locally:
g...@github.com:craigwblake/lift-couchdb-test.git
Thanks,
Craig
On Mar 3,
Is blob a standard reserved word or only on MySQL?
If the latter this is a potential breaking change.
-
Mads Hartmann wrote:
Ah! That fixed it, thanks a lot Jeppe ;)
I'm not sure what to say in the ticket though, the column-name blob
was a bad choise made by m
e to asap.
>>
>> Naming columns keywords in SQL is bad.
>>
>>
>>
>> On 04/03/2010, at 22.07, Jim Barrows wrote:
>>
>>> On Thu, Mar 4, 2010 at 1:47 PM, Naftoli Gugenheim
>>> wrote:
>>> Is blob a standard reserved word or only
You have to save the snippet instance in a variable somewhere that won't go out
of scope, and then in redirectTo's second parameter write
instance.registerThisSnippet.
-
andythedestroyer wrote:
Hello,
I have a simple use case where there is a 2 page form wiz
.get.get.registerThisSnippet()), NodeSeq.Empty) \ "@href).text
)
redirectTo( third_party_url +"?return=" + returnPath)
}
}
Neither worked. The SessionVar shouldn't go out of scope. It seems
like I should be able to generate a link and just take the href from
the generated link. I do
ouldn't go out of scope. It seems
like I should be able to generate a link and just take the href from
the generated link. I don't understand why that doesn't work.
Thanks,
Andy
On Mar 4, 2:26 pm, Naftoli Gugenheim wrote:
> You have to save the snippet inst
t; S.redirectTo("/lastPage",
> mySnip.get.get.registerThisSnippet()), NodeSeq.Empty) \ "@href).text
> )
>
> redirectTo( third_party_url +"?return=" + returnPath)
>
> }
> }
>
> Neither worked. The SessionVar shouldn't go out of scope. It seems
> lik
What version is the demo running?
-
Dano wrote:
Just saw that Lift 2.0-M3 was released. I looked to see if the
vulnerability was still present in demo.liftweb.net and I am still
able to generate exceptions in the browser when I paste binary
characters in the t
-Ross
>
> On Mar 4, 2010, at 7:49 PM, Naftoli Gugenheim wrote:
>
>
>
> > What version is the demo running?
>
> > -
> > Dano wrote:
>
> > Just saw that Lift 2.0-M3 was released. I looked to see if the
> > vul
I think I understand David's point about letting Lift sell itself for now,
rather than pushing for more widespread adoption, until the right time comes
At the same time I would like to mention that it seems to me (not based on
any experience) than Jonathan Mawson has very good marketing sense / com
Also, someone was lamenting GitHub's flat wiki. Assembla has a more advanced
wiki system but David said it's not worthwhile to move unless someone will
take on the role of managing the wiki.
On Sat, Mar 6, 2010 at 10:44 PM, Naftoli Gugenheim wrote:
> I think I understand David&
The fundamental problem is that at the top bind level you want to use
FocusOnLoad which returns a NodeSeq, but you also want bind to pass along the
attributes, which has to operate at a lower level. So you can use bind twice,
nested.
Try this pattern:
bind("pre", xhtml,
"label" -> {ns: NodeSeq
Can it be changed with a deprecation phase?
-
Marius wrote:
I'm not sure about the fastness as I also have other things and a 4
days baby boy ;) ... but I think this is fairly important and I'll try
to prioritize.
On Mar 7, 8:52 pm, Mads Hartmann Jensen wrote
I think that Jonathan was impolite in expressing his frustration at being
misunderstood.
But are his points not valuable?
-
David Pollak wrote:
Jonathan, your comments are someplace between not helpful and troll-like.
It'd be best if you did not continue to pa
ean to just
remove things out of the sudden. But I'll know more once I get to dig
deeper.
On Mar 7, 10:13 pm, Naftoli Gugenheim wrote:
> Can it be changed with a deprecation phase?
>
> -
>
> Marius wrote:
>
> I'm not sure about the
Based on discussion on Review Board item 247, I want to propose the following
change to the organization of Mapper specs.
Currently there are four files in
framework/lift-persistence/lift-mapper/src/test/scala/net/liftweb/mapper:
DBProviders - initalization for each provider to be tested
MapperSp
I may have a project coming up that would use it though. :)
-
Marius wrote:
You must be unique :)
On Mar 7, 10:21 pm, Naftoli Gugenheim wrote:
> Then it sounds good to me, although that doesn't count as much since I must
> admit I haven'
What is the current implementation?
-
aw wrote:
Done. Issue 408. Thanks!
https://www.assembla.com/spaces/liftweb/tickets/408-add-equals-and-hashcode-to-idpk-trait
On Mar 7, 11:53 am, David Pollak
wrote:
> Good idea. Please open a ticket
> athttps://liftw
What's wrong with KeyedMapper's implementation?
-
aw wrote:
Done. Issue 408. Thanks!
https://www.assembla.com/spaces/liftweb/tickets/408-add-equals-and-hashcode-to-idpk-trait
On Mar 7, 11:53 am, David Pollak
wrote:
> Good idea. Please open a ticket
> ath
Is there any objection to
https://www.assembla.com/spaces/liftweb/tickets/411 - MappedLongForeignKey
should call primeObj in apply(v: O) and apply(v: Box[O])?
In other words, if you set a MappedLongForeignKey by passing it a Mapper
instance of the referenced table, is there any reason not to cache
It's not necessary. Just put a head section in the template and it will be
combined with the head section in default.html.
-
Martin Dale Lyness wrote:
Thank you Ross, for the very informative response!
Now, I consider SEO to be closer to a designer task than
You mean MappedLongForeignMapper is deprecated?
-
ojonam wrote:
Hi Jeppe,
that works indeed, thanks. Although, in 2.0-M2, technically you need
to extend LongMappedMapper (as MappedForeignKey is deprecated).
Anyway, here is the little bit of code, if anyone is
/LongMappedForeignMapper.html
Manohar
On Mar 8, 3:01 pm, Naftoli Gugenheim wrote:
> You mean MappedLongForeignMapper is deprecated?
>
> -
>
> ojonam wrote:
>
> Hi Jeppe,
>
> that works indeed, thanks. Although, in 2.0-M2, techn
I'm very confused. Where is there currently an implementation of equals that
compares all fields? And what's the difference between KeyedMapper checking
primaryKeyField and IdPK checking id?
-
Jim Barrows wrote:
How about: PrimaryKeyEquality
which would rea
t have the option
to run on all?
Also, is it possible to run MapperSpecs for all the drivers in parallel, and if
so would that cause it to finish faster?
Thanks.
-
David Pollak wrote:
On Sun, Mar 7, 2010 at 12:47 PM, Naftoli Gugenheim wrote:
> Based on
ooking for a name that says "More Mapper
Specs except these specs are run on one arbitrary driver rather than on all of
them, because these specs are driver-independent by definition."
Thanks!
-
Jim Barrows wrote:
On Mon, Mar 8, 2010 at 1:00 PM, Naf
Barrows wrote:
On Mon, Mar 8, 2010 at 1:59 PM, Naftoli Gugenheim wrote:
> Currently what I did is combine ItemListSpecs with another test, so I gave
> it a more generic name than ItemsList, hence MapperSpecs2. The idea is that
> some tests really have zero to do with the vendor, but hig
I had that problem a number of times and the fix was changing
"bindlabel" -> entity.field
which uses implicits, to
... entity.field.is
and/or
... entity.field.toString
-
hexa wrote:
Seems to work now I had a maybe weird way of getting an attribute from
a box...
Lift doesn't currently support multiple-field primary keys.
I think there is an article on the wiki about a better way to model many to
many.
-
XiaomingZheng wrote:
hi guys:
how lift mapper works with many-to-many relationships? the definitive
book told me to
Redirect means the destination will execute in another request.
However, redirectTo takes, as an optional second parameter, a function to
execute in that new request. So try setting the RequestVar there.
-
Lukasz Kuczera wrote:
IMHO you have three options:
1.
If the sitemap could be specified as a function JRebel could reload it.
One approach is along the lines that setSiteMap could be passed a function e.g.
()=>List[Menu]. In production mode the return value may or may not be cached.
Another approach is to have an optional method in Boot called say bu
There was one in MappedString, but I think DPP's recent refactoring of common
utilities for mapper etc. put it somewhere else (additionally, I assume).
-
Heiko Seeberger wrote:
Hi,
I am pretty sure there is a method somewhere converting a null String to an
em
I think he means he wants to access query parameters.
-
Marius wrote:
You need to do URL encoding first. Helpers.urlEcnode(str) does this.
On Mar 9, 3:47 pm, "Neil.Lv" wrote:
> Hi all,
>
> I have a silly question about the URL rewrite .
>
> How to let the
You can use StatefulSnippets if you like, but what you want to do is perfectly
doable with RequestVars.
Clearly it's not being set in the same request as it's being read.
-
hexa wrote:
I think we still have a miss understanding
The client_id code clientBox m
Why is compilation running with JRebel?
Also, how critical is JRebel to people getting their feet wet? When I was new
to Lift, I used the default setting in the POM that caused a jetty hot redeploy
when class files were updated. (Possibly earlier on I restarted jetty
manually.) While that meant
ually
executes in the next request, it can set RequestVars etc. that the next request
will see.
-
hexa wrote:
It is not set in the same request as it's being read exactly...
But how is that doable with RequestVars then ?
On Mar 9, 11:55 am, Naftoli Gug
You want to use it yourself or contribute it to Lift?
-
aw wrote:
It is time for me to add some serious widgets to my lift app.
So far, I am most enamored by ExtJS.
Another alternative could possibly be ZK.
Does anybody have any experience with these framewor
With ManyToMany the join table is defined by you, manually as a regular mapper.
You have to tell MappedManyToMany about it and its foreign keys.
I will try to find time to make the wiki entry more clear.
Also, if the scaladocs are lacking let me know how they could be improved.
--
Could that be changed to lift:concurrent or lift:par etc. (see email on
scala-user from Marting Odersky mentioned the future use of 'seq' and 'par' in
concurrent collections)?
Why use a different prefix than everything else built in to lift? And 'lazy' is
arguably not what's happening.
Thanks.
ewhere
or ask on the list etc. But if you come back to some old template that says
"do:par" you may be left clueless.
---------
David Pollak wrote:
On Wed, Sep 23, 2009 at 3:59 AM, Naftoli Gugenheim wrote:
>
> Could that be changed to lift:conc
. Maybe we could have one eval or
lift:eval or liftx:eval or whatever attribute, which can contain a space
separated list of specifiers--eager, ajax, parellel.
-
David Pollak wrote:
On Wed, Sep 23, 2009 at 10:40 AM, Naftoli Gugenheim wrote:
>
> A snippet
s Mellgren wrote:
My 2 cents,
I'm not sure I'm a fan of do: namespace, though I agree it would be
nice to have a common one. Maybe snippet:parallel, snippet:eager_eval?
-Ross
On Sep 24, 2009, at 12:46 PM, David Pollak wrote:
>
>
> On Wed, Sep 23, 2009 at 11:43 AM, Naft
How do you want the database to store it?
-
ben wrote:
Hi,
So I have an object which gets persisted via the normal way .. ie :
class Person extends LongKeyedMapper[Person] with IdPK {
object name extends MappedPoliteString(this, 128) {
}
}
That is exactly what I designed OneToMany / MappedOneToMany for -- to be a view
on a one-to-many relationship as a collection. I'm sure it could be optimized
better but it works (at least for me :) ). If the wiki article isn't clear
enough let me know.
MappedOneTwoMany does not extend MappedFie
501 - 600 of 857 matches
Mail list logo