That's actually the correct behavior as it's currently written for the
Menu.item. For the Menu.group, you can provide your own template for each
menu item that's rendered:
I could see adding an "always" attribute to the Menu.item snippet such that
when it's defined the Menu item is a
You could use the tag to put the common content in a hidden
template.
Derek
On Mon, Mar 23, 2009 at 6:03 PM, bradford wrote:
>
> Hi Guys,
>
> I too would like to access /foo and /foo/. Any updates on this?
>
> Second, I have /foo.html that surrounds default at content. I have a
> situation w
I apologize for all of the messages. I got a little hasty with this
email. This is what I'm looking for:
Foo1
Foo2
Foo3
On Mar 23, 8:41 pm, bradford wrote:
> The idea of LocGroup is great. I have a few Menu's with LocGroup
> ("group1"). I want to generate:
>
>
> Foo1
> Foo1
> Foo1
>
>
>
Also, I'm using 1.1-snapshot and will
always show except when i am on /foo1. For this case it doesn't even
render.
On Mar 23, 8:41 pm, bradford wrote:
> The idea of LocGroup is great. I have a few Menu's with LocGroup
> ("group1"). I want to generate:
>
>
> Foo1
> Foo1
> Foo1
>
>
> for jus
I overrode the save method of the ToDo class and placed println
(toString) before and after the getSingleton.save(this) call. Both
print the correctly formatted date, but it still shows up on the page
and in the database as 12:00. I am using the Derby 10.4.2.0
On Mar 23, 6:42 pm, Derek Chen-Bec
The idea of LocGroup is great. I have a few Menu's with LocGroup
("group1"). I want to generate:
Foo1
Foo1
Foo1
for just group1.
It appears that does not print ul and li, and
lift:Menu.builder won't recognize group. What are my alternatives?
Also, I need to surround the item text with .
On Mon, Mar 23, 2009 at 5:03 PM, bradford wrote:
>
> Hi Guys,
>
> I too would like to access /foo and /foo/. Any updates on this?
>
/foo maps to /foo.html
/foo/ maps to /foo/index.html
This has not and will not change.
If you are using SiteMap, make sure there are SiteMap entried for both:
Li
Hi Guys,
I too would like to access /foo and /foo/. Any updates on this?
Second, I have /foo.html that surrounds default at content. I have a
situation where / should look exactly like /foo. I don't want to
redirect to foo. How else can I achieve this without copying the
contents of /foo.htm
Ah, sorry, I misread. The parse should be working fine, then. The
MappdeDateTime really should be saving the full Date instance that's passed
to it, so please let me know if the Date that you're setting as the value is
losing the time info. Also, what DB engine are you running against?
Derek
On M
That would make sense but the format string is "MM/dd/, hh:mm a".
My initial question, although not asked correctly, came from looking
through the code and seeing the DateExtension class in TimeHelpers.
It states "This class adds a noTime method the Date class, in order to
get at Date object s
> Perhaps tomorrow. I will be whipped into a mass of jello if I don't get
> Ch08D2 done today... along with the front matter.
lol! No worries at all David. Tomorrow would be great :-)
Thanks, Tim
--~--~-~--~~~---~--~~
You received this message because you are su
LOL ... but damn right. At this point I can only wholeheartedly thanks
David and each and every committer for Lift's existence.
Br's,
Marius
On Mar 23, 11:22 pm, Viktor Klang wrote:
> On Mon, Mar 23, 2009 at 10:16 PM, David Pollak <
>
> feeder.of.the.be...@gmail.com> wrote:
>
> > On Mon, Mar 23
On Mon, Mar 23, 2009 at 10:16 PM, David Pollak <
feeder.of.the.be...@gmail.com> wrote:
>
>
> On Mon, Mar 23, 2009 at 2:14 PM, Viktor Klang wrote:
>
>> Guys,
>>
>> I'm expecting a signed copy... ;)
>
>
> Who's the father? :-)
>
You are the daddy. ;)
>
>
>>
>>
>> On Mon, Mar 23, 2009 at 7:24 PM,
On Mon, Mar 23, 2009 at 2:14 PM, Viktor Klang wrote:
> Guys,
>
> I'm expecting a signed copy... ;)
Who's the father? :-)
>
>
> On Mon, Mar 23, 2009 at 7:24 PM, TylerWeir wrote:
>
>>
>>
>>
>> Dave Griffith wrote:
>> >
>> >
>> >
>> > Garrett Rowe-2 wrote:
>> >>
>> >> I'll be buying the e-versi
As was recently pointed out, the current JPA archetype is really more of a
demo site (built on the JPA demo site under liftweb/sites, actually), so it
might be nice to provide a more bare-bones version. What would people like
to see for a basic, hit-the-ground-running archetype for JPA?
Derek
--~
My apologies. I should have cleaned out my local Maven repo before building
the demo app. I'll fix that in source and push a new version. Also, you're
correct that it should probably be labeled as a demo archetype rather than a
basic archetype. In the interest of making it useful for everyone I'll
I think the reason that it's set to midnight is because when the date parser
parses a date with only the MM/dd/ format string, it sets HMS to zeros.
Derek
On Sun, Mar 22, 2009 at 8:52 AM, tclendenen wrote:
>
> Except for the I added to index.html, I believe the
> following are the only cha
I suggest checking out http://www.liquibase.org/
It's the best open source database change management tool I've come
across to date.
On Mar 20, 11:18 pm, Derek Chen-Becker wrote:
> Well. I think it depends. I know that if you use the hibernate provider that
> you can set a property to automatic
On Mon, Mar 23, 2009 at 11:57 AM, Timothy Perrett
wrote:
>
>
> > You could have the CSS reference generated in the Snippet.
>
> When you say "reference", are you referring to a style-sheet link or
> the *actual* CSS itself?
Either.
>
>
> > You can also have views in code (see ViewDispatchPF) a
> You could have the CSS reference generated in the Snippet.
When you say "reference", are you referring to a style-sheet link or
the *actual* CSS itself?
> You can also have views in code (see ViewDispatchPF) and do
> in your code to refer to the Scala-based view code.
I've seen ViewDispatch
On Mon, Mar 23, 2009 at 11:12 AM, Timothy Perrett
wrote:
>
> Sure, I know this :)
>
> But what about CSS etc, how can they then become resolvable / includable in
> html (and/or scala view) code?
>
You could have the CSS reference generated in the Snippet.
You can also have views in code (see Vie
Sure, I know this :)
But what about CSS etc, how can they then become resolvable / includable in
html (and/or scala view) code?
Thanks
Tim
On 23/03/2009 18:08, "David Pollak" wrote:
> Tim,
>
> Look in LiftRules for SnippetDispatchPF
>
> Yes, you can dispatch snippets to objects defined in
Tim,
Look in LiftRules for SnippetDispatchPF
Yes, you can dispatch snippets to objects defined in other JARs.
Thanks,
David
On Mon, Mar 23, 2009 at 11:03 AM, Tim Perrett wrote:
>
> Guys,
>
> Has anyone got a good strategy for packaging up components of logic
> within lift?
>
> At our company w
>
> I'm working with a couple of the OSGi gurus on this issue. They're in town
> for EclipseCon this week and I'll be meeting with them on Thursday. Don't
> worry about doing anything... we'll get OSGi support into Lift.
>
David and everyone,
Thanks for all of your help on this and your effort
Guys,
Has anyone got a good strategy for packaging up components of logic
within lift?
At our company we have a particular application that im writing some
really nice logic for inside lift and im wondering how I can package
that up and re-use it (short of copy and paste snippet files and the
va
Cool ... if you tested it and the MenuWidget, from my perspective it
is good to go into master. And it's really great that you added the
ScalaDocs !!!
Br's,
Marius
On Mar 23, 6:07 pm, Derek Chen-Becker wrote:
> OK, I've pushed the new code on the wip-dcb-dropdown branch. I made some
> minor mod
Convert the PDF to HTML? The PDF is already on the site. If you're talking
about converting the LaTeX to HTML, let me know and I can send you a dump of
the current LaTeX.
Derek
On Sat, Mar 21, 2009 at 11:39 PM, lmorroni wrote:
>
> I see it on some inline text too:
> The form=~post~ attribute is
It should be functional (as in, no errors). The XML parsing error is an
issue with Firefox and Lift, and is fixed in 1.1, but not 1.0, which is what
PocketChange currently uses (to match the book). I think we're working on
backporting the fix to 1.0. If you see other errors, please let us know with
OK, I've pushed the new code on the wip-dcb-dropdown branch. I made some
minor mods to the builtin Menu snippet (and changes to the Menu widget to
match):
1. Added an "expandAll" attribute that renders the entire SiteMap.
2. Added a new "top" prefix to the builder snippet to allow for
Rock and Roll!
I am blown away at the effort you guys put into the book and the resulting
quality. Reading it, I learned some things about Lift.
On Mon, Mar 23, 2009 at 8:53 AM, TylerWeir wrote:
>
> Derek, Marius and I are happy to announce:
>
> Exploring Lift: Scala-based Web Framework
>
> htt
Thanks!
Josh Suereth wrote:
> http://scala-tools.org/mvnsites/maven-scala-plugin/plugin-info.html
>
> Click on any particular goal and you'll get a list of its configuration
> options. A union of all those is the complete list for the plugin.
> Those are generated from the annotations in the
I just noticed that some of those documented configuration options aren't
very enlightening. I may take a pass at providing more in-depth
descriptions so one isn't left to guess what things mean. If anyone want to
help "de-mavenize" the descriptions, feel free to contribute! (The goals
documenta
http://scala-tools.org/mvnsites/maven-scala-plugin/plugin-info.html
Click on any particular goal and you'll get a list of its configuration
options. A union of all those is the complete list for the plugin. Those
are generated from the annotations in the source code, so they should be
*way* more
33 matches
Mail list logo