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 marking as fixed. > >

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/support/docview.wss?uid=swg24014

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

2007-04-03 Thread Antony Stubbs
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/support/docview.wss?uid=swg24014758 PK33090 . More details here: http://www.nabble.com/forum/ViewPos

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 interim fix > for PK33090 . Ther

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

2007-04-03 Thread Antony Stubbs
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 interim fix for PK33090 . There is another related issue:PK27620. Now here's the key - wha

Re: S2 life cycle

2007-04-03 Thread tom tom
Thanks, Any samples or documenation around for me to refer. I followed this http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html but didnt work. Thanks --- Dave Newton <[EMAIL PROTECTED]> wrote: > --- tom tom <[EMAIL PROTECTED]> wrote: > > How can I have a reference to the

Re: S2 life cycle

2007-04-03 Thread Dave Newton
--- tom tom <[EMAIL PROTECTED]> wrote: > How can I have a reference to the form class inside > the action class. I did the following > > 1) Wrote a action class which implements > ScopedModelDriven interface, the argo is not null > inside setModel(Object arg0)method in the action > class but I ca

Re: Conditional validation in Struts.

2007-04-03 Thread Dave Newton
--- "Peter L. Berghold" <[EMAIL PROTECTED]> wrote: > Consider the following sniglet from my > validation.xml: > > depends="requiredif"> > > > field[0] > dropins_allowed_rq > > > fieldTest[0] > EQUALS > > > fieldValue[0] > on > > What version of Struts are you using? IIRC requiredif was d

Re: S2 life cycle

2007-04-03 Thread tom tom
Actually the two concerns I stated in my previous mail were regarding the ScopedModelDriven Anyhow I am proceeding with ScopedModelDriven assuming I can achieve the two concerns I have even with ScopedModelDriven. How can I have a reference to the form class inside the action class. I did the fo

Re: integrating Tiles in Struts2

2007-04-03 Thread Dave Newton
--- Marco Carnevale <[EMAIL PROTECTED]> wrote: > I was looking at the Confuence Documentation > yesterday and I see the corrections have already been > made to the information in Confluence. Unfortunatly > the updates have not propogated to the link I > mentioned in the previous e-mail. They'll

Re: integrating Tiles in Struts2

2007-04-03 Thread Marco Carnevale
I was looking at the Confuence Documentation yesterday and I see the corrections have already been made to the information in Confluence. Unfortunatly the updates have not propogated to the link I mentioned in the previous e-mail. On 4/3/07, Greg Reddin <[EMAIL PROTECTED]> wrote: On 4/2/07, Mar

Conditional validation in Struts.

2007-04-03 Thread Peter L. Berghold
Consider the following sniglet from my validation.xml: field[0] dropins_allowed_rq fieldTest[0] EQUALS fieldValue[0] on What I'm trying to accomplish is if the checkbox dropins_allowed_rq is checked then I want to consider the text field nonmember_dropin_rate_rq as a required field, othe

Re: S2 life cycle

2007-04-03 Thread Mark Menard
On 4/3/07 8:13 PM, "tom tom" <[EMAIL PROTECTED]> wrote: > 1) Will introspecttion works as in struts 1.x > (automatic population from the jsp form fields, > provided the pojo got necessary setters and getters. Yes. If you have a property foo on your action (ie: setFoo (Object in) ), then a text fi

Re: S2 life cycle

2007-04-03 Thread Dave Newton
--- tom tom <[EMAIL PROTECTED]> wrote: > 1) Will introspecttion works as in struts 1.x > (automatic population from the jsp form fields, > provided the pojo got necessary setters and getters. Yes. See the CRUD documentation for easy examples: http://struts.apache.org/2.x/docs/crud-demo-i.html >

Re: S2 life cycle

2007-04-03 Thread tom tom
Thanks, Only two concerns I have 1) Will introspecttion works as in struts 1.x (automatic population from the jsp form fields, provided the pojo got necessary setters and getters. 2)How about the execution of validate method as per struts 1.x, in struts 1.x Action form has the validate method w

Re: S2 life cycle

2007-04-03 Thread Mark Menard
On 4/3/07 7:46 PM, "tom tom" <[EMAIL PROTECTED]> wrote: > We can have one ActionForm with session scope shared > across many action classes. (which I believe as a nice > feature). How can I achieve such a thing in S2, In > S2's way if we have this POJO as a Action attribute, > what is it's scope?

Re: S2 life cycle

2007-04-03 Thread tom tom
Thanks for the reply, Well, Looks like model and controller bined together(with context to the MVC). Any how whole idea of a ActionForm is not only for one request or even not only for one Action Class (in Struts 1.x), We can have one ActionForm with session scope shared across many action class

Re: CompositeActionMapper

2007-04-03 Thread Deryl Seale
As an update, I can obviously use url-pattern's in my web.xml to more finely control which requests get sent to Struts, but there is still the matter of the embedded static resources bundled with the struts library. Is there any setting to get the RestfulActionMapper to get it to ignore r

Re: Using doesn't seem to work

2007-04-03 Thread mraible
I've discovered some more information on this: If I have theme="simple" on my the labels aren't rendered. Changing it to theme="xhtml" makes it show up, but causes duplicate E-Mail address I've deleted all my freemarker customizations insrc/main/webapp/template, but it still seems to happen.

Re: [S2] Form submission/update question...

2007-04-03 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > [... all the info I need ...] You rule! I might update some of those docs, though; even after reading it again it left me puzzled (will probably just put an edited version of your reply). Thanks, and thanks for looking into that href thing. d.

Re: [S2] Form submission/update question...

2007-04-03 Thread Musachy Barroso
You can either set theme="ajax" on the submit, or on the form, and add a "notifyTopic" to the submit tag. Topics there will be executed twice, one before and one after the request, it is documented on the ajax page. The topic receives 3 parameters and one of them is an string which will be "before

Re: CompositeActionMapper

2007-04-03 Thread Deryl Seale
Well I got a little further with this -- thanks! Now I can get CompositeActionManager to work properly for actions that are mapped both with traditional URL's (ie: /foo/bar.action) and REST style URL's (/foo/bar/1). Unfortunately, this seems to have screwed up loading static content url's

Using doesn't seem to work

2007-04-03 Thread mraible
Any idea why does not work for me with Struts 2.0.6? The following works fine: As does: Is the "key" attribute of supposed to write the body? It seems to write the label tag just fine, but it has no body. Thanks, Matt -- View this message in context: http://www.nabble.com/Using-%3C

Re: [S2] Form submission/update question...

2007-04-03 Thread Dave Newton
--- Dave Newton <[EMAIL PROTECTED]> wrote: > This is actually "working" except that the > fileListDiv updates with: Minor update: ... ... almost works but the div updates itself twice; once immediately and once again after the form submission completes (I assume). d. ___

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-03 Thread Musachy Barroso
https://issues.apache.org/struts/browse/WW-1869 I will fix it tonight regards musachy On 4/3/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Ok I found the problem, it is in the function "splitAndFixPaths"(can hurt your eyes :) ) the one that is breaking the href, in Dojo's ContentPane, it app

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-03 Thread Musachy Barroso
Ok I found the problem, it is in the function "splitAndFixPaths"(can hurt your eyes :) ) the one that is breaking the href, in Dojo's ContentPane, it appends the context to paths. So long for "fixPaths" musachy On 4/3/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Not that I doubted, but you a

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-03 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > Not that I doubted, but you are right :) *lol* *I* was doubting me. > so the href is fine, but when i debug the javascript, > the href for that widget is: > /struts2-showcase/nodecorate/"/struts2-showcase/nodecorate/minimal2!execute.action?dojo.pr

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-03 Thread Musachy Barroso
Not that I doubted, but you are right :). Now, this is quite weird, if I look at the returned html it is: I made it here!!! alert("Plugh! from minimalFailureInclude."); Loading... so the href is fine, but when i debug the javascript, the href for that widget is: /struts2-showcase/nodec

Re: [S2] Form submission/update question...

2007-04-03 Thread Dave Newton
--- Ian Roughley <[EMAIL PROTECTED]> wrote: > You could try triggering an event topic on the > result page of the form submission, then listening > for that topic in the s:div ajax tag and reload > the list of files. I'm sorry to be dense, but how would that actually work? Once I return a result

Re: [S2] Form submission/update question...

2007-04-03 Thread Ian Roughley
You could try triggering an event topic on the result page of the form submission, then listening for that topic in the s:div ajax tag and reload the list of files. I know it would work in WW, haven't looked at the ajax tags since the upgrade to the newest dojo version. /Ian Dave Newton wrot

Re: struts.xml problem

2007-04-03 Thread Niklas Herder
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is due to a bug in xwork2: https://issues.apache.org/struts/browse/WW-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39748 Adam Ruggles skrev: > Can you confirm that you have struts2-core-2.0.6.jar in you lib f

[S2] Form submission/update question...

2007-04-03 Thread Dave Newton
I have an with Ajax s with forms. One of the divs is a form with a file upload and an Ajax with a list of files (it has some ordering functionality I wanted to separate out; it will be an Ajax form at some point). What I'd *like* to do is update just the list of files in the (in the one tab) a

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-03 Thread Dave Newton
I have a minimum (AFAICT) failure scenario for the nested-divs-inside-tabbedPanel-divs; it's reasonably short so I just stuck it in here for now. The "failure" (which I still suspect is because I just can't do what I'm trying to do, but it's not clear to me why not yet) lies in minimalFailureInclud

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Musachy Barroso
yeah that's what I found also, thanks for the explanation Dave musachy On 4/3/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Musachy Barroso <[EMAIL PROTECTED]> wrote: > I'm not sure that is right, templateCssPath is used > all over the place, and I can't find anything > documenting it as depr

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > I'm not sure that is right, templateCssPath is used > all over the place, and I can't find anything > documenting it as deprecated. I'm (a) not sure they *could* easily deprecate it at this point, (b) that's the only deprecation reference for it I

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Musachy Barroso
Struts isn't really involved here, at the end it is html elements with styles, as long as the right style are applied to the right elements, and the image paths are right, it should work. Can you post a section of your css? regards musachy On 4/3/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Musachy Barroso
I'm not sure that is right, templateCssPath is used all over the place, and I can't find anything documenting it as deprecated. musachy On 4/3/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: The link: http://www.dojotoolkit.org/node/65 http://www.dojotoolkit.org/node/65 It is in the last line

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
Yes, I tried this. But seems like struts gives preference to css inside the jar. But even if I remove the css inside the jar, it does not work and I got no images. Is there some way to take out the images files like the template dir, so we can just copy it to our web app root and chenge the images

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
The link: http://www.dojotoolkit.org/node/65 http://www.dojotoolkit.org/node/65 It is in the last line of this page. Musachy Barroso wrote: > > That would be news for me, do you have a link? > > thanks > musachy > > On 4/3/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: >> >> >> Reading th

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Musachy Barroso
How are you specifying the image path on the css file? This is from TabContainer.css: .dojoTab div { display : block; padding : 4px 15px 4px 6px; background : url(images/tab_top_right.gif) no-repeat right top; color : #333; font-size : 90%; } here "images/tab_top_right.gif" is rel

Re: select tag giving problem in jetty

2007-04-03 Thread Nagraj Rao
I'm finding the same thing happening in my application. I'm currently providing a map of values in the struts select tag. I've printed out the values of the map into the jsp and those values are printed fine, but somehow the drop down doesn't work, in fact the rendering itself stops since it d

Re: [S2] Problems extending a theme

2007-04-03 Thread paul . edmondson
Thanks David, That has fixed my problem. I can now extend a template. I'll look forward to new inheritance implementation. Kind regards, Paul. On 3 Apr 2007, at 15:38, David H. DeWolf wrote: [EMAIL PROTECTED] wrote: Hello all, I'm having problems extending a default theme with Stru

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Musachy Barroso
That would be news for me, do you have a link? thanks musachy On 4/3/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: Reading the dojo documentation, I found a note telling that templateCssPath is deprecated. Is that right? If yes, could it be the problem? Felipe Rodrigues wrote: > > I've tr

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
Reading the dojo documentation, I found a note telling that templateCssPath is deprecated. Is that right? If yes, could it be the problem? Felipe Rodrigues wrote: > > I've trying to use my own css file and My own images in a TabbedPanel, > but it is quite hard and so confuse. > The first thing

templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
I've trying to use my own css file and My own images in a TabbedPanel, but it is quite hard and so confuse. The first thing I did was use the templateCssPath pointing to my own css file. It just works for color and fonts, but didn't changed the images. So, I put the images inside the jar, but with

Re: integrating Tiles in Struts2

2007-04-03 Thread Greg Reddin
On 4/2/07, Marco Carnevale <[EMAIL PROTECTED]> wrote: I had a few issues while working with tiles 2 / struts 2. Mainly the problem I found was that the documentation I was reading( http://struts.apache.org/2.x/docs/tiles-plugin.html ) has incorrect information. Could you open a JIRA ticket a

Re: [S2] Problems extending a theme

2007-04-03 Thread David H. DeWolf
[EMAIL PROTECTED] wrote: Hello all, I'm having problems extending a default theme with Struts 2.0.6. I am in the process of creating my own theme and have added templates for various tree-*.ftl files. I've tried adding a theme.properties file with: parent = ajax However on ever page that

Re: [S2] Problems extending a theme

2007-04-03 Thread paul . edmondson
Yes, my page is referencing the other templates e.g. actionerror. If you look at http://struts.apache.org/2.0.6/docs/extending- themes.html it states that: 'An extended theme does not need to implement every single template that the Struts Tags expect. It only needs to implement the templates

[OT][ANNOUNCE] JAVAWUG BOF 26 Data Grids Defined with Brian Oliver / 16 April 2007 / Skills Matter

2007-04-03 Thread Peter . Pilgrim
Good Day Brian Oliver of Tangosol (www.Tangosol.com) is giving a talk on Monday 16th April 2007 to the JAVAWUG on the subject of Grid Computing. The talk is called ``Data Grids Defined''. Tangosol will be sponsoring this talk with a food and beverages. It will take place at Skills Matter London.

Re: confused about validation

2007-04-03 Thread Ted Husted
On 4/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Is 't possible (easy) to add a master index, so users can search that page using a key word ? So if I am looking for theme, I can easily find all the pages that deals with this term. I think this can help. Confluence provides a "label" fea

Re: [S2] Problems extending a theme

2007-04-03 Thread Ian Roughley
Wait - I think I see the issue. Have you extended the actionerror template as well as the tree-* templates? Is this template being referenced from within the tree-* template or as another tag on the page? /Ian [EMAIL PROTECTED] wrote: Hi Ian, I tried adding my theme in both the root of the

Re: S2 life cycle

2007-04-03 Thread Harring Figueiredo
Tom, In S2, the ActionForm is the Atcion itself. In other words, whatever you achieved with Action form you now achieve with the Action itself (And potentially a POJO). Maybe an example will help. class MyA extents ActionSupport{ private String foo; private String bar; ... execute ()...{ } /*

Re: [S2] Problems extending a theme

2007-04-03 Thread paul . edmondson
Hi Ian, I tried adding my theme in both the root of the application and inside the WEB-INF/classes directory as from reading the source code both are used for pulling in themes/templates. I was going to try a build from the head of svn to see if the problem has been fixed along the way.

Re: [S2] Problems extending a theme

2007-04-03 Thread Ian Roughley
Is the template directory (from "/template/galleryadmin/actionerror.ftl") at the root of the web applications content files? /Ian [EMAIL PROTECTED] wrote: Hello again, After a day of still getting nowhere in trying to extend a template and having no response from the list. Should I add thi

javax.mail.internet.ParseException while reading the mail.

2007-04-03 Thread Gurram, Srinivas
Hi While opening the mail from the Inbox I am getting the following error message. Can anyone help me in fixing this issue? javax.mail.internet.ParseException at javax.mail.internet.ParameterList.(ParameterList.java:61) at javax.mail.internet.ContentType.(ContentType.java:83)

RE : [s2] Tag iteration with Array

2007-04-03 Thread Ezequiel Puig
It works !!! You make my day :) Thanks a lot. -Message d'origine- De : Dave Newton [mailto:[EMAIL PROTECTED] Envoyé : mardi 3 avril 2007 14:40 À : Struts Users Mailing List Objet : Re: [s2] Tag iteration with Array --- Ezequiel Puig <[EMAIL PROTECTED]> wrote: > > > See if

Re: [s2] Tag iteration with Array

2007-04-03 Thread Dave Newton
--- Ezequiel Puig <[EMAIL PROTECTED]> wrote: > > > See if works. d. Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mail

[s2] Tag iteration with Array

2007-04-03 Thread Ezequiel Puig
Hi people, I am trying to iterate over an array. In my action, i have defined: Private String[] myArray; public String[] get MyArray () { return myArray; } public void setMyArray (String[] myArray) { this.myArray = myArray; } in the jsp, i am trying to acces

Re: unable to capture events with

2007-04-03 Thread Manu Mahajan
I have posted a comment and the suggested patch on Jira. I think this has probably broken due to a change in Dojo upstream. Dave Newton wrote: --- Manu Mahajan <[EMAIL PROTECTED]> wrote: If your code is working then can you please check what version of struts you are using because it's

Re: unable to capture events with

2007-04-03 Thread Dave Newton
--- Manu Mahajan <[EMAIL PROTECTED]> wrote: > If your code is working then can you please check > what version of struts you are using because it's not > working for me. I am using struts2-core-2.0.6.jar I'm using 2.0.6, fairly recently upgraded from 2.0.5. I tried it out again as a sanity check

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] action mapping best practice

2007-04-03 Thread joey
In the latest struts2 version 2.0.6,I only found .There was no ... So you confused me. Regards joey On 4/3/07, Jae K <[EMAIL PROTECTED]> wrote: I'm talking about struts2. My post was a reaction to that config file. I was just pointing out what my thoughts were on the best practices. I'm not a d

Re: [S2] Problems extending a theme

2007-04-03 Thread paul . edmondson
Hello again, After a day of still getting nowhere in trying to extend a template and having no response from the list. Should I add this as a bug in Jira? Thanks, Paul. On 2 Apr 2007, at 12:37, [EMAIL PROTECTED] wrote: Hello all, I'm having problems extending a default theme with S

load application configuration

2007-04-03 Thread Bartek
Hi What is the best way for loading additional application (properties files, xml files) in struts2. Till now, in our struts1 application, such config was loaded using dedicated plugin class. Since all these config files are in WEB-INF directory we were using ServletContext.getRealPath("/WEB-INF"

Re: HDIV (Http Data Integrity Validator) 1.1 Released

2007-04-03 Thread Manos Batsis
Just a minor suggestion: please upload releases to a Maven repo :-) Cheers, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HDIV (Http Data Integrity Validator) 1.1 Released

2007-04-03 Thread roberto
Yes, we are working on it now. We think it will be released soon, maybe next month. Regards, Roberto Velasco Sarasola > On 4/2/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > Any plans for an Struts 2 port? >regards >musachy On 4/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi al

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-04-03 Thread Angelo zerr
Hi, Is is the same probleme like below : I am facing a problem using JS control taglib I have two perpopulated lists when the page is loaded I see the two lists with all the values . Suppose user submits the form with out touching the lists ie the page gets loded and user clicks su