Re: action-method-validation

2009-07-20 Thread Jim Kiley
Do you mean, can I write a validateFoo() method for my foo() action method and be sure validateFoo() will run before foo() does? Yes. jk On Mon, Jul 20, 2009 at 11:45 AM, Louis Voo wrote: > Hi, > > Does struts2 support action-method-validation ? > > > Regards > Louis

Re: Pb displaying image

2009-07-20 Thread Jim Kiley
the Struts - User mailing list archive at Nabble.com. > > > ----- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Prevent persisting data when validation fails

2009-07-20 Thread Jim Kiley
unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Struts2 + JPA - Lazy Initialization During View Generation

2009-07-17 Thread Jim Kiley
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: struts 2 adoption/performance/scalability

2009-07-17 Thread Jim Kiley
chy > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: dynamic return when validation failed

2009-07-09 Thread Jim Kiley
be a "good way to do that," it's what I would do and in fact have done. -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Interceptors and Thread safety

2009-07-08 Thread Jim Kiley
le.com/Interceptors-and-Thread-safety-tp24391223p24391223.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional c

Re: dojo ajax tags -- post vs. get

2009-07-07 Thread Jim Kiley
ue, Jul 7, 2009 at 3:36 PM, Jim Kiley wrote: > Hi gang, > We are taking our first steps into using the dojo tags, in a Struts 2.1.7 > project (yes, we jumped too soon, I don't think it's entirely relevant). > Specifically I've got an tag set up, and when i

dojo ajax tags -- post vs. get

2009-07-07 Thread Jim Kiley
in order to get the value of familyId to be posted? -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: adding values to a variable inside iterator tag

2009-07-01 Thread Jim Kiley
n my JSP. Just to > calculate total if I iterate over the list again in java code then I am > doing two iterations through the list. Just didnt seem very efficient for > my need. > > Thanks for your suggestion!! :) > > > On Wed, Jul 1, 2009 at 4:59 PM, Jim Kiley wrote: &

Re: adding values to a variable inside iterator tag

2009-07-01 Thread Jim Kiley
ebtAmt+totalCount}"/> > > > and tried to print it > > > but it shows nothing :( > > On Wed, Jul 1, 2009 at 4:41 PM, Jim Kiley wrote: > > > Does it work if you replace the "+=" with a "+"? > > jk > > > > On Wed, Ju

Re: adding values to a variable inside iterator tag

2009-07-01 Thread Jim Kiley
or our purpose i'd prefer doing it in the iterator tag. > > I tried something like this > > > > value="%{calcTotalDebtAmt+=totalDebtAmt}"/> > > > > but this does not seem to work. > > > > what can fix this? > > > > > &g

Re: Struts2 Bean Setter Attack

2009-06-30 Thread Jim Kiley
or ONLY System can set it, not from UI. > > Any idea how we can prevent this issue? I am surprised this kind of > security > issue is there with struts2, what are we missing? Is there a interceptor we > need to configure to prevent this? > > Thanks > -- Jim Kiley Senior

Re: adding values to a variable inside iterator tag

2009-06-29 Thread Jim Kiley
re a way to get the total of value1 at the end of this iterator tag? > > basically in java we would do totalValue += value1; and then at the end of > the loop we would have total of value1. > > Is that possible to do with an iterator tag? > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Interceptor Use

2009-06-27 Thread Jim Kiley
t. > > I'd appreciate any thoughts... > Thanks > Robin > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: prepare{MethodName} not working

2009-06-27 Thread Jim Kiley
reSave() but still it is saying > The method prepareSave() of type ManageGeneralSetupAction must override or > implement a supertype method > > -----Original Message- > From: Jim Kiley [mailto:jhki...@summa-tech.com] > Sent: Saturday, June 27, 2009 9:20 PM > To: Str

Re: prepare{MethodName} not working

2009-06-27 Thread Jim Kiley
t; prepareSave() I get a error > "The method prepareSave() of type ManageGeneralSetupAction must override or > implement a supertype method". > > Do I need to override any other method or do I need to implement any other > Interface? > > Please advice me on this. >

Re: Struts2 - freemarker error

2009-06-25 Thread Jim Kiley
t know what the problem here is. > > > > Please advice. > > > > Thank you. > > Regards, > > Kishan.G > > > > Team Leader. > > www.spansystems.com > > > > > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > _ > Lauren found her dream laptop. Find the PC that’s right for you. > http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Generating Dynamic radio button list

2009-06-24 Thread Jim Kiley
> Thanks! > > > Frank > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Exceptions thrown by constructor different from those thown by execute() ?

2009-06-23 Thread Jim Kiley
ommands, e-mail: user-h...@struts.apache.org > > > > > > > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > >

Re: Display only 100 chars of a string

2009-06-22 Thread Jim Kiley
n a jsp without modification in action or something like > that? > thanks > -- > Stefano > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apa

Re: Struts2 and Security

2009-06-19 Thread Jim Kiley
required > > > > looking forward for your valuable suggestions. > > > > thannks in advance > > aum > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > _ > Windows Live™ SkyDrive™: Get 25 GB of free online storage. > http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009 -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Struts2 and Security

2009-06-19 Thread Jim Kiley
pltfrom we have decided to use is as follows > > 1) Struts2 > 2) JSP/Velocity > 3) Hibernate > 4) YUI > > these are the core building block rest technologies and frame work can be > choosen as required > > looking forward for your valuable suggestions. > > thannks in advance > aum > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: how to prevent users from directly accessing jsp files

2009-06-18 Thread Jim Kiley
Put the JSPs under /WEB-INF/ and refer to them as the destination of your Struts action results. jk On Thu, Jun 18, 2009 at 9:32 AM, abhishek reddy wrote: > how to prevent users from directly accessing jsp files, rather they have to > come thru sturts action? > > -- > Abhishek >

Re: Struts Flow in JSP,Servlets Project

2009-06-17 Thread Jim Kiley
> d3wcCN/k+pbpxOHGOgdswXI= > > =Cwon > > -END PGP SIGNATURE- > > > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-

Re: Save web page as pageName.doc

2009-06-09 Thread Jim Kiley
On Tue, Jun 9, 2009 at 6:25 PM, Dave Newton wrote: > Jim Kiley wrote: > >> Just for fun I just tried it -- made a trivial HTML file, named it >> "foo.doc," and double-clicked, and it did open in Word. Properly >> formatted >> and so on too. Word is hap

Re: Save web page as pageName.doc

2009-06-09 Thread Jim Kiley
On Tue, Jun 9, 2009 at 4:31 PM, Dave Newton wrote: > Jim Collings wrote: > >> It's a report and the requirement I'm trying to satisfy is that you >> have to be able to save it as a MS Word *.doc file. What I've >> discovered is that you can take a stand-alone html file (i.e. no >> external files

Re: Iterating over a List of Lists

2009-06-02 Thread Jim Kiley
here shouldn't be an issue doing things like > this if things are set up right. > > Dave > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: why doesnt iterator tag provide 'next'

2009-05-31 Thread Jim Kiley
I figured. The solution to "I can't solve this problem" is rarely "let's add a new tag to the framework." jk On Sun, May 31, 2009 at 10:08 AM, Dave Newton wrote: > Jim Kiley wrote: > >> Assuming that you're iterating over a List, why not instead it

Re: why doesnt iterator tag provide 'next'

2009-05-31 Thread Jim Kiley
;d probably never *need* to do this. > > > > > > Dave > > > > ----- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: [s2] strange (for me) OGNL behavior

2009-05-29 Thread Jim Kiley
49 (0)160 977 636 14 > > --------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: I need to set value in the action class

2009-05-25 Thread Jim Kiley
further into your project. There > are at least a couple more variations, but this should be enough to get you > started. > > Dave > > ----- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: How to keep information when a auto-checked type is done by struts?

2009-05-19 Thread Jim Kiley
in to my head first. > > > > a ok, i thought about the same solution. > > > >> > >>> PS: if i set required="true" at a field, struts doesn't check if this > value > >>> is present or not? what meaning has this property? > >> > >> From the documentation: > >> > >> "If set to true, the rendered element will indicate that > >> input is required" > >> > >> It displays a required indicator. > > > > so only display a * near the label > >> > >> Dave > > > > ciaociao > > > > > > -- > > Stefano > > > > -- > Stefano > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Disabling JSP's

2009-05-15 Thread Jim Kiley
>How have people worked around this in the past? > > -Tim Orme > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Problem dispatching in /content dir

2009-05-15 Thread Jim Kiley
y action. I find it distasteful but it seems the best way. > > > Jim C. > > On Fri, May 15, 2009 at 9:07 AM, Jim Kiley wrote: > > What I've done in this situation is put in the dummy action. Inevitably > I > > find myself needing some kind of pre-processing bef

Re: Problem dispatching in /content dir

2009-05-15 Thread Jim Kiley
> > Any ideas on how I can work around this? > > > > Jim C. > > --------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: struts2+spring+hibernate, objects instantiate order?

2009-05-14 Thread Jim Kiley
nged to spring, not > struts2. > > thanks. > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: default class to forward requests

2009-05-12 Thread Jim Kiley
a link and going to a new page. I dont want to > make > an execute method that just returns SUCCESS. Rather there must be some > default class that does that. I read about it in a struts2 book, however, > dont have that book with me right now for reference. > > Does someone know

Re: How do I get a request header

2009-05-12 Thread Jim Kiley
gt; > > > > > > > > > > > > > > > > > > > __ > > Looking for the perfect gift? Give the gift of Flickr! > > > > http://www.flickr.com/gift/ > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Please help! Struts 2/Eclipse - List Object is not displaying in JSP

2009-05-07 Thread Jim Kiley
- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Please help! Struts 2/Eclipse - List Object is not displaying in JSP

2009-05-07 Thread Jim Kiley
> Regards > -- > Lukasz > http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: action call getting skiped

2009-05-04 Thread Jim Kiley
e another module in prodution which is based on purely on > servlets > and jsp ,having similar flow , > and its working fine . > > is any of the interceptors having cache problem > > > > > regrads. > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: How to develop a Wireframe using Struts UI?

2009-04-30 Thread Jim Kiley
Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: pagination in struts2

2009-04-23 Thread Jim Kiley
20 > >>> elements, but you don't want to show the user all 120 items at once, > you > >>> want to allow them to page through the results (pretend 120 is really > 1200 > >>> or 12000)." > >>> > >>> they are iterating th

Re: pagination in struts2

2009-04-22 Thread Jim Kiley
orials and examples > on > > the site: > > > > http://displaytag.sourceforge.net/1.2/tut_basic.html > > > > Dave > > > > > > > > --------- > > To unsubscribe, e-mail: use

Re: How to do matematical operation in jsp.

2009-04-21 Thread Jim Kiley
entually make you rich. > > Dave "Expecting his 10% cut" Newton > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: How to do matematical operation in jsp.

2009-04-21 Thread Jim Kiley
resentation layer! > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: how remain in the same page

2009-04-21 Thread Jim Kiley
profile, there is one who can access some pages > >> > so if he try to access to one page , i will diplay a warning message > in > >> the > >> > depart page > >> > so, i wanna know , after checking the user profile in the action, how > >&g

Re: how remain in the same page

2009-04-21 Thread Jim Kiley
; depart page > > so, i wanna know , after checking the user profile in the action, how can > i > > forward him to the source page, i.e he remains in the same page, and i > will > > display a warning message to inform him that this page is inaccessible > > > > > &

Re: struts2 show question

2009-04-20 Thread Jim Kiley
Oh heck I misread your code there. This is Struts 1 and not Struts 2, isn't it? Sorry about that. jk On Mon, Apr 20, 2009 at 12:08 PM, Jim Kiley wrote: > Have you tried writing a unit test to ensure that testList is populated > after your action executes? I'm pretty sure you

Re: struts2 show question

2009-04-20 Thread Jim Kiley
es run well,it can show correct result > John 24 > Kate 18 > > then I modify struts action,like following: > List testList=this.getHibernateTemplate().find(" select col1,col2 from > mytable"); > request.setAttribute("testList",testList); > return SUCCES

Re: Struts.properties question

2009-04-17 Thread Jim Kiley
thing > >>>> into > >>>> one property file then it seems to get so overwhelmingly huge that its > >>>> hard > >>>> to find anything in it. > >>>> > >>>> Is there a way to over come this problem? > >>>> > >>>> > >>> > >>> - > >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >>> For additional commands, e-mail: user-h...@struts.apache.org > >>> > >>> > >>> > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Is there a way to make Struts2 working with other methods different than classic getter/setter?

2009-04-17 Thread Jim Kiley
gt; No matter if this sounds like a swearword for a Struts2 good user > or if this is not smart, he asked me this. > > Thanks in advance > Federica > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Storing interface instance in a user's session

2009-04-16 Thread Jim Kiley
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Validation - Simple Theme

2009-04-15 Thread Jim Kiley
ing ajax or xhtml themes, > how can I do that? I have to customize a theme to do that? Oh my! How come? > Minus bonus points for Struts... > > André. > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: RE: Global tag settings?

2009-03-24 Thread Jim Kiley
ts.Select.labelPositioin=right > > > > >> > > > > >> don't work either. > > > > >> > > > > >> So does the default struts.properties file included in the struts > jar > > > > >> define all the possible keys/values that can be set at runtime? > > > > >> > > > &g

Re: Global tag settings?

2009-03-24 Thread Jim Kiley
:04 PM, wrote: > >> > >>> Hello, > >>> > >>> Is there any way to set common tag parameters like labelSeparator, > >>> labelposition etc.. in say the struts.properties file? > >>> > >>> I've tried struts.tag.labelposition, struts.ui.tag.labelposition. > >>> > >>> thanks, > >>> > >>> Carlo > >> > >> > >> > >> > >> > > > > > -- > Carlo Latasa > Cell: (415) 385-1567 > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: ClassCastException com.dev.model.Form cannot be cast to java.lang.String

2009-03-24 Thread Jim Kiley
gt; > -- > View this message in context: > http://www.nabble.com/ClassCastException-com.dev.model.Form-cannot-be-cast-to-java.lang.String-tp22682861p22682861.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > -----

Re: session

2009-03-23 Thread Jim Kiley
closure, use or copying of > the information by anyone other than the intended recipient is prohibited. > > If you have received this message in error, please notify the sender > immediately by return e-mail and securely discard this message. > > > > > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Parameters in URL

2009-03-19 Thread Jim Kiley
- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Convention for keeping passwords out of struts.xml

2009-03-12 Thread Jim Kiley
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: this is driving me nucking futs!

2009-03-11 Thread Jim Kiley
... my apologies to any *other* deserving souls!) > >> > > > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: s:radio and s:checkboxlist - how to customize listValue property.

2009-03-11 Thread Jim Kiley
------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

Re: Have a

2009-03-11 Thread Jim Kiley
ed, Mar 11, 2009 at 6:32 PM, Jim Kiley wrote: > > > ...and so I have to guess that your question is: How can I make a > hyperlink > > be the label for a checkbox? Sometimes it helps to actually ask a > question > > in your question. > > Anyway: Don't

Re: Have a

2009-03-11 Thread Jim Kiley
xt to the checkbox. jk On Wed, Mar 11, 2009 at 8:55 AM, Ransika de Silva wrote: > Hi all, > There is a requirement of having a http link as the label of Struts > CheckBox, so the the user can either select the checkbox or click the label > and go to a different page. > > Thanks,

Re: [OT] Authorization and Authentication Question

2009-03-10 Thread Jim Kiley
gt; Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > http://www.manning.com/wannemacher > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: HOWTO implement multiple submit buttons with type = image.

2009-03-10 Thread Jim Kiley
; '[Ljava.lang.String;@7cf47cf4' > > > In struts 1, we can use an ImagebuttonBean type to provide the > getter/setter in the action class. (See > http://www.java-samples.com/showtutorial.php?tutorialid=518) > > I can't see ImagebuttonBean in struts 2. >

Re: How to render fields horizontally.

2009-03-10 Thread Jim Kiley
> organize the fields positioning. > > Any sample will be appreciated. > > Thanks. > > > Aimé Kra > > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: Access ActionForm methods/varaibles in JSP

2009-03-05 Thread Jim Kiley
a lot! > -- > Lu Ying > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: Struts Themes Problem - help

2009-03-03 Thread Jim Kiley
--- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: Struts 2 - After validation failure populating the drop downs

2009-03-02 Thread Jim Kiley
am > new to Struts 2. > > Thanks, > Anand > > > -----Original Message- > From: Jim Kiley [mailto:jhki...@summa-tech.com] > Sent: Monday, March 02, 2009 12:23 PM > To: Struts Users Mailing List > Subject: Re: Struts 2 - After validation failure populating the drop d

Re: Struts 2 - After validation failure populating the drop downs

2009-03-02 Thread Jim Kiley
ing the drop downs. > > Thanks a Lot, > > Anand > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley

Re: Struts 2 question about validation and forwarding

2009-02-27 Thread Jim Kiley
-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: value truncated

2009-02-26 Thread Jim Kiley
bscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: s:checkboxlist

2009-02-26 Thread Jim Kiley
set that each one checkbox has to have their own line :-( > Thanks, Jiri > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: migration of Struts

2009-02-23 Thread Jim Kiley
2.1.6? > > Is there any documentation for this migration to 1.3 or 2.1 version > > I am using myeclipseide for coding, does this version support 2.1.6? > > I don't want to put a lot of efforts in migration, but concentrate on > adding > this new function > > is it

Re: Errors repopulating the list after validation.

2009-02-19 Thread Jim Kiley
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati > > on.java:236) > > > > > > > > > > com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingIn > > terceptor.java:126) > > > > > > > > > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati > > on.java:236) > > > > > > > > > > com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareIn > > terceptor.java:138) > > > > > > > > > > com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Method > > FilterInterceptor.java:87) > > > > > > > > > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati > > on.java:236) > > > > > > > > > > com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nIntercepto > > r.java:148) > > > > > > > > > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati > > on.java:236) > > > > > > > > > > org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletCon > > figInterceptor.java:164) > > > > > > > > > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati > > on.java:236) > > > > > > > > > > com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasIntercep > > tor.java:128) > > > > > > > > > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati > > on.java:236) > > > > > > > > > > com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(Ex > > ceptionMappingInterceptor.java:176) > > > > > > > > > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati > > on.java:236) > > > > > > > > > > org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) > > > > > > > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:468) > > > > > > > > > > org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.jav > > a:395) > > > > > > > > It seems like the countries object has been poped off of the value stack > > during the validation firing, any ideas how to fix this?? > > > > > > > > The tag is as follows: > > > > > > > > > emptyOption="true" required="true" > > > >list="countries" listKey="code" listValue="name" > label="Country" > > > > > > > > > > > thanks, > > > > Sid Bhatia > > "Try not. Do... or do not. There is no try" -- Yoda > > _ > > * <mailto:sidharth.bha...@lehman.com> mailto:sidharth.bhat...@gmail.com > > > > > > > > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: [S1]struts with hibernate

2009-02-10 Thread Jim Kiley
> at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) > at > org.apache.coy

Re: [s2] @Result annotation and namespace parameter

2009-02-04 Thread Jim Kiley
And of course the magic of sending my problem to the mailing list let me figure out the solution on my own: I should have been using ServletActionRedirectResult rather than ServletRedirectResult. jk On Wed, Feb 4, 2009 at 10:03 AM, Jim Kiley wrote: > I'm feeling dim this morning and I

[s2] @Result annotation and namespace parameter

2009-02-04 Thread Jim Kiley
ame chooseCustomer It seems that I have the wrong "namespace" parameter in the @Result annotation. Can someone point me in the direction of a fix? -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: [S2] Passng a parameter with (multiple) Submit buttons

2009-02-02 Thread Jim Kiley
27;t use a link because I need all the other form fields to be > >>>> posted > >>>> with the request. > >>>> > >>>> The only way I can think of making this work is to add some javascript > >>>> to > >>>> ea

Re: Struts 2 session problem

2009-01-19 Thread Jim Kiley
le.com/Struts-2-session-problem-tp21513305p21549675.html > > Sent from the Struts - User mailing list archive at Nabble.com. > > > > > > --------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > -- > View this message in context: > http://www.nabble.com/Struts-2-session-problem-tp21513305p21550453.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: struts 2 howto mulitiple dynamic buttons in a form

2008-12-11 Thread Jim Kiley
> > > > value="delete" /> > > > > > > > > How in the world can i get a value found through an iterator into my > action class?? > > > > Thanks! > > > > Ruel > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: Getter Method call twice - S2

2008-12-04 Thread Jim Kiley
es whith struts 2, my getter > methods in the action class are been calling twice. > Anybody could help me? > > Sorry, my english is not very good > > -- > Eugenio Perrotta Neto > Tel: (27) 9913-8080 > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: How to get last requested page?

2008-11-25 Thread Jim Kiley
> To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: disable a button if not selected any value

2008-10-24 Thread Jim Kiley
o unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: Struts2 Data Transfer

2008-10-09 Thread Jim Kiley
>>>> 2)Address Information > >>>>> > >>>>> i want that these two sections should get populated in two different > >>>>> Bean > >>>>> by > >>>>> the interceptor > >>>>> that mean User login fields get Pouplated in the UserLogin Beans > while > >>>>> the > >>>>> Address section should get populated in the Address Bean when my > >>>>> Registration Action get called once user will hit the Register > Button. > >>>>> > >>>>> > >>>>> Thanks > >>>>> -aum > >>>>> > >>>>> > >>>>> On Tue, Oct 7, 2008 at 10:59 PM, Dave Newton <[EMAIL PROTECTED]> > >>>>> wrote: > >>>>> > >>>>> --- On Tue, 10/7/08, aum strut wrote: > >>>>> > >>>>>> i need to transfer data from the user registration page to > >>>>>>> the java beans to be used for inserting values in the data base. > >>>>>>> i have created two seperate beans for this 1) for storing user > >>>>>>> address field and second is for storing user login information. > >>>>>>> > >>>>>>> i want that when user cllick on the REgister button these > >>>>>>> two Beans get filled with the respective values from the UI. > >>>>>>> i have named the corresponding fields in the beans with respect > >>>>>>> to the fields name in the UI. > >>>>>>> > >>>>>>> What, precisely, is the issue? > >>>>>> > >>>>>> If you have a form containing: > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> each bean will contain whatever was entered in the form. > >>>>>> > >>>>>> Dave > >>>>>> > >>>>>> > >>>>>> > - > >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>>>> > >>>>>> > >>>>>> > >>>>>> > - > >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>> > >>>> > >>>> > >>> > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: session based pojo as form variables

2008-09-21 Thread Jim Kiley
() method supposed to conform to a certain signature? > Yup. It should accept no arguments, and return a String. Er, and be public: public String pageForward() { //... } -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: Query

2008-09-21 Thread Jim Kiley
91765p19591765.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jim Kile

Re: Performance and High CPU utilization

2008-09-18 Thread Jim Kiley
ROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > --------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Performance-and-High-CPU-utilization-tp19559123p19560223.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: autowiring in html tag

2008-09-17 Thread Jim Kiley
his message in context: > http://www.nabble.com/autowiring-in-html-tag-tp19539274p19539274.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Struts 2.1 Tree Problem

2008-09-11 Thread Jim Kiley
ersion. and one more > > thing is when i select a node in the jsp page itself i have to find out > the > > parent of the node selected. > > > > please help me to solve this issue, i am kind of stuck.. > > > > Thanks in advance. > > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: new to Struts

2008-09-08 Thread Jim Kiley
925p19370925.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: [S2] One hidden value doesn't get submitted (another one does). Why?

2008-09-02 Thread Jim Kiley
m the Action, but the First time that can't be done (and then I > Always have to get it from the Session, right?) Is there anyone who > has made a similar application and can tell me how he/she did it (I > mean just this "session and Action thing")? > > But.. Back at the first problem. I'm not sure if this "list in two > places" thing is causing the problem but it might be. > Anyway, I would really appreciate if someone could help me with this! > (Meanwhile I'll read some more in "Struts 2 in Action" to see if that > clears up anything.) > > Big Thanks in advance! > > /Ylva > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: [S2] Problem with list of submit buttons

2008-08-29 Thread Jim Kiley
a request parameter, so how do I do that with Struts 2 - and > connect a value to it? > > Maybe I could use the "onclick" attribute of s:submit but I don't know > the syntax for sending a value to the Action there. (Isn't that > javascript?) > > Can somebody please help me with this? > > Thanks in advance! > > /Ylva > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Jim Kiley
> >>>> [EMAIL PROTECTED] >>>> >>>> >>>>> For additional commands, e-mail: >>>>> >>>>> >>>> [EMAIL PROTECTED] >>>> >>>> >>>>> >>>>> >>>> -- >>>> Al Sutton >>>> >>>> W: www.alsutton.com >>>> B: alsutton.wordpress.com >>>> T: twitter.com/alsutton >>>> >>>> >>>> - >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: >>>> [EMAIL PROTECTED] >>>> >>>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >>> >> >> >> > > > -- > Al Sutton > > W: www.alsutton.com > B: alsutton.wordpress.com > T: twitter.com/alsutton > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: Using iterator tag to retrieve list from session

2008-08-26 Thread Jim Kiley
s-tags" %> > http://www.w3.org/TR/html4/strict.dtd";> > > > Welcome to Nexus!!! > > > > > > > > > > > > > > > > > >Welcome to the Nexus, value="#session.userInfo.firstName"/> > > > > > > > > Match ID > Event ID > Persona Used >

Re: (Struts 2) Problem with uploading of file or validation

2008-08-12 Thread Jim Kiley
> This is not a Hibernate issue or is it? > > Is there anyone who can give me a hint at what this error is about? > I'd be very grateful! > > /Ylva > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com

Re: [S2] Validating Forms with Wildcard Mapping

2008-08-05 Thread Jim Kiley
t;> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > -

Re: dojo anchor: get widget id and targets attributes inside subscribed topic?

2008-07-30 Thread Jim Kiley
t; like id or targets. > -- > View this message in context: > http://www.nabble.com/dojo-anchor%3A-get-widget-id-and-targets-attributes-inside-subscribed-topic--tp18732617p18732617.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > ----

  1   2   >