Hi Andrès,
There is no particular reason why forms are used instead of links.
When the templates were created this was probably what my customer
preferred. The sources of the templates are packaged in the rife crud
templates jar, it's thus quite easy to customize this and use links
instead.
I hope this helps,
Geert
On 28 Jun 2006, at 12:13, Andrés González wrote:
Hi. I've been looking into the HTML code generated in eCalendar. The
code generated for the actions "Browse" "Add" etc. is something like:
(...)
<form name="edit-1" action="/admin/author/edit" method="get"><input
name="authorid" type="hidden" value="1" /><input name="submit"
type="submit" value="Edit" /></form>
<form name="delete-1" action="/admin/author/delete"
method="get"><input name="authorid" type="hidden" value="1" /><input
name="submit" type="submit" value="Delete" /></form>
(...)
My completely irrelevant question (just for curiosity) is: why user
forms and not links? I mean, instead of the above use:
<a href="/admin/author/edit?authorid=1">Edit</a>
<a href="/admin/author/delete?authorid=1">Edit</a>
and afford son network bytes... :)
I'm very little experienced in the presentation part of web
development, so anyone can respond that this is a complete silly
thing... i won't get angry :)
Cheers.
--
-=-=-=-=-=-=-=-=-=-=-=-=-
Andrés González.
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users