Re: Organizing action classes

2006-06-08 Thread Frank W. Zammetti
Michael Jouravlev wrote: Chamal, if you decide to use a dispatch action, I suggest EventDispatchAction, or ActionEventDispatcher if your action class must inherit from your custom class. See these links: Definitely agreed there... this is, to me at least, clearly the best alternative if you go

Re: Re: Extending Struts with Spring

2006-06-08 Thread Julian Tillmann
Thank you for your replies! When I understand this right: - Giving Actions a state using Spring makes no sence - It cannot be recommended to overwrite the request processor with Spring (we already have our own) - But the spring Context offers some new possibilites like IOC but to be honest

RE: struts-config xml file throws a java exception

2006-06-08 Thread Olivier Bex
According to my java file, the property loginRequired is in a java class that extends ActionMapping. In addition, the setter and getter methods are set. Thanks for the help. Regards, Olivier. -Message d'origine- De : Frank W. Zammetti [mailto:[EMAIL PROTECTED] Envoyé : mercredi 7 juin

message resources

2006-06-08 Thread Marcus
Hi, I want to print a message like this: myValueAdded=my value{0} has been added. How can I fill in the corresponding value? Thx, Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: struts-config xml file throws a java exception

2006-06-08 Thread Olivier Bex
Hi, Here is my form bean declaration : form-beans form-bean name=loginForm type=com.eyrolles.LoginForm / form-bean name=employeForm type=com.eyrolles.EmployeForm / /form-beans And here is the action form : (NB : the other declaration loginForm does not use the loginrequired

RE: message resources

2006-06-08 Thread Mukta
Pass the argument {0} as follows: bean:message key= myValueAdded arg0=value/ -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 1:32 PM To: Struts Users Mailing List Subject: message resources Hi, I want to print a message like this:

RE: message resources

2006-06-08 Thread Olivier Bex
Hi Marcus, Where do you want to print this message ? What type of data do you use ? Regards, Olivier -Message d'origine- De : Marcus [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 juin 2006 10:02 À : Struts Users Mailing List Objet : message resources Hi, I want to print a message like

Re: message resources

2006-06-08 Thread Marcus
Pass the argument {0} as follows: bean:message key= myValueAdded arg0=value/ I tried that, but then it writes literally: Value value has been added. But what need the VALUE of hte variable myValue to be printed. :-( Marcus

Re: message resources

2006-06-08 Thread Marcus
Where do you want to print this message ? I type in my value into a textbox. Forward to action. Action adds value, forwards to jsp. Now jsp should say: Value myValue has been added. (With the value of myValue printed!) What type of data do you use ? Strings Marcus

RE: message resources

2006-06-08 Thread Mukta
I'm assuming that there is a key-value pair defined in your message-resources (.properties) file as follows: myValueAdded=my value {0} has been added. And that you want to print a value at location {0} to be passed from some jsp or some other file. bean:message key=myValueAdded arg0=value/

Re: message resources

2006-06-08 Thread David Delbecq
bean:message key= myValueAdded arg0=${mybean.value}/ Marcus wrote: Pass the argument {0} as follows: bean:message key= myValueAdded arg0=value/ I tried that, but then it writes literally: Value value has been added. But what need the VALUE of hte variable myValue to be printed. :-(

RE: message resources

2006-06-08 Thread Mukta
Try using bean:message key=myValueAdded arg0=%=myValueAdded%/ -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 2:28 PM To: Struts Users Mailing List Subject: Re: message resources Pass the argument {0} as follows: bean:message key= myValueAdded

RE: message resources

2006-06-08 Thread Mukta
What do you mean by Action adds value?? Where does Action add this value? -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 2:30 PM To: Struts Users Mailing List Subject: Re: message resources Where do you want to print this message ? I type in my

RE: message resources

2006-06-08 Thread Olivier Bex
Hi, What do you have in the java class for the value you want to put in your message, is it a has table or something else ? Olivier. -Message d'origine- De : Marcus [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 juin 2006 10:58 À : Struts Users Mailing List Objet : Re: message resources

Re: message resources

2006-06-08 Thread Marcus
bean:message key=myValueAdded arg0=${mybean.value}/ I wrote: bean:message key=myValueAdded arg0=${myDynaForm.value}/ And it returns literally: ${myDynaForm.value} What do you have in the java class for the value you want to put in your message, is it a has table or something else ? It's

RE: message resources

2006-06-08 Thread Mukta
In your Action class, add following statements before return statement: ActionMessages oMsgs = new ActionErrors(); oMsgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(myValueAdded, actual value)); saveErrors(oRequest.getSession(), oMsgs); In your jsp, you must be having

Re: message resources

2006-06-08 Thread Marcus
In your Action class, add following statements before return statement: ActionMessages oMsgs = new ActionErrors(); oMsgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(myValueAdded, actual value)); saveErrors(oRequest.getSession(), oMsgs); In your jsp, you must be having html:errors / It

RE: message resources

2006-06-08 Thread Mukta
It will be displayed as a message only. For code-cleaning purpose, since it gives an incorrect interpretation, you can achieve the same result by slightly manipulating this code. Try replacing ActionErrors with ActionMessages In jsp also, replace html:errors / with html:messages / It should work.

Validation not working for 'double' with Struts 1.2

2006-06-08 Thread antony.paul
Hi all, I am trying to validate a field against 'double', In validation.xml i have specified the validation logic as. field property=fieldName depends=double arg0 key=formName.fieldName/ /field This is not working, but it will work fine If I change it to' depends =integer '

Re: Validation not working for 'double' with Struts 1.2

2006-06-08 Thread The Jasper
What isn't working? Is it not validating properly? Are you getting some type of exception? Does it accept everything? You can alway check the source code of FieldChecks to find out what it is doing. mvg, Jasper On 6/8/06, antony.paul [EMAIL PROTECTED] wrote: Hi all, I am trying

Re: message resources

2006-06-08 Thread David Delbecq
Marcus wrote: bean:message key=myValueAdded arg0=${mybean.value}/ I wrote: bean:message key=myValueAdded arg0=${myDynaForm.value}/ And it returns literally: ${myDynaForm.value} Sorry, thought bean:message was supporting el notation :) try this bean:message key=myValueAdded

Re: message resources

2006-06-08 Thread Marcus
It's awfull, but assuming you have myDynaForm in some scope should work Yes, indeed! ;-) Isn't there something more struts like (using tags..) Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Validation not working for 'double' with Struts 1.2

2006-06-08 Thread antony.paul
Hi Sorry for that incomplete mail. I am not getting any excetption and that particular field is accepting everthing like characters and getting saved in the database as '0', I guess thats the default value for that field because I have defined that corresponding property in the Action Form

Re: Re: Extending Struts with Spring

2006-06-08 Thread Joe Germuska
At 9:14 AM +0200 6/8/06, Julian Tillmann wrote: Thank you for your replies! When I understand this right: - Giving Actions a state using Spring makes no sence Not so much makes no sense as doesn't get you anything. At least, once you are used to writing threadsafe actions, you don't see as

Re: message resources

2006-06-08 Thread Dave Newton
From: Marcus [mailto:[EMAIL PROTECTED] Value myValue has been added. (With the value of myValue printed!) Anyway, you've gotten a lot of... advice. Mine is to either use a JSP 2.0 container so the original EL suggestion ${myBean.value} EL will work, or use the struts-el tags if

Re: Extending Struts with Spring

2006-06-08 Thread Phil Zoio
I've added a lot of support for integrating Spring with Struts in Strecks: http://strecks.sourceforge.net/ - a Java 5-based Struts extension framework The main Spring-related things you'll find in there are: - you can inject any Spring bean into your actions using the @InjectSpringBean

[Solved] Issue while migrating from 1.0 to 1.1

2006-06-08 Thread Olivier Citeau
Tim, thank you for your support and your patience, I found the solution. This page helped me too : http://www.systemmobile.com/articles/strutsMessageResources.html Instead of parameter=struts, I needed to specify parameter=ressources.struts Whereas Struts 1.0 could find it in

[Solved] Issue while migrating from 1.0 to 1.1

2006-06-08 Thread Olivier Citeau
Tim, thank you for your support and your patience, I found the solution This page helped me too : http://www.systemmobile.com/articles/strutsMessageResources.html Instead of parameter=struts, I needed to specify parameter=ressources.struts Whereas Struts 1.0 could find it in

Re: message resources

2006-06-08 Thread Marcus
Mine is to either use a JSP 2.0 container so the original EL suggestion ${myBean.value} EL will work, or use the struts-el tags if you're using a JSP 2.0 container, which will do the same thing in a different way. I am using Apache Tomcat 5.5, and AFAIK, it does support JSP 2.0. For myBean I

Re: [Solved] Issue while migrating from 1.0 to 1.1

2006-06-08 Thread Niall Pemberton
On 6/8/06, Olivier Citeau [EMAIL PROTECTED] wrote: Tim, thank you for your support and your patience, I found the solution This page helped me too : http://www.systemmobile.com/articles/strutsMessageResources.html Instead of parameter=struts, I needed to specify parameter=ressources.struts

Re: message resources

2006-06-08 Thread Dave Newton
Marcus wrote: Any ideas? What does your web.xml DOCTYPE look like? Irritatingly enough, you have to tell Tomcat to go ahead and be 2.0-ish. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: message resources

2006-06-08 Thread Marcus
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; 2.2 means 2.0-ish, I assume? Marcus Dave Newton schrieb: Marcus wrote: Any ideas? What does your web.xml DOCTYPE look like? Irritatingly enough, you have

wanna know abt threads and springs

2006-06-08 Thread Patil, Sheetal
Hi Actually I work on struts and tomcat 5.0 and I am not aware of treads and springs, which are more popular on mailing list now days, so can u please tell me about these or give me some links for threads and springs Thanks in advance Sp

RE: wanna know abt threads and springs

2006-06-08 Thread animesh.saxena
Hi , If you are talking about thread basicsthe best resource is www.javaranch.com. For springs...well I am still referring O'Reilly books for that! Regards, Animesh Saxena RR Donnelley Wipro Technologies Bangalore. 99860-76686 When Life tears you down, it builds you up. -Original

RE: struts-config xml file throws a java exception

2006-06-08 Thread Samere, Adam J
Where is loginRequired referenced in your struts-config document? Perhaps I misunderstood your problem. -Original Message- From: Olivier Bex [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 4:04 AM To: 'Struts Users Mailing List' Subject: RE: struts-config xml file throws a java

Re: message resources

2006-06-08 Thread Dave Newton
Marcus wrote: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; 2.2 means 2.0-ish, I assume? Nope... That means Servlet spec 2.2, which is less than you need ;) Pre-advice caveat: I've never figured out XML,

Re: Validation not working for 'double' with Struts 1.2

2006-06-08 Thread Niall Pemberton
On 6/8/06, antony.paul [EMAIL PROTECTED] wrote: Hi Sorry for that incomplete mail. I am not getting any excetption and that particular field is accepting everthing like characters and getting saved in the database as '0', I guess thats the default value for that field because I have

Re: Validation not working for 'double' with Struts 1.2

2006-06-08 Thread The Jasper
always pass the double validation (but fail integer validation :-) For this to work you need to define the property in your ActionForm as a String, not a Double. oops, missed that :} mvg, Jasper - To unsubscribe, e-mail:

RE: struts-config xml file throws a java exception

2006-06-08 Thread Olivier Bex
LoginRequired is referenced in the action tags of each action. Here is a sample : action-mappings action path=/Login type=com.eyrolles.LoginAction validate=true input=/login.jsp name=loginForm scope=request forward name=success path=/EmployeListe.do/

Re: selectedItems of checkbox

2006-06-08 Thread fea jabi
need help with this please. Thanks. Thankyou for your response. yes, it is displaying in correct form in the browser. I want to delete the selected values from the original list. In the Dispatch Action I am checking the selectedList which are String values with the originallist and doing

Re: struts-config xml file throws a java exception

2006-06-08 Thread Dave Newton
Olivier Bex wrote: LoginRequired is referenced in the action tags of each action. I may have missed it, but did you provide the source for your custom ActionMapping class that you are expecting the set-property... element to act upon? (If you didn't, or haven't sub-classed ActionMapping or

Re: struts-config xml file throws a java exception

2006-06-08 Thread Wendy Smoak
On 6/8/06, Olivier Bex [EMAIL PROTECTED] wrote: LoginRequired is referenced in the action tags of each action. ... action path=/EmployeListe type=com.eyrolles.EmployeListeAction scope=request set-property property=loginRequired value=true/ forward name=success

RE: struts-config xml file throws a java exception

2006-06-08 Thread Samere, Adam J
You don't have a custom action-mappings type... The set-property set's property on the ActionMapping instance. action-mappings type=foo.bar.MyActionMapping ... /action-mappings -Original Message- From: Olivier Bex [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 9:06 AM

Re: Format USDollars

2006-06-08 Thread Vinit Sharma
fmt tag can solve ur problem: fmt:formatNumber type=currency currencyCode=USD value=1234578.74901 pattern=#,###.##/ Display would look as: $1,234,578.75 HTH, On 6/7/06, Antonio Petrelli [EMAIL PROTECTED] wrote: Raghuveer ha scritto: How to format Money Data type(SQL server )by below format

Re: message resources

2006-06-08 Thread Marcus
Nope... That means Servlet spec 2.2, which is less than you need ;) Pre-advice caveat: I've never figured out XML, DOCTYPEs, and people make fun of me for it. web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: message resources

2006-06-08 Thread Marcus
When using EL with dyna beans you need to reference the map property then your property. The struts tags (i.e. bean:write) handle this for you. bean:message key=valueAdded Sorry, call me dumb, but I didn't really get what you tried to explain. EL ? - map property - you mean my dynaForm?

Re: message resources

2006-06-08 Thread Dave Newton
Marcus wrote: When using EL with dyna beans you need to reference the map property then your property. The struts tags (i.e. bean:write) handle this for you. bean:message key=valueAdded Or do you really mean a map? I am not using one.. ...but you're using a DynaForm, so you are, so just

RE: struts-config xml file throws a java exception

2006-06-08 Thread Olivier Bex
Here is my Actionmapping class using the property loginRequired : package com.ex.struts; import org.apache.struts.action.ActionMapping; public class EmployesActionMapping extends ActionMapping { private static final long serialVersionUID = 1L; protected boolean loginRequired = false;

RE: message resources

2006-06-08 Thread Samere, Adam J
Internally the DynaForm (i.e. DynaBean) uses a Map to store the properties. This is what allows it to provide dynamic properties and save you from writing ActionForm subclasses. When you reference myDynaForm with a JSP Expression Language (EL) expression like ${myDynaForm.description} reflection

RE: struts-config xml file throws a java exception

2006-06-08 Thread Samere, Adam J
Does your struts-config have: action-mappings type=com.ex.struts.EmployesActionMapping ... /action-mappings It didn't in the example you provided earlier. -Original Message- From: Olivier Bex [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 9:58 AM To: 'Struts Users

[Tiles] Embedding tiles inside of tiles

2006-06-08 Thread Susan G. Conger
I am new to using tiles and I have a couple of questions. I have written a page layout and I have it coming up but there are a couple of questions that I have. First, my header.jsp has a section where the graphic changes depend on what page is begin displayed. I can't seem to figure out the

Re: [Tiles] Embedding tiles inside of tiles

2006-06-08 Thread Antonio Petrelli
Susan G. Conger ha scritto: First, my header.jsp has a section where the graphic changes depend on what page is begin displayed. I can't seem to figure out the correct way to implement this. What do you mean with graphic? A picture? Ant how do you want to change this graphic, I mean, what are

Re: [Tiles] Embedding tiles inside of tiles

2006-06-08 Thread Greg Reddin
On Jun 8, 2006, at 9:05 AM, Susan G. Conger wrote: First, my header.jsp has a section where the graphic changes depend on what page is begin displayed. I can't seem to figure out the correct way to implement this. The short answer is to use Tile attributes. The longer answer is that

Re: [Tiles] Embedding tiles inside of tiles

2006-06-08 Thread Antonio Petrelli
Susan G. Conger ha scritto: The image changes depending on the page that is being displayed. Ideally I would like to just be able to point to the .gif file in the tiles-def.xml file. Here is what I have so far: tiles-definitions !-- Student Layout -- definition name=student.header

Digester Error while reading struts config file

2006-06-08 Thread RickD
Has anyone seen this. I'm migrating to struts 1.2.9 from 1.1. I've tried using the 1.2 version of the DTD, and I've tried it without a DOCTYPE declaration to stop validation. I also read that there may be a problem with the xerces parser. I read that the Digester has problems if the xerces

[solved] message resources

2006-06-08 Thread Marcus
Samere, Adam J schrieb: Internally the DynaForm (i.e. DynaBean) uses a Map to store the properties. This is what allows it to provide dynamic properties and save you from writing ActionForm subclasses. When you reference myDynaForm with a JSP Expression Language (EL) expression like

multibox not works when all checkboxes are unselected!

2006-06-08 Thread starki78
Hi! I've a large problem with html:multibox. I've tree checkboxes. When I choose one or two or three it arrives correct at the next action! Only then all checkboxes are deselected it remembers the state of the checkboxes that was selected before! The state of the form is session in struts-config.

RE: multibox not works when all checkboxes are unselected!

2006-06-08 Thread Samere, Adam J
Browsers are only required to submit values for checkboxes when they are selected. So when a box is not checked, no value is sent, so the state on the server is not changed. When using session scoped objects to store the value of checkboxes your processing needs to be aware of the fact that values

RE: multibox not works when all checkboxes are unselected!

2006-06-08 Thread starki78
Hi Adam I just tried: public void reset(ActionMapping mapping, HttpServletRequest request) { multiboxvalues = new String[3]; multiboxvalues[0] = ; multiboxvalues[1] = ; multiboxvalues[2] = ; } And now the problem seems to be solved but to be honest I don't have the knowledge

response.sendRedirect() doesn't work!

2006-06-08 Thread Truong Xuan Tinh
Hi every body, I've have a problem with the response.sendRedirect called in a jsp file, I've used Tile in my project. I've set the autoFlush=false and set the bufferSize to a big number (bufferSize=2048kB) in the master page (of Tile) and in the *child* jsp file where the response.sendRedirect()

ActionForm and EJB

2006-06-08 Thread chamal desilva
Hi, I read few articles on struts. They recommend not to send action form class to EJBs as data holders. They recommend we should use general classes for holding data to decople web tier with EJBs. What they say must be correct but I still have few doubts (Maybe b'cause I am not experienced).

Re: ActionForm and EJB

2006-06-08 Thread Frank W. Zammetti
Hi Chamal, The recommendation of not passing ActionForms to your business classes stems from two thoughts... First, by passing an ActionForm, you tie your business clases to Struts. Should you want to change to another framework later, your business classes should be unaffected, therefore,

RE: response.sendRedirect() doesn't work!

2006-06-08 Thread David Friedman
Why not avoid this problem since you are using a tile and simply add a meta refresh at the top? That way you know the page should change and you will have no problem with how Tiles handles output. Personally, I think putting a response.sendRedirect() in a jsp is the wrong place. I try to keep

Re: ActionForm and EJB

2006-06-08 Thread Truong Xuan Tinh
chamal desilva wrote: Hi, I read few articles on struts. They recommend not to send action form class to EJBs as data holders. They recommend we should use general classes for holding data to decople web tier with EJBs. That's right. What they say must be correct but I still have few

RE: Digester Error while reading struts config file

2006-06-08 Thread Samere, Adam J
What container are you using? By moving xerces 2.8 inside my war do you mean the xercesImpl.jar? Which JVM you are using may also be of interest. What is bluecast? I bet your Sax Parser factory is picking the wrong one... -Original Message- From: RickD [mailto:[EMAIL PROTECTED] Sent:

Re: ActionForm and EJB

2006-06-08 Thread Michael Jouravlev
On 6/8/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Second, an ActionForm is, usually, used to repopulate an HTML form on a page when an error occurs, or when a page is initially shown. Since HTML forms only deal in Strings, another recommendation you frequently hear is to only have Strings

RE: Digester Error while reading struts config file

2006-06-08 Thread RickD
Sorry, I'm kinda new to this type of forum. Thanks for your help. I'm using Tomcat 5.5.15, struts 1.2.9, and java 1.5.0_06. thanks -- View this message in context: http://www.nabble.com/Digester-Error-while-reading-struts-config-file-t1755486.html#a4776841 Sent from the Struts - User forum at

Re: ActionForm and EJB

2006-06-08 Thread Frank W. Zammetti
On Thu, June 8, 2006 1:09 pm, Michael Jouravlev wrote: On the other hand, the whole idea of Struts/Commons Validator sucks big time, because database already has all necessary validations, domains, triggers, etc. Since most apps use database anyway, input data should either be validated

RE: Digester Error while reading struts config file

2006-06-08 Thread RickD
I didn't remove any xerces related jars from tomcat cat. I looked in common/lib and server/lib but didn't see xerces. in the web.xml I only specify a single module config file. servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param

Re: ActionForm and EJB

2006-06-08 Thread Dave Newton
Frank W. Zammetti wrote: On Thu, June 8, 2006 1:09 pm, Michael Jouravlev wrote: On the other hand, the whole idea of Struts/Commons Validator sucks big time, because database already has all necessary validations, domains, triggers, etc. Since most apps use database anyway, input data

RE: Digester Error while reading struts config file

2006-06-08 Thread Samere, Adam J
The concrete SAXParserFactory implementation to use is determined as follows: 1. Use the javax.xml.parsers.SAXParserFactory system property if it is set. (with -Djavax.xml.parsers.SAXParserFactory=my.factory.impl for example) 2. If JRE/lib/jaxp.properties exists and has a

Re: response.sendRedirect() doesn't work!

2006-06-08 Thread Truong Xuan Tinh
Thank David for your reply. Actually, I've known that's not right to do it, in the jsp file, but I've have no choice in this situation. Because this is the final page in a wizard-like web application. Normally, the user stop at the final page, but in some case, the user want to redo the wizard

Re: ActionForm and EJB

2006-06-08 Thread Craig McClanahan
On 6/8/06, Dave Newton [EMAIL PROTECTED] wrote: Frank W. Zammetti wrote: On Thu, June 8, 2006 1:09 pm, Michael Jouravlev wrote: On the other hand, the whole idea of Struts/Commons Validator sucks big time, because database already has all necessary validations, domains, triggers, etc.

Re: multibox not works when all checkboxes are unselected!

2006-06-08 Thread Scott Van Wart
starki78 wrote: Hi! I've a large problem with html:multibox. I've tree checkboxes. When I choose one or two or three it arrives correct at the next action! Only then all checkboxes are deselected it remembers the state of the checkboxes that was selected before! The state of the form is

Re: ActionForm and EJB

2006-06-08 Thread Frank W. Zammetti
On Thu, June 8, 2006 2:12 pm, Craig McClanahan wrote: IMHO, where and how to do what kinds of validations is going to be the next great debate in application framework design :-) Hehe, it's a debate that's been around for a while, not sure it can be the next great debate :) LOL * Enhance the

Re: ActionForm and EJB

2006-06-08 Thread Michael Jouravlev
On 6/8/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: On Thu, June 8, 2006 2:12 pm, Craig McClanahan wrote: * Enhance the user experience by catching errors as quickly as possible (ideally client side in a webapp), with error messages that are relevant to the user's context in that

Re: ActionForm and EJB

2006-06-08 Thread Frank W. Zammetti
On Thu, June 8, 2006 2:46 pm, Craig McClanahan wrote: Always slow to get on the latest bandwagon, eh Frank :-) Who, what, me?!? Nhh! (hey, you were the last Ant vs. Maven holdout, I was happy I wasn't the only one... you left me man!! LOL) That being said, XML configuration

Re: ActionForm and EJB

2006-06-08 Thread Dave Newton
Michael Jouravlev wrote: Check out Stripes, great stuff. It is indeed pretty cool. I really dislike putting my URL mappings in code, though, if for no other reason than if I'm testing or need to stub out a URL handler temporarily for some reason I have to touch things in two different places

Re: ActionForm and EJB

2006-06-08 Thread Frank W. Zammetti
On Thu, June 8, 2006 3:07 pm, Michael Jouravlev wrote: So your argument is basically that database roundtrips will degrade performance. Yes, but that's only one aspect of it... scalability is also a factor, as is number of breakage point, as is cost, because to overcome the first two you have

Re: Re: Extending Struts with Spring

2006-06-08 Thread Dakota Jack
Don't forget about the AOP aspect (no pun intended) of Spring. While the IoC is handy, it is nothing, in my opinion, in comparison to the solution regarding logging, security, metrics, etc. in Spring with AOP. On 6/8/06, Julian Tillmann [EMAIL PROTECTED] wrote: Thanks very much for all your

Reload the same page

2006-06-08 Thread Maya menon
All, I have a page, results.jsp with a link ahref=deleteAction.do?/ In deleteAction, the record will be deleted by calling the helper classes and on succesful delete the request should be forwarded again to the results.jsp. How can I achieve this ? In strts-config, i

Re: Reload the same page

2006-06-08 Thread Albert L. Sapp
Maya menon wrote: All, I have a page, results.jsp with a link ahref=deleteAction.do?/ In deleteAction, the record will be deleted by calling the helper classes and on succesful delete the request should be forwarded again to the results.jsp. How can I achieve this ? In

Variable 'input' attribute in struts-config.xml

2006-06-08 Thread Scott Van Wart
I have two different pages that call the same action. I'm using validate=true in the action mapping. Can I specify the 'input' attribute dynamically (or set it somewhere while the action is being called, before validation?). Thanks, Scott

RE: Variable 'input' attribute in struts-config.xml

2006-06-08 Thread Ralf Stoltze
hi. I have two different pages that call the same action. I'm using validate=true in the action mapping. Can I specify the 'input' attribute dynamically (or set it somewhere while the action is being called, before validation?). never tried, but ... your action's execute method gives

Re: Variable 'input' attribute in struts-config.xml

2006-06-08 Thread Michael Jouravlev
On 6/8/06, Scott Van Wart [EMAIL PROTECTED] wrote: I have two different pages that call the same action. I'm using validate=true in the action mapping. Can I specify the 'input' attribute dynamically (or set it somewhere while the action is being called, before validation?). You cannot

Re: hotkeys

2006-06-08 Thread Miguel Galves
What exactly do you want to do ? On 6/8/06, Marcus [EMAIL PROTECTED] wrote: Is there a way of adding hotkeys to a form field in struts? I would like to add the keys F1-F4 to my form fields 1-4. Thx, Marcus - To unsubscribe,

Re: [shale] Problems after updating to MyFaces 1.1.3

2006-06-08 Thread Gary VanMatre
From: Richard Wallace [EMAIL PROTECTED] Hey all, I'm having a problem with clay after updating to MyFaces 1.1.3 and Tomahawk 1.1.3. I'm getting a couple of these when the webapp is deployed: 2006-06-08 10:02:55,174 2621 ERROR [http-8080-Processor24]

Re: hotkeys

2006-06-08 Thread Frank W. Zammetti
Hi Marcus, Take a look at the accessKey attribute, I think that's what you want... however, I don't believe it is possible to assign function keys, I think you only have letters and numbers, and maybe punctuation marks. You could do what you want via scripting though, where I believe you can

RE: wanna know abt threads and springs

2006-06-08 Thread Rakesh.Bhat
Hi, To know about spring; try it from: http://www.springframework.org/docs/reference/ It is always a best to know from founders. Cheers -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 5:38 PM To: user@struts.apache.org Subject:

Re: [Struts + Tiles] JSTL problem on WebSphere Application Server 6

2006-06-08 Thread Rafael
Hi David, After a couple of days I finally solved this question, you're correct... I finally found a fix pack that fix this problem (WAS6 Fix pack 9 at http://www-1.ibm.com/support/docview.wss?rs=180uid=swg27007534#steps). So, for all people that uses WebSphere Application Server: Keep your

Error with dynaactionform integer property

2006-06-08 Thread Medicherla Lakshmi
Hi, I have an action in which am trying to get two values from database, one is of type Integer and the other String. I have put them in an ArrayList and have set to an attribute like request.setAttribute(Employee, Employee). Form for this action is of type dynaactionform. When

kindly help please

2006-06-08 Thread xavier prad
Can I use swings instead of jsp as view in struts Regards Pradhap

Re: kindly help please

2006-06-08 Thread Frank W. Zammetti
Hi Pradhap, Yes, you can. However, your JSPs will in all probability NOT be rendering markup for display to the user... they will probably generate some sort of data structure that your Swing client will use to update the view. Maybe XML for example. Your Swing app just makes HTTP

Re: kindly help please

2006-06-08 Thread xavier prad
hai *Zammetti,* *Thanks for the help you have extended me .Kindly let me know some websites to find the details .* *Regards ,* *Pradhap.* On 6/9/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Hi Pradhap, Yes, you can. However, your JSPs will in all probability NOT be rendering markup for

Re: kindly help please

2006-06-08 Thread Frank W. Zammetti
Sorry, I don't have any applicable links to give. Some time with Google might find you some details. Frank xavier prad wrote: hai *Zammetti,* *Thanks for the help you have extended me .Kindly let me know some websites to find the details .* *Regards ,* *Pradhap.* On 6/9/06, Frank W.