Is this a bug in Struts 2.0.6 or Dojo 0.4? Why would
there be garbage in the data argument?
Is this not the right way to subscribe to a topic?
Surely somebody out there is doing this.
Thank you,
Scott
--- Scott Nesbitt <[EMAIL PROTECTED]> wrote:
>
> Hmm, when I print out the value of the "
Hmm, when I print out the value of the "data" argument
it seems to have the complete text of the JSP (in both
before and load sections of the function.)
All the JavaScript and HTML is in this argument.
Could it be because this JSP is included from another
JSP like this?
<%@ include file="sports
Anything that you write to the output stream on your action will be
available on the "data" argument.
musachy
On 7/17/07, Scott Nesbitt <[EMAIL PROTECTED]> wrote:
For this topic:
dojo.event.topic.subscribe("/saveTopic",
function(data, type, e)
{
// data : text returned
// type : "before", "l
For this topic:
dojo.event.topic.subscribe("/saveTopic",
function(data, type, e)
{
// data : text returned
// type : "before", "load" or "error"
// e: request object
if ('load' == type)
{
}
}
When my action on the server is successful the type is
set to load and things work great. Ho
4 matches
Mail list logo