Hi, I am trying to use BeanUtils.copyProperties(dest, source) to
automatically populate my model bean from the struts form bean. But it seems
the values are not getting copied. I am able to access the value from
ActioForm in Struts Action but post BeanUtils.copyProperties I am not able
access the
Hi all,
I have a url with a parameter. This parameter is sent to the action via HTTP
Get Method(i.e appended at the end of the url -- ?parameter_value). My
problem is that I can't reach the parameter value in the action because the
setter method is not being called. I can't get the value
Hi,
DynaValidatorForm use a Map to keep its value to my understanding. I am not
sure BeanUtils.copyProperties would work on this secnario. i may be wrong :)
Thanks,
Nuwan C.
Sasanka wrote:
Hi, I am trying to use BeanUtils.copyProperties(dest, source) to
automatically populate my model
tnx friend.,
i got the result.
instead of using s:textfield name=textFields[0] /, i have replaced for
(within JS method)
input type='text' name='locationId[ + num + ]' value=''
id='dyamicRowAction_locationId_ + num + _'/
(its actual replacement html tag for S2 tag - get it from view source
Pablo Vázquez Blázquez wrote:
Hi all!
I have followed the instructions in
http://cwiki.apache.org/S2WIKI/creating-a-custom-dojo-profile-for-struts-20x.html,
with a dojo-0.4.3 release. Now, my s:datetime tags don´t work,
neither the images of a tabbedpannel are loaded. Any idea?
Thanks.
The way I did was to override the backing components of the struts tags.
I added logic there to simple control which template is used (depending
on the role). I felt that I could use the Components (and Tag objects)
as controllers for this purpose.
Mississippi John Hurt wrote:
Does anyone
Hi,
what does your parameter look like ?
Is it ?parameter=value ??
Try using
s:url action=editGadget
s:param name=id value=%{selected} /
/s:url
where name is the name of your setter-method. (In this case setId)
Regards
Volker
Hi all,
I have a url with a parameter. This
The source is viewable here: https://studio.atlassian.com/source/viewrep/PLUG/
You must have an account to checkout.
Brian Relph
-Original Message-
From: alvins [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2008 10:38 PM
To: user@struts.apache.org
Subject: Re: [S2] Plugin
I'm using tab panels with the ajaxtags library, and for me is very good.
Mileidys González Prieto
Consultant
i-Frontier
Henck Arronstraat 16 | P.O.Box 12858 | Paramaribo, Suriname (SA)
Office: (597)-424073 | Mobile: (597)-8810219
www.i-frontier.net
-Original Message-
From: Jeromy
Is there a way to get hold of the Session object from inside a Validator
or TypeConverter?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- On Wed, 11/19/08, David C. Hicks wrote:
Is there a way to get hold of the Session object from inside
a Validator or TypeConverter?
Why would you want to? That smells like an unnecessary dependency.
Dave
-
To unsubscribe,
Hi Relph,
I have (almost) successfully implemented a plugin supporting webapp
using Struts2 and the Java Plugin Framework (JPF).
http://jpf.sourceforge.net/
~Andreas
Relph,Brian schrieb:
Hello,
I am trying to build a struts2 app that has support for plugins - not a
struts2-plugin -
Hi,
I have a simple jsp form:
head
s:head theme=ajax debug=true /
/head
s:form action=showReport namespace=/reports validate=true
From date: s:datetimepicker id=fromDate
displayFormat=dd.MM.
type=date name=fromDate label=Od datuma theme=simple/br/
Hi, I just upgraded from struts2.0.8 to struts2.0.12 and used var attribute
for s:url tag..but it is giving below...I verified my app's Web-inf/lib
directory and found struts2-core-2.0.12.jar is there. Am I missing
something?
Attribute var invalid for tag url according to TLD
at
Are you using Spring with Struts2???
On Wed, Nov 19, 2008 at 3:32 PM, Milan Milanovic
[EMAIL PROTECTED]wrote:
Hi,
I have a simple jsp form:
head
s:head theme=ajax debug=true /
/head
s:form action=showReport namespace=/reports validate=true
From date:
Yes, just like here:
http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html
http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html
--
Milan
diogo pontual wrote:
Are you using Spring with Struts2???
On Wed, Nov 19, 2008 at 3:32 PM, Milan Milanovic
[EMAIL
Do you use ffx or ie or something other?
2008/11/19 Milan Milanovic [EMAIL PROTECTED]:
Yes, just like here:
http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html
http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html
--
Milan
diogo pontual wrote:
Are you
It is Eclipse integrated browser, I supose that it use IE 7. I tried also
with ffx3, and it is the same!
Gianluca Musella wrote:
Do you use ffx or ie or something other?
2008/11/19 Milan Milanovic [EMAIL PROTECTED]:
Yes, just like here:
Hi All,
Can anyone suggest me where can I find dojo plug-in for eclipse and how to
install this?
Thanks in advance.
Thanks,
Sharath.
Thanks Dave,
If we compare below two docs then var attribute is present only in 2.0.12
docs...so it looks like var has been added in 2.0.12I feel if var
attribute is not present in 2.0.12 then it can removed from docs for
avoiding confusion..
http://struts.apache.org/2.0.8/docs/url.html
Hello,
i try to initialize a session with a HttpSessionListener class.
The sessionCreated-Method is called AFTER setSession(Map map) of an
Action-Class with SessionAware interface.
Whats the right way to initilize a session when using struts2?
Thanks
Andi
Well, some time ago I was faced to the same problem. The workaround was:
define all Action's and Interceptor's scope as prototype in my
applicationContext.xml.
I hope this help you.
Diogo Pontual
On Wed, Nov 19, 2008 at 3:41 PM, Gianluca Musella
[EMAIL PROTECTED] wrote:
Do you use ffx or ie
Don, is the Archiva port available in anywhere, maybe a sandbox?
Brian Relph
-Original Message-
From: Relph,Brian [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 10:20 AM
To: Struts Users Mailing List
Subject: RE: [S2] Plugin architecture
The source is viewable here:
--- On Wed, 11/19/08, sharath karnati wrote:
Can anyone suggest me where can I find dojo plug-in
for eclipse and how to install this?
Dojo plugin for Eclipse? Don't know what that is, or how it's related to
Struts. Do you mean the S2.1 Dojo plugin?
Dave
mmm... I don't know.
Times ago I've a similar problem. The problem was that ffx3 loads
pages two times if there are img with empty or null src attribute.
Hope this helps.
Gianluca
2008/11/19 Milan Milanovic [EMAIL PROTECTED]:
It is Eclipse integrated browser, I supose that it use IE 7. I
The wiki is not currently versioned in a meaningful way. This has been brought
up before; it is unlikely to change. With the impending S2.1 release it has
been deemed not enough of an issue to expend a lot of effort on.
The var/id issue is documented on some wiki pages. Feel free to contribute
It is defined as prototype!
diogo pontual wrote:
Well, some time ago I was faced to the same problem. The workaround was:
define all Action's and Interceptor's scope as prototype in my
applicationContext.xml.
I hope this help you.
Diogo Pontual
On Wed, Nov 19, 2008 at 3:41 PM,
Should I take that as a no ?
Dave Newton wrote:
--- On Wed, 11/19/08, David C. Hicks wrote:
Is there a way to get hold of the Session object from inside
a Validator or TypeConverter?
Why would you want to? That smells like an unnecessary dependency.
Dave
What is it exactly that you want to achieve?
Nils-H
On Wed, Nov 19, 2008 at 6:51 PM, Andreas Sachs [EMAIL PROTECTED] wrote:
Hello,
i try to initialize a session with a HttpSessionListener class.
The sessionCreated-Method is called AFTER setSession(Map map) of an
Action-Class with
Dave, I will be more than happy if I could help anyway. Struts2 is a great
framework and I love working on struts..
Please let me know how to file CLA?
Thanks
Raghu
On Wed, Nov 19, 2008 at 12:58 PM, Dave Newton [EMAIL PROTECTED] wrote:
The wiki is not currently versioned in a meaningful way.
You can get it from ActionContext.getContext().getSession(), but I second
Dave's opinion.
On Wed, Nov 19, 2008 at 1:22 PM, David C. Hicks [EMAIL PROTECTED] wrote:
Should I take that as a no ?
Dave Newton wrote:
--- On Wed, 11/19/08, David C. Hicks wrote:
Is there a way to get hold of
I don't disagree with the assertion that it shouldn't be necessary.
We've got a bit of a special case, though, where we need to get the User
from the Session. Otherwise, we've got some restructuring to do. It
may not be worthwhile for a single case, though. I'm OK with a little
smell in
Yes.
I guess the issue is related to ClassLoader so I enforce to use system class
loader like this:
try {
Class cls = Class.forName(..., true,
ClassLoader.getSystemClassLoader());
} catch (...) {}
but still failed. Since I'm using eclipse 3, is there a setting of class
loader in eclipse?
hellos,
i am using struts 2.1.2 with codebehind plugin ,i cant make client side
validation working with validation annotations in my project though i have
tried
them succesfully in small examples. i am confused if i am hitting any issue
in my configuration in project due to any other plugin.
I am
Dave,
what do you recommend me to do ? I just want to do the MOST SIMPLE thing,
like I did many times in plain Java apps, to create JasperReports object, to
pass to it connection and parameters and to show it ?
--
Thx, M.
newton.dave wrote:
--- On Tue, 11/18/08, Milan Milanovic wrote:
I
http://struts.apache.org/helping.html
--- On Wed, 11/19/08, Raghu [EMAIL PROTECTED] wrote:
From: Raghu [EMAIL PROTECTED]
Subject: Re: using var attribute with s:url
To: Struts Users Mailing List user@struts.apache.org, [EMAIL PROTECTED]
Date: Wednesday, November 19, 2008, 1:28 PM
Dave, I
I don't think it is an issue, there are already appreciated comment.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I have a problem I hope you can help with. I have configured Tomcat 6 for
SSO using form-based authentication for two webapps and this works fine for
these webapps when using jsp's for login pages.
Things go awry when I try to configure things further. From the first of my
webapps, I
Let's suppose I've this simple action defined in struts.xml:
action name=InitializeSuperuser_* class=InitializeSuperuserAction
method={1}
result/WEB-INF/pages/initializeSuperuserSuccess.jsp/result
result name=input/WEB-INF/pages/initializeSuperuser.jsp/result
/action
I keep getting this error on startup...
SEVERE: Unable to find interceptor class referenced by ref-name
cookie - interceptor-ref
I assume I don't have the correct jar file in my class path. Anyone
know which one contains the cookie interceptor?
Many thanks!
can you post the html generated from your action and jsp?
Alberto Flores wrote:
The way I did was to override the backing components of the struts
tags. I added logic there to simple control which template is used
(depending on the role). I felt that I could use the Components (and
Tag objects) as controllers for this purpose.
I've taken a similar
Hi,
I had worked several years ago about this feature. And I had created
FormView http://formview.sourceforge.net/index.html project to manage
that.
FormView works with any taglib or with pur HTML because it update HTML code
on server switch configuration (eg ; remove input HTML code if user has
Hello, first I would like to thank you for reading my email.
I am trying out some examples for uploading a file. And I always get HTTP
500 error from tomcat.
I can't see why, I followed and copied the example. For sure I missed
something but I don't know what?
I tried debugging but I failed
Milan Milanovic wrote:
Hi,
I have a simple jsp form:
head
s:head theme=ajax debug=true /
/head
s:form action=showReport namespace=/reports validate=true
snip
And when user click submit button, this form get submitted
twice, i.e.
showReport form action method is
ryan webb wrote:
Hello, first I would like to thank you for reading my email.
I am trying out some examples for uploading a file. And I always get HTTP
500 error from tomcat.
I can't see why, I followed and copied the example. For sure I missed
something but I don't know what?
I tried
Hello,
i want to put a object in every new session which provides basic sessionbased
functionality. E.g.
isUserLoggedIn();
getUser();
getMenu(); (the menu depends on the user)
public ...sessionCreated() {
MainManager mM = new mainManager()
session.setattribut(mainManager,mM)
Yes, an interceptor would probably be a better choice.
Nils-H
On Thu, Nov 20, 2008 at 8:26 AM, Andreas Sachs [EMAIL PROTECTED] wrote:
Hello,
i want to put a object in every new session which provides basic sessionbased
functionality. E.g.
isUserLoggedIn();
getUser();
getMenu(); (the
48 matches
Mail list logo