Hi All,

I am trying to type cast an scala object to its mapper object

1     def getJSONString(anyObject :Object):NodeSeq = {

2             var obj = anyObject.asInstanceOf[anyObject.getClass
().getName()];

3             obj.findAll.map(userdetails => {
                    // some code will go here
             }
             Text("any string")
      }


but i am getting erroe as "expected [ but found (" on line 2.

please help me to typecast the object to its mapper object.

Thanks
Amit Kumar Verma

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

Reply via email to