[S1] Struts JavaScript Validation staticJavascript generates too much code

2007-05-09 Thread Antony Stubbs
Having staticJavascript=true generates *all* the validation functions specificed in struts-validators.xml (?) even if the form it's generating for only uses the REQUIRED validator. Is there a way to minimise the javascript generated? I'm going to try a work around, where I've extracted the gene

Re: [S1] Application container during development for fastest code/test cycle?

2007-05-06 Thread Antony Stubbs
Thanks for the info! And yes I did mean JNDI (slaps head!). Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Antony, > > Antony Stubbs wrote: >> We're developing a Struts application which will be deployed onto >> Web

Re: [S1] Application container during development for fastest code/test cycle?

2007-05-06 Thread Antony Stubbs
James Mitchell-7 wrote: > > Actually, you can use Maven with any structure you like. As far as > dealing with funky jndi, combining the powers of Maven and Spring > would take care of those concerns. > > What issue are you having? > > > -- > James Mitchell

Re: [S1] Application container during development for fastest code/test cycle?

2007-05-02 Thread Antony Stubbs
he.org/repos/asf/struts/struts2/tags/ > STRUTS_2_0_6/apps/mailreader/ > $ cd mailreader > $ mvn jetty:run > > Open your browser to localhost:8080/struts2-mailreader/ > > Have fun! > > > -- > James Mitchell > > > > On May 1, 2007, at 6:16 PM, Antony Stubbs

[S1] Application container during development for fastest code/test cycle?

2007-05-01 Thread Antony Stubbs
We're developing a Struts application which will be deployed onto Websphere eventually. However, I find Websphere very heavy weight do use during development - publishing seems to take for ever, and seems as thought for many changes it must be restarted. What's a common container to use during d

Re: Can we *please* havea seperate Struts *2* - User list?

2007-04-10 Thread Antony Stubbs
I don't think apache.org run forums, only moderate mailing lists. I think they advocate using http://www.nabble.com/. I think for a start, simply a separate list for Struts 2 would be a massive help. Asaf Paris Mandoki wrote: > > How could we get a forum? > Is there a way to get a place at ope

Re: Can we *please* havea seperate Struts *2* - User list?

2007-04-10 Thread Antony Stubbs
Seriously, have you tried http://www.nabble.com/forum/ViewPost.jtp?post=9930952&framed=y ??? Zoran Avtarovski wrote: > > +1 for using a forum. It saves having to archive the whole list locally to > keep track of threads. This is particularly relevant with S2 where we're > trying to keep track o

Re: Can we *please* havea seperate Struts *2* - User list?

2007-04-10 Thread Antony Stubbs
I completely agree. In fact, I quite like the forum the Spring guys use. (esp with the question / answered functionality). I imagine a lot of people (as i do) treat this list as a forum, esp through archives like Nabble.com which I use. Asaf Paris Mandoki wrote: > > Wouldn't a forum be more ap

Re: Can we *please* havea seperate Struts *2* - User list?

2007-04-10 Thread Antony Stubbs
t's the situation, and in this situation the lists should be seperate IMO. Dave Newton-4 wrote: > > --- Antony Stubbs <[EMAIL PROTECTED]> wrote: >> This list seems to be quite busy, and I think >> everyone would benefit hugely from separating out > the >> two

Can we *please* havea seperate Struts *2* - User list?

2007-04-10 Thread Antony Stubbs
This list seems to be quite busy, and I think everyone would benefit hugely from separating out the two frameworks for obvious reasons. Actually I'm surprised this hasn't been done already. Most notably is that the S2 posts won't get drowned out by S1 posts but perhaps developers should get a look

Re: S2 Action Validation

2007-04-10 Thread Antony Stubbs
Personally I would suggest nabble.com google for "nabble struts user" Dave Newton-4 wrote: > > --- [EMAIL PROTECTED] wrote: >> Beyond this, how do I get an S2 action class to >> display a message on the web page? > > See > > http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony

[s2] can't access s:action tag result when validation fails

2007-04-10 Thread Antony Stubbs
I have a simple test case for using the action tag like so: test= the EventProfile.list() instantiates the EventProfile.test property. Going to this jsp page via the !input method, the result is retrieved and we get the ouput something like "test=testString", exactly as expected. But, if i sub

Re: Validation Annotations

2007-04-09 Thread Antony Stubbs
I have the same issue. atm I send everything to !input which is by default excluded from validation. But try looking at something like this in your struts.xml: edit,create I haven't tried it yet, not quite sure how it works. You can see here that by default, input, back and ca

Re: [S2] Struts2 / Websphere not throwing/reporting exceptions properly

2007-04-04 Thread Antony Stubbs
I have submitted a PMR to IBM: 56311 999 616 and am awaiting a response... Antony Stubbs wrote: > > Code within one of my Struts 2 actions is throwing an exception, which > doesn't seem to be being reported correctly. Websphere just seems to come > back with error 4

[S2] Struts2 / Websphere not throwing/reporting exceptions properly

2007-04-04 Thread Antony Stubbs
Code within one of my Struts 2 actions is throwing an exception, which doesn't seem to be being reported correctly. Websphere just seems to come back with error 404 page not found. After stepping through the Struts2 class code in eclipse I found that an exception was being thrown by a library I

Re: Editing the Struts Wiki

2007-04-04 Thread Antony Stubbs
Yes, as I was riding along on my bike it occurred to me that I should check that...! Hmm, license agreements Will have to get clearance from management. Dave Newton-4 wrote: > > --- Antony Stubbs <[EMAIL PROTECTED]> wrote: >> Is it possible to get access to edit

Re: s:autocompleter Ajax theme Fatal error, emptyoption and tooltip

2007-04-04 Thread Antony Stubbs
Sorry, yes. Musachy Barroso wrote: > > Which version are you using? 2.0.6? > > musachy > > On 4/4/07, Antony Stubbs <[EMAIL PROTECTED]> wrote: >> >> >> Actually, the same error appears just having a s:textfield with a tooltip >> - >

Editing the Struts Wiki

2007-04-04 Thread Antony Stubbs
Is it possible to get access to edit the Struts Wiki? I would like to add the information gained from the problems described in this thread: http://www.nabble.com/forum/ViewPost.jtp?post=9835495&framed=y I would also like to be able to add some more examples to the tag reference pages as they're

Re: s:autocompleter Ajax theme Fatal error, emptyoption and tooltip

2007-04-04 Thread Antony Stubbs
Actually, the same error appears just having a s:textfield with a tooltip - but the tooltip does render. This is with btw. Antony Stubbs wrote: > > Using the s:autocompleter Ajax themed tag and trying to set a tooltip, I > get a > FATAL exception raised: Co

s:autocompleter Ajax theme Fatal error, emptyoption and tooltip

2007-04-04 Thread Antony Stubbs
Using the s:autocompleter Ajax themed tag and trying to set a tooltip, I get a FATAL exception raised: Could not load 'dojo.widget.html.Tooltip'; last tried '__package__.js' and no tooltip is displayed. The autocompleter Ajax theme also doesn't seem to render the label - missing functionality? I

Re: [S2] - [FIXED!] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-04-03 Thread Antony Stubbs
Just as an after thought - perhaps this should be added to the wiki somewhere? I would be happy to add a summary if someone would suggest an appropriate place to put it? Installation notes? (NB: If installing on Websphere 6 <> 6.1.05 etc).... Antony Stubbs wrote: > > Just mark

Re: [S2]-[FIXED!] struts2-showcase in Websphere 6.1 not picking up static resources

2007-04-03 Thread Antony Stubbs
Forgot to mark as fixed again(!) Antony Stubbs wrote: > > Fixed!! > > Had to set the com.ibm.ws.webcontainer.invokefilterscompatibility to true > to get the Struts2 and Sitemesh filters to work with 6.1.0.5 along with an > interim fix for http://www-1.ibm.com/suppo

Re: [S2] struts2-showcase in Websphere 6.1 not picking up static resources

2007-04-03 Thread Antony Stubbs
lude a couple > of different directories to fix all errors Firebug was complaining about. > > Alex > > > > Antony Stubbs wrote: >> >> Hi Alkira, >> >> Could you please elaborate on your fix? Did you manually install Dojo and >> NiftyScript into

Re: [S2] - [FIXED!] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-04-03 Thread Antony Stubbs
Just marking as fixed. Antony Stubbs wrote: > > Great news guys - problems solved. Everything now seems to be working > great. > > So - to get it working, i installed the 6.1.0.5 fix pack, and the > http://www-1.ibm.com/support/docview.wss?rs=0&uid=swg24014758 int

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-04-03 Thread Antony Stubbs
s custom property even if you upgrade the WAS. I tried this and it appears to work for me. Here's a similar issue: http://www-1.ibm.com/support/docview...=utf-8&lang=en Note, that I have some other apps using Acegi 1.0.2 on WebSphere 6.1.0.3 and they weren't having this issue, so it&

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-04-03 Thread Antony Stubbs
Ok, after installing Websphere 6.1 update pack (6.1.0.5-WS-WAS-IFPK33090), I know get a worse result. It seems that the struts2 filter isn't even being run? now *all* i get is "Error 404: SRVE0190E: File not found: /eventProfile.action" printed to the screen, and *nothing* in the logs. ugh. It a

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-04-02 Thread Antony Stubbs
Just double checked your fix, still doesn't work for me. I will let you know how it goes after I finish installing the fix packs. Antony Stubbs wrote: > > Yes I have tried your solution, and I still get those messages, along with > the lines appended to my js files. > >

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-04-02 Thread Antony Stubbs
defining the filterdispatcher. > > But the AJAX problem is still not solved. I'm hoping that someone in > Struts2 team would start to investigate this issue... > > - Tapio > > > On Tue, 03 Apr 2007 06:19:36 +0300, Antony Stubbs > <[EMAIL PROTECTED]> wrot

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-04-02 Thread Antony Stubbs
FYI - the same thing is occuring the the struts-blank.war application. (i.e. the Cannot set status / header. Response already committed messages.) I have even downloaded the 2.0.7 release and tried using that - no difference. Antony Stubbs wrote: > > Looks like I've hit the s

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-04-02 Thread Antony Stubbs
Looks like I've hit the same http://www.nabble.com/Config-Browser-half-works---java.io.FileNotFoundException-tf3503552.html#a9785373 problem . Any news? The fix you posted to doesn't work, however it does make the errors show faster. It breaks my dojo js, because WebSphere appends the error messa

Re: Config-Browser half works - java.io.FileNotFoundException

2007-04-01 Thread Antony Stubbs
e plugin version) but have removed it. Am now currently using struts, struts2 and the struts2 plugins code-behind and using a zero-configuration setup. Any ideas would could be causing this? Antony Stubbs wrote: > > Ok strange... I think what I am seeing is Config-Browser working correc

Re: Config-Browser half works - java.io.FileNotFoundException

2007-04-01 Thread Antony Stubbs
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510) Caused by: java.io.FileNotFoundException: /images/nw_maj_rond.gif at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:362) ... 22 more Antony Stubbs wrote: >

Config-Browser half works - java.io.FileNotFoundException

2007-04-01 Thread Antony Stubbs
I'm trying to get up and running with Struts2 on an old Struts1 project (i.e. want to use both at the same time). During my travels of trying to get running, I've tried using the config-browser. *but* it only half works for me. I get the top half of the screen correctly showing the namespaces etc

Re: [S2] struts2-showcase in Websphere 6.1 not picking up static resources

2007-04-01 Thread Antony Stubbs
Hi Alkira, Could you please elaborate on your fix? Did you manually install Dojo and NiftyScript into the showcase war and publish it? I can't find the /struts/ directory within the war that firebug is reporting doesn't exist: "Error 404: SRVE0190E: File not found: /struts/dojo/dojo.js" alkira