Well that's a bit embarassing, to say the least :( I think I flubbed
the build process, although it would have been flubbed days ago, so I'm
not sure how it was working during testing.
In any case, the TLD isn't in the right place in the JAR, so it isn't
being found. Until a new build can be rolled, a quick work-around is to
extract the file javawebparts_ajaxparts.tld from the
javawebparts-ajaxparts-1.0-beta5.jar JAR and place it in WEB-INF. That
should do the trick (did for me).
Sorry about that!
Frank
draegoon Z wrote:
I think we were just on two different brainwaves.
If APT still goes through the ActionForm.validate() and returns
to input page upon ActionErrors, as it should,
then APT serves all my purposes with a lot less javascript!
PS: just downloaded beta5, installed and got:
org.apache.jasper.JasperException:
/packages_jsp/ajaxparts/index.jsp(15,0) File
"/packages_jsp/ajaxparts/javawebparts/ajaxparts/taglib" not found
Think the problem is first line of packages_jsp/ajaxparts/content.jsp
-Joe
-----------------------------------------------------------------------------------
WEB DESIGN BY DRAEGOONZ
Joseph "DraegoonZ" McGranaghan
http://www.draegoonZ.com
603-620-0854
[EMAIL PROTECTED]
From: "Frank W. Zammetti" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: Struts Users Mailing List <user@struts.apache.org>
Subject: Re: Struts and AJAX
Date: Mon, 03 Jul 2006 18:51:43 -0400
draegoon Z wrote:
Why doesn't APT get this same response?
What response does it get? As far as I can see, it *SHOULD* get the
same response, the only difference would be what happens on the
client-side with it.
Why doesn't it get forwarded to the "input" page automatically,
returning it in the response?
That's exactly what should happen. If your seeing something
different, definitely let me know! :)
Does it go through the ActionForm.validate() method in the first place?
Yes, it will... assuming you were to use std:QueryString or
std:Poster, the request to the server would look no different to
Struts than a normal form submission, or GET request. It will be
processed in exactly the same way. If you used, say, std:SimpleXML,
then Struts would not automatically parse that XML or anything, you
would have to do that on your own.
I could be missing something, so feel free to yell at me, but if dojo
does it
I can't see why this shouldn't work for APT also.
Actually, I suspect it's *ME* that's missing something :) I'm not an
expert in Dojo, but I have worked with it a bit... from what you've
described here, you should be able to do the exact same thing with APT
without touching anything server-side... Well, hang on... I'm assuming
that Dojo makes a request that either has a query string attached with
the parameters, or a POST body with them... I'm pretty sure that's the
case though.
-Joe
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]