Hello,
It seems as though using a Dojo element is not invoking the setter in my
action, and I am not certain why. I hope I am simply missing something?
Struts 2.1.8, Tomcat 6.x, Firefox 3.5.x
I have included the following jars in WEB-INF/lib, and have the following
inside the tag of the action
Not to sound like a jerk, but have you gotten JDBC (MySQL Connector/J)
working with a MySQL 64-bit server? Or is this specifically a Struts issue?
If so, what message/condition do you receive?
Or are you merely asking if MySQL 64-bit is compatible with ODBC [OT]?
-Original Message-
From
OP: What Struts tag are you using to upload multiple files at the same time?
I may be wrong, but I didn't know this was possible with Struts. If so,
what filename are they given by default? I use file upload tags but they are
saved as default-named files I can access via the File setter in my Act
My mistake, there needs to be a slash after the context, otherwise the page
was not loading completely (still not exactly sure way, probably due to
mod_jk - part of the page loaded, but not the s:action tag/dispatcher)
-Original Message-
From: j...@leeclemens.net [mailto:j...@leeclemens.ne
Tomcat 7 changes include "Switch from AnnotationProcessor to
InstanceManager."
Struts 2.2.1.1 fails to work on Tomcat 7 due to
java.lang.ClassNotFoundException: org.apache.AnnotationProcessor.
Is anything being done to address this?
Or is Struts not going to be supported on Apache Tomcat 7?
--
I think Eclipse auto-compiles by default.
What is this? DomainDAO.listDomain(dt_oid)
Is dt_oid null at this point? (Add a debugging statement)
Have you posted code for DomainDAO? I apologize if I've missed it.
-
To unsubscrib
I have seen a lot on this issue.
Does anyone know how to actually correct it so that Struts does not log
these warnings - without disabling the logging of warnings all together?
The closest I have come is by adding getTheme and getTemplateDir directories
to my Action class, but that doesn't solve
If you are trying to make a cascading drop down, you can do so with the
doubleselect tag.
One way to implement:
Create a class, CascDropDown, with getters and setters for value, label and
subList.
subList is a List of objects, DropDown, with getters and setters for value
and label.
If you have va
Is there a tag in Struts 2.1.x where a user can enter a text value and have
it added to a multiple text value field?
This would be similar to a combobox, but allow for free-text entries to be
made rather than multi-selecting values that are pre-populated.
---
- select multiple could be populated from a collection/list
- user input similar to text field, and when entered, it is added as an
option of the select tag
- double clicking an option removes value
- each value present as an option when submitted is received as a
collection/list
-Origina
I believe the Label is rather meaningless (from a data point-of-view).
Do you know which options have a * after them when you create the drop down?
So you would know that key=1 has a *, key=2 does not, etc?
Not sure I understand the reason for the label in this scenario, since the
key is - the k
With Java 5's EOL coming on October 30th and the additional features
available in Servlet API 2.5 - is there any timeline for updating Struts
2.x's platform requirements?
Or have I misunderstood and these are only Minimum requirements?
---
Not sure if it's related, but did you try using Long for your setter, or
Object - and then see what it is an instance of?
It may be useful to post the setter, since that is what the issue is with.
Misspelled, etc?
-Original Message-
From: sha...@mobily [mailto:shahid@gmail.com]
Sent:
It will be the default, but if a specific tag needs a different theme, you
can set it as one of the tag's attributes.
e.g.
-Original Message-
From: Tommy Pham [mailto:tommy...@yahoo.com]
Sent: Tuesday, August 18, 2009 6:05 PM
To: Struts Users Mailing List
Subject: Re: [struts2] problem
This may not be perfect, and I welcome any criticism to this approach:
abstract class extends ActionSupport which overrides execute() to
authenticate requests and then return a call to abstract method, say,
doAction(), or error if they are not authenticated/timed out.
Each action which needs to b
an app I worked on a few years ago.
There is nothing wrong, in fact its simplicity is a bit of an
advantage. If you can fit your needs into this type of setup then you
will probably be happy that it is so easy to follow.
On 8/20/09, Lee Clemens wrote:
> This may not be perfect, and I we
Hello,
I'm using Struts 2.1.6 with an tag.
I want the radio options to line up vertically against the left margin (one
option per line), rather than in a straight line.
By default, I'm using (and have to use do to other aspects of the page)
theme="simple"
Is there a way to have the radio optio
: Dave Newton [mailto:newton.d...@yahoo.com]
Sent: Saturday, August 29, 2009 4:00 PM
To: Struts Users Mailing List
Subject: Re: Radio options left aligned
Lee Clemens wrote:
> If this can only be done by changing the theme, is there a way for
changing
> that single element to use theme="
I guess I'm trying to ask, how would you do this?
-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com]
Sent: Saturday, August 29, 2009 5:50 PM
To: Struts Users Mailing List
Subject: Re: Radio options left aligned
Lee Clemens wrote:
> theme 'simple' is ho
Subject: Re: Radio options left aligned
Lee Clemens wrote:
> theme 'simple' is horizontally aligned (and my default)
> theme 'xhtml' puts everything else out of whack
> theme 'ajax' puts everything else out of whack
>
> Are you suggesting my own them
t; to be the only way. Just add and tags around the input
> tag/attributes.
>
> -Original Message-
> From: Dave Newton [mailto:newton.d...@yahoo.com]
> Sent: Saturday, August 29, 2009 5:50 PM
> To: Struts Users Mailing List
> Subject: Re: Radio options left aligne
d
> > Date: Sun, 30 Aug 2009 14:59:26 -0400
> >
> > If anyone else needs to do this in the future, updating radiomap.ftl
> seemed
> > to be the only way. Just add and tags around the input
> > tag/attributes.
> >
> > -Original Message-
> &
While it is very interesting that it works outside a form, Wes is correct in
thinking I want the radio buttons to be inputs for a form (no pun intended)
-Original Message-
From: Wes Wannemacher [mailto:w...@wantii.com]
Sent: Sunday, August 30, 2009 11:51 PM
To: Struts Users Mailing List
S
First off, you don't necessarily need getters for every form field (or any)
What IDE are you using? Most should generate setters for you pretty easily,
once you declare the class variables.
-Original Message-
From: vishalj [mailto:vish...@ivycomptech.com]
Sent: Friday, August 28, 2009 1:
And if you're using cssClass in the tag, you might want to add
this to the template (just replace the from the example Mike
provided):
class="${parameters.cssClass?html}"<#rt/>
>
-Original Message-
From: Mike Baranski [mailto:list-subscripti...@secmgmt.com]
Sent: Wednesday, Septembe
Maybe have the Upload buttons refresh the page? And load the images from the
action?
Otherwise it would have to be done client side (ajax?)
-Original Message-
From: hisameer [mailto:cool_sameer_fo...@yahoo.com]
Sent: Wednesday, September 02, 2009 6:27 PM
To: user@struts.apache.org
Subjec
Hello,
xwork2 does not seem to contain a static method for
ConfigurationManager.destroyConfiguration(), which
http://struts.apache.org/2.0.14/docs/how-can-we-force-the-action-mappings-st
rutsxml-to-reload.html claims it does.
Is there a way to obtain an instance of the ConfigurationManager class
configuration
Dispatcher.getInstance().getConfigurationManager().reload();
On Thu, Sep 17, 2009 at 10:12 PM, Lee Clemens wrote:
> Hello,
>
> xwork2 does not seem to contain a static method for
> ConfigurationManager.destroyConfiguration(), which
>
http://struts.apache.org/2.0.14/docs/how-c
Hello,
xwork2 does not seem to contain a static method for
ConfigurationManager.destroyConfiguration(), which
http://struts.apache.org/2.0.14/docs/how-can-we-force-the-action-mappings-st
rutsxml-to-reload.html claims it does.
Is there a way to obtain an instance of the ConfigurationManager class
P.S. Using Struts 2.1.6
-Original Message-
From: Lee Clemens [mailto:l...@leeclemens.net]
Sent: Thursday, September 17, 2009 10:24 PM
To: 'Struts Users Mailing List'
Subject: ConfigurationManager instance or how to reload configuration
Hello,
xwork2 does not seem to contai
Hello,
Winzip is giving me dozens (maybe more) of these errors when attempting to
unzip struts-2.1.8-all.zip.
The following invalid filename was encountered in the archive:
"struts-2.1.8\docs\WW\quickstart.data\index.html?C=M;O=D.html"
File names/paths are change, but they all seem to be in \doc
: Errors during unzip of 2.1.8
works fine for me on rhel 5, are you on windows?
musachy
On Wed, Sep 30, 2009 at 4:33 PM, Lee Clemens wrote:
> Hello,
>
> Winzip is giving me dozens (maybe more) of these errors when attempting to
> unzip struts-2.1.8-all.zip.
>
> The following in
You may need a getter method isIsChecked() or getIsChecked()
-Original Message-
From: Dan R. Olsen III [mailto:danec...@gmail.com]
Sent: Friday, October 02, 2009 6:19 PM
To: Struts Users Mailing List
Subject: Setting a checkbox
I have the following tag:
isChecked is a boolean variable
It looks like you may be able to nest tags to achieve this.
--Lee
-Original Message-
From: Odelya YomTov [mailto:ode...@jpost.com]
Sent: Tuesday, October 13, 2009 6:09 PM
To: 'Struts Users Mailing List'
Subject: iterator and radio struts2
Hi!
I ha
You can iterate through the answers to create the tags, and then
iterate through the same answers again to create the radio buttons
-Original Message-
From: Odelya YomTov [mailto:ode...@jpost.com]
Sent: Wednesday, October 14, 2009 3:30 PM
To: 'Struts Users Mailing List'
Subject: Not disp
I didn't try it.
If you set the key to a getter that returns a null string, and the value to
use a getter that returns the answer it may generate the HTML you intend.
And in Answer: getDisplayNothing() { return ""; }
If that doesn't work, can you send the Struts tag you are using and the
HTM
Hello,
I (my IDE) noticed a warning showing that my Struts 2 Actions (they extend
com.opensymphony.xwork2.ActionSupport) may be deserialized, compromising
security.
The IDE (IntelliJ 8.1) further states that the class may be deserializable
as it supports the Serializable interface (ActionSupport
37 matches
Mail list logo