Hi, I have 2 questions about the Introduction Tutorial.

I'm using erlyweb 0.7

1) I have problems with forming the href links. From entry_view.et, if
I leave the code as it is,
I get links like:
http://localhost:8000/entry/detail/1
instead of:
http://localhost:8000/blog/entry/detail/1

I fixed this by doing dropping the first '/' from the href link.
Unfortunately the detail pages now have really messed up links like:
http://localhost:8000/blog/category/detail/entry/detail/2

Am I doing something wrong here?

2) This is a conceptual question - could someone please explain to me
the meaning behind:

<% Entry %> (from entry_view.et)
and
<% Entries %> (from category_view.et)
and
<% Data %> (from html_container_view.et)

I don't understand what these are bound to and why. My assumption for
the 1st two is that erlyweb is doing something with the 1:many and the
many:1 relations to generate these. The plural is throwing me - does
erlyweb do pluralization expansions like rails?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to