NetBeans (www.netbeans.org) has a support for multiple-language properties
file. It displays them in the same window.
Ciao
Antonio Petrelli
Ashish Kulkarni wrote:
>Hi
>is there a tool which will compare properties file and
>highlight missing keys.
>I have a situtation where i have properties file
>... but the the problem i'm facing is how to point to a particular
region in tiles framework from struts config.
>
What do you exactly mean? Please expose your problem with more details.
-
To unsubscribe, e-mail: [EMAIL PROT
Check out the element of your struts-config.xml. It must be:
Otherwise you won't be able to forward to a tile definition.
Ciao
Antonio Petrelli
haim wrote:
> 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 a
try to use
instead (assuming ownerNumber is a defined bean in any context of this JSP)
kr,
guenther
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 10:21 PM
To: user@struts.apache.org
Subject: Concatinating 2 strings for a bean:message??
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 the
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.
http://www.rabago.net/struts/formdef/manual.htm#specifyingfo
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 re
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 the
Simon MARTIN wrote the following on 4/4/2005 5:37 PM:
In my JSP, I'm using this property like this:
selected>
property="matTeacher". The property in your form "matTeacher" should be
a number type (int, Integer, etc) or a String. Are you sure it's nott
an Object of type
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:
selected>
Showing this works pretty fine, but when I change the dropdown box and submit
the form, I get an
I am trying to make the following work without success:
for a property of...
label.owner.section.info.1 = Owner One Details
--
Thanks...
Mick Knutson
Systems Developer
Business Direct Services, Wells Fargo Bank
333 Market Street, SF, CA 94103
(415) 371-2553
[EMAIL PROTECTED]
MAC A0
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
-
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,
C_Poj
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 imp
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: user@struts.
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
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
> 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 simpl
> 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 and
in different s.
I
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 comman
Rick Reumann wrote:
"Hi my name is Rick and I use the Session to store objects."
"Hi Rick!"
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 was just a matter of some necessary b
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 follo
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?
do you just keep maximizing the server memory, and/or keep adding
servers (clustering/load bala
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 ActionF
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 Holme's
> 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: [
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
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.
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 and POHTML), then what
features of Struts are you using?
i'm just trying to understand the
Dakota Jack wrote:
Where does this tag come from?
is a POHTML tag.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Label is not a taglib, but an HTML element.
http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.9.1
Dakota Jack wrote:
Where does this 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
Do you have a URL for this Dice reference? That is interesting.
Thanks.
Jack
On Apr 4, 2005 9:45 AM, NetSQL <[EMAIL PROTECTED]> wrote:
> 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
You need to give one of them a key key="module1" and then in your
use the bundle key to refer to the key. I cant remember the
syntax for
_
From: Michael Hansen [mailto:[EMAIL PROTECTED]
Sent: 04 April 2005 13:44
To: user@struts.apache.org
Subject: Missing resource/Modules
Hi,
Where does this 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 mistakes
This is just the standard and too frequent mixup in talking too
loosely about and tags as if they were ActionForms.
He really is talking about the fact that tags resolve to html.
Nothing particularly special. If he wants, he can always modify the
tags to do anything he wants.
Jack
On Apr 4,
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 smart-alec
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
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
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 m
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 hal
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 slow
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 b
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 f
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.
Reference: http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.9.1
-Justin
-Original Message-
From: Sunu Mathew [mailto:[EMAIL PROTECTED]
S
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 acros
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,
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
Hi,
Could you please tell me how to use label tag in struts. Label tag is
required in our application (deveice dependant users).
This works fine in IE, but the label will not appear in Netscape 6.2
Sunu Mathew
National Patient Safety Agency
4-8 Maple Street
London W1T 5HD
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
Dakota Jack wrote the following on 4/1/2005 8:03 PM:
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 do
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
ar
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 th
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 o
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 wha
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 them
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 (note), the note is
> still bolded.
> How can I make the style just _not_ bolded essentially overridding the
> td.style_externa
Hi,
I’m 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:
…
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,
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 comman
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 i
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
Make
Yes.
Then when you refer to a message from a message resource defined above with
a key just use the 'bundle' attribute of html:errors.
-Original Message-
From: Fleischle, Samuel [mailto:[EMAIL PROTECTED]
Sent: 04 April 2005 09:09
To: user@struts.apache.org
Subject: Define more than o
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, e.g
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 action
63 matches
Mail list logo