Er Spring, not Swing.
No Frameworks for you. Next!
:-)
> -Original Message-
> From: Joe Hertz [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 23, 2004 2:24 AM
> To: 'Struts Users Mailing List'
> Subject: [OT] Hosting Companies
>
>
> I dont see Struts supporting hosting companies on
I dont see Struts supporting hosting companies on the wiki. It used to be on
the site before the resources link pointed you to the wiki IARC.
I just found out that the hosting company I use decided that they won't let
you deploy anything using Hibernate (or Swing, or Tapestry...or Jive or
Cocoon
Hi all,
I am wondering if there is a way to set values to message paramerts by using
bean:message, for example,
I have a message entry in my application.properties file like this:Welcome,
{0}
And in my JSP file, I'd like to render this message as "Welcome,Some
One"which
"Some One" is fetched from
Hi all,
I am wondering if there is a way to set values to message paramerts by using
bean:message, for example,
I have a message entry in my application.properties file like this:Welcome,
{0}
And in my JSP file, I'd like to render this message as "Welcome,Some
One"which
"Some One" is fetched from
Craig,
I just don't (yet) see how or where you can set an action override. Am I
supposed to add a chain called "servlet-complete-preprocess" and put my own
code in to figure out what action is being invoked and somehow which chain I
want to call next? I guess I was expecting something in the
stru
I wouldn't doubt it :) Unfortunately, I know the glacial pace we
upgrade versions of anything around here... case in point: we're still
stuck with JDK 1.3.1. Argh! I think the chances of migrating to Struts
beyond 1.1 is virtually nil. Is it really that bad to read though??
It's verbose, bu
The code that is in the repository now has focused on providing a
chain implementation that is fundamentally backwards compatible with
existing Struts 1.1/1.2 functionality. As such, it emulates the
current RequestProcessor architecture by passng all requests through a
single commonly configured p
I'm curious about Struts-Chain and have read through the 1.2.4 source on it
plus the 1.3 SVN repository. I don't see anything suggesting how to make my
action chain itself to another action in the struts-config.xml example. Nor
do I see anything suggesting how to have an action be processed by a
Frank,
Nothing jumps out at me from skimming over that struts config, other than
this thought: the new Struts 1.2.4 wildcard mapping might make that config
file much more readable. :(
Regards,
David
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Friday, Octobe
Hi David,
Nope, no redirects anywhere. When the NPE's occur, as near as I can
tell, only some of them are missing (which actually makes Craig's
suggestion more likely, maybe I missed an error path through the
code)... I do dump all the request parameters to the log on every
request (don't worr
Struts uses java.util.ResourceBundle instances inside it's
MessageResources implementation. In particular, the most common
mechanism is to implicitly use PropertyResourceBundle instances that
take a properties file and turn it into a ResourceBundle. Therefore,
you must follow all the rules descri
Frank,
Do any of your forwards have redirect="true" in them and point to a JSP?
That would do a browser redirect to make the browser go to a JSP, resulting
in lost parameters. Any change of posting part of your struts-config.xml for
us to skim over and point anything out that looks unusual? When
Hi,
I have a struts based application which supports several locales (italian,
french, korean etc). There are different .properties files to accomplish
this. The respective .properties files of each language were translated
recently.
When I bring up the app in Korean, it seems like the strings
I have found a suspecious behaviour with tiles.
If I set the Attribute with an all lower case or all upper case String
everything seems to work fine. When I use mixed case with a string like
"Foo" tiles won't import the attribute into the tile, and what is worse,
when the tile return, the attribu
Thanks for the heads-up Ben! Most of my time is spent in IE though... I use HTTPWatch
to do the same thing. The problem though is that I've never once been able to
replicate this problem, so it wouldn't help me any. I suppose I could have all my
users install HTTPWatch, but that wouldn't go o
That's an interesting thought Craig... I actually was very much aware of that
behavior, having been burnt in the past... A lot of my GUI design does in fact disable
elements because it's hard to get disabled elements to look exactly like Windows
elements do when disabled by just manipulating rea
Possibly many of you already have your own approaches for seeing
what's actually transmitted over the wire, but if you don't - check
out the LiveHTTPHeaders extension to Firefox - I love it!
-
To unsubscribe, e-mail: [EMAIL PROTEC
I don't know if this is happening to you, but one thing to examine
your client side JavaScript code for is setting an input element's
"disabled" property. If you ever do this, and then submit the form
that contains that element, the browser will *not* include the element
with the request. In turn
Keeping the unused fields around as hidden fields is a good idea. It will
keep your 'select all' javascript from getting complicated.
Just make sure that your action doesn't process any of the fields that were
made hidden, because hackers could modify those hidden fields manually
before sending ba
I should point out, before anyone calls me on it, that this is strictly an internal
app that is IE-specific (as per the overlords of the company's orders). Therefore,
there's no chance that user disabled scripting or anything, and indeed they wouldn't
have been able to even log in if they had.
Hello all... I've got a strange situation that's been bugging me for a while. First,
some quick background:
I wrote an application about two years ago that was based on a proprietary framework
that has now been converted to Struts. One of the things this proprietary framework
was missing was
Ganesh,
Thanks for your response. Now that I got someone's attention.. :-)
yes, like you said I made sure that exportIndex is taking the value that I
assign to it..
I did it using
right after my bean:define tags and it prints out the value on my screen
correctly. Not sure why the "export" at
Maybe it's because it's Friday, or maybe
it's because I've been especially dense this week, but isn't multithreading
orthogonal to the problem?
Dennis
Michael McGrady <[EMAIL PROTECTED]>
10/22/2004 02:05 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
Strut
Gnan,
This looks more like DisplayTag mailing list question. Browse the stuff
in there.
Meantime why don't you try the following.
If you are sure and can debug that variable exportIndex is set to
correct value then try to get this variable's value like
((TYPECAST APPROPRIATE TYPE HERE)
pageCont
Hi, Caroline,
Just a little follow up to all these good suggestions. I agree that if
you use the Action, then you should definitely use helper classes and
hopefully decouple them from the action. I like to use multithreading
in the helper classes generally. The suggestions about using the
Ac
What about something like:
<%
boolean checked = isChecked("a"); // check if the
value should be checked by default
if(showCheckbox(user, "a")) { // check if, for this
user, the checkbox should be visible
%>
>
<%
} else { // show disabled checkbox (or leave that out
to show nothing...)
%>
disabled
David,
I am using DisplayTag v1.0 -rc1. Thats the latest they have at
http://displaytag.sourceforge.net/download.html
I am using IBM WSAD v5.1.2 which supports for J2EE 1.3 specifications - EJB
2.0, servlet 2.3, JSP 1.2.
I tried ...export="${exportIndex}"..
but no luck..do I need to have JSP 2
The Struts source code itself offers many examples of how to
programatically access localized text from a mesage bundle. The
MessageResources class is the key to this -- it's also the code used
by tags like for ths purpose.
For example, here's some snippets from how one might use a
MessageResour
From: "Caroline Jen" <[EMAIL PROTECTED]>
> The challege comes as the "roles" of the web site
> users are introduced. According to the role of the
> web site user, I have to display certain groups (not
> all the groups) and certain sub-groups (not all
> sub-groups within a group) to him/her.
> How
Here's my idea:
Create a bean that has multiple Boolean fields, with each corresponding to a
checkbox you might want to display.
In the action that loads data for this page, process the user's role and set
the bean's Boolean values accordingly. Store the bean so that the jsp can
read it.
For all
>
> There are at least two good solutions. I like the second one best.
>
>
> 1. Tag Conditional Logic Solution
>
> Just use the , and tags. I assume,
> Caroline,
> that you are using JSTL. If not, then there are equivalent solutions
> with Struts logic tags.
>
>
> 2 Action Condition
There are at least two good solutions. I like the second one best.
1. Tag Conditional Logic Solution
Just use the , and tags. I assume, Caroline,
that you are using JSTL. If not, then there are equivalent solutions
with Struts logic tags.
2 Action Conditional Delivery Solution
Or, you can
The puzzle relates to displaying check boxes (checkbox
or multibox).
What I have are members who belong to professional
groups and sub-groups. E.g.,
Group A with sub-groups A-1, A-2, A-3, A-4.
Group B with sub-groups B-1, B-2, B-3
Group C with sub-groups C-1, C-2, C-3, C-4, C-5, C-6
etc.
web si
Hi
I am working on a struts application, In this a Action
class calls a java class which does all the business
logic, then this java class returns a ArrayList which
has
1 Completion flag, 0 successfull, 1 error
2 All messages to be displayed
3 Data for jsp screen
These messages generated due to p
At 2:25 PM + 10/22/04, liooil wrote:
And i'm not sure to understand why the jsp catch the exception (my
pretty error appears in the rendered html page) and the tiles element
does not (the whole body is blank).
Is there a soul to explain that to me?
What about a work-around?
I'm not sure I und
Hello world,
My webapp is getting a little bit bigger every day?.
On the same rythm grows my struts knowlegde.
But a this point i'm stuck with managing exceptions in my tiles element.
I made little test. I gather all my tiles authenticationLayout defined
this way in a single jsp (authentication_t
Hello world,
My webapp is getting a little bit bigger every day?.
On the same rythm grows my struts knowlegde.
But a this point i'm stuck with managing exceptions in my tiles element.
I made little test. I gather all my tiles authenticationLayout defined
this way in a single jsp (authentication_t
Fri, 22 Oct 2004 15:46:22 +0200,
"Albrecht, Michael" <[EMAIL PROTECTED]> wrote:
> Hi Arnaud!
Yo Michael!
> The following lines show you an example for optionsCollection - tag:
>
>
> label="text" />
>
I got something similar:
"
value="<%= "id[" + indx + "]" %>">
I
All
I'm using the tag to get a value out of the Session
scope as follows...
I seem to be getting the wrong value, however when I grab the object
into a local variable
However, if I do THIS, I get the correct value
CurrentStatusBean status = (CurrentStatusBean) session.getAttribute("");
s
Hi Arnaud!
The following lines show you an example for optionsCollection - tag:
The bean searchForm has got an attribute of type java.util.List called durations (of
course there`s a public method getDurations()).
A duration-object /-item of this list has got two attributes called days an
http://www.jext.org/apps/jext.jnlp
Could one do this medium type of application in Flash? See the Java RiA
advantage in this ex.
This is nice becuase when I go to client's or on my Mac/Linux/Windows
accounts, I can edit right away, w/o messing arround looking for their
funky editor. Commes in h
Hi!
It's two days now I'm fighting with . I don't
understand how I have to build my bean and how I have to pass the
arguments to the tag.
Has my bean to be a Collection? Has it to have an iterator() method? How
to write the getters and setters?
Many thanks for your help!
--
Arnaud Vandyck
http
You can use 3 differents FlightBean and then populate the *value
attribute* in each
When you click only one form submit is sent
Luis Gervaso
On Fri, 22 Oct 2004 15:28:16 +0900, Bill Keese
<[EMAIL PROTECTED]> wrote:
> I have a question about pre-populating the fields of a form you display
> in t
43 matches
Mail list logo