David,
that works much better. With a little help the compiler almost made it ;)
There's now another problem with that I can't fix atm (I snipped the packages 
away).

[WARNING] Channels.scala:83: error: type mismatch;
[WARNING]  found   : ChannelA.type (with underlying type object ChannelA)
[WARNING]  required: SomeMetaT
[WARNING]       List((ChannelA, "Channel A"), (ChannelB, "Channel B"))
[WARNING]             ^

//The code:

type SomeMetaT = T forSome {type T <: 
AbstractPersistentMetaChannel[AbstractPersistentChannel[T]]}

def createTypeSelect: Seq[(SomeMetaT, String)] = {
      List((ChannelA, Channel A"), (ChannelB, "Channel B"))
}


// the classes and objects:
object ChannelA extends ChannelA with AbstractPersistentMetaChannel[ChannelA]
class ChannelA extends AbstractPersistentChannel[ChannelA] {...}

Thanks for your help,
Joachim





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to