Your right... I've been thinking about that and how the current mapper
only does the regex check.. could always override the validate method...
Marc
On 27/08/2009, at 6:39 PM, Viktor Klang wrote:
>
>
> On Thu, Aug 27, 2009 at 10:27 AM, Marc Boschma > wrote:
> Personally I
Personally I use:
"^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]
+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-
\x09\x0b\x0c\x0e-\x7f])*")@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-
z0-9](?:[a-z0-9-]*[a-z0-9])?$"
Marc
On 27/08/2009, at 9:32 AM, David Pol
Maybe https://opensso.dev.java.net/ might be of interest? Might also
be a bit of work...
Marc
On 26/08/2009, at 2:53 AM, Charles F. Munat wrote:
>
> Now this is an interesting idea. I'll think about it...
>
> Thanks!
>
> Chas.
>
> David Pollak wrote:
>>
>>
>> On Mon, Aug 24, 2009 at 3:23 PM,
So I assume XMPP and AMQP would be other sinks / sources? If so the
mind is boggling with old ideas laid to rest for some time...
A thought that comes to mind is that of a source and sink are of the
same type, eg. AMQP, would the interconnection make use of that
technologies underlying impl
I think your right - see
http://www.scala-lang.org/docu/files/api/scala/reflect/BeanProperty.html
and http://scala.sygneca.com/code/defining-bean-properties
for how to add the annotations to the classes for Velocity to be able
to see the properties...
Marc
On 10/07/2009, at 3:04 AM, Ewan wro
See the Lift book (http://tinyurl.com/mta3h5), section 6.1.10 & 6.1.8
which discusses pagination with Mapper...
Marc
On 29/06/2009, at 5:44 AM, Naftoli Gugenhem wrote:
>
> Does lift have built in support for pagination -- breaking up a
> query and continuing it across multiple pages, and cl
Sleeping on it the snippet would be as simple as
def group(c : scala.xml.NodeSeq) : scala.xml.NodeSeq =
scala.xml.Group(c)
which would allow for:
Welcome
Put welcome details here
The advantage is that it is in the lift name space...
Marc
On 25/06/2009, at 8:59 PM, Marc Boschma
Wouldn't this work with the Scala XML parser?
Welcome
Put welcome details here.
On 25/06/2009, at 1:08 AM, Nolan Darilek wrote:
>
> On 06/24/2009 09:40 AM, Derek Chen-Becker wrote:
>> Wait a second. I have plenty of templates that have multiple elements
>> in them. What exactly is the problem
I must admit I am grappling with this at the moment (in my spare
time). I have a VPS with ngix installed, scala etc... but have no
background on running up a 'production' instance of a JEE stack.
Especially in a resource constrained environment like a VPS.
I also got 'distracted' with OSGi
I have been reading up on OSGi with some discipline it could allow
Erlang like live upgrades (also nice to not have to shutdown a JVM, so
+1.
I'm curious on the Portlet support - is that embedding portlets in
snippets and/or creating portlets (rather than servlets)?
Marc
On 02/04/2009, at
It depends upon what is meant by "plain". According to RFC 2045 (5.2)
the default character encoding for a non-MIME message is us-ascii and
the transfer encoding would be 7bit.
Given that I think we are speaking of MIME encoded messages I think
that the default of UTF-8 is ok in a lift conte
a few
> floating around for Java that will parse poorly formed HTML) and
> then walk the nodes and build XML. I would argue that this would
> satisfy any contractual requirements, although I no longer practice
> law, so I can't argue it on your behalf. :-)
>
>
>
> Cheers
> J
On 17/03/2009, at 12:36 PM, Jeremy Mawson wrote:
> If I change the line to "description" ->
> {Unparsed(result.description)}, it compiles but I have
> an unwanted span tag and worse ... if result.description is not well
> formed XML my page will fail to render! Firefox complains of an XML
s. ie. does ç
work instead of ç ? If so then that is probably what is
happening on this issue.
>
>
> Chas.
>
> Marc Boschma wrote:
>> Now I have some breakfast in me, to be clear it appears that UTF-8
>> byte
>> stream is being interpreted as Latin1 and t
Now I have some breakfast in me, to be clear it appears that UTF-8
byte stream is being interpreted as Latin1 and then converted to
unicode...
Marc
On 16/03/2009, at 6:25 AM, Marc Boschma wrote:
> excuse the typo:
> On 16/03/2009, at 6:23 AM, Marc Boschma wrote:
>
>> Just
excuse the typo:
On 16/03/2009, at 6:23 AM, Marc Boschma wrote:
> Just looking at http://jeppesn.dk/utf-8.html , I found the following
> lines:
> Character Latin1 Unicode UTF-8 Latin1
> code
Just looking at http://jeppesn.dk/utf-8.html , I found the following
lines:
Character Latin1 Unicode UTF-8 Latin1
codeinterpr.
ç E7 00 E7 C3 A7 ç
à is C38C, § is C2
Which parser are you using?
Quick tests with PCDataXmlParser seems to indicate all ç get
mapped to the unicode character. In fact it does that for all entities
in object HtmlEntities (line 26 onwards in lift-util/src/main/scala/
net/liftweb/util/PCDataMarkupParser.scala)
If I enter the ç in
Apologies for the poor wording, but David got the right
interpretation
Marc
On 14/03/2009, at 6:57 PM, David Pollak wrote:
> index.html is well formed XML... in fact all the "html" files that
> Lift reads must be well formed. You may choose to include XML
> header information in your
Hi Mal,
That aspect of the lift templating approach also warped my head for a
while, having seen so many examples of the opposite approach (PHP,
JSP, etc)...
There is a certain part of me that still is unsettled about it, but I
can see the advantages of it.
Marc
Ps. can the files such as
I think what Ross is asking for isn't necessarily a bad thing for a
given page which doesn't actually use the lift namespace after all
processing has occurred.
Think of it in a more general sense: how do I filter any namespace
that isn't actually present in the result XML? This is actually a
Yep on the pull and even deleting the entire directory structure and a
clone... Same result.
Marc
On 17/02/2009, at 8:21 PM, Tim Perrett wrote:
>
> I'm not at my mac right now, but as of last night it was compilling
> fine on mac with the very latest master.
>
> What version of maven are you
It does sound like a command length issue... here are some
environmental info
Mac:~ marc$ mvn -v
Maven version: 2.0.9
Java version: 1.5.0_16
OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"
Mac:~ marc$ which scala
/usr/local/bin/scala
Mac:~ marc$ scala -version
Scala code ru
On 17/02/2009, at 3:35 PM, Josh Suereth wrote:
> Hm All the integration tests pass, perhaps you should try
> using the new maven-scala plugin (run mvn install on the maven-scala-
> plugin directory). You do *not* want to clear your .m2 directory
> after doing so. Then see if the n
On 17/02/2009, at 3:18 PM, Josh Suereth wrote:
> Marc, Also try running the scalac command directly. Here's what
> Maven is trying to run on your machine:
The result is:
Mac:liftweb marc$ sh cmd
cmd: line 1: 10785 Segmentation fault /System/Library/Frameworks/
JavaVM.framework/Versions
Cool. That will make WebDAV and CalDAV support easier :)
On 17/02/2009, at 10:38 AM, David Pollak wrote:
>
>
> On Mon, Feb 16, 2009 at 3:34 PM, Alan M
> wrote:
> I'm using maven for builds.. on .11-SNAPSHOT.. will this go there or
> will I have to switch over to building my own?
>
> It'll get
I just removed my maven repository in ~/.m2 , "git clone git://
github.com/dpp/liftweb.git"
and
Mac:liftweb marc$ mvn -e -U clean install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Lift
[INFO] Lift Utils
[INFO] Lift WebKit
[INFO]
Would the same key appear if there where resource bundles for
different variations of the same language. eg. 'en-AU', 'en-US', 'en-
ZA', and 'en' ?
Marc
On 26/01/2009, at 4:46 AM, Marius wrote:
> If you have the same key in different files the first one found will
> be returned. Nevertheless
Not from me... can the period be configurable or turned off it
desired? eg. the server could ask the client to back off if needed?
Do I read between the lines the heartbeat could be independent of
comet? if so how would it work?
Marc
On 22/01/2009, at 10:52 AM, David Pollak wrote:
> Folks,
>
or so, and I need
> whatever I use to just work.
>
> (That said, I've got some older sites I want to convert over and they
> use Markdown, so I'd like to stick with it there no matter what.)
>
> Keep me posted, please. And if you need testing, let me know.
>
> Does
Hey Chas, why the move from Markdown to Textile? (in the midst of
implementing Markdown parser in scala...)
Marc
On 19/01/2009, at 11:57 AM, Charles F. Munat wrote:
>
> I was trying to find something on the wiki about Textile as I'm
> considering changing over from Markdown. I used Google to
ndense into one for performance reasons.
>
> I'll keep in mind the requirement for only 1 tag per head
> and I'll likely hardcode that rule.
>
> Thanks,
>
> Davod
>
> On Fri, Jan 16, 2009 at 2:57 PM, Marc Boschma +lift...@boschma.cx> wrote:
> I have b
I have been playing with templates and noticed that it is possible to
accumulate multiple tags in the tag, which isn't
compliant to XHTML. Here is a suggested patch which merges the tags space separating them...
That should allow templates to progressively add to the title. I had
consider
I'm not an expert but I would model a Response class in much the same
way as:
package net.liftweb.http
object PlainTextResponse {
def apply(text: String): PlainTextResponse =
PlainTextResponse(text, Nil, 200)
def apply(text: String, code: Int): PlainTextResponse =
PlainText
I've just noticed that the test in AppTest.scala for XML and XHTML etc
doesn't take into account Html entities...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to li
ug :D
>>
>>> Hmmm... that'd suck.
>>
>> Oh yeah big time ... If indeed my assumption is correct (which I need
>> to verify) I'll open a compiler bug and see if I can fix it. Worst
>> case scenario rollback ... which I hope it won't be the case.
>&g
its IMHO should be motivated byt strong design
> rationales and I think this is the case.
>
> Thoughts?
>
> Very cool!
>
>
>
> Br's,
> Marius
>
> On Jan 7, 7:40 pm, Marius wrote:
> > I'll look into it.
> >
> > On Jan 7, 7:38 pm
re
> > > > > > current node at the head of the list. If you're doing
> hierarchical
> > > > > binding,
> > > > > > you can see all the nodes that were passed into bind this
> was.
> >
> > > > > > currentNod
ram {
def calcValue(in: NodeSeq): NodeSeq = value(in.prefix, in.label,
in.child)
}
etc...
On 06/01/2009, at 10:51 PM, Marc Boschma wrote:
>
> (you can tel I'm sleeping well :/ - too hot)
>
> The toList function is one of David's (todo example app). I do love
> the abi
(you can tel I'm sleeping well :/ - too hot)
The toList function is one of David's (todo example app). I do love
the ability to curry :)
Marc
On 06/01/2009, at 9:51 PM, Marius wrote:
>
>
>
> On Jan 6, 12:47 pm, Marc Boschma wrote:
>> A quick just before going
u still can not access the param attribute below
>>
>>
>>
>> but you can do it like:
>>
>>
>>
>> and you have full access to the meta node as it is a child of
>> todo:exclude. Hence you can pass state.
>>
>> I know, it is not ideal bu
I have been playing with the ToDo example application and having fun
in manipulating XML.
With the node I thought it would be good if the XHTML
designer could pass in some guidance to the doList(...) method used in
bind(..). ie. ...
Looking over the bind code I noticed that the attributes
Funny thing is the first thought that came to mind here was a Cricket
Box :) (and not the KFC variety)
To close the season and thread with some humour:
I wanted to send some sort of Christmas (whoops I mean) holiday
greeting to my friends, but it is so difficult in today's world to
know ex
I know David has resigned to keeping 'Can', but wouldn't 'Jar' be an
alternative? That way Empty and Full still make sense...
Initially I thought 'Tin' sounded better but I recognise that term
wouldn't be as universal.
Marc
On 26/12/2008, at 4:14 AM, Michael Campbell wrote:
>
> David Polla
-
"It lives!!!"
Strange how mvn archetype:generate didn't work...
On 24/12/2008, at 3:25 PM, David Pollak wrote:
> Are you behind some sort of proxy that has some old jars cached?
>
>
> On Dec 23, 2008 6:53 PM, "Marc Boschma"
> wrote:
>
> Yep,
/12/2008, at 1:28 PM, David Pollak wrote:
> Please make sure you're running maven 2.0.9
>
>
> On Dec 23, 2008 6:09 PM, "Marc Boschma"
> wrote:
>
> There is something seriously wrong with my Mac's set up... Google
> time... as despite the reference to the
There is something seriously wrong with my Mac's set up... Google
time... as despite the reference to the right repository it ignores
that...
Marc
On 24/12/2008, at 10:04 AM, David Pollak wrote:
> The line:
>
> -DremoteRepositories=http://scala-tools.org/repo-releases \
>
> Should be
assume others can...
My maven version is:
Maven version: 2.0.9
Java version: 1.5.0_16
OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"
Time for Breakie I think...
Marc
On 24/12/2008, at 9:18 AM, David Pollak wrote:
> Looks like you ha
:
> Marc,
>
> Does the pom.xml file refer to Lift 0.9 or 0.10-SNAPSHOT?
>
> Thanks,
>
> David
>
> On Tue, Dec 23, 2008 at 2:00 PM, Marc Boschma +lift...@boschma.cx> wrote:
> I was just trying out the Little Lift example and noticed that the
> archetype:generate
I was just trying out the Little Lift example and noticed that the
archetype:generate lift-archetype-basic created an old pom.xml and
Boot.scala that was pre the changes that removed
LiftRules.addTemplateBefore(User.templates) and
S.addArround(User.requestLoans) lines of Boot.scala...
Is t
Maybe Oliver is being a bit lose with the language and is looking for
the /lift/ DTD (Document Type Definition) ?
Marc
On 18/12/2008, at 4:05 AM, Viktor Klang wrote:
> Ah, I read "I have a client doesn't want an external link like
> xmlns:lift="http://liftweb.net/"";
>
> If you're only talk
Given Lift's focus on security I envisioned that the POST URL would
contain a random element, to reduce the threat of fake PayPal
interactions. It is a small risk, but then it is the small risks that
usually allow a hacker in, eventually.
David said there was support for per session dispatc
My current understanding is that Lift is a snippet rather than page
oriented framework. SiteMap focuses on access or not to page level.
Thinking about this overnight it sounds like we need some way to
inform a snippet of who is trying to interact with it and what rights
they have is needed.
Hi,
I've been playing with Netbeans + Scala plug-in, and now just starting
to consider /lift/ as well...
From what I can tell (googling) it is still necessary to create a
maven /lift/ project by hand (command line) and then open that in
Netbeans... is that correct?
Ideally it would be ni
54 matches
Mail list logo