Re: [maybe OT] Detecting if a new window or tab was opened (server-side)

2011-03-16 Thread Maurizio Cucchiara
Why would you track a window open event? I don't know what exactly your requirements are but I think it should be quite simple to /intercept/block/change every mouse click event which is not the left click event through javascript. Maurizio Cucchiara Il giorno 16/mar/2011 22.26, "Wes Wannemacher

Re: [maybe OT] Detecting if a new window or tab was opened (server-side)

2011-03-16 Thread stanlick
Your questions are too difficult! Can you please rephrase? Peace, Scott On Wed, Mar 16, 2011 at 4:25 PM, Wes Wannemacher wrote: > Does anyone know of a good trick to detect whether a new window or tab > was opened by the user... > > Here is the scenario, a user is looking at a view and he/she

Re: Pluto embedded in Strstu 2.1.8.1

2011-03-16 Thread JOSE L MARTINEZ-AVIAL
Hi, This may sound silly, but which is the URL to access to the Struts2-portlet sample app? I deployed it without problem, but I don't know which URL I should access. All I got is a HTTP error 403 http://myserver/struts2-portlet Can you give me a hand with that? Thanks JL 2011/3/16 > Thank

[maybe OT] Detecting if a new window or tab was opened (server-side)

2011-03-16 Thread Wes Wannemacher
Does anyone know of a good trick to detect whether a new window or tab was opened by the user... Here is the scenario, a user is looking at a view and he/she right-clicks one of the links and chooses to open the link in a new tab or window. The original view and the new tab or window will share th

Re: Pluto embedded in Strstu 2.1.8.1

2011-03-16 Thread jlmagc
Thanks, I will take a look. JL Sent via BlackBerry from T-Mobile -Original Message- From: Nils-Helge Garli Hegvik Date: Wed, 16 Mar 2011 19:11:41 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: Re: Pluto embedded in Strstu 2.1.8.1 Hi! The Struts2 portlet

Re: Pluto embedded in Strstu 2.1.8.1

2011-03-16 Thread Nils-Helge Garli Hegvik
Hi! The Struts2 portlet sample application is set up with the pluto embedded framework. You can take a look at it to replicate the setup. Nils-H On Wed, Mar 16, 2011 at 2:59 PM, Jose Luis Martinez Avial wrote: > Hi, >    I'm looking how I can integrate an external application available > throug

Pluto embedded in Strstu 2.1.8.1

2011-03-16 Thread Jose Luis Martinez Avial
Hi, I'm looking how I can integrate an external application available through WSRP with our in-house webapp developed with Struts. I would like to check how I can embed Pluto in Struts2. Has anyone tried that? Is there any documentation or example available? TIA JL Internet communicat

RE: RE: loading Dropdown dynamically from database

2011-03-16 Thread Biesbrock, Kevin
I feel like this should be added to the documentation, too. ::snicker:: Sorry, OT. Beez -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Wednesday, March 16, 2011 9:43 AM To: Struts Users Mailing List Cc: JavaNoobie87 Subject: Re: RE: loading Dropdown dynamicall

Re: RE: loading Dropdown dynamically from database

2011-03-16 Thread Dave Newton
On Wed, Mar 16, 2011 at 8:35 AM, JavaNoobie87 wrote: > I tried the same but  my drop down becomes empty when i run the jsp and the > source generated from the select tag is as follows > >    --Select-- > Please advise. Please use plain-text messages. "The pastebin" isn't an attached message, it's

Re: RE: loading Dropdown dynamically from database

2011-03-16 Thread JavaNoobie87
Guess that didnt load properly. Heres the pastebin for that snippet. http://struts.1045723.n5.nabble.com/file/n3779718/ajms2KeY.txt snippet.txt -- View this message in context: http://struts.1045723.n5.nabble.com/loading-Dropdown-dynamically-from-database-tp3555885p3779718.html Sent from the Str

Re: RE: loading Dropdown dynamically from database

2011-03-16 Thread JavaNoobie87
JOSE L MARTINEZ-AVIAL wrote: > > Check the documentation for the tag > > http://struts.apache.org/2.0.14/docs/select.html > > I was referring to the attribute 'name', which indicates the name used to > get the select value from the Action, and also to send the value back to > the > server. It

Re: RE: loading Dropdown dynamically from database

2011-03-16 Thread JOSE L MARTINEZ-AVIAL
Check the documentation for the tag http://struts.apache.org/2.0.14/docs/select.html I was referring to the attribute 'name', which indicates the name used to get the select value from the Action, and also to send the value back to the server. It should be something like this . With respect to

Re: RE: loading Dropdown dynamically from database

2011-03-16 Thread JavaNoobie87
JOSE L MARTINEZ-AVIAL wrote: > > Well, the NPE is due to the fact that you are setting declaring dt_oid as > an > Integer(which can be null) but in the method listdomain is an int. The JVM > automatically tries to convert Integer to int, but if it's null, it will > throw a NPE, since an int can n