[Lift] Re: View List content

2009-11-03 Thread wapgui
? Cheers Torsten On 2 Nov., 23:51, Timothy Perrett timo...@getintheloop.eu wrote: Any reason your not using eGit? Seems like it would be a lot better to   make a scala wrapper around that rather than use exec. Cheers, Tim Sent from my iPhone On 2 Nov 2009, at 21:58, wapgui torsten.schm

[Lift] Re: View List content

2009-11-03 Thread wapgui
Thanks, that made it. On 3 Nov., 10:34, Thiébaut Champenier tchampen...@gmail.com wrote: Hi Torsten, In your html, you have to use list:item/ according to how you bind:  def list(xhtml:NodeSeq):NodeSeq = {    elem.flatMap(file = bind(list, xhtml, item - pfile/p))  }

[Lift] View List content

2009-11-02 Thread wapgui
Hi, I'm playing a littlebit with Lift and git and the following code looks good for me (doesn't mean that it is working). No errors, but also no output. Where am I wrong? Cheers Torsten class HelloWorld { def howdy = spanWelcome to scagit using {exec(git --version)._1} /span var tree =

[Lift] Re: file upload

2009-06-12 Thread wapgui
I do similar things. First there is a snippet using the bind functionality. var image : FileParamHolder = _ bind(widget, xhtml, image - fileUpload(image = _) } Now write out: val wbos : ByteArrayOutputStream = build(image) val fout = new File(outputFilename) if (fout.exists()) {

[Lift] Form values after submit

2009-05-07 Thread wapgui
Hi all, I have a normal form defined via bind. object smlink extends RequestVar(Full()) val widget = new Widget() def show(xhtml: NodeSeq): NodeSeq = { var smallLink = var dlText = if (smlink.isEmpty || smlink.open_!.length == 0) { Log.debug(Starting new widget

[Lift] Re: Rewrite to URL

2009-04-15 Thread wapgui
...@getintheloop.eu wrote: Take a look at: // Your boot.scala LiftRules.dispatch.append {   case Req(.) } Do a dispatch call and yeild a Box[RedirectResponse] (subtype of LiftResponse) and this will do what you need. Cheers, Tim On 15/04/2009 12:53, wapgui torsten.schm

[Lift] Re: Hidden field in form

2009-04-07 Thread wapgui
=hidden name={funcName}/)(_ % _)) and now your function should receive the actual value specified in the hidden field. Note that I didn't test the above function :D ... let me know if it works for you. Br's, Marius On Apr 7, 3:15 pm, wapgui torsten.schm...@wapgui.com wrote: Thanks

[Lift] Hidden field in form

2009-04-06 Thread wapgui
Hi, is there an equivalent in lift to the hidden input filed used in forms. The SHtml.hidden is only for functions not for parameters, the value is always true. I want set the hidden input via javascript. Is there also a parameter for setting the name of the form itself? Here the code: object

[Lift] Re: Hidden field in form

2009-04-06 Thread wapgui
JavaScript. Br's, Marius On Apr 6, 5:01 pm, wapgui torsten.schm...@wapgui.com wrote: Hi, is there an equivalent in lift to the hidden input filed used in forms. The SHtml.hidden is only for functions not for parameters, the value is always true. I want set the hidden input via

[Lift] Re: Lift using JQuery and JCarousel

2009-04-05 Thread wapgui
the conflict. -- Chad On Sat, Apr 4, 2009 at 3:43 PM, wapgui torsten.schm...@wapgui.com wrote: Nope, there is no difference. Maybe I can find it out with the good old try and error method. On Apr 4, 8:30 pm, marius d. marius.dan...@gmail.com wrote: might

[Lift] Re: Lift using JQuery and JCarousel

2009-04-04 Thread wapgui
want using various ways. For instance: 1. Use a snippet 2. Use lift:embed 3.You can post process resulting xml before it is sent to client (a pretty uncommon need) I I'd really doubt that this would represent the solution. On Apr 3, 11:32 am, wapgui torsten.schm...@wapgui.com wrote: Hi

[Lift] Re: Lift using JQuery and JCarousel

2009-04-04 Thread wapgui
:                 lift:CSS.blueprint/                 lift:CSS.fancyType/ ... and see if things get improved. Br's, Marius On Apr 4, 6:18 pm, wapgui torsten.schm...@wapgui.com wrote: The problem is how the carousel looks like. It shows all the picture one below the other. I know this effect, then normaly