Yes thank you, thats very helpful.
I'll have a play around with a few things and see where I get too. Out
of interest - how would you remove the HTML from MegaProtoUser?
Replace it with calls to bind?
Cheers
Tim
Hey Dave, Yes thank you, thats very helpful. I'll have a play around with a few things and see where I get too. Out of interest - how would you remove the HTML from MegaProtoUser? Replace it with calls to bind?
Cheers, Tim
Interesting - so effectively, we can provide plugins that have code,
but serving HTML right now unless its in the .scala file is really
rather difficult?
Cheers, Tim
On 9 Jul 2008, at 14:22, David Pollak wrote:
> Not bind. I'm not really sure how to address the issue. :-)
Oh ok cool, sorry to keep banging on about this, I have one last
question and I promise thats it :D
A common thing with plugins is a "heres the default, use that if you
want, but just override XYZ to customize it". Obviously this is no
problem with classes/traits et al as its just usual programming, but
in terms of a view that (for arguments sake) was just like a normal
lift app using bind for the snippets onto HTML elements - how would
one use a snippet/view combo that was contained in that JAR? Some kind
of rewrite? Or would you need to unpack that HTML file into the
"webapp" dir?
Overriding it would be easier than using the stock implementation I
guess as its just a case of calling the snippet in the code the
developer would write.
Cheers
Tim
Cheers Tim
Yeah that sounds cool - can I suggest we do a very crude cart example?
I'll set up this on my github tomorrow :)
Cheers David
Tim