Sorry for a bit of a vague Sunday night question.
We now have several lift projects floating round that have common snippets
and potentially model objects, which would be nice to reuse without cut
paste. Is there documentation on how to do this or best practices?
Cheers
Jono
--
You received
...@gmail.com wrote:
I think you could install your modules into Maven's repository, then
use them from projects as dependencies.
On Feb 14, 6:32 pm, Jonathan Ferguson j...@spiralarm.com wrote:
Sorry for a bit of a vague Sunday night question.
We now have several lift projects floating round
...@gmail.com writes:
It's not overridable?
Actually, I think it is :-)
You might be able to just
override lazy val listPath = Nil
/Jeppe
-
Jeppe Nejsum Madsenje...@ingolfs.dk wrote:
Jonathan Ferguson j...@spiralarm.com writes:
I would like to have
I believe it is maven not passing the JVM options through to the forked
compile processes. Glad you got it working.
Jono
On 5 February 2010 10:07, Peter Robinett pe...@bubblefoundry.com wrote:
Thanks, Jeppe, that did the trick. I swear, JVM options are such a
dark art!
Peter
On Feb 4,
...@gmail.com writes:
It's not overridable?
Actually, I think it is :-)
You might be able to just
override lazy val listPath = Nil
/Jeppe
-
Jeppe Nejsum Madsenje...@ingolfs.dk wrote:
Jonathan Ferguson j...@spiralarm.com writes
to just
override lazy val listPath = Nil
/Jeppe
-
Jeppe Nejsum Madsenje...@ingolfs.dk wrote:
Jonathan Ferguson j...@spiralarm.com writes:
I would like to have the list view of one of my model objects as my
home
page.
Can
a look at it. And
thanks for the test case!
Cheers Joni
On Feb 3, 3:41 am, Jonathan Ferguson j...@spiralarm.com wrote:
When converting XML to Json attributes are being lost, given the below
XML
document, we would expect
{word:{word:content,self:http://localhost:8080/word/example
Try upgrading to the latest version of maven (2.2.1 or later ). I was having
a simliar issue.
Cheers
Jono
j...@192-168-1-69:~ $mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-07 05:16:01+1000)
Java version: 1.6.0_17
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
I would like to have the list view of one of my model objects as my home
page.
Can this done with out having the home page redirect to /mymodel/list ?
Cheers
Jono
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
When converting XML to Json attributes are being lost, given the below XML
document, we would expect
{word:{word:content,self:http://localhost:8080/word/example
,term:example,available:true}}
where as we get {word:content}
example XML:
word term=example self=http://localhost:8080/word/example;
/10 12:24 PM, Jonathan Ferguson wrote:
Hi all,
I get the following error when attempting to build the lift source code.
[ERROR] Exception in thread main java.lang.NoClassDefFoundError:
-DpackageLinkDefs=file:///Users/jono/Documents/workspace/read
only/liftweb/framework/lift-base/lift-common
Thats it !
Cheers
Jono
2010/1/28 Indrajit Raychaudhuri indraj...@gmail.com
Great! Next up move to Maven 2.2.1.
Cheers, Indrajit
On 28/01/10 2:15 PM, Jonathan Ferguson wrote:
Thanks that appears to have most of the build working, it now fails with
the below error. However I can build
Hi all,
I get the following error when attempting to build the lift source code.
[ERROR] Exception in thread main java.lang.NoClassDefFoundError:
-DpackageLinkDefs=file:///Users/jono/Documents/workspace/read
only/liftweb/framework/lift-base/lift-common/target/packageLinkDefs/properties
I've
What about using mvn archetype:generate?
It gives a wizard style interface to create new projects.
Jono
2010/1/23 Tim Nelson tnell...@gmail.com
I've been meaning to do this for awhile:
http://dl.dropbox.com/u/1154284/lift-mvn.html
Feel free to add this to the main Lift site.
Tim
On
2009/12/15 David Pollak feeder.of.the.be...@gmail.com
5) Avoid using abbreviations
I disagree. When coding with a non-IDE, abbreviations make life much
easier.
When using abbreviations, could the abbreviation be documented even it if it
the most mind numbingly obvious abbreviation as
net.liftweb.http.js._
import JE._
SHtml.ajaxButton(Click me!, () = { doSomethingServerSide();
JsCmds.SetElemById(myButton, Click me again!, innerHtml)}, id -
myButton)
That's off the top of my head, so let me know if that doesn't work.
Derek
On Tue, Nov 24, 2009 at 4:23 PM, Jonathan Ferguson j
2009/11/18 David Pollak feeder.of.the.be...@gmail.com
-
Jonathan Fergusonj...@spiralarm.com wrote:
I was thinking about this earlier, if there is to be a 2.0 I would hope
there was a chance to remove deprecated code.
Which particular deprecated code
I was thinking about this earlier, if there is to be a 2.0 I would hope
there was a chance to remove deprecated code. Also consider making breaking
changes @dpp hasn't been in favour of making to date. Not to annoy him. As
1.X to 2.X is a big enough change that people who don't want to move can
Surely you mean Sydney :)
2009/11/11 Randinn rand...@gmail.com
Its sounds like your presentation went well, congrats. now we need to
talk you into a Melbourne trip. :)
On Nov 11, 5:15 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Tue, Nov 10, 2009 at 9:52 AM, Peter Robinett
We fire up Jetty populate a temp database and then run a batch of tests.
Seems to work well for us.
Jono
2009/11/10 Alex Black a...@alexblack.ca
Can anyone suggest some good examples or strategies to use to test a
webservice written with Lift?
I've started down the path of firing up Jetty
Is it practical to build the snapshot documentation or is it being built to
often?
Jono
2009/11/6 David Pollak feeder.of.the.be...@gmail.com
On Wed, Nov 4, 2009 at 10:44 PM, aw anth...@whitford.com wrote:
When clicking on the API Documentation link, it links to 1.0
documentation... Is
The answer for two is add an email appender to your log4j configuration.
Such as ::
appender name=email class=org.apache.log4j.net.SMTPAppender
param name=BufferSize value=512 /
param name=SMTPHost value=127.0.0.1 /
param name=From value=myser...@mydomain.com /
!
Cheers Joni
On 28 loka, 09:24, Jonathan Ferguson j...@spiralarm.com wrote:
Depending on the structure of the XML, attributes and child elements
are being lost. This can be seen in example 4, where the attribute
expiry_date and the child element status have been dropped.
It would also appear
Depending on the structure of the XML, attributes and child elements
are being lost. This can be seen in example 4, where the attribute
expiry_date and the child element status have been dropped.
It would also appear when XML is being converted to JSON attributes
are being flattened to elements.
You're right, my bad - an old pom was looking at the wrong repo, all happy
now.
Cheers
Jono
2009/10/22 David Pollak feeder.of.the.be...@gmail.com
On Wed, Oct 21, 2009 at 10:27 PM, Jonathan Ferguson j...@spiralarm.comwrote:
Do we need to update our pom's or should it be code changes only
2009/10/22 David Pollak feeder.of.the.be...@gmail.com
On Wed, Oct 21, 2009 at 8:46 PM, Jonathan Ferguson j...@spiralarm.comwrote:
I have a StatefulSnippet that uses a CometActor to keep users
informed when performing a lengthy task, much like the example on the
demo site ( http
2009/10/23 David Pollak feeder.of.the.be...@gmail.com
On Wed, Oct 21, 2009 at 10:59 PM, Jonathan Ferguson j...@spiralarm.comwrote:
2009/10/22 David Pollak feeder.of.the.be...@gmail.com
On Wed, Oct 21, 2009 at 8:46 PM, Jonathan Ferguson
j...@spiralarm.comwrote:
I have
If we are using Actors for non Comet based stuff I assume we are free to
leave them as is as long as we don't come asking for support ?
I am thinking about moving through switching them over, but I'd like to do
it at a leisurely pace.
Jono
2009/10/23 David Pollak feeder.of.the.be...@gmail.com
I have a StatefulSnippet that uses a CometActor to keep users
informed when performing a lengthy task, much like the example on the
demo site ( http://demo.liftweb.net/longtime).
The only difference being I pass the CometActor an identifier so it
knows which job to inform the user about.
When
Do we need to update our pom's or should it be code changes only ?
Cheers
Jono
2009/10/22 David Pollak feeder.of.the.be...@gmail.com
Folks,
As the title of this email indicates, there are breaking changes in Lift
that just got pushed to master.
We've migrated from Scala Actors to Lift
Being able to unit test record/mapper classes and the code that depends on
them would be wonderful.
Cheers
Jono
2009/10/15 David Pollak feeder.of.the.be...@gmail.com
On Wed, Oct 14, 2009 at 4:51 PM, Timothy Perrett
timo...@getintheloop.euwrote:
Agreed on all fronts. Points 1 - 4 are
Is it possible, can someone point me to an example.
Cheers
Jono
--~--~-~--~~~---~--~~
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
I was wondering how often they are released?
I noticed Milestone 3 is out and was thinking of switching to that
rather than the snapshots as if I build without -o using snapshots
I seem to download the dependencies about 6 times per module, which is
a little annoying.
Cheers
Jono
Okay, I've raised as an issue on github -
http://github.com/dpp/liftweb/issues/#issue/30
Thanks
Jono
On Jun 27, 2:29 am, Timothy Perrett timo...@getintheloop.eu wrote:
Ah sorry I didn't realize. mapper is not really my area so I cant say
what's causing that.
Please raise an issue on
Hi all,
I'm attempting to persist a Mapper used to join two tables.
java.lang.NullPointerException: Trying to open an empty Box
at net.liftweb.util.EmptyBox.open_$bang(Box.scala:370)
at net.liftweb.util.EmptyBox.open_$bang(Box.scala:366)
at
I need a mapper that doesn't require a primary key to get a legacy db
model onto lift.
I can't change the table as it will break existing code.
Cheers
Jono
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift
Is it part of the maven build or can I set it per environment ?
This is so I can use the correct log file at run time, see
http://scala-tools.org/scaladocs/liftweb/1.0/net/liftweb/util/LogBoot$object.html
Cheers
Jono
--~--~-~--~~~---~--~~
You received this
Thanks very much !
Jono
On May 22, 2:38 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
You set it on the command line:
export MAVEN_OPTS=-Drun.mode=production
mvn jetty:run
Thanks,
David
On Thu, May 21, 2009 at 9:35 PM, Jonathan Ferguson j...@spiralarm.comwrote
We want to encapsulate our application logic as an external
dependencies ( library ) , so it can be used by multiple lift
applications.
The sticking point is how one achieves this when the library needs to
perform data access and persistence.
The library could use structured types, to decouple
39 matches
Mail list logo