Mrinal,
Do you mean when the page is initially rendered or do you mean on updates?
If you mean on updates, see the partialUpdate(js: JsCmd) method on
CometActor:
http://scala-tools.org/mvnsites/liftweb/lift-webkit/scaladocs/net/liftweb/http/CometActor.html
You can send arbitrary JavaScript to
I'm happy to test on Glassfish this weekend. Just let me know what
branch to pull from.
Kris
On Fri, Oct 10, 2008 at 3:14 PM, Derek Chen-Becker
[EMAIL PROTECTED] wrote:
Well, I have it all working under Jetty using Atomikos as the underlying JTA
provider. I'd like to test it out under JBoss
It means that the dispatch function on whatever Stateful Snippet is being
called isn't matching what you're asking it to provide. For instance, if
your snippet tag looks like
lift:MySnippet.add
Then the dispatchPf in the MySnippet stateful snippet has to have a dispatch
function like:
val
OK, I think I know how to create a new branch, but being a Git newb I really
don't want to nuke anything. Do I just do a git branch my new branch
name in my local repo?
Thanks,
Derek
On Fri, Oct 10, 2008 at 3:21 PM, Kris Nuttycombe
[EMAIL PROTECTED]wrote:
I'm happy to test on Glassfish this
You can do either that, or
git checkout -b my_new_branch
which will both create and switch to the new branch; you'll then need to do
git push origin my_new_branch
to get it up on central. For when you want to subsequently pull from
that branch, you should probably add something like this to
On Fri, Oct 10, 2008 at 10:37 PM, Derek Chen-Becker
[EMAIL PROTECTED] wrote:
OK, I think I know how to create a new branch, but being a Git newb I really
don't want to nuke anything. Do I just do a git branch my new branch
name in my local repo?
I think you want: git checkout -b branchName
OK, if I do git checkout do I need to backup my changed files somewhere
else? I've already made a lot of changes and I don't want to lose them.
Thanks for the advice!
Derek
On Fri, Oct 10, 2008 at 3:43 PM, Martin Ellis [EMAIL PROTECTED] wrote:
On Fri, Oct 10, 2008 at 10:37 PM, Derek
OK, if I've done this correctly, there are only a few things that you need
to do to get this working in a JEE container:
1. Edit persistence.xml to:
1. Set the proper dialect
2. Remove or set the proper hibernate.transaction.manager_lookup_class
property. I think that
I should be able to sort out any glassfish/hibernate issues with the
demo, as my Lift/JPA/JTA/Hibernate/Glassfish app is running happily
and going into production on Tuesday. In general, I haven't run into
any issues whatsoever; all you need is the
Thanks, Derek. Actually, I don't use .html or even add (all my html
files are called index.html -- I use directories to sort them). This
error came when I was experimenting to see if that made a difference.
That said, I get the error all the time. I don't have val dispatch... in
my snippets.
Sorry. Too lazy to cleanse I just left the package off. There is one,
and a model._ import, too.
BTW, the snippet is responding, it just gives that snippet error and the
edit doesn't bind the object's values to the form fields. The list and
add abilities work just fine. That's what's so
For example, here is what I get when I go to the categories list page
(which lists them just beautifully):
Hibernate: select category0_.id as id2_, category0_.CREATED_AT as
CREATED2_2_, category0_.name as name2_, category0_.UPDATED_AT as
UPDATED4_2_ from CATEGORIES category0_ order by
Ah, silly me. I just assumed that the problem was with the primary
snippet for the page. I forgot that I've written my own Menu snippet,
and a Misc snippet and that there are multiple calls to snippets on
every page. Turns out I added some links at the bottom of default.html
using
13 matches
Mail list logo