Craig McClanahan wrote:
On Apr 2, 2005 8:38 AM, Erik Weber [EMAIL PROTECTED] wrote:
I was playing a bit of devil's advocate when I wrote I have no interest
in JSF. It probably sounded harsh.
The truth is, I want both Struts and JSF in my toolbox. I don't want one
to supplant the other.
I have
Hi,
I'm using Oracle's BC4J framework which was shipped with JDeveloper
9.0.3.4 and I can not upgrade to newer versions. This frameworks
supports Struts 1.1b2 and not any other version. I'm currently facing a
problem with getting the validation framework to work in my application
and I need to
The project is growing and we need few developers to work on it.
I am trying to deploy the application using the struts modules.
We are using tiles so every module has it's own module directory
with both tiles-config.xml and struts-config.xml.
I am having the following problems , a lot of my
I have a Struts-app with a really big messages.properties file. I want to
split this file in some smaller and logic parts to get a better overview.
I know there is the possibility to create modules with its own
messages.properties. But I have some messages used in every module the same
way,
Yes.
message-resources parameter=ApplicationResources null=false /
message-resources key=general parameter=general.ApplicationResources
null=false /
message-resources key=errors parameter=errors.ApplicationResources
null=false /
Then when you refer to a message from a message resource defined
Hello all,
I was wondering.. is using DelegatingActionProxy plus
The Spring plugin for Struts the only way to integrate Spring beans
Into struts?
I am currently trying out Struts 1.3, and I would like to set my
Spring beans in the command rather than in the action class.., or at
least
Hi All,
I'm using using tiles framework for my application.I'm using struts,
jsp,servlets,xml as technologies.
With tiles we are dividing my jsp into regions but the the problem i'm facing
is how to point to a particular region in tiles framework from struts config.
Do reply back
Thanks
Hi,
I am quite new to struts. Please guide me which is the best place to
start. I will prefer to start with Struts example ()src code).
Thanks in advance.
--Balaji
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I have had a lot of help from:
www.sourcebeat.com: sample chapter of book 'Jakarta Struts Live'
Good luck,
Jan-Jaap
Balaji H. Kasal wrote:
Hi,
I am quite new to struts. Please guide me which is the best place to
start. I will prefer to start with Struts example ()src code).
Thanks in advance.
Hi,
Im working with struts (1.1), and am beginning to use
modules instead of separate applications
My problem is that when running the application the modules
does not find their application resources.
My main struts-config has the message resource set as:
action path=/logon
On Apr 1, 2005 7:16 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Now the Heading gets set just fine with the td.style_external, but when I
changed the (note) to span=style_note_internal(note)/span, the note is
still bolded.
How can I make the style just _not_ bolded essentially overridding
The Struts tags still scratch my itch and I have applied a few changes in
the past year (including some re-factoring).
http://www.niallp.pwp.blueyonder.co.uk/strutsversion126.html
Having said that, my open source time is limited so I'm not promising masses
of changes, but I don't yet see
I have a situation where i need to have a multi screen form, lets say 3 steps.
On the successfull validation of the 3rd step. I want to save the data into
the DB. This data would have been collected starting on step one, through step
3 and ecapsulated in 1 or more objects.
My question is
Brian McGovern wrote:
I have a situation where i need to have a multi screen form, lets say 3 steps.
On the successfull validation of the 3rd step. I want to save the data into
the DB. This data would have been collected starting on step one, through
step 3 and ecapsulated in 1 or more
Sounds good. I think I want to only have 1 write to the db at the end of
Action3, and im hoping to not use the session cause this app is gonna have alot
of users. By saving it on the page, are you talkin about using hidden form
fields across the 3 pages or can i set the oject in action 1 so
Hi,
Please visit http://www.roseindia.net/struts/
They provide example with running code.
Many advance topics like Tiles, Struts Validation
Framework, Java Script validations are covered in this
tutorial.
Introduction to the Apache Struts
This lesson is an introduction to the Struts and its
Dakota Jack wrote the following on 4/1/2005 8:03 PM:
SNIP
On Apr 1, 2005 12:01 PM, Dakota Jack [EMAIL PROTECTED] wrote:
Because you get yelled at when you say that and some people cannot
take being yelled at. Expect Craig, Ted, or someone to say the
standard thing soon on this tread. I know I am
Brian McGovern wrote:
Sounds good. I think I want to only have 1 write to the db at the end of
Action3, and im hoping to not use the session cause this app is gonna have
alot of users. By saving it on the page, are you talkin about using hidden
form fields across the 3 pages or can i set the
Hi,
Could you please tell me how to use label tag in struts. Label tag is
required in our application (deveice dependant users).
LABEL FOR=step2QuestionID1
bean:message property=step2Question1LongLabel name=Step2Form /
INPUT NAME=step2QuestionID1 TYPE=HIDDEN id=step2QuestionID1
/LABEL
Rick,
Since I really started this thread (and I speak for myself only!), I should
clarify this statement:
Anyway, how come no one is saying that the future is Struts 1.3 or 1.4?
Why all the hoopla about the future IS JSF?
On a habitual basis, I'll hear JSF is the future. I am glad people are
Rick Reumann wrote:
For the record, so others don't think I'm a die-hard Struts or JSF
person, the prediction Jack made was in reference to a question by Dave:
Anyway, how come no one is saying that the future is Struts 1.3 or
1.4? Why all the hoopla about the future IS JSF?
I didn't ask that,
Brian McGovern wrote the following on 4/4/2005 10:16 AM:
Sounds good. I think I want to only have 1 write to the db at the
end of Action3, and im hoping to not use the session cause this app
is gonna have alot of users. By saving it on the page, are you
talkin about using hidden form fields
The label is supposed to be closed before the input tag. IE is nicer
about mistakes like this than Netscape is. Try the code below.
label for=step2QuestionID1
bean:message property=step2Question1LongLabel name=Step2Form /
/label
input name=step2QuestionID1 type=hidden id=step2QuestionID1 /
I see your points but I disagree. I try to keep session use to an ABSOLUTE
minimum, because each session is stored in server memory and with every current
user filling out form there is a change, be it slight or not, that the server
will slow down or crash. I know it might be less desireable
Brian McGovern wrote:
I see your points but I disagree. I try to keep session use to an ABSOLUTE minimum, because each session is stored in server memory and with every current user filling out form there is a change, be it slight or not, that the server will slow down or crash. I know it might
Brian McGovern wrote the following on 4/4/2005 12:01 PM:
I see your points but I disagree. I try to keep session use to an
ABSOLUTE minimum, because each session is stored in server memory and
with every current user filling out form there is a change, be it slight
or not, that the server will
I think this is where our school of thought parts ways. Network transmission
is fininte, session usage lives as long as the user is on the site and session
not expired. So if 400 people get a direct mailer and hit the site to sign up
thats 400 people using portion of memory on a server. If
Nono.. im not saying the server is gonna crash on 1 little bean in session
scope. Im just talkin about theory really. In theory, i want to avoid using
the session, if it means i have to code a little bit more, and we are just
talking about a LITTLE bit, then so be it. Im not doing a 1 for 1
Benedict, Paul C wrote:
It is very difficult to divorce that little phrase from the general
implication that we should all move away from Struts in new projects. I do
not think it is true.
+1.
One can look at Dice new jobs on new projects and see what % is for
Struts and what % is JSF. Go look
Hello, I'm Lucas, I'm new to the list... and I have a problem:
An ActionForm that has an array of others ActionForms where each one has
another array of ActionForms. So i nedd to present the first form in a JSP
page...
One of the fields of the last ActionForm, the one in the lowest level, is
Brian McGovern wrote:
Action forms write out html for you. What if i wanted to put style attribs in
my form tags or use javascript for submission wrappers on the button clicks, or
stuff like that. Didn't think I could do that with action forms.
They do? How/when? I'm not just being a
This is just the standard and too frequent mixup in talking too
loosely about html:form and html tags as if they were ActionForms.
He really is talking about the fact that html tags resolve to html.
Nothing particularly special. If he wants, he can always modify the
tags to do anything he
Where does this label tag come from? And, how to you download the
sandbox for taglibs? I cannot find the place. It is sure not easy to
find.
Jack
On Apr 4, 2005 8:49 AM, Justin Morgan [EMAIL PROTECTED] wrote:
The label is supposed to be closed before the input tag. IE is nicer
about
You need to give one of them a key key=module1 and then in your
html:messages use the bundle key to refer to the key. I cant remember the
syntax for bean:write
_
From: Michael Hansen [mailto:[EMAIL PROTECTED]
Sent: 04 April 2005 13:44
To: user@struts.apache.org
Subject: Missing
Dakota Jack wrote:
Where does this label tag come from?
label is a POHTML tag.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hihi all,
i think we have trade-offs to both ways of persistence here...
if i may ask:
for Brian:
- if you are not using ActionForm objects (nor any Struts tags for
that matter, if you're only using c:out and POHTML), then what
features of Struts are you using?
i'm just trying to
I think i have a fundemental misunderstanding of ActionForms not having used
them that much. So forget everything i said about ActionForms, i was wrong. I
still dont like em partially cause im stubborn, but also because i dont like
that you have to define you whole form in your struts config.
On Apr 4, 2005 11:49 AM, Justin Morgan [EMAIL PROTECTED] wrote:
The label is supposed to be closed before the input tag. IE is nicer
This is wrong. The content model of LABEL includes all inline
elements, including form controls. A few paragraphs before your link
on W3.org, they include the
elements, including form controls. A few paragraphs before your link
I meant 'below', not 'before'.
--
Jeff Beal
Webmedx, Inc.
Pittsburgh, PA USA
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Brian,
But you don't HAVE to define a COMPLETE form in the configuration. At
least if you want to give up DynaActionForm you don't. You can define
your own form in a class that extends ActionForm. Granted you have to
add this to the config but with Xdoclet, or even just a gui editor
(James
Brian McGovern wrote the following on 4/4/2005 12:25 PM:
And yeah im using c:out into POHTML tags. Bletch all ya want, i still
think its a better way to go than action forms. My struts-config is nice
and small too :)
I still think (as Jack pointed out) you are having some confusion
between
Woodchuck wrote the following on 4/4/2005 1:35 PM:
for Rick:
- if and when your web app does experience OutOfMemoryExceptions due
to sheer volume (of users/sessions), then what can you do to fix this?
snip
do you just keep maximizing the server memory, and/or keep adding
servers (clustering/load
I only use hidden html fields to save state on the weekends, with friends.
What? Everyone does it!!
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 2:26 PM
To: Struts Users Mailing List
Subject: Re: Multi Step Forms
Woodchuck wrote the
Rick Reumann wrote:
Hi my name is Rick and I use the Session to store objects.
Hi Rick!
SUA - Session Users Anonymous - meeting/
Let's all thank Rick for sharing his story. *clap clap clap*
Group hug!
Well after looking for what was actually causing the out of memory
problems, and determining it
Brian McGovern wrote:
I only use hidden html fields to save state on the weekends, with friends. What? Everyone does it!!
I never inhal^H^H^H^H^Hsubmitted.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
This is wrong.
No, it's not. But it is incomplete. There are two ways of using
labels. The first is the inline method, as you demonstrated. The
second is using the FOR property, as the original code shows.
The FOR property is very useful when you want to put the label and
input in
--- Rick Reumann [EMAIL PROTECTED] wrote:
snip
The thing to realize here is time is money. Does you company want to
spend a ton money creating code that is a pain to maintain? I'll bet
you
in the long run, it's cheaper to add more RAM than it would be to
maintain various solutions simply
Hi
is there a tool which will compare properties file and
highlight missing keys.
I have a situtation where i have properties files in
different languages, i want to compare to see if there
are any keys missing in any of those files
Is there any open source or free tools??
Ashish
I don't know about gui utils but here is a command line util which will
probably do what you want.
http://www.javaworld.com/javaworld/javatips/jw-javatip135.html
Al
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 2:40 PM
To:
I have an OwnerOne.jsp and OwnerTwo.jsp tile that I want to use a general
component (OWNERcomp.jsp). The ownercomp.jsp uses another component for states
that also needs the Fom.
So, I can't get the ownercomp.jsp to see the ownerForm.
Can anyone help?
OwnerOne.jsp:
===
%@ page
To make your job a little easier with not using the Session this might
work well for you (and maybe you already thought of it), but I'd try
this ...
Let's assume three pages that you need capture info. Build three objects
that represent that page data you need to capture (A_Pojo, B_Pojo,
Woodchuck wrote the following on 4/4/2005 3:29 PM:
how do you handle browser back button issues? (the bane of all web
developers who use session objects)
If multiple submits will mess things up, I implement the Token stuff.
Works quite nicely for me.
--
Rick
I am trying to make the following work without success:
bean:message key='label.owner.section.info.%= ownerNumber %' /
for a property of...
label.owner.section.info.1 = Owner One Details
--
Thanks...
Mick Knutson
Systems Developer
Business Direct Services, Wells Fargo Bank
333
Hi,
I've got a Student class that looks like this:
public class Student {
...
private Teacher matTeacher;
...
}
In my JSP, I'm using this property like this:
html:select property=matTeacher
c:set var=CURTEACHER value=${student.matTeacher.teacherId} /
c:forEach var=teacher
Simon MARTIN wrote the following on 4/4/2005 5:37 PM:
In my JSP, I'm using this property like this:
html:select property=matTeacher
c:set var=CURTEACHER value=${student.matTeacher.teacherId} /
c:forEach var=teacher items=${TEACHERMAT} varStatus=status
option value=${teacher.teacherId}
public class Student {
...
private Teacher matTeacher;
...
}
Ah yes, I should have read your initial post longer. You definitely
don't want to use an object for your property for the select. use the id
of the matTeacher like I've shown and you should be all set.
Rick Reumann wrote
Marco:
This is clumsy, but you could probably figure out a way to
instantiate commands and chains as Spring managed beans and then,
rather than looking them up in a catalog, you could look them up in
the ApplicationContext. If you did this, then it would be easy to
set up your commands with
I don't have time right now to investigate the possible solutions to
your problem using the approach you're following. I just wanted to
point out that FormDef might be able to help you out depending on how
you're using your action form.
Hello:
I am a struts newbie and am wondering one thing:
In my app, I am finding that I am writing a lot of
html:link tags that have an action attribute.
The action attribute directly forwards to a tiles
definition. There is always a one-to-one mapping
of the action to the tiles defition. Is
59 matches
Mail list logo