On Mon, Dec 7, 2009 at 3:03 AM, Tudor Andrei Raneti wrote:
> i load up dataParams.jsp from main.jsp:
> [code]
> executeResult="true"> [/code]
> i map it in struts.xml:
> [code] class="loto.action.DataParams">
> /jsp/main.jsp
> /jsp/dataParams.jsp
> [/code]
> and set up a DataPa
i load up dataParams.jsp from main.jsp:
[code]
[/code]
i map it in struts.xml:
[code]
/jsp/main.jsp
/jsp/dataParams.jsp
[/code]
and set up a DataParams-validator.xml.
The problem starts when i submit dataParams.jsp 's form:
[code] [/code]
because it's supposed to validate while
Strachan, Paul wrote:
Hi All,
(Struts 1.2.4, Validator 1.1.3)
I have a DispatchAction which forwards to 3 possible Jsps (populated by
a single DynaForm)
Next, I added validations for each of the 3 JSP pages but now each
validation is different, it seems I need to clone the forms ???
But, also
Hi All,
(Struts 1.2.4, Validator 1.1.3)
I have a DispatchAction which forwards to 3 possible Jsps (populated by
a single DynaForm)
Next, I added validations for each of the 3 JSP pages but now each
validation is different, it seems I need to clone the forms ???
But, also it doesn't
> 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
Hi,
I have page with a list of employees.
On that list, if you click on an employee name, I want to redirect to an
edit page...easy no?
but how to define the complete process into struts-config? Below you will
find my actual struts-config but here is my problem :
I have defined the /EmployeeDetai
ok then , I try to figure out myself
thanks a lot, ^^
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To: Struts Users Mailing List
Subject: Re: Struts design problem, any help?
thanks for your kind reply
For example, for a classic online shop,
1 BD for customer (for check-in, check-out, list product etc...)
1 BD for admin (for update product price, stock etc...)
1 BD for normal user (for web foru
thanks for your kind reply
For example, for a classic online shop,
1 BD for customer (for check-in, check-out, list product etc...)
1 BD for admin (for update product price, stock etc...)
1 BD for normal user (for web forum, enquiry, feeback etc...)
does it looks good?
so if my BD doesn't map t
>I want to know if I implement business delagate as POJO singleton, can
>u give me some advice on how to multi-thread this business delagate to
>various request ???
>and how about caching ?? How to cache the handler of a business service
??
I don't consider myself so expert on multithreading :-(
P
Hi, me again, ^^
I want to know if I implement business delagate as POJO singleton, can
u give me some advice on how to multi-thread this business delagate to
various request ???
and how about caching ?? How to cache the handler of a business service ??
Hello,
>Do the system has only one business delagate to control the mapping of
>request to business service
it depends on how many business delegate you need in
your application...
it's up to you on how many business delegate you need.
For small applications (like mine at home), usually 1 or 2 i
sorry, one more question..
I have read the business delagate pattern a while but still have little confuse
Do the system has only one business delagate to control the mapping of
request to business service
OR
the system has the same number of business delagate and business
service?? so one service
Hello,
>Thanks for the reply and I want to know more... ^^
>I know what means by Business delegate Factory, but what is "a plugIn
>for your factory" ??
by plugIn I meant Struts PlugIn (check struts docs,
http://jakarta.apache.orgs/struts)
a Struts PlugIn allows you to configure components that ha
Thanks for the reply and I want to know more... ^^
I know what means by Business delegate Factory, but what is "a plugIn
for your factory" ??
Do I need to implement Business delegate Factory by myself? Will
Struts help me in some way??
Regards
July 2004 09:19
To: [EMAIL PROTECTED]
Subject: Struts design problem, any help?
Hi, I am very new in Struts. Can anyone give me some suggestion on the
design of a Service Locator ??
I use ActionServlet as a front controller, and dispatch request to
various Action, then I want all the Actions access
Hi, I am very new in Struts. Can anyone give me some suggestion on the
design of a Service Locator ??
I use ActionServlet as a front controller, and dispatch request to
various Action, then I want all the Actions access my business tier
only by the Service Locator, which return an interface of the
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
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 Model part or controller
31 matches
Mail list logo