Is there a mode whereby I can turn on pretty printed output for my
xhtml? (I'm thinking of a LiftRule, I think?). Preferably, I'd also
like to control some details like indentation size.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi,
Can you send me surefire test result file at:
lift-base/lift-json/target/surefire-reports/TEST-
net.liftweb.json.XmlExamplesTest.xml
All tests pass on my machine (Ubuntu 8.10, jdk1.6.0_10, Maven 2.0.9),
but I will investigate why it fails on your setup. You can send the
file directly to me,
Try this:
S.containerRequest.map(r = (r.asInstanceOf[HTTPRequestServlet]).req)
req is an HttpServletRequest when you run into a JEE web container.
Br's,
Marius
On Nov 7, 5:51 am, aw anth...@whitford.com wrote:
I am using 1.1-M7... I have a Servlet Filter that performs
Authentication. As
I think crawling all pages under
http://scala-tools.org/mvnsites-snapshots/liftweb/ is a better
option,
which costs less band-width and less time, and is very much easier
than building documentation from source.
On Nov 6, 6:45 am, Jonathan Ferguson j...@spiralarm.com wrote:
Is it practical to
Im not sure i understand the question - in what was it the current
output not pretty printed?
cheers, Tim
On Nov 7, 9:01 am, aw anth...@whitford.com wrote:
Is there a mode whereby I can turn on pretty printed output for my
xhtml? (I'm thinking of a LiftRule, I think?). Preferably, I'd also
You should always be working with UTF-8 files for properties /
localisation - I think the encoding reported by jetty is something
different (that it reads from the system)... ensure your props files
are UTF-8 and go from there.
Cheers, Tim
On Nov 7, 12:48 am, yk ying.kwang...@gmail.com wrote:
yk,
I use the code that you write.
1:) I use this link to test the i18n
http://localhost:8080/?locale=ms_MY
S.??(login) = it works well !
2:) But this code in the html page, it always doesn't work too, just
show the Default value
lift:loc locid=loginDefault value/lift:loc
Timothy Perrett timo...@getintheloop.eu writes:
You should always be working with UTF-8 files for properties /
localisation - I think the encoding reported by jetty is something
different (that it reads from the system)... ensure your props files
are UTF-8 and go from there.
Careful now :-)
On Fri, Nov 6, 2009 at 3:55 PM, Timothy Perrett timo...@getintheloop.euwrote:
Guys,
I've noticed that the lift-wizard hasn't had any commits for ages -
where is this too in terms of usability etc?
I'm presenting it at Bay Area Scala Enthusiasts on Monday... although I've
written almost no
On Sat, Nov 7, 2009 at 1:01 AM, aw anth...@whitford.com wrote:
Is there a mode whereby I can turn on pretty printed output for my
xhtml? (I'm thinking of a LiftRule, I think?). Preferably, I'd also
like to control some details like indentation size.
No mode for that... sorry.
--
On Fri, Nov 6, 2009 at 10:14 PM, oshyshko oshys...@gmail.com wrote:
Looks like S.addAround(DB.buildLoanWrapper) has no effect.
What code are you using to make the query?
Please create a fully running example (making a GitHub project is the best
way to do this) so that I can see exactly what
On Nov 7, 3:02 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Basically, I'm separating the field logic/flow logic from any UI. This will
allow for automated testing of the wizards without a front end (and if you
trust the wizard state - UI translation, then there's no need to test
Thanks!
this pointed me in the right direction, I think. Adding a LiftActor
that removes my Peer entity to sessionWatchers would solve part of the
problem I suppose. However, a corner case is when a single peer
changes it's ip for some reason and connects from the new IP address.
This would
I have found the problem.
This is what I have in web.xml:
filter-mapping
filter-nameLiftFilter/filter-name
url-pattern*.html/url-pattern
/filter-mapping
By default it should be like this:
filter-mapping
filter-nameLiftFilter/filter-name
Removing BlazeDS servlet from LiftFilter coverage is a bad idea:
If it is done so, lift-mapper creates separate transactions for all
operations.
http://groups.google.com/group/liftweb/browse_thread/thread/e2c0dd2c5dcc458b
This means LiftFilter and BlazeDS servlet should become friends.
Thanks for the test results. It looked like a charset problem in unit
test. I changed the assertion in test to use more robust case class
comparison instead of String comparison. Please let us know if this
fixes the build on your machine.
Committers, I pushed this small fix directly into master,
Hi all,
I have a silly question about the embeded flash in the Firefox .
The code like this (in the main/webapp/index.html page), and i added
the
/* ![CDATA[ */ in the script,
It can show correctly in the IE browser, but it doesn't shown in the
Firefox ?
There is something wrong
Actually, just one other thing about this - sounds a bit like a
workflow engine (to a degree its a specialised one) but JBoss Drools
Flow has some interesting ideas in this area if your looking for some
inspiration :-)
Cheers, Tim
On 7 Nov 2009, at 15:02, David Pollak wrote:
Basically,
Looks to me like a javascript issue - if your rendering flash, use
swfobject:
http://code.google.com/p/swfobject/
Cheers, Tim
On 7 Nov 2009, at 18:49, Neil.Lv wrote:
Hi all,
I have a silly question about the embeded flash in the Firefox .
The code like this (in the
Hi,
Today I got real frustrated with Eclipse scala plugin (2.7.7) on
Ubuntu 9.10. Out of the sudden it interprets reads Scala files as Java
source ... I tried disabling the JDT weaver, I disabled it, but
nothing the same thing.
Ok ... time to try emacs .. which I'm starting to like more and
Ok I got the answer for #2 and #3.
For #1 I'm still not sure what it complains about but it seems to work
though. ALso sometime the Yasnippet menu is disappearing or when
clicking it, it has no sub-menus ... weird.
Br's
Marius
On Nov 7, 11:20 pm, Marius marius.dan...@gmail.com wrote:
Hi,
Looks like you're missing two close parens at the end of file
(matching add-hook and lambda)
-Ross
On Nov 7, 2009, at 5:29 PM, Marius wrote:
Ok I got the answer for #2 and #3.
For #1 I'm still not sure what it complains about but it seems to work
though. ALso sometime the Yasnippet menu
On Sat, Nov 7, 2009 at 3:29 PM, Marius marius.dan...@gmail.com wrote:
(add-hook 'scala-mode-hook
'(lambda ()
(yas/minor-mode-on)
Not sure if this is just an incomplete copy/paste, but looks like you are
missing some closing parenthesis there
--
Derek Williams
Hi,
How can I access all the selected values from a select box? I am using
the following code to generate the select box itself:
availableManagers- SHtml.selectObj[User](
User.findAvailableManagers.map(v = (v,
v.email)),
Empty,
Thank you very much!
This is very cool! :)
Cheers,
Neil
On Nov 8, 2:52 am, Timothy Perrett timo...@getintheloop.eu wrote:
Looks to me like a javascript issue - if your rendering flash, use
swfobject:
http://code.google.com/p/swfobject/
Cheers, Tim
On 7 Nov 2009, at 18:49,
Tim,
How can i use the lift to generate the dynamic flashvars ? In the
snippet ?
In the rails we can use the %= % to get the value that from the
server.
Cheers,
Neil
On Nov 8, 12:48 pm, Neil.Lv anim...@gmail.com wrote:
Thank you very much!
This is very cool! :)
Cheers,
I use this code to achieve the purpose.
Maybe there is some another better way to do it.
###
lift:surround with=default at=content
head
script type=text/javascript src=/scripts/swfobject.js/script
script type=text/javascript
lift:HelloWorld.initFlash
It works well in the firefox, but not in IE.
Result:
swfobject.embedSWF(quot;/flash/test.swfquot;, quot;myContentquot;,
quot;300quot;, quot;120quot;, quot;9.0.0quot;,
quot;expressInstall.swfquot;);
###
flash - Text(swfobject.embedSWF(/flash/test.swf, myContent,
300, 120, 9.0.0,
Hi all,
Is there a easy way to write javascript code (dynamic for caculating
flashvars )in the Snippet ?
To write javascript code directly just like the raw js code and
merge it into the head tag .
Cheers,
Neil
--~--~-~--~~~---~--~~
You received this
29 matches
Mail list logo