Jan
unread,Jul 15, 2010, 7:03:27 AM7/15/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lift
Hi,
i am curious why the StatefulSnippet.link() function does not take any
Attributes as the SHtml.link() function does.
Is there any reason for this?
I would suppose to add the possibility to do so, as seen below:
Currently:
def link(to: String, func: () => Any, body: NodeSeq): Elem =
SHtml.link(to, () => {registerThisSnippet(); func()}, body)
Possible Fix:
def link(to: String, func: () => Any, body: NodeSeq, attrs: (String,
String)*): Elem = SHtml.link(to, () => {registerThisSnippet();
func()}, body, attrs)
Thank you
Jan Blankenhorn