What do you mean these functions are called only on submit? Is that
when the POST goes through and the page is rendered again?
On Jan 27, 1:57 am, Adam Warski a...@warski.org wrote:
Hello,
What's the purpose of RequestVars and StatefulSnippet? I thought the
values were retained anyway
Hi,
I'm reading the lift book about forms, and in reference to this code:
def add (xhtml : NodeSeq) : NodeSeq = {
var desc =
var amount = 0
def processEntryAdd () { ... }
bind(entry, xhtml,
description - SHtml.text(desc, desc = _),
amount - SHtml.text(amount, amount = _),
submit -
PM, tommycli tommy...@ucla.edu wrote:
I created two new issues for TextileParser.
290. TextileParser molests divs
291. TextileParser does not support notextile
Additionally, it'd be nice if TextileParser were implemented in a way
such that it was extensible. The main issue is that it's
I created two new issues for TextileParser.
290. TextileParser molests divs
291. TextileParser does not support notextile
Additionally, it'd be nice if TextileParser were implemented in a way
such that it was extensible. The main issue is that it's just a
singleton object, which cannot be
Hi,
What's the preferred way of sending back a static file (that lives on
the host filesystem) through lift? I'm using lift's custom dispatch.
I'm currently putting a FileInputStream into StreamingResponse. I'm
not setting a Content-Type in the StreamingResponse constructor, but
Jetty seems to
I'm using custom dispatch (to handle both XML media files). Often, I
will want to send a page that contains user-inputted (X)HTML. This
will often be malformed HTML that is nevertheless rendered fine by a
modern browser.
How would I send this through? I tried PlainTextResponse, but it sends
the
Thanks guys.
On Dec 21, 11:59 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Dec 21, 2009 at 1:53 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
tommycli tommy...@ucla.edu writes:
Are validation errors shown on CRUDify create/edit pages?
I have validators set up like
Are validation errors shown on CRUDify create/edit pages?
I have validators set up like this:
object subdomain extends MappedString(this,64) {
override def validations = List(valUnique(Subdomain taken.)_,
valRegex(Pattern.compile(^[A-Za-z0-9-]*$),
textile notation?!
If you want a h2 then just use h2.
Cheers, Tim
On 12 Dec 2009, at 20:39, tommycli wrote:
It'd be nice to have a header-offset feature in lift-textile.
That is, if header_offset=1 gets passed in as an argument,
h1. = h2
h2. = h3
etc.
--
You received
The below example fails to render a list in lift-textile, but works in
the reference implementation (http://textism.com/tools/textile/
index.php).
Lists work in lift-textile only if there is an empty line preceding
it, but this is a deviation from the reference implementation.
Example follows:
It'd be nice to have a header-offset feature in lift-textile.
That is, if header_offset=1 gets passed in as an argument,
h1. = h2
h2. = h3
etc.
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
Hi,
I have a project that works fine when I do: mvn jetty:run, however,
fails with a 500 error when I mvn:package and upload the jar to my
Jetty server. Here is the error I get:
20:04:52.801 ERROR! [SocketListener0-9]
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
593) 11
.
Br's
Marius
On Dec 5, 11:05 pm, Marius marius.dan...@gmail.com wrote:
What Lift version are you using? Can you attach a zip with a
minimalistic example of your app when this occurs?
Br's,
Marius
On Dec 5, 10:08 pm, tommycli tommy...@ucla.edu wrote:
Hi,
I have a project
://reviewboard.liftweb.net/r/121/
So it will (probably) be in 1.1-SNAPSHOT in a day or two, assuming the change
isn't unacceptable for whatever reason.
-Ross
On Nov 23, 2009, at 11:50 PM, tommycli wrote:
Add deleteMenuLocParams to CRUDify.
Patch below. (I tried github, but you guys don't pull apparently
In reference to this problem:
http://www.nabble.com/-scala--Overriding-superclass-object-member...-td15344451.html
This use case in specific:
trait Bar {
self: Mapper =
object barField extends StringField
}
class Foo extends Mapper with Bar {
override barField {
override def
Looking through the book and source for MegaProtoUser, it looks like
the email address is used as the primary identifier for users in the
built-in user system.
What if you want to use plain usernames instead of emails? What do
other people do - do they write their own user system from scratch?
16 matches
Mail list logo