Re: [S2] Preselected option in tag

2007-07-25 Thread Vincent Lin
I just checked jira and found this: https://issues.apache.org/struts/browse/WW-1711 It's a bug and has been fixed in 2.0.7. I migrated my struts library to 2.0.9 and the problem was gone. Thanks. On 7/26/07, Vincent Lin <[EMAIL PROTECTED]> wrote: The generated html content of is:

RE: Unable to get started with Struts2

2007-07-25 Thread Michelle Baert
Aladin wrote: > I have the simplest of Struts2 application and I keep getting an error > in > the logs stating: > > ERROR TP-Processor5 org.apache.catalina.core.StandardContext - Error > filterStart > ... This looks very similar to what I get with all my struts2 apps. See thread: "I still cannot

Re: [S2] Preselected option in tag

2007-07-25 Thread Vincent Lin
The generated html content of is: -- 741501 741406 741405 741404 741403 741402 741200 741156 741155 741154 741153 741152 741151 1050 50 There is no comma in the numeric value. On 7/26/07, Laurie Harper <[EMAIL PROTECTED]> wrote: My bet is

Re: Struts 2 Spring plug-in

2007-07-25 Thread Aram Mkhitaryan
I'm using spring plugin for s2 and it works great! You may have problems in your configuration file. If you post your /WEB-INF/applicationContext.xml we could say more ... Best, Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile: +374 91 518456

Re: S2 send wrong Portlet Window States - May be a bug

2007-07-25 Thread tom tom
I already made a change request. Thanks, --- Nils-Helge Garli <[EMAIL PROTECTED]> wrote: > Yes, it uses pluto for it's JSR168 support, but > there's still a lot of > integration- and extension points that can behave > differently, so that > is unfortunately not conclusive. > > There's absolut

Re: Performance Vows , Requests get lost ..

2007-07-25 Thread Aram Mkhitaryan
For my tests it doesn't matter, since I compared S1 with S2. Only configurations, Action class structure and the view (jsp pages) are different. I got 2 times better performance when I switched S2 view to the simple theme. Unfortunately it's still 3 times slower than S1. Best, Aram _

Re: [S2] Multiple Submits with different actions in a Form

2007-07-25 Thread Grish
Yeah this should work, If i can't find an alternative I most likely will take this approach. But I was hoping to find a solution that didn't require me to code a lot of logic using js in the client side. It seems a lot easier if I can just specifiy the actions with a few controls and the rest is p

Re: Is there a way to remove browser cache once the user clicks the log out button?

2007-07-25 Thread Paul Benedict
Do not cache pages when the user is logged in. That's the answer :-) semaj.najraham wrote: Hi guys, Hope someone can reply me. I removed the browser cache in my application using a servlet filter so that if the user clicks the log out button (which invalidates the session), he/she cannot see th

Is there a way to remove browser cache once the user clicks the log out button?

2007-07-25 Thread semaj.najraham
Hi guys, Hope someone can reply me. I removed the browser cache in my application using a servlet filter so that if the user clicks the log out button (which invalidates the session), he/she cannot see the pages he visited using a browser back button. Of course, if I don't remove the cache, he/sh

Re: Struts 2 Spring plug-in

2007-07-25 Thread Adam Ruggles
There is nothing wrong with the plugin, I'm using it on multiple apps. It looks like you have an error in your dataSource definition. I would post this on the springframework forum. Jiang, Jane (NIH/NCI) [C] wrote: Hi, Has anyone got Struts Spring plug-in to work? I am getting this error s

Re: More than one masking patterns for the same Form property

2007-07-25 Thread Paul Benedict
You could try attaching two mask validators to a field. The first will do the first pattern, etc. [EMAIL PROTECTED] wrote: How do I display different validation messages each time a validation rule is violated. Here is the example condition i am looking at: If user enters an SSN starting 000

Re: Manipulating Collection in Struts Tag libs (options)

2007-07-25 Thread Paul Benedict
You should use EventAction to easily execute a different method in an Action. On your onclick handler, set a hidden form field -- it sounds like that could be considered a different method. Paul Oleg Konovalov wrote: Hi, I am relatively new to Struts [using 1.3]. I need to create a form usi

Re: [S2] Multiple Submits with different actions in a Form

2007-07-25 Thread Richard Sayre
I'm not sure if this is what your are looking for, it is doing the control logic on the client side. Instead of using s:submit to submit the form you could make 3 input buttons: and the write the following javascript: function doAction1() { document.getElementById("formId").action = ';

答复: 答复: Radio Buttons in Struts

2007-07-25 Thread chenshibing
A bit strange, it does work in my test app. Crazyreal -邮件原件- 发件人: merryba [mailto:[EMAIL PROTECTED] 发送时间: 2007年7月26日 9:27 收件人: user@struts.apache.org 主题: Re: 答复: Radio Buttons in Struts It doesn't work .Still I am not getting as one of the radio buttons to be selected by default. Real

Re: Encoding of Message-Properties

2007-07-25 Thread Laurie Harper
Sebastian Kolbe wrote: Hello Having a problem with property file encoding. I'm using properties files for i18n-messages and the setting 'struts.i18n.encoding' in struts.xml is set to 'UTF-8'. Using the tag the text appeared in the html output exact the way (and encoding) it was in the property

Re: 答复: Radio Buttons in Struts

2007-07-25 Thread merryba
It doesn't work .Still I am not getting as one of the radio buttons to be selected by default. Real wrote: > > As following: > > value="%{'F'}"/> > > Crazyreal > > -邮件原件- > 发件人: merryba [mailto:[EMAIL PROTECTED] > 发送时间: 2007年7月26日 7:13 > 收件人: user@struts.apache.org > 主题: Radio Butto

Re: [S2] java.net.SocketException while navigating off a loading page

2007-07-25 Thread Laurie Harper
I don't think there's much you can do about this, except set your logging up to filter it. Basically, when you hit stop or otherwise cause a request in progress to be aborted, the browser terminates the HTTP connection. This stack trace is the way the server reports the premature termination of

Re: Cannot load a validator resource from '/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml'

2007-07-25 Thread Laurie Harper
Vitaliy Selivanov wrote: > Truncated. see log file for complete stacktrace Did you look at the log file? Look for the root cause of the ServletUnavailable exception. L. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Manipulating Collection in Struts Tag libs (options)

2007-07-25 Thread Oleg Konovalov
Hi, I am relatively new to Struts [using 1.3]. I need to create a form using Struts tag libs with 2 HTML select's [lists], connected to 2 DB tables, say allUsers and Admins, which would allow to select Administrators from the list of AllUsers. So I will have 3 buttons: Add, Remove and Update. A

答复: Radio Buttons in Struts

2007-07-25 Thread chenshibing
As following: Crazyreal -邮件原件- 发件人: merryba [mailto:[EMAIL PROTECTED] 发送时间: 2007年7月26日 7:13 收件人: user@struts.apache.org 主题: Radio Buttons in Struts Hi, Please I am newbie to Sruts2. I want the radio button to display "Male" as the selected one. How can I do it? Please help me.

Re: [S2] Preselected option in tag

2007-07-25 Thread Laurie Harper
My bet is that it's a bug. If the limit is at 1000, I'm guessing the problem is that the value is being rendered as 1,000 (i.e. with a comma separator), and that's what causes the problem. You can verify this by viewing the HTML source of the rendered page. If that is indeed the case, a JIRA is

Re: Validation framework... weird...

2007-07-25 Thread Laurie Harper
Balazs Michnay wrote: 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

Re: Can I integrate Struts 2 + JSF and Facelets?

2007-07-25 Thread Laurie Harper
mraible wrote: 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/

More than one masking patterns for the same Form property

2007-07-25 Thread sriharsha . chevuru
How do I display different validation messages each time a validation rule is violated. Here is the example condition i am looking at: If user enters an SSN starting 000 then i will display "Shouldn't start with 000" If user enters an SSN starting 8 or 9 then i will display "Shouldn't start

Re: Is Struts still a better choice over JSF as on today ?

2007-07-25 Thread Frank W. Zammetti
souravm wrote: Will you consider Struts to be a better choice today compared to JSF ? In *most* cases, for me, yes I would, but that's just my opinion, and I'm about to invalidate it at the end of this :) > Especially, given the fact that JSF has better controller flexibility, event handlin

Is Struts still a better choice over JSF as on today ?

2007-07-25 Thread souravm
Hi All, Just thought of taking your opinions. Will you consider Struts to be a better choice today compared to JSF ? Especially, given the fact that JSF has better controller flexibility, event handling capability and ease of development using a RAD tool ? Regards, Sourav CA

Radio Buttons in Struts

2007-07-25 Thread merryba
Hi, Please I am newbie to Sruts2. I want the radio button to display "Male" as the default one. How can I do it? Please help me. Thanks, -- View this message in context: http://www.nabble.com/Radio-Buttons-in-Struts-tf4148450.html#a11801418 Sent from the Struts - User mailing list archive

Struts 2 Spring plug-in

2007-07-25 Thread Jiang, Jane (NIH/NCI) [C]
Hi, Has anyone got Struts Spring plug-in to work? I am getting this error starting the application. I removed all the beans except the dataSource and sessionFactory. Please see attached. I'd really appreciate any help you can offer. Thanks, Jane ERROR http-8080-Processor24 org.apache.ca

RE: Struts http path question

2007-07-25 Thread Phillip Grenier
Try setting the namespace on the package of the action or in the call to the action. I think im new to this - Phillip -Original Message- From: Scott Trafton [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 25, 2007 3:41 PM To: Struts Users Mailing List Subject: Struts http path question

Re: [S2] Preselected option in tag

2007-07-25 Thread Vincent Lin
But I already specified name="adminGroupMapData.adminRid" in the tag. Shouldn't the preselected option be the value of "adminGroupMapData.adminRid "? If the preselected option won't be the value of the attribute 'name', why does it work when the value is less than 1000? On 7/26/07, yitzle <[EMAIL

Re: Date Problem

2007-07-25 Thread Ian Roughley
try setting it to a locale that uses a date format of "dd/MM/". rrecoba wrote: I don´t have the struts.locale, neither th struts.properties. This is the problem. Ian Roughley wrote: what is the locale set to? It is the "struts.locale" property in the struts.xml or struts.properties

Re: Date Problem

2007-07-25 Thread rrecoba
I don´t have the struts.locale, neither th struts.properties. This is the problem. Ian Roughley wrote: > > what is the locale set to? It is the "struts.locale" property in the > struts.xml or struts.properties > > /Ian > > rrecoba wrote: >> Hi, thanks for your answer. I understand that th

Struts http path question

2007-07-25 Thread Scott Trafton
Hello, I am in the process of converting old code over to struts2 with tiles. The problem I am having is trying to get the url path correct to work with some of our other code. The server is set up to resolve to /account so when I submit to an action to go to another page is it resolving the ur

Re: There is no Action mapped for action name HelloWorld. - [unknown location]

2007-07-25 Thread temp_checker
I had the same problem. In case you haven't already figured it out, simply moving my struts.xml from WEB-INF to WEB-INF/classes/ solved the problem. I hope it works for you. boriskerzner wrote: > > Hi. I setup Struts 2 on my computer and tried to run the HelloWorld > example, but am running in

Re: Radio Buttons: name & value the same

2007-07-25 Thread yitzle
On 7/25/07, yitzle <[EMAIL PROTECTED]> wrote: When I debugged, the getAllowUpgrade() does get called and does return a boolean. That should read 'isAllowUpgrade()' - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: Date Problem

2007-07-25 Thread Ian Roughley
what is the locale set to? It is the "struts.locale" property in the struts.xml or struts.properties /Ian rrecoba wrote: Hi, thanks for your answer. I understand that the date tag is for showing a date not for input, is this ok?. My problem is that, when the user puts a date in a form input f

Re: Date Problem

2007-07-25 Thread rrecoba
Hi, thanks for your answer. I understand that the date tag is for showing a date not for input, is this ok?. My problem is that, when the user puts a date in a form input field, in my action i get in other format. (I cannot use datetimepicker) Thanks.- Ian Roughley wrote: > > I believe its loc

Re: Radio Buttons: name & value the same

2007-07-25 Thread yitzle
On 7/25/07, yitzle <[EMAIL PROTECTED]> wrote: My action has a boolean isAllowUpgrade() and a setAllowUpgrade(boolean b). If the name is set to "blah", the correct radio button gets selected at render time. If the name is "allowUpgrade", neither radio button gets selected. When I debugged, the ge

Radio Buttons: name & value the same

2007-07-25 Thread yitzle
My action has a boolean isAllowUpgrade() and a setAllowUpgrade(boolean b). If the name is set to "blah", the correct radio button gets selected at render time. If the name is "allowUpgrade", neither radio button gets selected. When I debugged, the getAllowUpgrade() does get called and does return

Re: Date Problem

2007-07-25 Thread Ian Roughley
I believe its localization. try the date tag to specify a date format. /Ian rrecoba wrote: Hi, I´m using an input field where the user must put a date in the format "dd/MM/" But in the Action, when struts 2 set the value for the date attribute, the format change´s to "MM/dd/" , do

Re: Show message using struts

2007-07-25 Thread yitzle
On 7/25/07, tfr <[EMAIL PROTECTED]> wrote: 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? == Action Class == private String message; public String g

Re: [S2] Preselected option in tag

2007-07-25 Thread yitzle
On 7/25/07, Vincent Lin <[EMAIL PROTECTED]> wrote: I found some people are discussing this problem. When the data type of the attribute is Integer, the value can't be too large. We can use toString() to make pre-selecting work. So I changed my tag to: And it works now. Is this a bug o

Re: Problem with radio button for one default selection

2007-07-25 Thread yitzle
On 7/25/07, Vamsi <[EMAIL PROTECTED]> wrote: Hi all, I have some requirement like this I need to display a group of radio buttons where one them is defautly checked. Struts 2 ui componant display all the radio buttons without any difficulty but my problem is I am n

Date Problem

2007-07-25 Thread rrecoba
Hi, I´m using an input field where the user must put a date in the format "dd/MM/" But in the Action, when struts 2 set the value for the date attribute, the format change´s to "MM/dd/" , does anyone know why this is happening? Thanks a lot.- -- View this message in context: http:

Encoding of Message-Properties

2007-07-25 Thread Sebastian Kolbe
Hello Having a problem with property file encoding. I'm using properties files for i18n-messages and the setting 'struts.i18n.encoding' in struts.xml is set to 'UTF-8'. Using the tag the text appeared in the html output exact the way (and encoding) it was in the property file. With struts-2.0.9 s

Re: [S2] Multiple Submits with different actions in a Form

2007-07-25 Thread Joe Germuska
On 7/25/07, David Durham, Jr. <[EMAIL PROTECTED]> wrote: > I tried having the form specify one action and one button have to submit the > form, and another button (like the one above) to have the form submit to > another action. But it seems the action in the form overrides my button. Things li

Re: Struts2 actions as Runnable thread

2007-07-25 Thread nmall
The more I think about this - it does not make sense to make the action class a thread. Since the action is part of the request processing thread. How do you implement a polling thread with Struts actions. Thanks for any suggestions!! nmall wrote: > > Hi, > > Is it OK for the Struts2 ac

Re: [S2] Multiple Submits with different actions in a Form

2007-07-25 Thread David Durham, Jr.
On 7/25/07, Grish <[EMAIL PROTECTED]> wrote: no, what happens is the action specified in the form is what's executed. I'm using firefox as well. here's my button: I tried having the form specify one action and one button have to submit the form, and another button (like the one above) to hav

Struts2 actions as Runnable thread

2007-07-25 Thread nmall
Hi, Is it OK for the Struts2 action to implement Runnable. I would like to use DWR Reverse AJAX to push certain information to the JSP. Can the action become the thread that continuously pushes information to the JSP, since we are using Struts2 as our front end framework. Please let me know i

RE: Unable to get started with Struts2

2007-07-25 Thread Dave Newton
Search the archives or nabble / etc. IIRC this was discussed not all that long ago! d. --- Aladin <[EMAIL PROTECTED]> wrote: > Well... as it turns out, it looks like the problem > is arising from the > ConfigurationManager, when it tries to > getConfigurationProviders(). I've > added stacktrace

Re: autocompleter works at firefox but broken at IE 6

2007-07-25 Thread NHSoft.YHW
>>but I found follow URL works with IE 6: >>http://www.planetstruts.org/struts2-showcase/ajax/autocompleter/ today I found that the URL(http://www.planetstruts.org/struts2-showcase/ajax/autocompleter/)executed failure IE 6 when click Autocompleter 2 of "Link two autocompleter elements.", the IE

Re: [S2] Accessing autocompleter value from JavaScript

2007-07-25 Thread chengas123
Awesome! That worked like a charm :o) Thanks so much! -Ben Musachy Barroso wrote: > > http://www.nabble.com/Extract-autocompleter-value-from-javascript%2C-when-autocompleter-is-in-a-%3Cs%3Adiv-object-tf3883593.html#a11007078 > > On 7/25/07, chengas123 <[EMAIL PROTECTED]> wrote: >> >> >> R

[S2] java.net.SocketException while navigating off a loading page

2007-07-25 Thread Charbel Abdul-Massih
Hi, I am getting the following exception when accessing a struts page, and before it's fully loaded, I click on a different link or hit the browser stop button: ERROR UIBean:486 - error when rendering java.net.SocketException: Software caused connection abort: socket write error at java.n

Re: multiple struts-config files -> empty Tiles Page

2007-07-25 Thread Dave Newton
Do you have the tiles result defined in both struts config files? d. --- Kim Wegerle <[EMAIL PROTECTED]> wrote: > This is a good advice. I will change the log level > to debug. Perhaps I'll > see something that helps to solve this problem. With > the current log level > and my own debug output I

RE: Unable to get started with Struts2

2007-07-25 Thread Aladin
Well... as it turns out, it looks like the problem is arising from the ConfigurationManager, when it tries to getConfigurationProviders(). I've added stacktraces to the source code of "com.opensymphony.xwork2.config.ConfigurationManager" and it revealed the following error: 25 Jul 2007 11:12:04,21

Re: multiple struts-config files -> empty Tiles Page

2007-07-25 Thread Kim Wegerle
This is a good advice. I will change the log level to debug. Perhaps I'll see something that helps to solve this problem. With the current log level and my own debug output I'm only able to see that there are no errors in the log and the console and that the action returned "success". I just wante

RE: Unable to get started with Struts2

2007-07-25 Thread Dave Newton
Without more setup details I'm not sure how we can help; what JARs do you have in WEB-INF/lib? d. --- Aladin <[EMAIL PROTECTED]> wrote: > Looks as thought the root of the problem occurs in > Dispatcher when it calls: > > private Container init_PreloadConfiguration() { > Configuration config =

Re: [S2] Multiple Submits with different actions in a Form

2007-07-25 Thread Grish
no, what happens is the action specified in the form is what's executed. I'm using firefox as well. here's my button: I tried having the form specify one action and one button have to submit the form, and another button (like the one above) to have the form submit to another action. But it see

Cannot load a validator resource from '/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml'

2007-07-25 Thread Vitaliy Selivanov
Hi , We are using Validator in Struts 1.2.7 in our application. When we run it on Tomcat6 everything is fine. When we move it to WebLogic 9.1 Express we can't start our deployment and we are getting this error message in the log file:

Re: multiple struts-config files -> empty Tiles Page

2007-07-25 Thread Antonio Petrelli
2007/7/25, Kim Wegerle <[EMAIL PROTECTED]>: Hello, I'm using Struts 2.0.8. I've decided to divide my Struts configuration into multiple parts. The configuration is now divided into two parts: struts-config.xml and struts-config-administration.xml . I'm using the Tiles plug-in and with one single

RE: Unable to get started with Struts2

2007-07-25 Thread Aladin
Looks as thought the root of the problem occurs in Dispatcher when it calls: private Container init_PreloadConfiguration() { Configuration config = configurationManager.getConfiguration(); ... } So, the problem hierarchy: Filter:init():dispatcher.init() => Dispatcher:init_PreloadConfiguration

Re: [S2] Multiple Submits with different actions in a Form

2007-07-25 Thread David Durham, Jr.
On 7/25/07, Grish <[EMAIL PROTECTED]> wrote: My problem though is I have a form with multiple submit buttons. I tried specifying the action on each submit button but the action in my form overrides the action specified in the buttons. I have success with this technique in Firefox, but I think i

RE: Unable to get started with Struts2

2007-07-25 Thread Aladin
The class is actually packaged as test.Test, I just removed it from the post for simplicity (I won't do that next time). Also, I've tried the two url-patterns. Both /* and /execute/* don't work. They give the same error. Aladin > There appears to be a few things that may be causing your probl

RE: Unable to get started with Struts2

2007-07-25 Thread Wesley Wannemacher
There appears to be a few things that may be causing your problem - First off, is your class not qualified with a package, or maybe you're using the spring-plugin? If not, in your action configuration, it seems like the action is configured incorrectly - Maybe should be - Next, you

Unable to get started with Struts2

2007-07-25 Thread Aladin
Hello, I'm running Tomcat 5.5 on Linux (Fedora) and java 1.5.0_12-b04. I have the simplest of Struts2 application and I keep getting an error in the logs stating: ERROR TP-Processor5 org.apache.catalina.core.StandardContext - Error filterStart ERROR TP-Processor5 org.apache.catalina.core.Standar

multiple struts-config files -> empty Tiles Page

2007-07-25 Thread Kim Wegerle
Hello, I'm using Struts 2.0.8. I've decided to divide my Struts configuration into multiple parts. The configuration is now divided into two parts: struts-config.xml and struts-config-administration.xml . I'm using the Tiles plug-in and with one single configuration everything worked fine. But af

Problem with radio button for one default selection

2007-07-25 Thread Vamsi
Hi all, I have some requirement like this I need to display a group of radio buttons where one them is defautly checked. Struts 2 ui componant display all the radio buttons without any difficulty but my problem is I am not able to make the default selection.

Re: Performance Vows , Requests get lost ..

2007-07-25 Thread Leon Rosenberg
On 7/25/07, Aram Mkhitaryan <[EMAIL PROTECTED]> wrote: I'm not guessing, I'm telling my experience. No one will make so good performance analysis for you that you are satisfied. :-) meanwhile, the main bottleneck is in view part of the Struts. do you have any resources behind the actions

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

2007-07-25 Thread Ted Husted
On 7/25/07, nicolas de loof <[EMAIL PROTECTED]> wrote: Could any struts commiter also deploy the -sources.jar for struts² 2.0.9 on maven repo ? We could use some help in that regard. For whatever reason, when we run mvn deploy the source jars are not being included. Including the plugins, we ar

Re: [S2] Accessing autocompleter value from JavaScript

2007-07-25 Thread Musachy Barroso
http://www.nabble.com/Extract-autocompleter-value-from-javascript%2C-when-autocompleter-is-in-a-%3Cs%3Adiv-object-tf3883593.html#a11007078 On 7/25/07, chengas123 <[EMAIL PROTECTED]> wrote: Ravi Kumar-26 wrote: > > On 7/25/07, chengas123 <[EMAIL PROTECTED]> wrote: >> I had an HTML input I was a

Re: [S2] Ajax theme and missing dwr package

2007-07-25 Thread Musachy Barroso
Yeah that shouldn't be there as DWR is not distributed with struts. But DWR was used before for ajax validation, so I guess that's the explanation why it is around. musachy On 7/25/07, Max Pimm <[EMAIL PROTECTED]> wrote: If i use the ajax theme a script import is generated for the following 2 f

Re: Performance Vows , Requests get lost ..

2007-07-25 Thread Aram Mkhitaryan
I'm not guessing, I'm telling my experience. No one will make so good performance analysis for you that you are satisfied. meanwhile, the main bottleneck is in view part of the Struts. Best, Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile:

[S2] Enhancement Request

2007-07-25 Thread Hoying, Ken
I am trying to get my head around what the best practices are in terms of managing interceptors and interceptor stacks. One would obviously like things to be as efficient as possible. However when it comes to interceptor stacks, it seems that one also has to balance maintainability. There are so

Re: Performance Vows , Requests get lost ..

2007-07-25 Thread Leon Rosenberg
how about measuring the number of request, and in which actions the requests spend how much time, and in which layers behind the actions, and how many parallel and and and ? I mean, you are guessing around instead of make a performance analysis. regards Leon On 7/25/07, jasdeep <[EMAIL PROTECTE

Re: [S2] Accessing autocompleter value from JavaScript

2007-07-25 Thread chengas123
Ravi Kumar-26 wrote: > > On 7/25/07, chengas123 <[EMAIL PROTECTED]> wrote: >> 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. > > Hey , > I think it is no

[S2] Ajax theme and missing dwr package

2007-07-25 Thread Max Pimm
If i use the ajax theme a script import is generated for the following 2 files in template/ajax/form.ftl: src="${base}/dwr/interface/validator.js"> However i cannot find these javascripts in the struts-core jar. I presume that i need to download dwr from getahead.org and copy the resour

Re: [S2] Preselected option in tag

I found some people are discussing this problem. When the data type of the attribute is Integer, the value can't be too large. We can use toString() to make pre-selecting work. So I changed my tag to: And it works now. Is this a bug of struts 2.0.6??? On 7/25/07, Vincent Lin <[EMAIL PR

[S2] Preselected option in tag

Hi! I am using struts 2.0.6 and I encountered a problem in tag today. In my JSP: In my Action, I have a method: public List getAdminGroupList() { return this.adminGroupList; } The data bean of the list has a get method: public Integer getAdminGroupRid() { return this.a

Re: How to call a method passing a parameter inside jsp with struts 2

A made a syntax error, the underscore character and not the dot character between the class and the method name TonyD wrote: > > In a jsp page, I'am trying to call a method of my class passing a > parameter and the method will return a string value. > > > > or > > > > > > but doe

How to call a method passing a parameter inside jsp with struts 2

In a jsp page, I'am trying to call a method of my class passing a parameter and the method will return a string value. or but doesn't work. Could someone please help me! Thanks. -- View this message in context: http://www.nabble.com/How-to-call-a-method-passing-a-parameter-inside-js

Re: [S2] Validation error messages pile up

I have the same problem. Error messages on one form are piling up. Were you able to resolve this probelm? It only occurs in Firefox as well. I notice it occurs when you have multiple forms. Rafael Dittberner wrote: > > The first one. > > Rafael Dittberner > > > Musachy Barroso escreveu: >>

Re: Can Tiles provide highly configurable UI?

2007/7/25, Anton Pussep <[EMAIL PROTECTED]>: Sorry for posting to the wrong list, the old Tiles page still links to this mailing list: http://struts.apache.org/1.x/struts-tiles/mail-lists.html It is right, since Struts-Tiles is not Tiles 2. I know, it's a bit confusing, but when the separat

Re: Can Tiles provide highly configurable UI?

Sorry for posting to the wrong list, the old Tiles page still links to this mailing list: http://struts.apache.org/1.x/struts-tiles/mail-lists.html Best, Anton Antonio Petrelli wrote: > Please ask this question to the Tiles Users mailing list: > http://tiles.apache.org/mail.html > > Antonio >

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

Could any struts commiter also deploy the -sources.jar for struts² 2.0.9 on maven repo ? Nico. 2007/7/25, Deepak Kumar <[EMAIL PROTECTED]>: 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

Re: Can Tiles provide highly configurable UI?

Please ask this question to the Tiles Users mailing list: http://tiles.apache.org/mail.html Antonio 2007/7/25, Anton Pussep <[EMAIL PROTECTED]>: My company started to implement a framework that will allow us to build up highly customizable layouts, based on components, description/configuratio

Can Tiles provide highly configurable UI?

My company started to implement a framework that will allow us to build up highly customizable layouts, based on components, description/configuration files and parameters. The objective is it to allow every customer to have an own layout, such that we can make our service appear in the same layout

Re: Problem using xml tiles definition as forward for an Action.

2007/7/25, Ken Bowen <[EMAIL PROTECTED]>: I want to use this as the forward from an Action called NumberPlayAction. And I have the following action in the action-mappings: Correct it to: name="nullForm" type="com.strongbrain.actions.NumberPlayAction" > You ha

[SOLVED]Moving from 1.2.9 to 1.3.8

Here I am again, I found my problem. I only had to add common-chain.jar to my libs. Am Mittwoch, den 25.07.2007, 08:50 +0200 schrieb 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). N

Re: [Update] Moving from 1.2.9 to 1.3.8

Oh dear I have forgotten to post my config :-) Web.xml: Action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml chainConfig org/apache/struts/tiles/chain-config.xml, org/apache/struts/chain/chain-config.xml 1 Am Mittwoch, den 25.07.2007, 08:50 +0200 schrieb Alexander