Hello everyone,

I am surprised about the few code I have written and the effect I
get :)

I would like to know if this workflow can be optimized:

I my snippet method I "findAnyTemplate()" my xml fragments and
assigning them
to vals.

Then I have little functions that bind content with the above xml
fragments and return
the resulting NodeSeq, so I can do easy an SetHtml and return the new
content with
ajax.

I find this way very easy. So I can have many little fragments, load
them bind content
and return them via ajax.

Is it ok to load the fragments and save them in vals? Or can I do a
findAnyTemplate()
all the time? Or should I have snippets methods for this fragments and
let lift do the
snippet method calling?

with best regards

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to