Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
content_id on the body
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
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:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Guillaume Massé  
View profile  
 More options Oct 25 2012, 2:51 am
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Massé  
View profile  
 More options Oct 28 2012, 3:41 am
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 ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Pollak  
View profile  
 More options Oct 29 2012, 3:30 pm
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

Please put together an example.

--
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Massé  
View profile  
 More options Oct 29 2012, 11:56 pm
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Pollak  
View profile  
 More options Oct 30 2012, 2:14 pm
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.)

--
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Naftoli Gugenheim  
View profile  
 More options Oct 30 2012, 10:23 pm
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Massé  
View profile  
 More options Oct 30 2012, 11:23 pm
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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Pollak  
View profile  
 More options Nov 1 2012, 12:53 pm
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.

--
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Massé  
View profile  
 More options Nov 1 2012, 7:13 pm
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Massé  
View profile  
 More options Nov 3 2012, 1:22 am
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

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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Massé  
View profile  
 More options Nov 3 2012, 9:40 pm
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 :-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »