Permalink
Browse files

fixed twitter page. lol

  • Loading branch information...
1 parent 9965d5f commit a743d4b1303dfec11720b9539957f6180e61c0c8 @choptastic committed Dec 4, 2010
Showing with 7 additions and 2 deletions.
  1. +7 −2 src/twitter.erl
View
@@ -8,11 +8,16 @@ main() -> #template{file="site/templates/bare.html"}.
title() -> "Twitter Example with Comet".
body() ->
- "<b>Hello</b><input type=text value=whatever>",
LastSearchTerm = wf:session_default(twitterterm,"Erlang"),
wf:wire(search,term,#validate{validators=[
#is_required{text="Required"}
- ]}).
+ ]}),
+ #panel{id=wrapper,body=[
+ #textbox{id=term,text=LastSearchTerm},
+ #button{id=search,postback=search,text="Search"},
+ #span{id=controllers},
+ #span{id=results}
+ ]}.
event(pause) ->

0 comments on commit a743d4b

Please sign in to comment.