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:
You could do it with lombok:
http://projectlombok.org/features/index.html
vishalj wrote:
Is it possible to map all the form fields from struts form to some java bean
without writing getter and setters in the action class for each field
--
Hey, thanks a lot for your help.
On Mon, Aug 31, 2009 at 5:52 PM, phillips1021 wrote:
>
> Someone asked me this on a different thread.
>
> I use nabble.com (http://www.nabble.com/Struts---User-f206.html) to
> search,
> read, post new topics, and reply to topics on the Struts user mailing list.
Hi folks,
I wrote the following code to insert values into database. But it's
crazy, this is inserting the values twice. here are the code below.
if(activity.equalsIgnoreCase("
declineParticipation")){
if(isTokenValid(request)){
Someone asked me this on a different thread.
I use nabble.com (http://www.nabble.com/Struts---User-f206.html) to search,
read, post new topics, and reply to topics on the Struts user mailing list.
After I subscribed (see
http://www.nabble.com/mailing_list/MailingListOptions.jtp?forum=206) to the
Martin Gainty wrote:
this is good information
where is QueryRunner?
Commons DbUtils.
where to obtain a working PHP version (dll/so or source) for drupal site?
The Drupal site: http://drupal.org/ would be my first choice.
Dave
-
I thought that was the case. One of the references I'm using for the
Convention plugin is the MEAP draft of Struts 2 in Practice (was sorry to
learn that the book isn't being finished, the first few chapters were
excellent).
Using the bang (!) operator doesn't work with the Convention plugin.
O
On Mon, Aug 31, 2009 at 4:27 PM, Java Struts wrote:
> Hi,
>
> could you please tell me how to post my question to this list?
>
You just did... The next one will cost you $1 (just kidding), but for
your next question, you'd be better off sending a separate email (not
a reply to an existing message)
> -Original Message-
> From: Wes Wannemacher [mailto:w...@wantii.com]
> Sent: Monday, August 31, 2009 1:35 PM
> To: Struts Users Mailing List
> Subject: Re: Any way to inject Spring bean properties into Struts
> plugin properties?
>
> On Mon, Aug 31, 2009 at 4:30 PM, KARR, DAVID (ATTCINW)
On Mon, Aug 31, 2009 at 4:30 PM, KARR, DAVID (ATTCINW) wrote:
>
> After looking at the Spring injection page again, I see the possibility
> that this only works with Struts2. Is that correct?
>
That is correct... I do believe there is information on Spring +
Struts 1 here -
http://static.springs
> -Original Message-
> From: KARR, DAVID (ATTCINW)
> Sent: Monday, August 31, 2009 1:25 PM
> To: user@struts.apache.org
> Subject: Any way to inject Spring bean properties into Struts plugin
> properties?
>
> It's been quite a while since I've been in here, and I have some
> questions abou
Hi,
could you please tell me how to post my question to this list?
Thanks,
On Mon, Aug 31, 2009 at 4:13 PM, phillips1021 wrote:
>
> I'm learning to use the Convention Plugin.
>
> I understand from the excellent notes posted on the Wiki
> (http://cwiki.apache.org/WW/convention-plugin.html) that
It's been quite a while since I've been in here, and I have some
questions about things just about that old. :)
I've been asked to look at an app using Struts 1.2.7, to see whether I
can change it from using build-time environment properties to run-time,
using Spring. I've read about (http://cwik
I'm learning to use the Convention Plugin.
I understand from the excellent notes posted on the Wiki
(http://cwiki.apache.org/WW/convention-plugin.html) that the plugin finds
the Action classes and maps those action classes to Action names and results
to specific JSPs. For example:
Action Class
I wrote one that appears to work. I copied the contents of TegexFieldValidator
to get it to work. Is there a need for more of the validators to support
collections?
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
ICQ# 26487421
AIM NorrisEShelto
I have LoginAction which maps to "login.jsp". How to use the same JSP for
"input" (or whatever else) result w/o using of result location?
...for now I have this workaround, which I dislike:
@Results({
@Result(
name = Action.INPUT,
location = "login.jsp"
Some more info: The generated HTML is below.
validation.js (in the css_xhtml theme) uses this line to find the
element before which to insert the new error div.
var firstCtrNode = findWWCtrlNode(enclosingDiv); // either
wwctrl_ or wwlbl_
That function looks for a child div or span whose c
Martin Gainty wrote:
if you want to take a look
https://issues.apache.org/struts/browse/WW-3231
Please post the rendered HTML of the form and radio buttons.
If it's rendering as the other commenter stated then it's an issue with
people not understanding CSS, not Struts.
Dave
Thanks Andy.
The docs recomend not doing that, but it seems to work fine.
I ended up just copying radiomap.ftl to /templates/simple since there aren't
any radio buttons I want to be listed outside of the tr and td tags I added to
the template.
-Original Message-
From: Andy Law
Subj
If you are using Tomcat as a server then you will need to add
URIEncoding="UTF-8" attribute to the Connector in the server.xml file, If
not specified, ISO-8859-1 will be used [1].
This URIEncoding attribute applies only to GET requests (not POST).
[1] http://tomcat.apache.org/tomcat-5.5-doc/confi
this is good information
where is QueryRunner?
where to obtain a working PHP version (dll/so or source) for drupal site?
thanks,
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertrauli
Tommy,
Here you go, this is what I did. I don't know if it's the "best" way, but
it works:
http://mikeski.net/site/node/37
Mike.
>-Original Message-
>From: Tommy Pham [mailto:tommy...@yahoo.com]
>Sent: Friday, August 28, 2009 12:44 PM
>To: Struts Users Mailing List
>Subject: Re: Resour
if you want to take a look
https://issues.apache.org/struts/browse/WW-3231
thanks
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenge
a bug with s:form which does'nt respect the style attributes of the
encompassing tags
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfa
Hi all,
I use the following in my JSP code.
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
and the URL looks something like this,
Here gamecurrency code contains the value £ . But when its sent from browser
via its £ again but when its disp
Hi all,
I use the following in my JSP code.
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
and the URL looks something like this,
Here gamecurrency code contains the value £ . But when its sent from browser
via its £ again but when i
Lee Clemens-4 wrote:
>
> Doesn't seem to work, but maybe my description was unclear.
>
> I'm trying to get this:
> () OptA () OptB () OptC
>
> to look like this:
> () OptA
> () OptB
> () OptC
>
> theme="simple" prints them all in order
> theme="xhtml" prints them inside the same td tag (same
Hi,
try to use this:
http://cwiki.apache.org/S2PLUGINS/config-browser-plugin.html
it helps in solving configuration related issues.
Best greetings,
Paweł Wielgus.
2009/8/31 Prabhakar Peri :
> Hi,
>
> I have a struts2 application which is working fine.
>
> After I have enabled Tiles in this appli
28 matches
Mail list logo