Mercurial > urweb
comparison tests/url.ur @ 717:e28637743279
URLs
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 09 Apr 2009 16:36:50 -0400 |
parents | |
children | c125df6fabfc |
comparison
equal
deleted
inserted
replaced
716:a6941960f459 | 717:e28637743279 |
---|---|
1 val url = "http://www.yahoo.com/" | |
2 | |
3 fun readersChoice r = return <xml><body> | |
4 <a href={bless r.Url}>Your pick, boss</a> | |
5 </body></xml> | |
6 | |
7 fun main () : transaction page = return <xml><body> | |
8 <a href="http://www.google.com/">Google!</a> | |
9 <a href={bless url}>Yahoo!</a><br/> | |
10 <br/> | |
11 | |
12 <form><textbox{#Url}/> <submit action={readersChoice}/></form> | |
13 </body></xml> |