
|
Re: [dwr-security] Dynamic text example help request.
This email came to the DWR security mailing list just now. It does not belong there, and reduces the effect that real security notifications have. I have removed the post and deleted the user from the group. I generally do not offer help to anyone that abuses the help system.
Joe. On Fri, Oct 23, 2009 at 2:46 PM, tangluo <hijtang@...> wrote:
Hi there,
I have a problem with the dynamic update text for your help. It can be
seen as an example from
http://butterdev.com:8080/dwr/simpletext/index.html
In "index.js", I add 'alert("demo reply: " + dwr.util.getValue
("demoReply"));' as below:
function update() {
var name = dwr.util.getValue("demoName");
Demo.sayHello(name, function(data) {
dwr.util.setValue("demoReply", data);
});
alert("demo reply: " + dwr.util.getValue("demoReply"));
}
I fill "Joe" into the "Name" field and click "Send" button, the
"Reply" field shows "Hello, Joe", but the alert box only shows "demo
reply:". , then I change the name to "Jim" and click "Send" button
again, the "Reply" field show "Hello, Jim", but the alert box only
shows "demo reply: Hello, Joe", the last input.
Any idea to let the alert box show the input immediately?
Thanks in advance.
Jim Tang
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "dwr-security" group.
Please DO NOT forward mails outside of this list in any form, unless you are totally sure that the security of DWR users' systems' will not be harmed in any way by your action.
To post to this group, send email to dwr-security@...
To unsubscribe from this group, send email to dwr-security-unsubscribe@...
For more options, visit this group at http://groups-beta.google.com/group/dwr-security?hl=en
-~----------~----~----~----~------~----~------~--~---
|

|
Re: Re: [dwr-security] Dynamic text example help request.
Thanks Joe. On Fri, Oct 23, 2009 at 12:11 PM, Joe Walker <joe@...> wrote:
This email came to the DWR security mailing list just now. It does not belong there, and reduces the effect that real security notifications have. I have removed the post and deleted the user from the group. I generally do not offer help to anyone that abuses the help system.
Joe.
On Fri, Oct 23, 2009 at 2:46 PM, tangluo <hijtang@...> wrote:
Hi there,
I have a problem with the dynamic update text for your help. It can be
seen as an example from
http://butterdev.com:8080/dwr/simpletext/index.html
In "index.js", I add 'alert("demo reply: " + dwr.util.getValue
("demoReply"));' as below:
function update() {
var name = dwr.util.getValue("demoName");
Demo.sayHello(name, function(data) {
dwr.util.setValue("demoReply", data);
});
alert("demo reply: " + dwr.util.getValue("demoReply"));
}
I fill "Joe" into the "Name" field and click "Send" button, the
"Reply" field shows "Hello, Joe", but the alert box only shows "demo
reply:". , then I change the name to "Jim" and click "Send" button
again, the "Reply" field show "Hello, Jim", but the alert box only
shows "demo reply: Hello, Joe", the last input.
Any idea to let the alert box show the input immediately?
Thanks in advance.
Jim Tang
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "dwr-security" group.
Please DO NOT forward mails outside of this list in any form, unless you are totally sure that the security of DWR users' systems' will not be harmed in any way by your action.
To post to this group, send email to dwr-security@...
To unsubscribe from this group, send email to dwr-security-unsubscribe@...
For more options, visit this group at http://groups-beta.google.com/group/dwr-security?hl=en
-~----------~----~----~----~------~----~------~--~---
|

|
Re: Re: [dwr-security] Dynamic text example help request.
The guy may not know English very well, which may be why he wrote to the security list (may have been confused). I wrote him back and told him to write to the users list. I need to enroll in the security list.
On Fri, Oct 23, 2009 at 12:16 PM, David Marginian <david@...> wrote:
Thanks Joe. On Fri, Oct 23, 2009 at 12:11 PM, Joe Walker <joe@...> wrote:
This email came to the DWR security mailing list just now. It does not belong there, and reduces the effect that real security notifications have. I have removed the post and deleted the user from the group. I generally do not offer help to anyone that abuses the help system.
Joe.
On Fri, Oct 23, 2009 at 2:46 PM, tangluo <hijtang@...> wrote:
Hi there,
I have a problem with the dynamic update text for your help. It can be
seen as an example from
http://butterdev.com:8080/dwr/simpletext/index.html
In "index.js", I add 'alert("demo reply: " + dwr.util.getValue
("demoReply"));' as below:
function update() {
var name = dwr.util.getValue("demoName");
Demo.sayHello(name, function(data) {
dwr.util.setValue("demoReply", data);
});
alert("demo reply: " + dwr.util.getValue("demoReply"));
}
I fill "Joe" into the "Name" field and click "Send" button, the
"Reply" field shows "Hello, Joe", but the alert box only shows "demo
reply:". , then I change the name to "Jim" and click "Send" button
again, the "Reply" field show "Hello, Jim", but the alert box only
shows "demo reply: Hello, Joe", the last input.
Any idea to let the alert box show the input immediately?
Thanks in advance.
Jim Tang
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "dwr-security" group.
Please DO NOT forward mails outside of this list in any form, unless you are totally sure that the security of DWR users' systems' will not be harmed in any way by your action.
To post to this group, send email to dwr-security@...
To unsubscribe from this group, send email to dwr-security-unsubscribe@...
For more options, visit this group at http://groups-beta.google.com/group/dwr-security?hl=en
-~----------~----~----~----~------~----~------~--~---
|