Hi
I'm setting up a new Struts 2 project - the first time I've started from
scratch in ages. I think it must be age, but I seem to have forgotten a lot
of the basics :(
Could someone look at my struts.xml and tell me why the config-browser
plugin shows that I'm using the default stack rather
hi
got it man. the problem here is my iText.jar
i ve downloaded new one the now its working..
Thanks a lot from early reply
thank u thanks alot
--
View this message in context:
http://old.nabble.com/result-type-Jasper--Struts-2--tp11004749p30244620.html
Sent from the Struts - User mailing list
hi all
what is the benefit using Jasper with S2, if we can run using JSP and run
well
i see that we must use List and throw to Jasper with S2, is there a better
alternatif
F
Hi RogerV
I don't think config-browser plugin tells you which stack are you using,
it just show you all of actions in namespaces you have configured,
of course, including default namespace
(2010/11/18 18:18), RogerV wrote:
Hi
I'm setting up a new Struts 2 project - the first time I've started
If you want reports?
On Thursday, November 18, 2010, Frans Thamura fr...@meruvian.org wrote:
hi all
what is the benefit using Jasper with S2, if we can run using JSP and run
well
i see that we must use List and throw to Jasper with S2, is there a better
alternatif
F
try:
invoke the [get] method on map:
s:property value=currentPageHotelList[#stat.index].get(#roomindex)/
or
reference property on map:
s:property value=currentPageHotelList[#stat.index].(#roomindex)/
or
iterator on values of map:
s:iterator value=currentPageHotelList[#stat.index].values
Because ofnyou define an interceptor (stack) for an action it will be
the *only* interceptor (stack) for that action. So it doesn't work
until you add the defaultStack because it doesn't have the
defaultStack until you add it.
Dave
On Thursday, November 18, 2010, Mead Lai laiqi...@gmail.com
li wei-4 wrote:
Hi RogerV
I don't think config-browser plugin tells you which stack are you using,
it just show you all of actions in namespaces you have configured,
of course, including default namespace
It lists the interceptors in the order that they are configured, so I would
Why you define paramsPrepareParamsStack again?
I believe it is already defined in the default configuration file,
you can just use it.
2010/11/18 RogerV roger.var...@googlemail.com:
Hi
I'm setting up a new Struts 2 project - the first time I've started from
scratch in ages. I think it
Everything submit from the client side, are passed as String.
So you can't take object instance as your parameter.
You need take the ids of these objects as parameter, and load object
by the ids by you self.
2010/11/18 Harsh C hchau...@gmail.com:
I think that is probably what it was.
If?
Don't get it
Can share?
/m/
-Original Message-
From: Dave Newton davelnew...@gmail.com
Date: Thu, 18 Nov 2010 07:00:57
To: Struts Users Mailing Listuser@struts.apache.org
Reply-To: Struts Users Mailing List user@struts.apache.org
Subject: Re: Jasper Relevancy
If you want
Li Ying wrote:
Why you define paramsPrepareParamsStack again?
I believe it is already defined in the default configuration file,
you can just use it.
That's what I think I'm trying to do with the struts.xml ;
struts
constant name=struts.enable.DynamicMethodInvocation
People use JasperReports when they want reports.
On Thu, Nov 18, 2010 at 7:25 AM, Frans Thamura fr...@meruvian.org wrote:
If?
Don't get it
Can share?
/m/
-Original Message-
From: Dave Newton davelnew...@gmail.com
Date: Thu, 18 Nov 2010 07:00:57
To: Struts Users Mailing
Ya we want to make pdf as output
But feel using struts2 more work than jsp
May be anyone have a better solution
/m/
-Original Message-
From: Dave Newton davelnew...@gmail.com
Date: Thu, 18 Nov 2010 07:38:42
To: Struts Users Mailing Listuser@struts.apache.org; fr...@meruvian.org
How is using S2 more work than JSP? You can't just use JSP, you still need
a back end.
And JR does things like pagination: try printing out a nicely-paginated
report using JSP.
Dave
On Thu, Nov 18, 2010 at 7:37 AM, Frans Thamura fr...@meruvian.org wrote:
Ya we want to make pdf as output
But
You certainly have accomplished that with
default-interceptor-ref name=paramsPrepareParamsStack/
however, Li is right; you did not need to redefine that stack, as it's in
the default xml file in struts-core. Now then, you will only see this stack
associated with actions in *this* package or
We have both implementation
I still work to make the json become jasper meta datasource, like ajax way
which we want
The jsp is more integrated. With ireport
/m/
-Original Message-
From: Dave Newton davelnew...@gmail.com
Date: Thu, 18 Nov 2010 07:41:18
To: fr...@meruvian.org
Cc:
So that's why nothing is really happening in my JSP? Can you tell us more
about this back-end deal? :)
On Thu, Nov 18, 2010 at 6:41 AM, Dave Newton davelnew...@gmail.com wrote:
How is using S2 more work than JSP? You can't just use JSP, you still
need
a back end.
And JR does things like
We use hibernate and spring as ioc
The jsp just plain jdbc and several list
/m/
-Original Message-
From: stanl...@gmail.com
Date: Thu, 18 Nov 2010 06:46:46
To: Struts Users Mailing Listuser@struts.apache.org
Reply-To: Struts Users Mailing List user@struts.apache.org
Subject: Re: Jasper
Hi,
Thanks for all.
I created my own style and updated the list-style-type:none. Its working fine.
Regards,
Satheesh Kannan A B
-Original Message-
From: Chris Pratt [mailto:thechrispr...@gmail.com]
Sent: Wednesday, November 17, 2010 11:00 PM
To: Struts Users Mailing List
Subject:
Gently bringing this thread back to the topic in the subject line...
Does anyone have any ideas about why my WebSphere 6.1 server would be
ignoring the convention plugin and not loading any of my struts2
annotations into the context?
I did see some references in the websphere patch info to
Well done :)
2010/11/18 Satheesh Kannan A B satheesh.kan...@hcl.com
Hi,
Thanks for all.
I created my own style and updated the list-style-type:none. Its working
fine.
Regards,
Satheesh Kannan A B
-Original Message-
From: Chris Pratt [mailto:thechrispr...@gmail.com]
Sent:
I'd backtrack and deploy a simple app with only a single annotated action
and the convention plugin and start from there; it's loading the plugin. I'd
also check the configuration parameter reference:
Hi everyone
I got confuse with the call of ActionForm in Struts 1.3.8
If I have Form as follow with validate() method
public class MyTestForm extends org.apache.struts.action.ActionForm {
String myTestString;
public MyTestForm() {
super();
}
public String
Hi Anjib,
have You set validate=true in struts-config.xml for this action like below?
action path=/path/to/action
type=com.UploadAction
name=myTestForm
input=tile.definition
validate=true
Best greetings,
Paweł Wielgus.
2010/11/18 Anjib Mulepati anji...@hotmail.com:
Hi everyone
I got
You'll also need the validation plugin [1], and you might want to read the
validation docs as well [2].
Dave
[1]
http://struts.apache.org/1.3.10/userGuide/building_view.html#form_validation
http://struts.apache.org/1.3.10/userGuide/building_view.html#form_validation
[2]
Thanks Pawel
That was the problem. I have validate=false. don't know why I did
that? :)
And I guess default value is true for this right?
Thanks again
Anjib
On 11/18/2010 11:02 AM, Paweł Wielgus wrote:
Hi Anjib,
have You set validate=true in struts-config.xml for this action like below?
Sure Dave I will look into these docs.
Thanks
Anjib
On 11/18/2010 11:12 AM, Dave Newton wrote:
You'll also need the validation plugin [1], and you might want to read the
validation docs as well [2].
Dave
[1]
http://struts.apache.org/1.3.10/userGuide/building_view.html#form_validation
Trying to figure out a way to do the following without much luck.
I have an enumeration with a list of menu options and corresponding labels such
as:
public enum Color {
RED(Red),
BLUE(Blue),
GREEN(Green);
private String myLabel;
private
Thank you, Dave.
Your explain is helpful for me to understand it.
I want to validate the birthday in struts2 validation.xml,
The range of date is between 1900-01-01 and current Date.
How to get current date time in the struts2 validation.xml,?
Thanks!
field name=birth
field-validator type=date
30 matches
Mail list logo