Re: Action Under a Tile?

2003-07-19 Thread Aaron Longwell
the data to every action then I just need to do an include or tile to present that data. Do you use the below Action under a tile in production? Do you prefer your solution to the one I've suggested as an alternative for my problem? Once again, thanks for your time. Aaron Longwell Holman, Cal

Action Under a Tile?

2003-07-18 Thread Aaron Longwell
I am intermediately experienced with Struts, but I hit a brick wall today trying to solve the following problem: I am about 90% finished with a web app for a client. In discussions yesterday they decided to add an at-a-glance section to each page of the web site. You can think of this as a

Re: Action Under a Tile?

2003-07-18 Thread Aaron Longwell
, Aaron K.C. Baltz wrote: I suspect the problem is somehow specific to your at-a-glance action. Is it possible that it's trying to redirect? I know that it's possible to do: tiles:insert page=/someaction.do / which is basically what you're trying to do I assume. K.C. Aaron Longwell wrote: I am

Maverick.NET Experience?

2003-07-17 Thread Aaron Longwell
I asked a while back about MVC for Microsoft servers. I believe it was Ted Husted who said he was going to be using it for a substantial project. Just curious if Ted or anyone else has some feedback I'm interested in likes/dislikes, stability, comparison to Struts, etc. Thanks, Aaron

Re: Populating Drop downs

2003-07-15 Thread Aaron Longwell
? An example for the struts-config would be most useful. Q Aaron Longwell wrote: The Action is called prior to presenting the JSP only if you've set up: an action mapping to map the user's URL to a an action a forward to the JSP and you set the Action's execute method to return a forward to that JSP

Re: Splash Screen in Struts

2003-07-15 Thread Aaron Longwell
Dhruva, I have done this before the absolute cleanest implementation is almost 100% javascript: 1) Javascript submit(); call to start POST page loading 2) Javascript delete contents of the window (javascript:document.clear();) 3) Write new content to the window... adding in an img tag to a

Re: Splash Screen in Struts

2003-07-15 Thread Aaron Longwell
). Dhruva B. Reddy wrote: This doesn't seem to work--nothing after the first submit() call gets executed. I assume you put all of this code in the onclick handler for the submit button. --- Aaron Longwell [EMAIL PROTECTED] wrote: Dhruva, I have done this before the absolute cleanest implementation

Please Help: ActionForm Re-Population

2003-07-14 Thread Aaron Longwell
for your help, Aaron Longwell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts plugin for IDEA

2003-07-14 Thread Aaron Longwell
of instant or background save going on. I would be much more comfortable with a save button, but you just explain the file save process? After every change to a field? Thanks, Aaron Longwell James Holmes wrote: Struts Console is the only Struts plugin that I know of for IDEA. It's pretty good

Re: Populating Drop downs

2003-07-14 Thread Aaron Longwell
The Action is called prior to presenting the JSP only if you've set up: an action mapping to map the user's URL to a an action a forward to the JSP and you set the Action's execute method to return a forward to that JSP The entry point into the action is the execute() method which returns an

Re: Please Help: ActionForm Re-Population

2003-07-14 Thread Aaron Longwell
action. AL Thank you for your help, AL Aaron Longwell AL - AL To unsubscribe, e-mail: [EMAIL PROTECTED] AL For additional commands, e-mail: [EMAIL PROTECTED] Regards, Dirk +--- Quality leads

Validator + html:select Problem

2003-07-11 Thread Aaron Longwell
I feel a little embarrased asking this question... it seems so simple... I'm having a problem when the Validator framework actually finds a validation error. My form contains a dynamically created drop-down. For correct data, the form works just fine. When the user submits bad data, however,

Blank JSP Instead of Exception

2003-07-10 Thread Aaron Longwell
I'm building a new Struts app... and for the first half of development, uncaught exceptions would be reported by the container (on a web page that's visible to the end user). Suddenly yesterday all exceptions stopped being reported to the web output, and are now only appearing as a StackTrace

Re: Using JSTL tags instead of Struts tags

2003-07-10 Thread Aaron Longwell
David Graham wrote: --- Mark Lowe [EMAIL PROTECTED] wrote: I started using JSTL but found that it encouraged site builders to start embedding logic in JSP's. While I can see that JSLT is more powerful, isn't it true to say that it encourages breaking with the view-controller demarcation?

Re: struts doc

2003-07-10 Thread Aaron Longwell
I found this page to be the most useful: http://jakarta.apache.org/struts/resources/index.html Taner Diler wrote: hi, I want to develop my web applications by using struts. I found some tutorials. but they do not include enough sample codes about developing applications that are not

Missing Feature??: logic:redirect to Action

2003-07-07 Thread Aaron Longwell
I don't like to give the user opportunities to submit their POST twice... I avoid this one way by using an HTTP redirect following their post... I redirect them from the POST page to a GET-based information display page. This way pressing refresh refreshes just the display, not the POST. I

Where to do TextConversion?

2003-06-23 Thread Aaron Longwell
Struts Users, I'm adding some currency fields to an ActionForm in struts. The data is stored as float in the database. I'm wondering where to do conversion between a $6.70 that's displayed to the user on the form, and the 6.7 that's stored in the database. Should I use the java.util classes in

Re: Where to do TextConversion?

2003-06-23 Thread Aaron Longwell
wrote: How about the JSLT formatting tags? They can do the type of conversion you describe, in the JSP. Which I think is more desireable than having your actionform or action know about the formatting (which in this case is more presentation) -Original Message- From: Aaron Longwell [mailto

Re: Where to do TextConversion?

2003-06-23 Thread Aaron Longwell
ActionForms and visa versa-- two similar, but separate objects. PropertyUtils works nicely. Jacob -Original Message- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 11:00 AM To: Struts-User Subject: Where to do TextConversion? Struts Users, I'm adding some currency

Re: Where to do TextConversion?

2003-06-23 Thread Aaron Longwell
if it works in your case. -jacob -Original Message- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 11:12 AM To: Struts Users Mailing List Subject: Re: Where to do TextConversion? I'm not really considering sending the action form to the db tier. I am using Strings

My View Is Messy

2003-06-18 Thread Aaron Longwell
Morning everyone, I have been working on an event manager application in Struts for about 3 days. I'm just getting to the point of displaying a monthly calendar full of events. I finished up the JSP last night, and it's a mess. First, there's a lot of code in it. For example, to print out the

Re: My View Is Messy

2003-06-18 Thread Aaron Longwell
for what your doing in that example. -Original Message- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 June 2003 21:27 To: Struts-User Subject: My View Is Messy Morning everyone, I have been working on an event manager application in Struts for about 3 days. I'm just

Re: My View Is Messy

2003-06-18 Thread Aaron Longwell
Message- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 June 2003 21:50 To: Struts Users Mailing List Subject: Re: My View Is Messy Andrew, 2 things. First, is there a good tag reference (similar to the Struts docs) for the JSTL tags online? I've never worked with JSTL before

Re: My View Is Messy

2003-06-18 Thread Aaron Longwell
cleaner. I think that (JSTL) solves my problems of the view for this project. However, I'd still like to hear your thoughts on non-JSP or JSP+template language view systems. I am curious to see what's actually being used.. and what works. Thanks, Aaron Aaron Longwell wrote: Morning everyone

Struts-EL Dependency

2003-06-18 Thread Aaron Longwell
Gurus, I want to create JSP tags that utilize the JSTL EL functionality. I am aware that I need to make calls to a static org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager object (man, that's a long name). Question... where do I find the distribution of this file. The

Re: My View Is Messy

2003-06-18 Thread Aaron Longwell
tags as I believe they support a somewhat more concise (and certainly less ugly) syntax for what your doing in that example. -Original Message- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 June 2003 21:27 To: Struts-User Subject: My View Is Messy Morning everyone, I have

Re: Is modern Java IDE enough to work with Struts Project?

2003-06-17 Thread Aaron Longwell
In James' defense, the Struts Console is a GUI Interface to edit the struts-config file. Yes, you can use any text editor to edit the file, yes many IDEs contain shortcuts to make the process of editing DTD-specified XML files easier. I think, however, that the Struts Console is the quickest

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread Aaron Longwell
to use NetBeans to debug an external servlet (I am running Tomcat as NT Service on WinXP). Thanks, Aaron isaac wrote: On 6/14/03 8:16 AM, Aaron Longwell [EMAIL PROTECTED] wrote: Isaac, I too am in the market for an IDE. Can you give me some details about what features you like about NetBeans

Re: [OT] MVC / Model 2 for Microsoft ???

2003-06-15 Thread Aaron Longwell
and such that still use Struts, so I'll be using Maverick and Struts side-by-side for awhile. -Ted. Aaron Longwell wrote: I hope I don't start a huge debate with that intro, here goes. I am a freelance web developer. I've been struggling lately with not being able to use the Struts

Re: UML diagrams in Struts source

2003-06-14 Thread Aaron Longwell
Rob Leland wrote: Rahul wrote: Greetings All, As for the source, it's well-documented, explained and with UML diagrams. ah ! that reminds me .. I would like to know if these UML diagrams are being generated by an open source tool. May be I could use something like that to get some neat

Re: [OT] IDE with easy tomcat upgrade?

2003-06-14 Thread Aaron Longwell
Isaac, I too am in the market for an IDE. Can you give me some details about what features you like about NetBeans? Are you using any plugins? Any specific features that make J2EE development quicker? Thanks, Aaron isaac wrote: On 6/13/03 4:16 PM, Mike Whittaker [EMAIL PROTECTED] wrote:

Re: [OT] MVC / Model 2 for Microsoft ???

2003-06-13 Thread Aaron Longwell
: MVC and ASP.NET some resource. http://msdn.microsoft.com/architecture/patterns/ImpMVCinASP/default.aspx --Alen - Original Message - From: Aaron Longwell [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Sent: Friday, June 13, 2003 7:09 AM Subject: [OT] MVC / Model 2 for Microsoft

Re: [OT] - Lucene Intergration with Struts/Struts Jobs

2003-06-13 Thread Aaron Longwell
Wrox has a book, Struts Applications: Building Web Sites with Struts, OJB, Lucene and Velocity The last chapter features Lucene... not a lot of coverage, but the book is a case-study type style. Written by Carnell, Linwood, Zawadski. Pat Quinn wrote: Hey guys, I know its not really a struts

Re: [OT] - dos file

2003-06-13 Thread Aaron Longwell
Just for fun, take a look at jEdit. It's an incredible editor (with great plugins including some ant manager plugins). It's got a quick switch you can flip to change the line termination on a file. It's a Java app... completely cross platform... I've developed a web app simultaneously on 2

Re: [OT] MVC / Model 2 for Microsoft ???

2003-06-13 Thread Aaron Longwell
Whoa... MS Has released J#... that would be .NET Java. Anybody used this? Maybe I could just build an app with struts... then copy the Business/Data Tier code to a .NET app in J#. Is J# code compatible with REAL java? Aaron Longwell wrote: I hope I don't start a huge debate

Re: [OT] MVC / Model 2 for Microsoft ???

2003-06-13 Thread Aaron Longwell
Giampiero De Ciantis wrote: I don't think that the current ASP .NET model is too far off of the MVC path. Mostly I think that MVC isn't enforced, but the foundation is inherently there. The enforcement is the key I see lots of MS Developers do sloppy things because they can. If I had

[OT] MVC / Model 2 for Microsoft ???

2003-06-12 Thread Aaron Longwell
exist. Thanks for the input. Aaron Longwell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Newbie.... Best Practices for ActionForms

2003-06-03 Thread Aaron Longwell
explanation of the recommended workflow for editing dates? Thanks, Aaron Longwell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newbie.... Best Practices for ActionForms

2003-06-03 Thread Aaron Longwell
: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 23:39 To: Struts User List Subject: Newbie Best Practices for ActionForms I am beginning my first Struts project with this setup: mySQL Database Tomcat 4 OJB (ObjectRelationalBridge) My questions: 1) What is the best practice

Re: Newbie.... Best Practices for ActionForms

2003-06-03 Thread Aaron Longwell
!= null) format.setTimeZone(originalZone); return result; } -Original Message- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 23:57 To: Struts Users Mailing List Subject: Re: Newbie Best Practices for ActionForms Thanks, I am planning to use the struts validator