[Lift] Tabs + menu builder

2009-09-17 Thread caw1461
I'm working on a UI for a project and we are looking at the jquery tabs. Currently we just have a plain menu builder site map. we are thinking that a good way to create our UI is to somehow link the site builder with the Tabs such that each tab holds a different link from the site map. I know t

[Lift] javascript with an ajaxbutton

2009-10-19 Thread caw1461
I figured this was a simple problem, but have spent way too much time on this issue. $.saveFunc = function() { saveT(); }; function saveT () { print("save function executing") tinyMCE.activeEditor.save() print("save completed") }; Save as a pure jav

[Lift] Re: javascript with an ajaxbutton

2009-10-19 Thread caw1461
executed. > In your code saveClaimStatus is run before running  $saveFunc() in the > case of the save1buttonwhich seems to be the other way around. What > is your actual use case? > > Br's, > Marius > > On Oct 19, 8:29 pm, caw1461 wrote: > > > I figured this

[Lift] Re: javascript with an ajaxbutton

2009-10-19 Thread caw1461
"save2" -> SHtml.ajaxButton( "yes", () => {JsRaw("$.saveFunc();").cmd }))) } I'm already importing both of those so that isn't the problem. If I put a % ("onclick" -> "saveT()") on the bu

[Lift] New update changed something?

2009-10-22 Thread caw1461
So I was running everything for my program fine last night. Got on this morning, updated scala when compiling and I am getting a lot of: error: not found: value Box error: value map is not a member error: value openOr is not a member of Nothing etc. Was there a big update changing a bunch of th

[Lift] Re: javascript with an ajaxbutton

2009-10-22 Thread caw1461
ing minimalistic and isolated so I can > quickly try it out. > > I'm not sure what you do with redirect("/workflow/claims")  but from > Ajax function you should probably use JsCmd.RedirectTo .. > > Hopefully I'll have some time this weekend to p