You probably figured this out already, but the problem you were running
into was that you put "#comments" at the end of the forms action url.
you don't want to do that. Just strip that part out and it should work.
-- Allen
Java Web Development wrote:
I'm working on implementing threaded comments and I'm pretty much done but
in trying to clean things up I ran into a problem.
I have a form I'm using to submit the reply request.
<form method="post" action="$url.entry($entry.anchor)#comments"
name="commentForm">
<input type="hidden" name="method" value="reply" />
<input type="hidden" name="parentId" value="$comment.id" />
<input type="submit" class="button" name="reply" value=" Reply "
/>
</form>
If I run it as is I get the roller page not found page. I haven't been able
to figure out how to attach the debugger in netbeans yet to help me trace
the problem.
The execution doesn't even get to the CommentServlet doPost method and I
haven't been able to figure out where it's failing.
If I include a hidden input field for content it works.
Anyone know where this might be failing or how to get the debugger to work
in netbeans with roller?
Thanks