Hey Cuong,

Could you try passing a value to a template with this build?  I think 
erlydtl may not be compiling correctly.

I have this in hello.dtl:

<h1>Hello!</h1>
{{ greeting }}

And this in my controller:

hello('GET', []) ->
          {ok, [{greeting, "Hows it going?"}]}.

The "Hello" shows up but greeting is nowhere to be found.  I have a feeling 
the constructor is not even firing because this code: 

hello('GET', [] ) ->
          {output, "Hello World"}.

causes an error telling me no template is found.  It will work however if I 
put in a view called hello.html.





On Thursday, February 6, 2014 5:29:31 AM UTC-5, Cuong Thai wrote:
>
> Hi team,
>
> Someone runs make 3 times then success to build CB, because it ignores 
> errors when compiling 3 dtl files.
> *Reason*: returned values in erlytpl have been changed.
> Fail to compile with latest 
> erlydtl<https://github.com/ChicagoBoss/ChicagoBoss/issues/436> issue 
> has been opened.
> It need to be fixed soon then people can get CB to work.
>
> Regards,
> Cuong Th.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/2296946f-8136-4d01-b413-514455181655%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to