You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openEliom_contentlet links =Eliom_registration.Html.create
~path:(Eliom_service.Path ["rep";"links"])
~meth:(Eliom_service.GetEliom_parameter.unit)
(fun()() ->
Lwt.return
Html.D.(
html
(head (title (txt "Links")) [])
(body
[p
[a theservice [txt "coucou"] (); br ();
a hello [txt "hello"] (); br ();
a default
[txt "default page of the dir"] (); br ();
However, D.a seems to require services be supplied with the ~service label. I gave a quick search on the ocsigen org to see where I would update this document, but didn't find an obvious file. If this needs updating, I can do it for this example if I get a pointer to the relevant file.
The text was updated successfully, but these errors were encountered:
On https://ocsigen.org/eliom/dev/manual/server-links I find an example of how to create links like this:
However,
D.a
seems to require services be supplied with the~service
label. I gave a quick search on theocsigen
org to see where I would update this document, but didn't find an obvious file. If this needs updating, I can do it for this example if I get a pointer to the relevant file.The text was updated successfully, but these errors were encountered: