The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
Guillaume Massé <mas... @gmail.com>
Date: Wed, 24 Oct 2012 23:51:09 -0700 (PDT)
Local: Thurs, Oct 25 2012 2:51 am
Subject: content_id on the body
Hey
I was writing some documentation about designer friendly: http://doc.scalakata.com/view#designer-friendly
Is it possible to set the body as the content_id ?
The closest I got was the following: <body id="real-content" data-lift-content-id="real-content" data-lift="surround?with=default;at=bind-content">
but this duplicates the content :-(
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Guillaume Massé <mas... @gmail.com>
Date: Sun, 28 Oct 2012 00:41:26 -0700 (PDT)
Local: Sun, Oct 28 2012 3:41 am
Subject: Re: content_id on the body
@dpp should I fill a bug / build a demo projet with the bug ?
On Thursday, October 25, 2012 2:51:09 AM UTC-4, Guillaume Massé wrote:
> Hey
> I was writing some documentation about designer friendly: > http://doc.scalakata.com/view#designer-friendly
> Is it possible to set the body as the content_id ?
> The closest I got was the following:
> <body id="real-content" data-lift-content-id="real-content" > data-lift="surround?with=default;at=bind-content">
> but this duplicates the content :-(
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
David Pollak <feeder.of.the.be... @gmail.com>
Date: Mon, 29 Oct 2012 12:30:28 -0700
Local: Mon, Oct 29 2012 3:30 pm
Subject: Re: [Lift] content_id on the body
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Guillaume Massé <mas... @gmail.com>
Date: Mon, 29 Oct 2012 20:56:49 -0700 (PDT)
Local: Mon, Oct 29 2012 11:56 pm
Subject: Re: [Lift] content_id on the body
There you go:
git clone git://github.com/MasseGuillaume/LiftRealContentBug.git
localhost:8080/
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
David Pollak <feeder.of.the.be... @gmail.com>
Date: Tue, 30 Oct 2012 11:14:04 -0700
Local: Tues, Oct 30 2012 2:14 pm
Subject: Re: [Lift] content_id on the body
How do I launch it? Please assume that I don't have sbt installed on my
machine (I have about 20 versions of sbt on the machine and 20 is as good
as none.)
On Mon, Oct 29, 2012 at 8:56 PM, Guillaume Massé <mas
... @gmail.com> wrote:
> There you go:
> git clone git://github.com/MasseGuillaume/LiftRealContentBug.git
> localhost:8080/
> On Monday, October 29, 2012 3:30:34 PM UTC-4, David Pollak wrote:
>> Please put together an example.
>> On Wed, Oct 24, 2012 at 11:51 PM, Guillaume Massé <mas... @gmail.com>wrote:
>>> Hey
>>> I was writing some documentation about designer friendly: http://doc.**
>>> scalakata.com/view#designer-**friendly<http://doc.scalakata.com/view#designer-friendly >
>>> Is it possible to set the body as the content_id ?
>>> The closest I got was the following:
>>> <body id="real-content" data-lift-content-id="real-**content"
>>> data-lift="surround?with=**default;at=bind-content">
>>> but this duplicates the content :-(
>>> --
>>> --
>>> Lift, the simply functional web framework: http://liftweb.net
>>> Code: http://github.com/lift
>>> Discussion: http://groups.google.com/**group/liftweb <http://groups.google.com/group/liftweb >
>>> Stuck? Help us help you: https://www.assembla.com/wiki/**
>>> show/liftweb/Posting_example_**code<https://www.assembla.com/wiki/show/liftweb/Posting_example_code >
>> --
>> Telegram, Simply Beautiful CMS https://telegr.am
>> Lift, the simply functional web framework http://liftweb.net
>> Follow me: http://twitter.com/dpp
>> Blog: http://goodstuff.im
>> --
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
--
Telegram, Simply Beautiful CMS
https://telegr.am
Lift, the simply functional web framework
http://liftweb.net
Follow me:
http://twitter.com/dpp
Blog:
http://goodstuff.im
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Naftoli Gugenheim <naftoli... @gmail.com>
Date: Tue, 30 Oct 2012 22:23:03 -0400
Local: Tues, Oct 30 2012 10:23 pm
Subject: Re: [Lift] content_id on the body
He's using sbt 0.12, as you can see from
https://github.com/MasseGuillaume/LiftRealContentBug/blob/master/proj...
(the
only part for which the sbt version matters).
On Tue, Oct 30, 2012 at 2:14 PM, David Pollak <feeder.of.the.be... @gmail.com
> wrote:
> How do I launch it? Please assume that I don't have sbt installed on my
> machine (I have about 20 versions of sbt on the machine and 20 is as good
> as none.)
> On Mon, Oct 29, 2012 at 8:56 PM, Guillaume Massé <mas... @gmail.com> wrote:
>> There you go:
>> git clone git://github.com/MasseGuillaume/LiftRealContentBug.git
>> localhost:8080/
>> On Monday, October 29, 2012 3:30:34 PM UTC-4, David Pollak wrote:
>>> Please put together an example.
>>> On Wed, Oct 24, 2012 at 11:51 PM, Guillaume Massé <mas... @gmail.com>wrote:
>>>> Hey
>>>> I was writing some documentation about designer friendly: http://doc.**
>>>> scalakata.com/view#designer-**friendly<http://doc.scalakata.com/view#designer-friendly >
>>>> Is it possible to set the body as the content_id ?
>>>> The closest I got was the following:
>>>> <body id="real-content" data-lift-content-id="real-**content"
>>>> data-lift="surround?with=**default;at=bind-content">
>>>> but this duplicates the content :-(
>>>> --
>>>> --
>>>> Lift, the simply functional web framework: http://liftweb.net
>>>> Code: http://github.com/lift
>>>> Discussion: http://groups.google.com/**group/liftweb <http://groups.google.com/group/liftweb >
>>>> Stuck? Help us help you: https://www.assembla.com/wiki/**
>>>> show/liftweb/Posting_example_**code<https://www.assembla.com/wiki/show/liftweb/Posting_example_code >
>>> --
>>> Telegram, Simply Beautiful CMS https://telegr.am
>>> Lift, the simply functional web framework http://liftweb.net
>>> Follow me: http://twitter.com/dpp
>>> Blog: http://goodstuff.im
>>> --
>> --
>> Lift, the simply functional web framework: http://liftweb.net
>> Code: http://github.com/lift
>> Discussion: http://groups.google.com/group/liftweb
>> Stuck? Help us help you:
>> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
> --
> Telegram, Simply Beautiful CMS https://telegr.am
> Lift, the simply functional web framework http://liftweb.net
> Follow me: http://twitter.com/dpp
> Blog: http://goodstuff.im
> --
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Guillaume Massé <mas... @gmail.com>
Date: Tue, 30 Oct 2012 20:23:02 -0700 (PDT)
Local: Tues, Oct 30 2012 11:23 pm
Subject: Re: [Lift] content_id on the body
Good point, it's sbt 0.12. I added the launcher inside the project.
On Tuesday, October 30, 2012 2:14:09 PM UTC-4, David Pollak wrote:
> How do I launch it? Please assume that I don't have sbt installed on my > machine (I have about 20 versions of sbt on the machine and 20 is as good > as none.)
> On Mon, Oct 29, 2012 at 8:56 PM, Guillaume Massé <mas... @gmail.com<javascript:>
> > wrote:
>> There you go:
>> git clone git://github.com/MasseGuillaume/LiftRealContentBug.git
>> localhost:8080/
>> On Monday, October 29, 2012 3:30:34 PM UTC-4, David Pollak wrote:
>>> Please put together an example.
>>> On Wed, Oct 24, 2012 at 11:51 PM, Guillaume Massé <mas... @gmail.com>wrote:
>>>> Hey
>>>> I was writing some documentation about designer friendly: http://doc.**
>>>> scalakata.com/view#designer-**friendly<http://doc.scalakata.com/view#designer-friendly >
>>>> Is it possible to set the body as the content_id ?
>>>> The closest I got was the following:
>>>> <body id="real-content" data-lift-content-id="real-**content" >>>> data-lift="surround?with=**default;at=bind-content">
>>>> but this duplicates the content :-(
>>>> -- >>>> -- >>>> Lift, the simply functional web framework: http://liftweb.net
>>>> Code: http://github.com/lift
>>>> Discussion: http://groups.google.com/**group/liftweb <http://groups.google.com/group/liftweb >
>>>> Stuck? Help us help you: https://www.assembla.com/wiki/**
>>>> show/liftweb/Posting_example_**code<https://www.assembla.com/wiki/show/liftweb/Posting_example_code >
>>> -- >>> Telegram, Simply Beautiful CMS https://telegr.am
>>> Lift, the simply functional web framework http://liftweb.net
>>> Follow me: http://twitter.com/dpp
>>> Blog: http://goodstuff.im
>>> -- >> -- >> Lift, the simply functional web framework: http://liftweb.net
>> Code: http://github.com/lift
>> Discussion: http://groups.google.com/group/liftweb
>> Stuck? Help us help you: >> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
> -- > Telegram, Simply Beautiful CMS https://telegr.am
> Lift, the simply functional web framework http://liftweb.net
> Follow me: http://twitter.com/dpp
> Blog: http://goodstuff.im
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
David Pollak <feeder.of.the.be... @gmail.com>
Date: Thu, 1 Nov 2012 09:53:11 -0700
Local: Thurs, Nov 1 2012 12:53 pm
Subject: Re: [Lift] content_id on the body
This is a bug in your template:
Your template looks like:
<!doctype html>
<html>
<head>
<title>surround</title>
</head>
<body>
<em>before content</em>
<div id="bind-content"></div>
<em>after content</em>
</body>
</html>
So, the <body> tag in page b is going to be inserted at the <div> and
voila... duplicate body tags.
If you put the id="bind-content" attribute on the <body> tag in your
template, you'll get a single body tag.
On Mon, Oct 29, 2012 at 8:56 PM, Guillaume Massé <mas
... @gmail.com> wrote:
> There you go:
> git clone git://github.com/MasseGuillaume/LiftRealContentBug.git
> localhost:8080/
> On Monday, October 29, 2012 3:30:34 PM UTC-4, David Pollak wrote:
>> Please put together an example.
>> On Wed, Oct 24, 2012 at 11:51 PM, Guillaume Massé <mas... @gmail.com>wrote:
>>> Hey
>>> I was writing some documentation about designer friendly: http://doc.**
>>> scalakata.com/view#designer-**friendly<http://doc.scalakata.com/view#designer-friendly >
>>> Is it possible to set the body as the content_id ?
>>> The closest I got was the following:
>>> <body id="real-content" data-lift-content-id="real-**content"
>>> data-lift="surround?with=**default;at=bind-content">
>>> but this duplicates the content :-(
>>> --
>>> --
>>> Lift, the simply functional web framework: http://liftweb.net
>>> Code: http://github.com/lift
>>> Discussion: http://groups.google.com/**group/liftweb <http://groups.google.com/group/liftweb >
>>> Stuck? Help us help you: https://www.assembla.com/wiki/**
>>> show/liftweb/Posting_example_**code<https://www.assembla.com/wiki/show/liftweb/Posting_example_code >
>> --
>> Telegram, Simply Beautiful CMS https://telegr.am
>> Lift, the simply functional web framework http://liftweb.net
>> Follow me: http://twitter.com/dpp
>> Blog: http://goodstuff.im
>> --
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
--
Telegram, Simply Beautiful CMS
https://telegr.am
Lift, the simply functional web framework
http://liftweb.net
Follow me:
http://twitter.com/dpp
Blog:
http://goodstuff.im
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Guillaume Massé <guillaume.ma... @polymtl.ca>
Date: Thu, 1 Nov 2012 19:12:47 -0400
Local: Thurs, Nov 1 2012 7:12 pm
Subject: Re: [Lift] content_id on the body
Oh right !
Thanks :D
Guillaume
On Thu, Nov 1, 2012 at 12:53 PM, David Pollak <feeder.of.the.be... @gmail.com
> wrote:
> This is a bug in your template:
> Your template looks like:
> <!doctype html>
> <html>
> <head>
> <title>surround</title>
> </head>
> <body>
> <em>before content</em>
> <div id="bind-content"></div>
> <em>after content</em>
> </body>
> </html>
> So, the <body> tag in page b is going to be inserted at the <div> and
> voila... duplicate body tags.
> If you put the id="bind-content" attribute on the <body> tag in your
> template, you'll get a single body tag.
> On Mon, Oct 29, 2012 at 8:56 PM, Guillaume Massé <mas... @gmail.com> wrote:
>> There you go:
>> git clone git://github.com/MasseGuillaume/LiftRealContentBug.git
>> localhost:8080/
>> On Monday, October 29, 2012 3:30:34 PM UTC-4, David Pollak wrote:
>>> Please put together an example.
>>> On Wed, Oct 24, 2012 at 11:51 PM, Guillaume Massé <mas... @gmail.com>wrote:
>>>> Hey
>>>> I was writing some documentation about designer friendly: http://doc.**
>>>> scalakata.com/view#designer-**friendly<http://doc.scalakata.com/view#designer-friendly >
>>>> Is it possible to set the body as the content_id ?
>>>> The closest I got was the following:
>>>> <body id="real-content" data-lift-content-id="real-**content"
>>>> data-lift="surround?with=**default;at=bind-content">
>>>> but this duplicates the content :-(
>>>> --
>>>> --
>>>> Lift, the simply functional web framework: http://liftweb.net
>>>> Code: http://github.com/lift
>>>> Discussion: http://groups.google.com/**group/liftweb <http://groups.google.com/group/liftweb >
>>>> Stuck? Help us help you: https://www.assembla.com/wiki/**
>>>> show/liftweb/Posting_example_**code<https://www.assembla.com/wiki/show/liftweb/Posting_example_code >
>>> --
>>> Telegram, Simply Beautiful CMS https://telegr.am
>>> Lift, the simply functional web framework http://liftweb.net
>>> Follow me: http://twitter.com/dpp
>>> Blog: http://goodstuff.im
>>> --
>> --
>> Lift, the simply functional web framework: http://liftweb.net
>> Code: http://github.com/lift
>> Discussion: http://groups.google.com/group/liftweb
>> Stuck? Help us help you:
>> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
> --
> Telegram, Simply Beautiful CMS https://telegr.am
> Lift, the simply functional web framework http://liftweb.net
> Follow me: http://twitter.com/dpp
> Blog: http://goodstuff.im
> --
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Guillaume Massé <mas... @gmail.com>
Date: Fri, 2 Nov 2012 22:22:26 -0700 (PDT)
Local: Sat, Nov 3 2012 1:22 am
Subject: Re: [Lift] content_id on the body
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Guillaume Massé <mas... @gmail.com>
Date: Sat, 3 Nov 2012 18:40:32 -0700 (PDT)
Local: Sat, Nov 3 2012 9:40 pm
Subject: Re: [Lift] content_id on the body
regarding mutliple sbt versions
you should try Paul Philip's sbt-extra <https://github.com/paulp/sbt-extras >. It autodetect sbt version :-)
On Saturday, November 3, 2012 1:22:26 AM UTC-4, Guillaume Massé wrote:
> Hi David,
> If I put id="bind-content" on the <body> tag the surround is not parsed > properly
> body will remain with attributes: id="real-content" > data-lift-content-id="real-content"
> I updated the example here:
> https://github.com/MasseGuillaume/LiftRealContentBug
You must
Sign in before you can post messages.
You do not have the permission required to post.