Re: trouble retrieving a request parameter with struts2 tags

2009-06-05 Thread Dave Newton
Dimitrios Christodoulakis wrote: I told you #attr.id on javaranch; I meant #parameters. This information is readily available via the S2 docs. [1, 2] IIRC the "value" attribute expects a literal; I'd wrap it in the OGNL escape, %{#parameters.id}, to make sure it's evaluated. Correct rende

trouble retrieving a request parameter with struts2 tags

2009-06-05 Thread Dimitrios Christodoulakis
Hello, I am building a struts2-hibernate-mysql application. A user after navigating through some pages reaches a pages where all the records on the database are listed and can perform crud operations. The jsp which iterates and displays the records is: <%@ taglib prefix="s" uri="/struts-tags"%>

Re: Re [S2] development tool

2009-06-05 Thread Dave Newton
duane5...@hotmail.com wrote: The core features of the tool are -20X faster development compared to current market alternatives What do you believe the "current market alternatives" are? -90% point and click development(business rules must be coded) I find that *highly* unlikely, but perhaps

RE: Re [S2] development tool

2009-06-05 Thread Martin Gainty
you'll get 10 different answers from 10 different people eclipse has been around the longest..writing a plugin for eclipse is a bit of a challenge and may cause you consider alternative RADs..the eclipse featureset is the most extensive although the screens are busy..you can customise to simpli

S2: setting caching-related response headers on *.action?

2009-06-05 Thread Bas Schulte
Hi, I want all response of my action handlers to have a couple of headers related to caching (i.e.: do not cache this, please). I would expect there's some global settings somewhere (struts.xml) that handles this for me but I can't find it. Any pointers on this? Cheers, bas. ---

Re: Re [S2] development tool

2009-06-05 Thread duane5000
To the group: How threatened do you feel toward RAD tools? Do you feel that a RAD environment would take your 5 man team to a one-man team, or do you see (company-mentality) the 5 man team taking the company to market 5 times faster(overall SDLC) and seeing new projects( that appear out of reac

RE: Re [S2] development tool

2009-06-05 Thread Martin Gainty
this would address training only.. local training always works as the student pays before the class but then again a storm could come up and push class back or the training oom HVAC could go awry..things can go wrong to upset the schedule then again online is far 'iffier' because of man-in-the-

Re [S2] development tool

2009-06-05 Thread duane5000
I noticed the posting on training was not met with huge opposition for solicitation in the manner it was presented... My turn :> We've been toying with creating a development tool/methodology that encompases Struts, Spring, Hibernate, some code generation(not 1 screen at a time, but a replica

RE: [friday] training for Struts 2

2009-06-05 Thread Martin Gainty
15$ barely covers cost of printing the materials unless of course its subsidised I could see a rampup free (for example) 15$ for 15 min discusssion on what MVC is plugins 30$ for 30 min jquery 30$ for 30 min spring.. The heart of Struts 45$ for 45 min on introduction to xwork interceptors 45$

Re: [friday] training for Struts 2

2009-06-05 Thread phillips1021
Wes Recommend online training. I work at University of Kansas. We use Struts 2 in many of our Java web applications. I think online training would be easier to get approved in this difficult economy. A basic and advanced course would be good. I also think some 60-90 minute modules on a focus

RE: [S2] why is javascript executed before DOM is updated

2009-06-05 Thread Martin Gainty
spam-filters prefer the term 'carefully manage' :) speaking of which did i miss build.xml and or pom.xml in build? no problem if they dont exist i can always scare one up ! thanks dave! Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note d

Re: [S2] why is javascript executed before DOM is updated

2009-06-05 Thread stanlick
"...a previous employer that *did* have pretty specific degradation requirements." Your employer wanted it to run poorly? [?] On Fri, Jun 5, 2009 at 8:39 AM, Dave Newton wrote: > Kawczynski, David wrote: > >> I don't use a jquery plugin, I simply have a SiteMesh decorator that >> includes the j

Re: [friday] training for Struts 2

2009-06-05 Thread Bhaarat Sharma
I also second the online training course. Adding to what scott said, I think you can start with screen casts as well. You can provide basic free screen casts for free and then charge money for advanced topics. You should look at Rail Casts by Ryan Bates: http://railscasts.com/ -bhaarat On Fri

RE: [friday] training for Struts 2

2009-06-05 Thread Martin Gainty
good idea scott one option is to use Backboard http://www.blackboard.com/Teaching-Learning/Overview.aspx (University of Cincinatti uses this for the online courses) I taught a course way back 00-01 using their WebCT product this is an excellent and more cost-effective alternative for busy profess

RE: (PROBLEM SOLVED) WAS 6.1: There is no Action mapped for namespace / and action name j_security_check

2009-06-05 Thread Struts Two
Not anything that I am aware of. --- On Fri, 6/5/09, Mitchell, Steven wrote: > From: Mitchell, Steven > Subject: RE: (PROBLEM SOLVED) WAS 6.1: There is no Action mapped for > namespace / and action name j_security_check > To: "Struts Users Mailing List" > Received: Friday, June 5, 2009, 1:54

RE: (PROBLEM SOLVED) WAS 6.1: There is no Action mapped for namespace / and action name j_security_check

2009-06-05 Thread Mitchell, Steven
Changing my mapping to *.action broke my submit buttons. I had to add ".action" to my form action parameter (action="myAction.action"). Is there some other setting to accomplish the same thing? -Original Message- From: Struts Two [mailto:struts...@yahoo.ca] Sent: Thursday, June 04, 2009 7

Re: [S2] why is javascript executed before DOM is updated

2009-06-05 Thread Dave Newton
Kawczynski, David wrote: I don't use a jquery plugin, I simply have a SiteMesh decorator that includes the jquery js references on a page. I use an element's onclick attributes to attach the appropriate jquery functionality when called for. I don't think a plugin is required, but then again I

Re: Return to previous page without javascript

2009-06-05 Thread Stefano Tranquillini
2009/6/5 Paweł Wielgus > Hi Stefano, > Action execute method result is a string but that is only a result name, > result can be a redirect to anything You want. > Read more about resut types in struts2. have u got an example or a tutorial about how to return an url? > > > Also if the requireme

Re: Formatting output, double without exponent

2009-06-05 Thread Greg Lindholm
A Double is just a number, if you want it formatted then you need to return a String. See http://java.sun.com/j2se/1.5.0/docs/api/java/text/NumberFormat.html and if you want this formatted as currency look at the getCurrencyInstance() method. * * On Fri, Jun 5, 2009 at 5:28 AM, Stefano wrote:

RE: [S2] why is javascript executed before DOM is updated

2009-06-05 Thread Kawczynski, David
I don't use a jquery plugin, I simply have a SiteMesh decorator that includes the jquery js references on a page. I use an element's onclick attributes to attach the appropriate jquery functionality when called for. I don't think a plugin is required, but then again I'm a control freak. :) A

Re: Huge File upload in struts 2

2009-06-05 Thread Greg Lindholm
How big is your test file? How much memory does your JVM have ? Print out Runtime.getRuntime().maxMemory() / (1024*1024) to get the Mb. Since you are reading from a file, here is a simpler method to load the contents of a file into a byte array: /** * Load a file into a byte array.

Re: [friday] training for Struts 2

2009-06-05 Thread stanlick
Hey Wes -- Travel and paper is so 80's bro. Have you considered an online format? I think a five day session where 2-3 are basics and the remaining 2-3 are advanced topics would be flexible. This way you could price the two separately and allow clients one or both enrollments. As far as course

RE: [friday] training for Struts 2

2009-06-05 Thread Martin Gainty
only if musachy and dave will be there! BTW: Dayton can be hotter than Florida in summertime then again Dayton Marriott has a REALLY nice pool i live in northeast factory town that looks like the setting for "tommy boy" i'll arrive with my one suit carefully packed in a glad-trashbag and duct-ta

[friday] training for Struts 2

2009-06-05 Thread Wes Wannemacher
Hello fellow-struts-ers, I have been toying with the notion of hosting a struts training, but I'm not convinced that it is a good business move for me. I am wondering about a few things and figured who better to ask than the community... Questions / Discussion Topics - 1.) I'm in Ohio, US, so nat

Re: mvn archetype/starter project w/ Hibernate & Struts 2?

2009-06-05 Thread Wes Wannemacher
I think AppFuse has archetypes like that... http://www.appfuse.org -Wes On Fri, Jun 5, 2009 at 8:02 AM, Jim Collings wrote: > Anybody know of such a beast? > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For

Re: Introducing Spring in Struts2 Project

2009-06-05 Thread Wes Wannemacher
On Fri, Jun 5, 2009 at 6:22 AM, alee amin wrote: > -Wes > thank you for explaining. That's pretty much that i know. but things are > confusing me. If i try to ask the question in smiplest way then it'd be like > this > > -- does it really matter what is the base framework? is there any such thing >

Re: Doubts about new project (Struts2 good way to do it?)

2009-06-05 Thread Paweł Wielgus
Hi Francisco, free hosting for java can be a hard one to find, i don't know or heard of any. Best greetings, Paweł Wielgus. 2009/6/5 Francisco Exposito : > > I've read that jetspeed2 documentation is poor... do you have an example > about jetspeed2 + struts2? > > Then, is it possible to create

RE: Doubts about new project (Struts2 good way to do it?)

2009-06-05 Thread Francisco Exposito
I've read that jetspeed2 documentation is poor... do you have an example about jetspeed2 + struts2? Then, is it possible to create a project using: Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is not compatible with the other? And what about the performance? Could it

mvn archetype/starter project w/ Hibernate & Struts 2?

2009-06-05 Thread Jim Collings
Anybody know of such a beast? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

get resource getText at system start

2009-06-05 Thread Ashish P
When system is starting, I want to log 1 message in Operating system locale. How can I do that?? Thanks, Ashish -- View this message in context: http://www.nabble.com/get-resource-getText-at-system-start-tp23885793p23885793.html Sent from the Struts - User mailing list archive at Nabble.com. -

Re: Introducing Spring in Struts2 Project

2009-06-05 Thread alee amin
-Wes thank you for explaining. That's pretty much that i know. but things are confusing me. If i try to ask the question in smiplest way then it'd be like this -- does it really matter what is the base framework? is there any such thing as base framework ? ..alee http://techboard.wordpress.com

Re: Return to previous page without javascript

2009-06-05 Thread Paweł Wielgus
Hi Stefano, Action execute method result is a string but that is only a result name, result can be a redirect to anything You want. Read more about resut types in struts2. Also if the requirement is to come back to a page that You were on, maybe there is no need to leave it at all. Use ajax to log

Re: Formatting output, double without exponent

2009-06-05 Thread Stefano
On Thu, Jun 4, 2009 at 21:30, Greg Lindholm wrote: > You need to format the number how you would like it. > If you have a fixed format and don't have to worry about > internationalization then you could just add another method to your class > that returns it formatted the way you like i.e. getCur

Re: Return to previous page without javascript

2009-06-05 Thread Stefano Tranquillini
Hi there's a problem (i think is a problem). I used the tiles. so the login is in the left part of the page and is always available for the user (in each page there's the login). so i need to store each time the url in each page. how can i do that? i can do with a Intercepor that simply store in t