--- On Thu, 12/18/08, elyes sallem wrote:
> so if an action is a html for you, sorry, but now i'm too busy to
> explain to you the difference
No, the action is the Java part. The HTML part is generated by the JSP
page--this is also where the JavaScript layer lives.
Unless you're writing an appl
Actions do not control the users browser and therefore can't create popups.
JSP Pages are sent to the browser which can contain Javascript which can
do what you want.
Follow Nils-H's links to see how to do create a pop-up in a page, and
the Struts2 tutorials (http://struts.apache.org/2.x/docs
And also, you should try and loose that attitude. People here is trying to
help and remember that they are taking the time to read and answer emails
for FREE, so we should appreciate their efforts.
Carlos Luis Zúñiga Sibaja
__
carlosluiszun...@gmail.com
divide et imp
I'm sorry if it offended you, but if you cared to take some of our
advices, you might understand that we're actually trying to help.
Nils-H
On Thu, Dec 18, 2008 at 6:21 PM, elyes sallem wrote:
> if you are an expert in web dev
> hmm ..., my answer i never make web dev ... i'm too modest
> nice
Just to get this straight
You _are_ developing a web application? Or are you creating an applet?
Have you done web application development before? If not, I suggest
that you take some time learning the basics and fundamentals of web
application/servlet development. As always, google is a good
2008/12/18 elyes sallem :
> my question was :
>>i wanna call javascript from an action class,
>>any one has an example?
> so if an action is a html for you, sorry, but now i'm too busy to explain to
> you the difference
Ok I try to explain myself.
To show a popup in a browser you need a Javascript
my question was :
>i wanna call javascript from an action class,
>any one has an example?
so if an action is a html for you, sorry, but now i'm too busy to explain to
you the difference
have a nice day ...
Elyes
2008/12/18 Antonio
> 2008/12/18 elyes sallem :
> > those who are interested :
>
2008/12/18 elyes sallem :
> those who are interested :
> example to call javascript via java :
> http://java.sun.com/developer/technicalArticles/J2SE/Desktop/scripting/
Eh... I suppose that you don't understand your own questions :-D
This is an article about using of Javascript in Java programs, n
2008/12/18 elyes sallem :
> i'm not sure
Yes he did
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
i'm not sure
Elyes
2008/12/18 Nils-Helge Garli Hegvik
> On Thu, Dec 18, 2008 at 5:04 PM, elyes sallem
> wrote:
> > dou you understand my question first?,
>
> Yes.
>
> Nils-H
>
> -
> To unsubscribe, e-mail: user-unsubscr...@stru
On Thu, Dec 18, 2008 at 5:04 PM, elyes sallem wrote:
> dou you understand my question first?,
Yes.
Nils-H
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
dou you understand my question first?,
i don't want to display a confirmation message from a javascript
i wanna display it from an action, so from java class
i wanna make query in database
depending on the result of the query,
i will display the pop up
and second time, depending on the user is resp
As mentioned, google is a good source for information:
http://www.google.com/search?q=javascript+tutorial
http://www.google.com/search?q=javascript+popup
Nils-H
On Thu, Dec 18, 2008 at 4:40 PM, elyes sallem wrote:
> i wanna display a pop up information
>
> 2008/12/18 Nils-Helge Garli Hegvik
>
Usually, you do those things with javascript in the browser. I suggest
that you google for a web application/javascript tutorial.
Nils-H
On Thu, Dec 18, 2008 at 4:38 PM, elyes sallem wrote:
> in fact , i wanna display a message from an action
> i won't use joptionPane
> is there an alternative,
i wanna display a pop up information
2008/12/18 Nils-Helge Garli Hegvik
> I would be a lot easier to help if you gave some examples what you're
> actually trying to do. Invoking javascript from the action doesn't
> make much sense. Please provide som more information.
>
> Nils-H
>
> On Thu, Dec
I would be a lot easier to help if you gave some examples what you're
actually trying to do. Invoking javascript from the action doesn't
make much sense. Please provide som more information.
Nils-H
On Thu, Dec 18, 2008 at 4:27 PM, elyes sallem wrote:
> Hello,
> i wanna call javascript from an ac
in fact , i wanna display a message from an action
i won't use joptionPane
is there an alternative, for a web application
2008/12/18 Lukasz Lenart
> 2008/12/18 elyes sallem :
> > Hello,
> > i wanna call javascript from an action class,
> > any one has an example?
>
> DWR 2.0 should have such fu
2008/12/18 elyes sallem :
> Hello,
> i wanna call javascript from an action class,
> any one has an example?
DWR 2.0 should have such functionality.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-un
18 matches
Mail list logo