tual Action control thus adding 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?
On
et.java:853)
Thanks,
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:
which is basically what you're trying to do I assume.
K.C.
Aaron Longwell wrote:
I
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 ne
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
--
ading).
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 a
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 tag to a
ani
is being called to post the data from
the form?
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 s
AL> that it will appear both when the form is presented the first time, and
AL> after a validation error?
You have at least 2 choices.
1) You can put your drop-down values into session scope.
2) You can set the input attribute of your action mapping to your edit
action.
AL> Than
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 Ac
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
rst time, and
AL> after a validation error?
You have at least 2 choices.
1) You can put your drop-down values into session scope.
2) You can set the input attribute of your action mapping to your edit
action.
AL> Thank you for your help,
AL> Aaron Longwell
AL>
will appear both when the form is presented the first time, and
after a validation error?
Thank you for your help,
Aaron Longwell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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, th
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 complicat
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?
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 i
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 wou
erly,
but it's the easiest route 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 ac
Beans to your 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 ad
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
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 i
e
struts-el 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 e
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 jstl.ja
plate
language view systems. I am curious to see what's actually being used..
and what works.
Thanks,
Aaron
Aaron Longwell wrote:
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
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 b
gly) 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 been working on an event manager application in Struts for about
3 days. I
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 e
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 and
rnal Tomcat before? Is there a way 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 s
lidator, to another framework.
This is my primary development contract now, but I have others for
training 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,
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:
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 U
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 t
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
with
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 diff
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
Model 2, Struts, etc.
Alen Ribic wrote:
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]>
but they are all
internal... and no community oriented projects exist.
Thanks for the input.
Aaron Longwell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
low and return null
}
if(originalZone != 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 ActionFor
ssage-----
From: 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 th
explanation of
the recommended workflow for editing dates?
Thanks,
Aaron Longwell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
41 matches
Mail list logo