> 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
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
// 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
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
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
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
- 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
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&
"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
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
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
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
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
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
14 matches
Mail list logo