Re: Struts 2 and Tomcat 5.0.27 filter start error

2007-07-14 Thread yitzle
Not sure how helpful this is, but I know I got the same message when I modified my struts.xml and mistypes a class name so that it pointed to a non-existing class. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [s2]dojo version

2007-07-14 Thread Musachy Barroso
If you question is, "will the ajax tags work with Dojo 0.9", then the answer is no :( musachy On 7/14/07, Pedro Herrera <[EMAIL PROTECTED]> wrote: Is It possible to use dojo 0.9 version instead 0.4 version within Struts 2 ? Herrera nuwan chandrasoma-2 wrote: > > Hi, > > its 0.4 > > Tha

Re: Migrate Struts 1 EventDispatchAction to Struts 2

2007-07-14 Thread Boon Leng
Hi, What I want to achieve is to migrate "EventDispatchAction", which means the methods will be called base on event, not base on request. Single action name can dispatch to multiple methods base on event triggered. And I would like to know is there anyway I can configure it in the action mapping

Re: [s2]dojo version

2007-07-14 Thread Pedro Herrera
Is It possible to use dojo 0.9 version instead 0.4 version within Struts 2 ? Herrera nuwan chandrasoma-2 wrote: > > Hi, > > its 0.4 > > Thanks, > > Nuwan > > > - Original Message - > From: "Pedro Herrera" <[EMAIL PROTECTED]> > To: > Sent: Saturday, July 14, 2007 1:22 PM > Su

Re: ParameterAware Not Working

2007-07-14 Thread Toni Lyytikäinen
It's not a String but an array of Strings. [ in front of the object indicates an array. On 7/14/07, Richard Sayre <[EMAIL PROTECTED]> wrote: I am implemnting ParameterAware to get my request parameters: http://cwiki.apache.org/WW/how-can-we-access-request-parameters-passed-into-an-action.html

Re: Autocompleter onchange

2007-07-14 Thread rrecoba
Musachy, we solved this by adding a white space in the text of the generated json. Now, when the user clicks one of the rendered options, it fires de value changed event is it possible? Musachy Barroso wrote: > > Use the "notifyTopics" attribute. > > musachy > > On 7/13/07, rrecoba <[EMAI

ParameterAware Not Working

2007-07-14 Thread Richard Sayre
I am implemnting ParameterAware to get my request parameters: http://cwiki.apache.org/WW/how-can-we-access-request-parameters-passed-into-an-action.html I have a parameter called customerId. I tried this Integer.parseInt(parameters.get("customerId")); Which did not work because .get returns an

Re: Autocompleter onchange

2007-07-14 Thread rrecoba
Thanks for your answer. I´ve already try with notifytopics, but doesn´t work. The notifyTopic isn´t fired when i select an item, it´s only fired when I change the text of the selected one. Any Idea? Musachy Barroso wrote: > > Use the "notifyTopics" attribute. > > musa

Re: Struts2 - Tab Panel

2007-07-14 Thread Marco Carnevale
Thank's for the info. I will set up a simple example in 2.0.8 to verify. On 7/13/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: That was fixed on 2.0.8 I think musachy On 7/13/07, Marco Carnevale <[EMAIL PROTECTED]> wrote: > > We have an application using the s:tabbedPanel with multiple tabs

Re: Struts 2 performance

2007-07-14 Thread Jessek
Yep, it should be relatively straightforward to do - there are of course some internal classloading considerations to make because of the bytecode enhancements... I plan on either updating documentation directly on the OGNL opensymphony site or creating via some other means today and will then m

Re: How to display message from resource bundle using Struts EL tags

2007-07-14 Thread Nuwan Chandrasoma
Hi, I think the key should be a jsp scripting variable, as your are using a constant in a java file its being evaludated to "" why dont you try like this and see.. Constants.SECTION_TITLE I havent tried this. but this would work i guess :) Thanks, Nuwan - Original Message -

Re: How to display message from resource bundle using Struts EL tags

2007-07-14 Thread semaj.najraham
Nuwan, sorry for typo... actually i did type I'm getting same error: [ERROR] - Servlet.service() for servlet jsp threw exception javax.servlet.jsp.JspException: Missing message for key "" in bundle "(default bundle)" for locale en_US has attribute named bundle. Do I need to mention anythin

Re: [s2]dojo version

2007-07-14 Thread Nuwan Chandrasoma
Hi, its 0.4 Thanks, Nuwan - Original Message - From: "Pedro Herrera" <[EMAIL PROTECTED]> To: Sent: Saturday, July 14, 2007 1:22 PM Subject: [s2]dojo version wich version of dojo tookit in struts2.0.8 is embedded ? 0.4 or 0.9 ? Herrera -- View this message in context: http://

[s2]dojo version

2007-07-14 Thread Pedro Herrera
wich version of dojo tookit in struts2.0.8 is embedded ? 0.4 or 0.9 ? Herrera -- View this message in context: http://www.nabble.com/-s2-dojo-version-tf4079031.html#a11593631 Sent from the Struts - User mailing list archive at Nabble.com. -

Complex Validation

2007-07-14 Thread Richard Sayre
I am validating a form using the XML validate file. The built in validators are great for very basic validation but I need to write a validation too see if a value already exists in the database. I am not sure how to go about doing this. All the validation examples I found only show how to use

Re: How to keep users from accessing to *.jsp strightforword?

2007-07-14 Thread Rene Gielen
Yes. I use this for years now , works perfect M.Liang Liu schrieb: > Sounds good. > My friend said that spring mvc prefer this style. > > How can I deal with the *result* mapping then ? > > thanks. > > Rene Gielen wrote: >> You can place your jsps in the WEB-INF directory. They will be >> acces

Re: How to keep users from accessing to *.jsp strightforword?

2007-07-14 Thread M.Liang Liu
Sounds good. My friend said that spring mvc prefer this style. How can I deal with the *result* mapping then ? thanks. Rene Gielen wrote: > > You can place your jsps in the WEB-INF directory. They will be > accessible for the Struts request dispatcher then, but not by direct > user call. > >

Re: How to keep users from accessing to *.jsp strightforword?

2007-07-14 Thread Rene Gielen
You can place your jsps in the WEB-INF directory. They will be accessible for the Struts request dispatcher then, but not by direct user call. M.Liang Liu schrieb: > I just would like to block users to get to the login.jsp through the > url:http://somedomain.com/login.jsp. > Instead,users can logi

RE: File upload messages problem

2007-07-14 Thread Dean Pullen
The person who had the original problem was kind enough to help. Added "struts.custom.i18n.resources=struts-messages" into struts.properties and added a struts-messages.properties file, placed the key/value pairs in there. Works fine. Thanks. -Original Message- From: Deepak Kumar [mailto

RE: File upload messages problem

2007-07-14 Thread Deepak Kumar
HI, Please have a look at struts 2 file upload example at http://www.roseindia.net/struts/struts2/struts-2-file-upload.shtml. Hope this will help you. Can you please tell me what error you are facing. Regards Deepak Kumar http://www.roseindia.net -Original Message- From: Dean Pullen [