Thanks to all. my problem was resolved. thanks a lot.
Regards,
On Tue, Aug 12, 2008 at 11:51 AM, Umar Bilal <[EMAIL PROTECTED]> wrote:
>
>
> Hello this is regarding your Bean Validation. Yesterday I only checked
> if everything was right meaning that it wont submit the form until you
> pass t
Hello this is regarding your Bean Validation. Yesterday I only checked
if everything was right meaning that it wont submit the form until you
pass the validation. I didn't realize you wanted the messages to come on
the page anyway do the following
Add these lines to your ApplicationProperties
What's the way to do it using request/response then? I tried it out with
requestdispatcher only to later find out that requestdispatcher can only
forward to servlets within the same web app. Is there a way to make it
forward to a remote servlet?
jaki wrote:
>
> Hi all,
>
> I have a web applica
hi,
Thanks for the reply.
We had done with the old approach (@[EMAIL PROTECTED]). However i think we can
write an interceprotor read the constants (through java reflections) and put
them in request scope. THe page can access them from there. The problem with
this is that the action class variabl
Dave Newton :
Oh. So what are you asking then? How to create a select list? How to use the tag?
Dave
--- On Mon, 8/11/08, Haulyn R. Jason <[EMAIL PROTECTED]> wrote:
From: Haulyn R. Jason <[EMAIL PROTECTED]>
Subject: Re: How to resolve list property for ModelDriven Action?
To: "Struts Use
Have you debugged your code with a source level debugger? Are you sure
that the error messages are getting added?
-R
Narasimha Raju Naidu wrote:
thanks for your reply. but itz not working. im getting the same output. for
reference im sending screen shot of that output please check once.
Rega
--- On Mon, 8/11/08, Felipe Lorenz <[EMAIL PROTECTED]> wrote:
> I want to learn about multilanguages applications selected
> by user, but i dont know how!? I tried google... but nothing
> concrete about it
>
> Somebody have a tutorial? Or something to help me?!
http://struts.apache.org/2.x/do
Hi people.
I want to learn about multilanguages applications selected by user,
but i dont know how!? I tried google... but nothing concrete about
it
Somebody have a tutorial? Or something to help me?!
I think the user can change language in the "index" jsp, by a
configuration or in any jsp(i
You can refactor your action so that the business logic in your action
resides elsewhere, then expose that business logic using Spring/web
services, EJB or really any remoting technology.
Regards,
Randy Burgess
Sr. Software Architect
D5 Systems, LLC
> From: jaki <[EMAIL PROTECTED]>
> Reply-To: S
Hi all,
I downloaded the SSL plugin from
http://code.google.com/p/struts2-ssl-plugin/
I added the jar to my application path and as the tutorial describes:
"The plug-in extends struts-default so you can extend the "ssl-default"
package to get these additional features." /under usage
I simply c
Thanks a lot for answering again, Dave!
I felt that my latest questions hardly deserved an answer since they
were too basic. For that reason I have been reading some stuff myself
to try to find answers.. (See below.)
> If you're calling a JSP page directly (almost never a good idea) it won't go
>
--- On Mon, 8/11/08, Ylva Degerfeldt <[EMAIL PROTECTED]> wrote:
> Well the action that should be executed after a submit from
> the first page (called "NameAndCv.jsp") extends ActionSupport.
>
> But maybe this problem is due to another thing I'm
> insecure about...
>
> I run my application just b
Hi!
I'm writing because of a problem I have, and I think it has to do with a
problem in Struts. I use Struts 1.3.8, Ubuntu, Netbeans 6.0 and JDK 6. The
problem started as a NullPointerException, but after hours and hours trying
everything I realized that my execute method is executed twice. Why d
Hi,
I would rather suggest you write some CSS code to achieve this. Something as
simple like
label {
display: block;
}
should work. Changing a theme only makes sense when you need to make some
drastic changes like modifying layout of forms.
On Sun, Aug 10, 2008 at 1:48 AM, Michael Finney <[EMA
Hello,
This has always been a problem. And a quick and decent way of solving this
is to forget OGNL and write your own implementation. Below listed the code
from AppFuse project which essentially creates a tag to expose all the
constants.
*package com.company.app.webapp.taglib;
import java.lang.
Thanks Dave, for answering!
Well the action that should be executed after a submit from the first
page (called "NameAndCv.jsp") extends ActionSupport.
But maybe this problem is due to another thing I'm insecure about...
I run my application just by the Run command of NetBeans, having set
the wel
hi...
i dont think so...
On Mon, Aug 11, 2008 at 8:45 AM, jaki <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have a web application which needs to pass parameters to a struts app
> which resides on another machine. I will not be calling the struts class
> using a jsp but from a normal java method.
Oh. So what are you asking then? How to create a select list? How to use the
tag?
Dave
--- On Mon, 8/11/08, Haulyn R. Jason <[EMAIL PROTECTED]> wrote:
> From: Haulyn R. Jason <[EMAIL PROTECTED]>
> Subject: Re: How to resolve list property for ModelDriven Action?
> To: "Struts Users Mailing Li
Dave Newton :
--- On Mon, 8/11/08, Haulyn R. Jason <[EMAIL PROTECTED]> wrote:
I implement ModelDriven interface, but I have a list in my
model. It
looks like:
public class Role(){
private String id;
private String name ;
private List privilegeList;
}
In my action, I have a set/get method for
--- On Mon, 8/11/08, Haulyn R. Jason <[EMAIL PROTECTED]> wrote:
> I implement ModelDriven interface, but I have a list in my
> model. It
> looks like:
> public class Role(){
> private String id;
> private String name ;
> private List privilegeList;
> }
>
> In my action, I have a set/get method for
Does the action being executed extend ActionSupport?
Dave
--- On Mon, 8/11/08, Ylva Degerfeldt <[EMAIL PROTECTED]> wrote:
> From: Ylva Degerfeldt <[EMAIL PROTECTED]>
> Subject: [Struts 2] NetBeans can't find my ResourceBundle properties file
> (localization issue)
> To: "Struts Users Mailing L
Hi,
I implement ModelDriven interface, but I have a list in my model. It
looks like:
public class Role(){
private String id;
private String name ;
private List privilegeList;
}
In my action, I have a set/get method for Role Object, but what about
the list?
I am confused for retrieve data from my
Hi,
I'm trying to use the localization method of having property files
that define all the visible text using keys and values (e.g.
"nameAndCv.title = Namn och cv"), but the problem is that NetBeans
(5.5.1) can't seem to find my properties file (I only have one).
I've read in "Struts 2 in Action"
Hi all,
I have a web application which needs to pass parameters to a struts app
which resides on another machine. I will not be calling the struts class
using a jsp but from a normal java method. So, is there a way to pass
arguements without using a request/response object?
--
View this message
>
>
>greeting.jsp
>
>
>
>
>
>
>results
>/
>
>
>
You forgot to extends package administration from struts-default. Or
you have to define such result for this package.
Hi,
I am having trouble getting the redirect-action syntax to work in struts
2.0.11. Here is the relevant portion of my struts.xml file:
struts.xml:
greeting.jsp
results
/
Thanks for your reply, but is that the scenario when we use a model driven
action classes ?
I am directly using javabeans in my action class and have
actionClass-validation.xml for validations.
What do I do in such scenario?
Dwipin Chandran
Experie
Griffith, Michael * wrote:
Jeromy,
Thanks for the replies.
In cases where I've needed this behaviour I've referenced the JSP
instead of a Tile.
Do you mean your result redirects to a JSP instead of a struts action?
MG
Not Redirect, DISPATCH to a JSP.
http://struts.apache.or
I have a base domain with a currentPage property on it for this sort of
requirement. My action maintains this currentPage on the model which is
kept populated. Remember to set an initial value on the property in case
there are validation errors from the start.
Scott
On Sun, Aug 10, 2008 at 11:5
Hi,
Could you post also your configuration? Did you add [1] to your stack?
[1] http://struts.apache.org/2.0.11.2/docs/static-parameters-interceptor.html
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [E
30 matches
Mail list logo