Re: struts2 and dojo

2009-03-11 Thread Wes Wannemacher
On Wednesday 11 March 2009 01:00:14 Mohan Radhakrishnan wrote: > newton.dave wrote: > > pascal.gehr...@freenet.de wrote: > >> So please don't say that dojo-support is deprecated. This is wrong. Dojo > >> just has moved!! > > > > Dojo is most certainly deprecated: deprecated means that support still

Re: this is driving me nucking futs!

2009-03-11 Thread Musachy Barroso
my list of annoyances: 1. iterator tag no having "begin" and "end" 2. "a" not able to build a url 3. "validateAnnotatedMethodOnly" in "validation" interceptor should be "true" by default first one is down, I gotta tackle the other 2. musachy On Wed, Mar 11, 2009 at 5:32 PM, Jim Kiley wrote: >

Re: this is driving me nucking futs!

2009-03-11 Thread Jim Kiley
Musachy, I would refer to you as "a cool dude" if you did that. jk On Wed, Mar 11, 2009 at 5:10 PM, Musachy Barroso wrote: > That is something I have complained about for a long time, time to do > something about it I guess. > > musachy > > On Wed, Mar 11, 2009 at 5:08 PM, Chris Pratt > wrote:

Re: one action with two buttons

2009-03-11 Thread PEGASUS84
thanks but it doesn't take data from form yet -- View this message in context: http://www.nabble.com/one-action-with-two-buttons-tp22456812p22465024.html Sent from the Struts - User mailing list archive at Nabble.com. - To uns

Re: this is driving me nucking futs!

2009-03-11 Thread mitch gorman
Musachy Barroso wrote: > That is something I have complained about for a long time, time to do > something about it I guess. > I AM AN INSTRUMENT OF CHANGE!!! ;) - To unsubscribe, e-mail: user-unsubscr...@struts.apache.

Re: one action with two buttons

2009-03-11 Thread mitch gorman
PEGASUS84 wrote: > it doesnt work mean that the action go to a jsp page but the data in the form > there aren't in the jsp page > okay, i just took another look through my code, and it looks like i incorrectly constructed the example in my response. what i *should* have suggested you t

Re: this is driving me nucking futs!

2009-03-11 Thread Musachy Barroso
That is something I have complained about for a long time, time to do something about it I guess. musachy On Wed, Mar 11, 2009 at 5:08 PM, Chris Pratt wrote: > I guess one question I would ask is why doesn't have an action > paramter and allow nested elements?  That way there would be no > nee

Re: Struts 1: Window resizing issue

2009-03-11 Thread Dave Newton
SanJ.SANJAY wrote: When I resize the the IE explorer window, the JSP goes blank sometimes. Does anyone knows this issue? May be some blank call is going to action? Unlikely. You can find out, you know, by snooping the wire via a proxy or IE tool. Dave ---

Re: Struts2 Standards, guidelines, recommendations

2009-03-11 Thread Dave Newton
Norris Shelton wrote: I am working to get Struts2 approved as a production technology. Can you point me > to any standards or guidelines or implementation recommendations? What kind of standards? What kind of guidelines or implementation recommendations are you looking for? Dave

Re: this is driving me nucking futs!

2009-03-11 Thread Chris Pratt
I guess one question I would ask is why doesn't have an action paramter and allow nested elements? That way there would be no need to create any variables. (*Chris*) On Wed, Mar 11, 2009 at 1:56 PM, mitch gorman wrote: > Wes Wannemacher wrote: > > On Wed, Mar 11, 2009 at 4:47 PM, mitch gorm

Re: okay, this is driving me nuts

2009-03-11 Thread mitch gorman
doh... this one didn't show up in my business-gmail->thunderbird-filtered reader until just now. please ignore this thread... i re-asked the question in the "nucking futs" thread, and was quickly answered! - To unsubscribe,

Re: this is driving me nucking futs!

2009-03-11 Thread mitch gorman
Wes Wannemacher wrote: > On Wed, Mar 11, 2009 at 4:47 PM, mitch gorman wrote: > >>thanks for your responses, wes! >> >> > > No problem, next time, include me in your list of gurus and I'll be happy lol! you got it! (i knew for sure i was probably inadvertently dissing at lea

Re: this is driving me nucking futs!

2009-03-11 Thread mitch gorman
Musachy Barroso wrote: > yeah, the for loop is just to illustrate the point. The #context > thingie will work in any version okay, well, as i just noted in my response to wes, i clearly must've boneheaded something else when i tried it the first time, because the simple, un-overthought appro

Re: one action with two buttons

2009-03-11 Thread PEGASUS84
it doesnt work mean that the action go to a jsp page but the data in the form there aren't in the jsp page -- View this message in context: http://www.nabble.com/one-action-with-two-buttons-tp22456812p22464237.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: this is driving me nucking futs!

2009-03-11 Thread Wes Wannemacher
On Wed, Mar 11, 2009 at 4:47 PM, mitch gorman wrote: > >    thanks for your responses, wes! > No problem, next time, include me in your list of gurus and I'll be happy. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more

Re: this is driving me nucking futs!

2009-03-11 Thread mitch gorman
Wes Wannemacher wrote: > On Wed, Mar 11, 2009 at 4:39 PM, mitch gorman wrote: > >> Musachy Barroso wrote: >> >>> Ok, first, you don't need to define variable for each url, you can just do >>> >>> >> >> >>> >>this was the very first thing i attempted... it was the logical >> firs

Re: this is driving me nucking futs!

2009-03-11 Thread Musachy Barroso
yeah, the for loop is just to illustrate the point. The #context thingie will work in any version. On Wed, Mar 11, 2009 at 4:39 PM, mitch gorman wrote: > Musachy Barroso wrote: >> Ok, first, you don't need to define variable for each url, you can just do >> >> > > >    this was the very first thi

Re: this is driving me nucking futs!

2009-03-11 Thread Wes Wannemacher
On Wed, Mar 11, 2009 at 4:39 PM, mitch gorman wrote: > Musachy Barroso wrote: >> Ok, first, you don't need to define variable for each url, you can just do >> >> > > >    this was the very first thing i attempted... it was the logical > first attempt.  unfortunately, what i ended up with when i di

Re: this is driving me nucking futs!

2009-03-11 Thread mitch gorman
Wes Wannemacher wrote: > It seems like you are created a variable variable name... I am > assuming that there is a reason why you are using and wanting > to refer to the constructed URL by id, rather than just doing the > following - > > > >">blah > > In an iterator, rather than

Re: this is driving me nucking futs!

2009-03-11 Thread mitch gorman
Musachy Barroso wrote: > Ok, first, you don't need to define variable for each url, you can just do > > this was the very first thing i attempted... it was the logical first attempt. unfortunately, what i ended up with when i did that was a set of links to the last loop iteration's URL.

okay, this is driving me nuts

2009-03-11 Thread mitch gorman
is there any syntactical construct that will allow me to do the following (in v2.0.14): click for count # i want unique URL references

Re: this is driving me nucking futs!

2009-03-11 Thread Musachy Barroso
Ok, first, you don't need to define variable for each url, you can just do somelink musachy On Wed, Mar 11, 2009 at 3:58 PM, mitch gorman wrote: >    okay, can anyone (musachy, david, martin, i'm looking in your > direction!) tell me how to do what i'm trying to do, here?

Re: this is driving me nucking futs!

2009-03-11 Thread Wes Wannemacher
It seems like you are created a variable variable name... I am assuming that there is a reason why you are using and wanting to refer to the constructed URL by id, rather than just doing the following - ">blah In an iterator, rather than constructing a name and trying to use OG

Re: this is driving me nucking futs!

2009-03-11 Thread mitch gorman
mitch gorman wrote: > okay, can anyone (musachy, david, martin, i'm looking in your > direction!) tell me how to do what i'm trying to do, here? > > i've got a list of items i'm iterating over. for each item, i want > to have one or more links to actions, with parameterization from the > i

Struts 1: Window resizing issue

2009-03-11 Thread SanJ.SANJAY
When I resize the the IE explorer window, the JSP goes blank sometimes. Does anyone knows this issue? May be some blank call is going to action? -- View this message in context: http://www.nabble.com/Struts-1%3A-Window-resizing-issue-tp22463249p22463249.html Sent from the Struts - User ma

this is driving me nucking futs!

2009-03-11 Thread mitch gorman
okay, can anyone (musachy, david, martin, i'm looking in your direction!) tell me how to do what i'm trying to do, here? i've got a list of items i'm iterating over. for each item, i want to have one or more links to actions, with parameterization from the item's data. this means, using

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Lukasz Lenart
2009/3/11 Ashish Kulkarni : > HiI was able to configure LDAP to do authentication, but how do i use > UserDetailsService, > is there any example of how to use this and implement it in my project to > get user and role from DB2 database I did that like this, extended DefaultLdapAuthoritiesPopulator

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Wes Wannemacher
On Wed, Mar 11, 2009 at 3:23 PM, Ashish Kulkarni wrote: > HiI was able to configure LDAP to do authentication, but how do i use > UserDetailsService, > is there any example of how to use this and implement it in my project to > get user and role from DB2 database > > UserDetailsService is an inte

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Ashish Kulkarni
HiI was able to configure LDAP to do authentication, but how do i use UserDetailsService, is there any example of how to use this and implement it in my project to get user and role from DB2 database On Wed, Mar 11, 2009 at 10:50 AM, Ashish Kulkarni < ashish.kulkarn...@gmail.com> wrote: > HiThan

Struts2 Standards, guidelines, recommendations

2009-03-11 Thread Norris Shelton
I am working to get Struts2 approved as a production technology. Can you point me to any standards or guidelines or implementation recommendations? Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Shelton Consulting, LLC ICQ# 26487421 AIM NorrisEShelton YIM norrisshelton

RE: one action with two buttons

2009-03-11 Thread Martin Gainty
the assigned value to the submit button has to be unique as illustrated here http://struts.apache.org/2.x/docs/multiple-submit-buttons.html note the distinction of buttonName to compare to 'Submit' or 'Cancel' if ("Submit".equals(buttonName))HTH Martin ___

Re: one action with two buttons

2009-03-11 Thread mitch gorman
PEGASUS84 wrote: > good evening, > in my project i've to create a form with two buttons wich make two different > process: > i try this method: > > SOME table here or some fields > > > > formId="configureform">Cancel > > > but it doesn't work. > > well, lacking a clear definition o

Re: How do my Actions get to Hibernate so they can persist my objects?

2009-03-11 Thread Peterus Greatus
Wes Wannemacher wrote: > > Spring is not as hard as it appears. The Spring libraries are dauntingly > big, > but in reality, the core of spring is actually quite easy to understand, > you > just have to wrap your mind around Inversion of Control. It will come > naturally if you've used it be

Re: disadvantage by not using the default execute() method for ActionClass?

2009-03-11 Thread Greg Lindholm
Most of my action classes are CRUD style so they have multiple "execute" methods, doNew(), doCreate(), doEdit(), doUpdate(), etc. I prefix these methods with 'do' so they are easy to find and recognize (eclipse outline view sorts them alphabetically so the prefix keeps them together). Wick, Dan

RE: one action with two buttons

2009-03-11 Thread Kra, Aime yao (TEK System)
Did you try the following sample. It works for me http://struts.apache.org/2.x/docs/multiple-submit-buttons.html Regards Aimé Kra -Original Message- From: PEGASUS84 [mailto:pegasu...@hotmail.it] Sent: Wednesday, March 11, 2009 10:52 AM To: user@struts.apache.org Subject: one action wit

Struts 2 and GWT in Hosted Mode?

2009-03-11 Thread Stephan Schröder
Am i right in saying that if you use struts 2 as the server backend of gwt, you can't use the hosted mode browser!? The hosted mode browser seems only capable of launching gwt modules not normal webapps. I'm i right? Regards, Stephan -- View this message in context: http://www.nabble.com/Struts

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

2009-03-11 Thread boraldo
>> It isn't ideal if you want to keep your model carefully isolated from your UI Unfortunately it is the case, so I need another solution. Jim Kiley wrote: > > The easiest (I'm not going to say "best") solution is to make a "fake" > getter on your bean. Make a "getListLabel()" method that com

one action with two buttons

2009-03-11 Thread PEGASUS84
good evening, in my project i've to create a form with two buttons wich make two different process: i try this method: SOME table here or some fields Cancel but it doesn't work. Can someone help me? -- View this message in context: http://www.nabble.com/one-action-with-two-buttons-t

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Ashish Kulkarni
HiThanks for the help, i will check and get back to this mail with the results On Wed, Mar 11, 2009 at 10:11 AM, Security Management < list-subscripti...@secmgmt.com> wrote: > I got it working in less than a day using the docs. The "petshop" tutorial > page got me going. > > -Original Messag

Re: Mapping FreeMarker results in struts-rest-plugin

2009-03-11 Thread wkbutler
Thanks Bill - my action class is actually called SubdivisionController. Interesting you're getting responses for ftl requests. These URI's resolve for me: http://localhost:8080/lotmap/subdivision/id1 http://localhost:8080/lotmap/subdivision/id1.xml and these fail with a 404 http://lo

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

2009-03-11 Thread Jim Kiley
The easiest (I'm not going to say "best") solution is to make a "fake" getter on your bean. Make a "getListLabel()" method that composes a String from the values that you want to display in the list label, and then set the listValue to be "listLabel". This is the way I've done this in the past an

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

2009-03-11 Thread boraldo
When I use that 2 components in my form I need to set attributes listValue and listKey. That attributes as I understand require a field of a bean that is a member of collection represented by list attribute. Example: That means: 1) there will be one radiobutton for each element of collect

RE: [OT] Authorization and Authentication Question

2009-03-11 Thread Security Management
I got it working in less than a day using the docs. The "petshop" tutorial page got me going. -Original Message- From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] Sent: Wednesday, March 11, 2009 9:53 AM To: Struts Users Mailing List Subject: Re: [OT] Authorization and Authentica

springOpenEntityManagerInViewFilter (with Hibernate)

2009-03-11 Thread fr Rouxel
Hi, do you know how this filter manage the rollback when a db error occurres? Is it simple to add an struts 2 error message? Right now, I'm using a struts 2 interceptor, and I can manage the error message. (If you are interesting by my code...just ask) And I wonder if it's better to use the sp

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Wes Wannemacher
Spring Security is it's own filter, and my experience is that it is pretty easy to integrate with just about any type of web-app. As far as existing tutorials, I'd say to check google. -Wes On Wed, Mar 11, 2009 at 9:52 AM, Ashish Kulkarni wrote: > HiThanks for the suggestion, this application wh

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Ashish Kulkarni
HiThanks for the suggestion, this application which i need to do this is developed using Struts 1.2.6, can i add Spring Security to this, just as a drop in, is there any how to documents to add spring support to struts web application Ashish On Tue, Mar 10, 2009 at 7:43 PM, Jim Kiley wrote: > I

Re: [S2] Famoso Double conversion problem in S2 2.0.11.1!

2009-03-11 Thread Bert Van den Brande
I think this may be caused by this bug : https://issues.apache.org/struts/browse/WW-3018 On Sat, Feb 28, 2009 at 9:25 PM, Milan Milanovic wrote: > > No solutions ? > > Could maybe this be a problem, in this code: > > ... > >         > > ... > > > refValue1 is of type Double in my action class

RE: logic:iterate issue

2009-03-11 Thread Russo, Joe
Pawel, Thank you very much for responding. I tried the following and it worked. Thanks again, Joe -Original Message- From: Pawel Wielgus [mailto:poulw...@gmail.com] Sent: Wednesday, March 11, 2009 6:46 AM To: Struts Users Mailing List Subject: Re: logic:iterate issu

Re: Have a

2009-03-11 Thread Jim Kiley
Can you solve this problem with ? On Wed, Mar 11, 2009 at 9:07 AM, Ransika de Silva wrote: > Yes, your assumption is absolutely correct. > Thanks for the reply but sadly that technique is not good enough for us, we > want the label to be a hyperlink. > > Regards, > > On Wed, Mar 11, 2009 at 6:32

Re: Have a

2009-03-11 Thread Ransika de Silva
Yes, your assumption is absolutely correct. Thanks for the reply but sadly that technique is not good enough for us, we want the label to be a hyperlink. Regards, On Wed, 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

Re: Have a

2009-03-11 Thread Jim Kiley
...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 have the hyperlink actually be the label per se. Give the checkbox no label and just put the hyperlink next to the

Have a

2009-03-11 Thread Ransika de Silva
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, Ransika

addActionError will vanish Tree in JSP

2009-03-11 Thread sajidbigler
Hi I am using other fileds with Tree when we do submit i am checking whether the field is empty or not if empty i add action error and redirect it to same jsp.in this case tree vanish. so i tried to declare a variable (Category treeRootNode) in action class(where i evaluate the field) with

select problem

2009-03-11 Thread elyes sallem
Hello, i have a select component associated with a property selectedProject the problem is after calling the action (with an onchange event), in the action i get the correct project id , but i lost the project label so , after the action call, it displays the wrong project (as i said but the projec

Re: logic:iterate issue

2009-03-11 Thread Paweł Wielgus
Hi Joe, You can try to output authorId, without property set on, maybe these objects are empty inside. Also, did You imported logic tags into jsp? Best greetings, Pawel Wielgus. 2009/3/10, Russo, Joe : > The following bean:write code outputs: > [com.cadmus.rpm.domain.custom.authorsc...@d08faa] >

Re: Get jsp content in struts action

2009-03-11 Thread Nils-Helge Garli Hegvik
I don't know how to solve your problem, but you can look at this thread for some good advice: http://www.mail-archive.com/user@struts.apache.org/msg85536.html Maybe you'll find this useful as well: http://forums.sun.com/thread.jspa?threadID=730559&messageID=4220069 Nils-H On Tue, Mar 10, 2009 at

Re: struts2 and dojo

2009-03-11 Thread Lukasz Lenart
2009/3/11 Mohan Radhakrishnan : > Are you supporting JQuery in the future ? There is work-in-progress on jquery-plugin > I know I should be expecting only voluntary support from a open-source > project. Will the developers who are still working on DOJO support in Struts > tags suddenly stop worki