Re: Design problem

2005-05-21 Thread Dakota Jack
> if ("show".equals(action)) > >// check employeId is set > > else if ("update".equals(action)) > >// check employee datas > > > > > > Nico. > > > > Gaet a écrit : > > > > >Thanks nicolas, > > > > > >I know the

Re: Design problem

2005-05-21 Thread Erik Weber
t;/showEmployeeDetail" and "/updateEmployeeDetail" will know the method to execute in my dispatch action? Thank you very much! - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesda

Re: Design problem

2005-05-21 Thread K Rajesh
// check employee datas > > > Nico. > > Gaet a écrit : > > >Thanks nicolas, > > > >I know the dispatch action but I don't see how to use it with 2 mappings: > >how the mappings "/showEmployeeDetail" and "/updateEmployeeDetail" wi

Re: Design problem

2005-03-09 Thread Gaet
That's exactly my problem now Rick! I will have a look ! Thanks! - Original Message - From: "Rick Reumann" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 09, 2005 6:01 PM Subject: Re: Design problem > Gaet wrote the follo

Re: Design problem

2005-03-09 Thread Rick Reumann
Gaet wrote the following on 3/9/2005 11:04 AM: I have defined the /EmployeeDetail action-mapping with validate equal to false to be able to display the employee detail page without any checkbut if the user made any changes on the employee information in the detailled page, the same action is ca

Re: Design problem

2005-03-09 Thread Nicolas De Loof
of EmployeeDetail.jsp like this : Like this I don't need to change my actual Action class... Is it well-designed like this? Thanks - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 09, 2

Re: Design problem

2005-03-09 Thread Nicolas De Loof
- Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 09, 2005 5:09 PM Subject: Re: Design problem You should define 2 mappings for detail : a "/showEmployeeDetail" without validation (or a u

Re: Design problem

2005-03-09 Thread Gaet
hanks - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 09, 2005 5:09 PM Subject: Re: Design problem > > You should define 2 mappings for detail : > > a "/showEmployeeDetail&

Re: Design problem

2005-03-09 Thread Gaet
"Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 09, 2005 5:09 PM Subject: Re: Design problem > > You should define 2 mappings for detail : > > a "/showEmployeeDetail" without validation (or a uniqu

Re: Design problem

2005-03-09 Thread Woodchuck
another alternative, if you want to keep your action definition the same (ie. not define any new action) set your action validate to "true" in struts-config.xml define a hidden input value on your form update this value when the save/update button is clicked (simple javascript) in your action f

Re: Design problem

2005-03-09 Thread Nicolas De Loof
You should define 2 mappings for detail : a "/showEmployeeDetail" without validation (or a unique rule employeeId required) a "/updateEmployeeDetail" with validation. Your action can be a dispatch action if you don't want to have 2 classes. Nico. Gaet a écrit : Hi, I have page with a list of empl

RE: Design Problem

2004-07-08 Thread Viral_Thakkar
What your putting in Application resources file..??? If u r displaying error messages then use in model. -Original Message- From: nikhil walvekar [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 4:29 PM To: Struts Users Mailing List Subject: Re: Design Problem Hi, Now my

Re: Design Problem

2004-07-08 Thread nikhil walvekar
Hi, Now my problem is that how to generate contents from Application resources in model , i am using two resources, one with default key and other with "abc" as bundle name. Messages are there in resource with "abc" as resource key. Nikhil Navjot Singh <[EMAIL PROTECTED]> wrote: nikhil wa

Re: Design Problem

2004-07-08 Thread Navjot Singh
nikhil walvekar wrote: hi all, I have got one problem in design i.e. i am not getting where should i place this part in my project. I have function to send mails, whom to send depends on some conditions, but my requirement is that message contents are taken from resources. So should it be Mo