How to teach Lift about mapping other suffixes than html and xhtml?

20 views
Skip to first unread message

Andreas Joseph Krogh

unread,
Feb 10, 2011, 3:38:20 AM2/10/11
to lif...@googlegroups.com
Hi.

How can I teach Lift to map .lift (dot-lift) files just as it maps .xhtml files?

--
Andreas

Timothy Perrett

unread,
Feb 10, 2011, 5:44:05 AM2/10/11
to lif...@googlegroups.com
If memory serves thats not an external API; what's your use case for this? 

Cheers, Tim

Andreas Joseph Krogh

unread,
Feb 10, 2011, 5:59:39 AM2/10/11
to lif...@googlegroups.com
I'm using Lift with other frameworks which already use the same suffixes as Lift wants.

On Thu, Feb 10, 2011 at 11:44 AM, Timothy Perrett <tim...@getintheloop.eu> wrote:
If memory serves thats not an external API; what's your use case for this? 

Cheers, Tim

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

David Pollak

unread,
Feb 10, 2011, 7:33:40 AM2/10/11
to lif...@googlegroups.com
On Thu, Feb 10, 2011 at 2:59 AM, Andreas Joseph Krogh <andrea...@gmail.com> wrote:
I'm using Lift with other frameworks which already use the same suffixes as Lift wants.

Please be more specific about your use case.  What frameworks?  How is there a conflict?
 


On Thu, Feb 10, 2011 at 11:44 AM, Timothy Perrett <tim...@getintheloop.eu> wrote:
If memory serves thats not an external API; what's your use case for this? 

Cheers, Tim

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

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



--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im
Surf the harmonics

Andreas Joseph Krogh

unread,
Feb 10, 2011, 8:17:06 AM2/10/11
to lif...@googlegroups.com
In one case *.xhtml and *.html are occupied by JSF. Currently I'm making it work by mapping /lift/* to the Lift-filter, and replicating the directory-structure there. Ideally I'd like to mix my lift-files with other view-files, which are grouped by functional domain. I'd really appreciate not having to replicate a directory-structure under /lift/* as well. I think Lift will face the challenge of co-existing side-by-side of other frameworks more and more in the future, and in order to achieve greater adoption it should be possible with as little effort as possible.

So; I would like to have Lift recognise *.lift (or any other arbitrary suffix) and mix lift-files with the JSF-view files (*.[x]html). Is it, or will it be possible?

David Pollak

unread,
Feb 10, 2011, 11:39:12 AM2/10/11
to lif...@googlegroups.com
On Thu, Feb 10, 2011 at 5:17 AM, Andreas Joseph Krogh <andrea...@gmail.com> wrote:
In one case *.xhtml and *.html are occupied by JSF. Currently I'm making it work by mapping /lift/* to the Lift-filter, and replicating the directory-structure there. Ideally I'd like to mix my lift-files with other view-files, which are grouped by functional domain. I'd really appreciate not having to replicate a directory-structure under /lift/* as well. I think Lift will face the challenge of co-existing side-by-side of other frameworks more and more in the future, and in order to achieve greater adoption it should be possible with as little effort as possible.

So; I would like to have Lift recognise *.lift (or any other arbitrary suffix) and mix lift-files with the JSF-view files (*.[x]html). Is it, or will it be possible?

It's not easily possible at this time.  You're welcome to open a ticket on the issue at http://ticket.liftweb.net.  Please reference this thread in the ticket.
 

Andreas Joseph Krogh

unread,
Feb 10, 2011, 2:29:26 PM2/10/11
to lif...@googlegroups.com
I'm too stupid to create a ticket it seems. I have an account, can view tickets, but cannot find any "Create new ticket". Hints?

Antonio Salazar Cardozo

unread,
Feb 10, 2011, 3:07:14 PM2/10/11
to lif...@googlegroups.com
You need to become a watcher of the Lift space before you can create new tickets.
Antonio

Andreas Joseph Krogh

unread,
Feb 10, 2011, 3:35:17 PM2/10/11
to lif...@googlegroups.com
Created as #891

Andreas Joseph Krogh

unread,
Feb 10, 2011, 4:39:31 PM2/10/11
to lif...@googlegroups.com
Can someone with more assembla-foo then me update the ticket with a link to this thread?
I've tried over 5 times now and the captcha never gets accepted. There also are more than one "save"-button, which confuses me even more...

Reply all
Reply to author
Forward
0 new messages