I often find it convenient to trace what's happening with snippets by
inspecting the html produced in Firebug.
Currently, I'm using a short snippet that logs event output to the
Firebug console. It doesn't cover all the bases but it's quick and
dirty. Anyone doing something similar???
class Trac
Can you not just apply a CSS class dynamically to that element and write the
appropriate CSS?
Thanks, Tim
On 01/05/2009 16:42, "bradford" wrote:
>
> lift localization is going very smoothly -- thank you all for your
> efforts put into this. Does anyone know if it is possible to localize
> a
lift localization is going very smoothly -- thank you all for your
efforts put into this. Does anyone know if it is possible to localize
an image, for example have search.gif and search_fr_FR.gif? My
template should be the same for all languages except for this one
button image: .
--~--~-
Hi David,
That's not necessary for my particular use case. I just wanted to
make sure there wasn't some underlying bug.
On May 1, 10:45 am, David Pollak
wrote:
> I've never seen a case where locale calculation is much more than
> dereferencing an object and never thought to cache it. Typicall
And yes, I consider wildcards to be not great style. They were done here for
expediency, but I'll see about going back and reworking the code at some
point.
Derek
On Fri, May 1, 2009 at 8:57 AM, Derek Chen-Becker wrote:
> I've been trying to at least provide an object name for any methods like
>
I've been trying to at least provide an object name for any methods like
this in the example code as I work on feedback, but if you find any in the
book that aren't clear please give me a listing # and I'll work on them.
Thanks!
Derek
On Fri, May 1, 2009 at 7:27 AM, Andrew Scherpbier wrote:
>
>
I've never seen a case where locale calculation is much more than
dereferencing an object and never thought to cache it. Typically, it's
something like:
User.currentUser.map(_.locale) openOr browserSuppliedLocale
If it's important to have it cached on a request-by-request basis, please
let me kn
On Fri, May 1, 2009 at 2:27 PM, Andrew Scherpbier wrote:
> In eclipse, I'm used to having imports resolved and organized
> automatically when I save a file. Unfortunately, this same
> functionality doesn't appear to work in the eclipse scala plugin.
Not yet ... maybe for 2.8.0 ...
Cheers,
Mi
I just realized another issue I keep running into... Since I don't have
the full liftweb API in my head, yet, I am having trouble with some of
the examples because of the use of "._" for imports (and this is why I
never let my developers use static or wildcard imports in our own java code)
For
The "Getting Started" document got me hooked on Lift. :-)
I guess I'll report my struggles from there. I don't know if what I did
is typical.
After actually running the two examples from the "Getting Started" docs,
I looked and found some other examples, did some looking around in the
mailin
I have no problem building in on XP
--~--~-~--~~~---~--~~
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
liftweb+u
Admittedly I've seen this before and also wondered - presumably its
something to do with the way its resolving the strings internally.
On 01/05/2009 13:55, "bradford" wrote:
>
> Yeah, I would think so too. I made one request and received 21 "test"
> messages. In my template I only have two
Yeah, I would think so too. I made one request and received 21 "test"
messages. In my template I only have two tags. In my
properties file, I have 5 keys added. Still not sure what's going on
here.
On May 1, 5:46 am, Viktor Klang wrote:
> On Fri, May 1, 2009 at 9:26 AM, marius d. wrote:
>
On Fri, May 1, 2009 at 9:26 AM, marius d. wrote:
>
> Well it is called every time a call to S.locale is made, inherently
> each time an internationalized string is needed.
Shouldn't that be once per request?
>
>
> Br's,
> Marius
>
> On May 1, 5:05 am, bradford wrote:
> > I added Log.info("te
Well it is called every time a call to S.locale is made, inherently
each time an internationalized string is needed.
Br's,
Marius
On May 1, 5:05 am, bradford wrote:
> I added Log.info("test") to my LiftRules.localeCalculator and saw test
> being printed 21 times. Is this expected?
>
> LiftRu
15 matches
Mail list logo