Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Path 是的,你如何用路径块来插值一条路线?_Path_Interpolation_Yesod_Hamlet - Fatal编程技术网

Path 是的,你如何用路径块来插值一条路线?

Path 是的,你如何用路径块来插值一条路线?,path,interpolation,yesod,hamlet,Path,Interpolation,Yesod,Hamlet,如果我有这样的路线 /foo/#String FooR GET POST 如何在哈姆雷特文件中插入此路径(例如,发布到?) 以下各项不起作用: <form method=post action=@{FooR} ... > <form method=post action=@{FooR}someString ... > <form method=post action=@{FooR}#someString ... > <form method=post

如果我有这样的路线

/foo/#String FooR GET POST
如何在哈姆雷特文件中插入此路径(例如,发布到?)

以下各项不起作用:

<form method=post action=@{FooR} ... >
<form method=post action=@{FooR}someString ... >
<form method=post action=@{FooR}#someString ... >
<form method=post action=@{FooR}#{some_variable} ... >

谢谢大家!

编辑:明白了。它是

<form method=post action=@{FooR some_variable} ... >