Hello,
I believe that your expectation about what should be happening here is
not correct.
Think about the flow of events... When you change a combo box, you
construct the query string and then submit that to your myAction Action.
This Action prepares the data, sets the collections in request
Hi all,
I try to use XmlHttpRequest, but I can't
successfully.I have a form which is composed of 5
select boxes and on each of them, I have onchange =
"submitData()" ( taken from Zammetti's sample
:)).Every combo data changes each time one
changes.Anyway below the code:
Kurum Kodu :
On 5/2/05, Jason Lea <[EMAIL PROTECTED]> wrote:
> Just a quick note/question about Craig's code below:
>
> This line
>
> ${category.label}
>
> will output the value with not xml filtering, so some values will cause
> incorrect xml to be generated.
>
> You should use tag to filter the <,>,
Just a quick note/question about Craig's code below:
This line
${category.label}
will output the value with not xml filtering, so some values will cause
incorrect xml to be generated.
You should use tag to filter the <,>,',", and & characters to
output <, >, ', ", and &
and the same for
Woodchuck wrote:
JSTL is da bomb! :)
Does this mean... we can drop it?
Eh, it's Friday, whaddya want.
Seriously, I hate all that typing-JSP 2.0 may save my wrists.
Dave "What do you mean, Monday?" Newton
-
To unsubscribe, e-ma
On 5/2/05, Woodchuck <[EMAIL PROTECTED]> wrote:
> JSTL is da bomb! :)
Indeed it is. If you actually need to create XML in a response to an
XmlHttpRequest call from an Ajax client side gadget :-), here's an
approach using a JSP 2.0 page (in xml syntax) that uses JSTL to
iterate over a result set
JSTL is da bomb! :)
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
> Dakota Jack wrote the following on 5/2/2005 4:01 PM:
> >
> > The other aspect that is not discussed above is the removal of the
> > complexity from the "page". This is where JSP, Taglibs, etc., come
> > into the picture. And, I
Yes, Rick, exactly!
On 5/2/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Dakota Jack wrote the following on 5/2/2005 4:01 PM:
> >
> > The other aspect that is not discussed above is the removal of the
> > complexity from the "page". This is where JSP, Taglibs, etc., come
> > into the picture. An
Dakota Jack wrote the following on 5/2/2005 4:01 PM:
The other aspect that is not discussed above is the removal of the
complexity from the "page". This is where JSP, Taglibs, etc., come
into the picture. And, I suspect, you two are talking about a
combination of this problem (keeping the page si
I thought I would toss in a couple of philosophical points about the
HTML being created in the action. As we know, the "technologies" of
Servlets and Taglibs essentially mask the fact that HTML is created
other than on the page. I won't complete all my thinking on that.
Just tossing that into th
Frank W. Zammetti wrote the following on 5/2/2005 3:33 PM:
The fifth example in my webapp from the article shows this,
Perfect thanks. I should have looked at all of these before posting:)
--
Rick
-
To unsubscribe, e-mail: [EMAIL
Woops, a couple of typos in there...
When I talked about "...all the outputting of HTML would be removed...", I
was referring to removing what you see now in the Action.
And the first line of that JSP code should read:
<% ArrayList sortedPresidentsList =
(ArrayList)request.getAttribute("sortedPr
Sure! :)
Basically view the entire server portion as one piece... at the end of
whatever it is that it does, it's returning HTML (whether it's a complete
page, as usual, or just a snippet, like with Ajax techniques usually).
Whether that HTML is written directly to response in an Action or a JSP
Frank W. Zammetti wrote the following on 5/2/2005 2:53 PM:
I think most people would tell you to forward to a JSP to generate what
really amounts to just a snippet of HTML...
I'm confused though, you can do that? In other words you can make an
XMLHttpRequest from one JSP that goes to an Action a
Frank W. Zammetti wrote the following on 5/2/2005 2:53 PM:
Sometimes I think we all get so wrapped up in trying to achieve the
perfect architecture that we overcomplicate things...
amen brotha' Preaching to the choir:)
--
Rick
-
T
Hmm... well, if I was doing something like that in real life I might well
do it from the Action :) That doesn't make it the generally accepted
"right answer' thought.
I think most people would tell you to forward to a JSP to generate what
really amounts to just a snippet of HTML... IIRC, one of m
Feel free, link away!
If you like that, I suggest taking a peak at the ajaxtags... it's even
better when you don't have to write the code yourself, just throw an entry
in a config file :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Mo
Frank W. Zammetti wrote the following on 5/2/2005 2:18 PM:
Glad your enjoying it Rick! I hope you find something useful in it too. :)
I see in your examples you make the note about writing the HTML in your
Action is bad form, but I'm curious then how you handle this in real
life. For example, lo
Frank W. Zammetti wrote the following on 5/2/2005 2:18 PM:
Glad your enjoying it Rick! I hope you find something useful in it too. :)
I like learning from examples and your examples ARE AWESOME
If you don't mind, I'm going to link your article from Struttin With
Struts http://www.reumann.
Glad your enjoying it Rick! I hope you find something useful in it too. :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Mon, May 2, 2005 2:00 pm, Rick Reumann said:
> Thanks for your Ajax/Struts PDF Frank. Reading it right now. Good st
Thanks for your Ajax/Struts PDF Frank. Reading it right now. Good stuff.
Frank W. Zammetti wrote the following on 5/2/2005 1:40 PM:
Because of some technical difficulties that are being worked on (not with
AjaxTags itself though), there is no official download available yet, of
the updated taglib o
Because of some technical difficulties that are being worked on (not with
AjaxTags itself though), there is no official download available yet, of
the updated taglib or the sample app. You would get it in exploded format
as well, but that's probably not a big deal to anyone.
If you want to play w
Frank,
Where can I find ajaxsample.war ?
--
С уважением,
Sergey mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
23 matches
Mail list logo