Moving from 1.2.9 to 1.3.8

2007-07-24 Thread Alexander Jede
Hallo list, I am quite new to struts and have, perhaps a quite stupid error. Until now a used Struts 1.2.9 (because my IDE had it onboard). Now I want to use some features of the version 1.3.8 and moved to this version that for. But now I have a strange error while starting tomcat (5.5). The error

Struts 2 Tags Tutorials and Examples Released.

2007-07-24 Thread Deepak Kumar
Hi, We are pleased to announce the release of Struts 2 Tags tutorials and examples. We have covered a) Struts Generic Tags --Control Tags --Data Tags b) Struts UI Tags -- Form Tags -- Non-Form UI Tags These tutorials are supported with examples. We have spent huge time i

Re: Performance Vows , Requests get lost ..

2007-07-24 Thread Aram Mkhitaryan
Try to find out if you have connection limit in you tomcat (or jetty?) configuration. Maybe the server limits not the struts. Also you can try to switch to 2.0.9, it seems to be faster Best Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile: +3

Validation framework... weird...

2007-07-24 Thread Balazs Michnay
Dear Struts Users, I have a form with 13 form controls on it. I'd like to use the Struts Validation Framework to validate it, but it's acting weird. What I'd like to do is to have AT LEAST ONE of the controls filled, but the test of "validWhen" only allows simple boolean expressions. I used a si

RE: [ANN] Struts 2.0.9 General Availability Release with Important Security Fix

2007-07-24 Thread Deepak Kumar
Hi, Discuss the new features and how to use these new features in your application at http://www.roseindia.net/struts/struts2/struts2download/struts2.0.9.shtml Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ted Husted Sent: Wednesday, July 25, 2007

Performance Vows , Requests get lost ..

2007-07-24 Thread jasdeep
I am performance tuning my JSP/Struts web-application deployed over jboss.. I have not got success yet. During performance/load testing of my web application with apache jmeter. It is OK up to 1400 request per minute.. But if i increase the load , i get following Issue: from 1800 requests sent to

Re: [ANN] Struts 2.0.9 General Availability Release with Important Security Fix

2007-07-24 Thread אלחנן מעין
is the DTP still a train wreck? what's the status of the ajax validators? are they stable (i understand there are to be replaced compleltly from dojo). From: "Ted Husted" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Re: [ANN] Struts 2.0

[S2] Multiple Submits with different actions in a Form

2007-07-24 Thread Grish
I'm still in the process of learning S2 and I was curious on what's the best practice in implementing a form with multiple submit buttons I've read that there are multiple way to implement this. One way is here: http://struts.apache.org/2.0.8/docs/multiple-submit-buttons.html Although I was thin

Re: [S2] Accessing autocompleter value from JavaScript

2007-07-24 Thread Ravi Kumar
Hey , I think it is not text filed it is select box. so try to access using input type as select Thanks Ravi On 7/25/07, chengas123 <[EMAIL PROTECTED]> wrote: Hi, I had an HTML input I was accessing in script as follows: document.inputForm.city.value I replaced it with a Struts autocompl

Re: [ANN] Struts 2.0.9 General Availability Release with Important Security Fix

2007-07-24 Thread Ted Husted
To help get the word out, I'd ask that anyone with a blog please post this announcement (if you haven't already), or link back to my blog on JRoller. * http://www.jroller.com/TedHusted/entry/struts_2_0_9 -Ted. On 7/24/07, Ted Husted <[EMAIL PROTECTED]> wrote: Apache Struts 2.0.9 is now availab

Show message using struts

2007-07-24 Thread tfr
Hi all, I want to show some message to user. These messages will not be error messages. These will be something like 'Data has been saved successfully' type. Have any idea how to do it easily? -- View this message in context: http://www.nabble.com/Show-message-using-struts-tf4139965.html#a117761

Struts 2 Using Validator with a Collection

2007-07-24 Thread Néstor Boscán
Hi I need to use the validation framework that comes with Struts 2 to validate a List that contains objects. I read that there is a "collection" validator but I can't find it in Struts 8, Struts 9 or XWork 2.0.4. Any ideas? Regards, Néstor Boscán

Problem using xml tiles definition as forward for an Action.

2007-07-24 Thread Ken Bowen
Hi, [Using struts 1.2.7 on Tomcat 5.5] In tiles-defs.xml, I have the following definition: I want to use this as the forward from an Action called NumberPlayAction. In struts-config.xml, I have the following global forward: And I have the following action in

Re: [s2.1] Real-Time AJAX Validation when filling out the form?

2007-07-24 Thread Musachy Barroso
It would be easy to implement: http://struts.apache.org/2.x/docs/ajax-validation.html musachy On 7/24/07, Piero Sartini <[EMAIL PROTECTED]> wrote: I want to use s2.1 for a new project. Now I try to figure out how it is possible to make a "realtime" validator that is fired when the user switche

[s2.1] Real-Time AJAX Validation when filling out the form?

2007-07-24 Thread Piero Sartini
I want to use s2.1 for a new project. Now I try to figure out how it is possible to make a "realtime" validator that is fired when the user switches fields. With 2.0.8 there was DWR and the ajax theme. Now I do have the dojo plugin and the interceptor. sx:submit tag .. but there are no sx:form

Re:[S2] File not found exception

2007-07-24 Thread mi
Hello David, I already done that and still there is an exception thrown and caught in our Sun Java System application logs. how can i make that this exception is caught by struts and this is not log in our server logs.. thanks again. David Binder <[EMAIL PROTECTED]> wrote: You can configure th

Re: Tree Tag

2007-07-24 Thread Musachy Barroso
You can use "treeSelectedTopic" to get notified when a node is clicked. musachy On 7/24/07, Richard Sayre <[EMAIL PROTECTED]> wrote: I am using the tre tag to display a tree of items. I got a very basic tree showing. Is it possible to have the tree node do something when you click it? I trie

Tree Tag

2007-07-24 Thread Richard Sayre
I am using the tre tag to display a tree of items. I got a very basic tree showing. Is it possible to have the tree node do something when you click it? I tried onclick but it didnt seem to render that attribute into the HTML. Is it possible to add some extra html to each node (for example a c

setting the result pages to open in particular frames

2007-07-24 Thread Session Mwamufiya
Hi, Would anyone know how to get struts actions to set the frame in which the result pages should be displayed? I have a frame of buttons and I want different pages to be displayed in the other frame when each button is pressed. Is there a way to set this in the struts.xml file where the resu

[S2] Accessing autocompleter value from JavaScript

2007-07-24 Thread chengas123
Hi, I had an HTML input I was accessing in script as follows: document.inputForm.city.value I replaced it with a Struts autocompleter and cannot access it in that manner anymore. Can anyone tell me how I can access it? Thanks, Ben http://www.benmccann.com benmccann.com -- View this messa

[S2] Tabindex not working on autocompleter

2007-07-24 Thread chengas123
Hi, I have a bunch of inputs with tabindex defined on each. Some are regular HTML inputs and some are struts autocompleters as shown below: The Struts tabindex is not working (I have tested in both Firexfox and IE). Is this something I should report as a bug or am I doing somethin

Re: Struts 2 and Tomcat 5.0.27 filter start error

2007-07-24 Thread Brian Trzupek
Phillip, I wonder if you can use the META-INF manifest directory to specify the load order of required Libs to overcome your shared hosting problem? I had to do something similar back in WebSphere 4.x with Struts 1.something. ;) Brian Trzupek On Jul 16, 2007, at 11:13 AM, Phillip Blevins

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread chengas123
Musachy Barroso wrote: > > It looks ok to me, not sure what is going on. Check: > > http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-Autocompleter > > for an example of working with both together. > > musachy > OK! I'm in action now! Thanks for po

Can I integrate Struts 2 + JSF and Facelets?

2007-07-24 Thread mraible
I'm trying to integrate JSF into a Struts 2 prototype. AFAICT, I need to add the struts-jsf-plugin to my pom.xml and add FacesServlet to my web.xml. Are there any other steps needed? I'm using Sun's RI since it run's on Tomcat 5.x with JSP 2.0. How do I tell JSF to use Facelets w/o a faces-config

Exception while rendering

2007-07-24 Thread Charbel Abdul-Massih
Hi guys, Whenever I try to access a struts 2 page, and before the page is fully rendered, I click on a link to access another page, I get the following exception in the log. Is there a way to fix this, or hide the exception if it's not crucial??? I pasted the first part of the exception...In th

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread chengas123
Musachy Barroso wrote: > > It looks ok to me, not sure what is going on. Check: > > http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-Autocompleter > > for an example of working with both together. > > musachy > The example has a method called getOp

Re: [S2]Action attributes passing problem

2007-07-24 Thread Laurie Harper
钟原froast wrote: I use singleton="false" in my spring config file, and then it generates one action instance for each request. There comes the problem, for example, I want to edit a user's profile, I get the user's profile in the UserAction's edit() method, and then forward to the eidt.jsp, then u

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread chengas123
newton.dave wrote: > > --- chengas123 <[EMAIL PROTECTED]> wrote: >> Is my JSON not formatted properly? > > http://struts.apache.org/2.x/docs/ajax-tags.html#AjaxTags-autocompleterTag > > Has the Ajax tag been updated to use JSON from the > JSON result type? If so, the docs should be changed, >

RE: Display inline error message

2007-07-24 Thread Will Budreau
0. Displaying client-side inline error messages should be fairly easy. Instead of calling alert(message) write your own dhtml function such as inlineError(message) method for populating the same message into an object on the page. Note this wouldn't require server communication, so not AJAX. 1.

Re: how to store action class values into some Vector or array...

2007-07-24 Thread Laurie Harper
AJAY KUMAR UPPALAPATI wrote: hi, Below some part of code of my "ActionClass" . I am able to set the values to my . But in one case i need to display as a report format ie. i will get more than one record. ie: 034343000 |Mr. abcdefgh | Crd3242345 . 034343001

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread Musachy Barroso
It looks ok to me, not sure what is going on. Check: http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-Autocompleter for an example of working with both together. musachy On 7/24/07, chengas123 <[EMAIL PROTECTED]> wrote: I thought I would add that I

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread Dave Newton
--- chengas123 <[EMAIL PROTECTED]> wrote: > Is my JSON not formatted properly? http://struts.apache.org/2.x/docs/ajax-tags.html#AjaxTags-autocompleterTag Has the Ajax tag been updated to use JSON from the JSON result type? If so, the docs should be changed, otherwise I could see that being an is

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread chengas123
I thought I would add that I put some debug code in my Action and I can see it being called when I type in the box. Yet there does not appear to be anything happening on the client side. Is my JSON not formatted properly? What's the problem here? Thanks, Ben chengas123 wrote: > > Hi, > I'm

two html:select tags in a jsp file creating problem

2007-07-24 Thread Ravikanth BV
Hi, In my jsp I need to use two html:select tags. If I use one tag, its working fine. But the moment I inserted the code for second tag, all the jsp code after the first tag is not appearing in the browser. I am using a proprietary taglibrary. Any light on this ? Thanks, Ravikanth

[ANN] Struts 2.0.9 General Availability Release with Important Security Fix

2007-07-24 Thread Ted Husted
Apache Struts 2.0.9 is now available from . This release includes an important security fix regarding a remote code exploit. For more information about the exploit, visit our security bulletins page at

Struts 2 jdk 1.4

2007-07-24 Thread Thom, Cecile
Hi I recently started using Struts 2, and have no prior experience with Webwork. We are using Struts 2.0.6 for jdk1.4, and are deploying to WebLogic 8.1. We are further using the simple UI theme. The action attribute of the Struts submit tag does not seem to work. I had to do a workarou

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread chengas123
More specifically I have: chengas123 wrote: > > Yep, I do. > > > Roberto Nunnari wrote: >> >> Do you have the tag? It won't work without that. >> > > -- View this message in context: http://www.nabble.com/-S2--Autocompleter-with-JSON-plugin-tf4132448.html#a11764525 Sent from the

Re: Display inline error message

2007-07-24 Thread Paul Benedict
I don't think #1 is a big deal. I don't use client side validation often. Yes, #2 is reinventing the wheel. There's nothing wrong with submitting to the server. On 7/24/07, semaj.najraham <[EMAIL PROTECTED]> wrote: > > > Hey Paul, > > Thanks for the reply. Displaying inline error messages is one

Re: [S2] Client side validation, hidden fields and clearErrorMessages not working in firefox

2007-07-24 Thread Max Pimm
I have created an issue in JIRA. (https://issues.apache.org/struts/browse/WW-2058) max Theo Platt wrote: Thanks Max, I've just been looking at exactly the same area and I can replicate the same error. It works fine in IE but fails in firefox. I think you should enter it in JIRA. Cheers Theo

Re: Display inline error message

2007-07-24 Thread semaj.najraham
Hey Paul, Thanks for the reply. Displaying inline error messages is one of the user requirements. I just want to get some thoughts... 1. As I need to display inline error messages, is it ok to use only server side validation? I just don't want to use server side validation only. Let's say if the

Re: [S2][Dojo] topic submitted twice

2007-07-24 Thread David Binder
damnit, I'm the one to blame :) . The example work. I'll take a few time to check the differences thanks, Dav 2007/7/24, Musachy Barroso <[EMAIL PROTECTED]>: When you try the handle example on the "Remote Links" page on showcase, does it work? (there should be one popup) musachy On 7/24/07,

problem with itereration lists in list...

2007-07-24 Thread Amir Hossein Sharifzadeh
Dear friends, I have a List consisting of Lists, I should show value of them, for example: === in Action Class: class Boy { String name; int age; .. .. } class Friend { String category; List boys ; } List boys

Re: [S2][Dojo] topic submitted twice

2007-07-24 Thread Musachy Barroso
When you try the handle example on the "Remote Links" page on showcase, does it work? (there should be one popup) musachy On 7/24/07, David Binder <[EMAIL PROTECTED]> wrote: the handler is indeed needed, i made some test with a topic anyway and it ended whith two notification (I checked that b

Re: [S2][Dojo] topic submitted twice

2007-07-24 Thread David Binder
the handler is indeed needed, i made some test with a topic anyway and it ended whith two notification (I checked that both were the same going throught 'before' and 'load'). 2007/7/24, Musachy Barroso <[EMAIL PROTECTED]>: That's a little bit strange, in any case let me start with the obvious,

Re: [S2][Dojo] topic submitted twice

2007-07-24 Thread Musachy Barroso
That's a little bit strange, in any case let me start with the obvious, do you really need to use "handler"? In that case you will have to make the request yourself, if you are looking for notification before/after the request, use the "notifyTopics" attribute. musachy On 7/24/07, David Binder <

Re: [S2] No data in the value stack when refreshing the jsp page

2007-07-24 Thread Gabriel Belingueres
hmm it's hard to tell from this alone. But probably you are calling /searchResult.action somewhere in your code? 2007/7/24, Freakman <[EMAIL PROTECTED]>: My bad I should have included that first. Gabriel Belingueres wrote: > > Show us your struts.xml file please. > http://struts.apache.org/d

Re: what is struts2-config-browser-plugin ?

2007-07-24 Thread David Binder
It allows you to wath your current settings see http://struts.apache.org/2.x/docs/config-browser-plugin.html you can access the setting page using the /config-browser/index.action action of your app David 2007/7/24, Pedro Herrera <[EMAIL PROTECTED]>: what´s the meaning of struts2-config-br

what is struts2-config-browser-plugin ?

2007-07-24 Thread Pedro Herrera
what´s the meaning of struts2-config-browser-plugin ? Where are the docs about that ? Thanks Pedro -- View this message in context: http://www.nabble.com/what-is-struts2-config-browser-plugin---tf4135398.html#a11761282 Sent from the Struts - User mailing list archive at Nabble.com. ---

Re:[S2] File not found exception

2007-07-24 Thread David Binder
You can configure the "error page" section of your web deployment descriptor to do such things see your servlet specification for exact declaration. It should be something like : 404 /jsp/exception.jsp David

Re: Redirecting to the referring action

2007-07-24 Thread Pascal Lalonde
It may be worth looking at Spring Web Flow, I think it's design to fit that kind of needs. - Pascal Paul Benedict wrote: Mark, I had this same problem :-) One downside of action-based frameworks is that there is no sense of a "page" -- just actions. You need to somehow mark which actions be

processline/loadLine starts as if the page is doing something

2007-07-24 Thread Søren Blidorf
Hi. When I log on to my struts app, the app redirects to a frontpage.do and forward to frontpage.jsp. When I get to the frontpage.jsp the processline/loadLine starts as if the page is doing something. I am not sure but I think that it is a session issue… It seems that the error is i

Re: How to make tabs in JSP

2007-07-24 Thread Angelo zerr
Hi, I think you can do that with CSS with overflow:auto, litke this http://www.domedia.org/oveklykken/css-div-scroll.php Before configuring CSS, you must underst and generated HTML by JSPTabControl http://jsptabcontrol.sourceforge.net/developer-guide.html to know the CSS to updating to add overfl

Re: How to make tabs in JSP

2007-07-24 Thread Kavita Mehta
Hi Angelo, Do you have any idea how can I make the tabs scrollable . Actually, the height of one of the tabs is more which makes the other tabs look empty OR can the tabs be of different height ?? which I assume not cos height is the parameter of jsptabcontrol:tabControl and not jsptabcont

Re: SV: SV: Struts tag-lib

2007-07-24 Thread Laurie Harper
No, the TLD file is physically present in the JAR. The fact that it is identified by a URL does not imply that an HTTP connection needs to be made; the URL is just an identifier. L. Søren Blidorf wrote: OK, thanks. Maybe I am missing something ;o) but what if the server is not connected to t

[S2][Dojo] topic submitted twice

2007-07-24 Thread David Binder
Hi, I'm new to the mailling list. My company sold a struts 2 project to one of its customer. And no I'm lost in struts 2 Dojo wonderland. It happens that when I create a simple dojo widget (anchor), either my widget is parsed twice by Dojo or the topic is registered twice, anyway, the event asso

RE: Struts Help

2007-07-24 Thread Janardhana . Mamilla-Pattaiah
Also try --> http://www.visualbuilder.com/jsp/struts/tutorial/pageorder/1/ -Original Message- From: Deepak Kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 4:46 PM To: Struts Users Mailing List Subject: RE: Struts Help Hi Just try http://www.roseindia.net/struts thanks

RE: Struts Help

2007-07-24 Thread Deepak Kumar
Hi Just try http://www.roseindia.net/struts thanks -Original Message- From: sharad singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 1:51 PM To: user@struts.apache.org Subject: Struts Help Hello All, Today is first day when I am going to use struts , I dont know any thi

Struts Help

2007-07-24 Thread sharad singh
Hello All, Today is first day when I am going to use struts , I dont know any thing about this, I have read some docs on strts ,But no implementation idea ...I have downloaded struts-1.3.8-all.zip and struts-1.3.8-src.zip. Which is better to use for development own application. Regard

[S2] File not found exception

2007-07-24 Thread honey0303
How can i handle a file not found exception in struts 2..for example if the user type in a url of the server but the jsp file is not found a default jsp file will appear saying sorry cannot find that file.. How should i handle this? Thanks in advance.. -- View this message in context: http://ww

SV: SV: Struts tag-lib

2007-07-24 Thread Søren Blidorf
OK, thanks. Maybe I am missing something ;o) but what if the server is not connected to the internet? Then I will need the copy in my WEB-INF, right? Soren, DK -Oprindelig meddelelse- Fra: Paul Benedict [mailto:[EMAIL PROTECTED] På vegne af Paul Benedict Sendt: 24. juli 2007 08:54 Til: S

[S2] Autocompleter ajax template missing header and footer

2007-07-24 Thread Max Pimm
Hi, in 2.0.8 the ajax template (template/ajax/autocompleter.ftl) is missing the controlheader and footer. I noticed this when i wanted to generate a label for my autocompleter text field. The autocompleter tag accepted the label attribute but did not create the html label element. I have add

[S2]Action attributes passing problem

2007-07-24 Thread 钟原froast
I use singleton="false" in my spring config file, and then it generates one action instance for each request. There comes the problem, for example, I want to edit a user's profile, I get the user's profile in the UserAction's edit() method, and then forward to the eidt.jsp, then user eidt his prof

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-24 Thread Antonio Petrelli
2007/7/24, Roberto Nunnari <[EMAIL PROTECTED]>: I see it also includes Tiles 2.0.4.. that should also include the fix for the contentType of the response not set bug present in version 2.0.3 Yep! Confirmed :-) Antonio