Yesod: embedding the output of a route in hamlet
            
            
            
                14 Oct
                
                    2010
                
            
            
                14 Oct
                
                '10
                
            
            
            
        
    
                1:28 p.m.
            
        Is it possible, without using AJAX, to easily embed the output of a route in Hamlet? For instance: getItemDataR :: String -> Handler RepHtml getItemDataR = defaultLayout $ addBody [$hamlet| .... getAllItemsR :: Handler RepHtml getAllItemsR = defaultLayout $ addBody [$hamlet| $forall ls i ^ItemDataR.i^ where ls = ["a","b","c"] something like that? Thanks, Max
        5500
        
      
          Age (days ago)
        
      
        5500
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                
Max Cantor