I know how you edit. How do you edit an i18n file? That is something
that is a bit of a mystery to me. Don't you see the problem? Imagine
doing it.
On 8/15/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Dakota Jack wrote:
> > On 8/14/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> > [Jack: h
it would be like this:
Step1Form form1 = (Step1Form) request.getSession
().getAttribute("Step1Form");
On 8/16/05, C.F. Scheidecker Antunes <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> Say that I have the following situation:
>
> type="org.apache.struts.actions.ForwardAction"
> parameter =
Hello all,
Say that I have the following situation:
Ok, the first action calls a jsp that, when submited, calls ProcessStep1
action and populates the Step1Form. However on step2 I am doing a file
upload so I am declaring the form, which is not Step1Form, to be of
request scope not
This error is caused by a jsp-api.jar in your application.
On 8/15/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> You said you were using Struts 1.2.7. I'm guessing those 1.1 TLDs are
> declaring the TEI class Tomcat's failing to load in the old location. Try
> using the TLDs (and other configura
You said you were using Struts 1.2.7. I'm guessing those 1.1 TLDs are
declaring the TEI class Tomcat's failing to load in the old location. Try
using the TLDs (and other configuration files) that correspond to the
Struts release you're using.
L.
Christian Dionne wrote:
Hi Laurie,
Thanks fo
Frank W. Zammetti wrote:
... these are applications that don't
necessarily flow from page to page, instead the user can navigate them
at will, more or less. "Events" that occur on the client-side don't
automatically have to result in a whole new page being rendered (and
this DOES NOT require A
The latest buzzword being tossed around lately is RIA, Rich Internet
Applications. Some of us laugh at the term because we've been doing
RIA's for 5+ years now and never thought to attach a special term to it
:) But I digress...
It's true that Struts doesn't have any built-in provisions for
Yuniar-
You will need an event based model when actions from the client will be
/should drive the actions for the webapp instead of http
My take and Im no expert is that Microsoft in developed the .NET Platform
and allaire developed ColdFusion (later acquired by MacroMedia) when they
both reali
Hi there,
I've just read "Struts in Action" and found that one of struts weakness is
"no event model", means "Struts is tightly coupled with the
request-response model used by HTTP, this can be restricting to developers
used to finely grained events"
I've found all about this event model in JSF
My problem is that I don't know the path for the second action, but I
do know the "forward to second page".
I'm trying to implement a custom workflow engine where states are
mapped to the definitions. This way I don't hardcode the
form action in JSP but rather derive it from the state name.
On 8
See, local forward definition (just as I described) does not work. If I call
mapping.findForwardConfigs() from inside of my FirstAction.execute()
method, I get only locally defined forwards, e.g. "forward to first
page". I would like to have a way to get to the SecondPage action
mapping from insid
When I put scope="request" in action mappings, I got the following
HTTP 500 error.
But if i take it out, then everything is fine. any ideas??
[Servlet Error]-[Cannot find bean logonForm in any scope]:
javax.servlet.jsp.JspException: Cannot find bean logonForm in any
scope
struts-config.xml
===
I think you'd have to know the path for the second action (/SecondPage
in this case)...
mapping.getModuleConfig().findAcrionConfig("/secondPage").findForwardConfig("forward
to second page");
Caveat: I haven't tried this. :)
There is also a findForwardConfigs() method of ModuleConfig, so I
s
Martin Bunen wrote:
Assuming I'm currently inside of com.mypkg.FirstAction.execute() method.
How can I obtain ActionConfig from the "forward to second page"
forward definition?
What I mean is that I know the forward name for the SecondPage action
mapping. I need to get to the path "/SecondPage"
Hi.
Assume I have the following in my struts-config.xml:
...
Assuming I'm currently inside of com.mypkg.FirstAction.execute() method.
How can I obtain ActionConfig from the "forward to second page"
forward definition?
What I mean is that I know the forward name for the
david hunter wrote:
Until 08/30/2005, you can buy one license of Dreamsource and get another one free from http://www.leeonsoft.com. I just join this mailing list to announce this offer. I think it is good for us. Please don't reply this message.
Interesting similarities in language, typical
Greetings,
Until 08/30/2005, you can buy one license of Dreamsource and get another one
free from http://www.leeonsoft.com. I just join this mailing list to announce
this offer. I think it is good for us. Please don't reply this message.
Dreamsource is a user-friendly Java source code genera
I believe the reason that the Validator errors are missing is that
Validator keys the errors with the property name of the form field.
And so, if you say that just show the errors whose property is
"ActionErrors.GLOBAL_ERROR" you would definitely miss out on the
Validator errors. It has nothing to
Greetings,
When in doubt between Content Management System you may what to compare them
in the http://www.cmsmatrix.org
There exist many free / opensource cms, the difficulty is in choosing one.
Compliments,
João
-Original Message-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Thanks, I think this is better. I still must be missing something about how
Tiles works internally, though.
In my app, the tiles definition for the end user page (the one that defines
"body") is called "endUserPage.tiles" and Tiles is smart enough to handle
requests for "endUserPage.jsp" in the
Why don't you just write your own validator plugin? Then you'll have total
control over what variables you include in your validation.xml and how your
validator uses them. This would take about 15 minutes once you know how to do
it. For an example, you can search the Web for Matt Raible's "Valid
Niall has a solution documented in
http://niallp.pwp.blueyonder.co.uk/emailTemplate.html
Hubert
On 8/15/05, Thomas Hartwig <[EMAIL PROTECTED]> wrote:
> I know my subject is already asked in different ways but I think the
> answers are not satisfying. One of the main arguments is: Struts is for
>
OK, I see:
Your definition would need to extend .sublayout..
/layout/layout
/layout/layout2
Daniel Hannum <[EMAIL PROTECTED]>
Daniel Hannum <[EMAIL PROTECTED]>
08/15/2005 03:51 PM
Please respond to
"Struts Users Mailing List"
To
Struts
Why can't you open an HttpURLConnection (or similar) to your JSP, collect the
HTML output, and embed that in a mime message body and then send via JavaMail?
Erik
-Original Message-
From: Thomas Hartwig <[EMAIL PROTECTED]>
Sent: Aug 15, 2005 2:19 PM
To: user@struts.apache.org
Subject: re
This still isn't working for me. I need to tweak your example because the
value of "body" changes for each page. So if I add one more definition to my
tiles-config.xml for an actual end-user page that a user would point a
browser to:
It's not clear which of your definitions I should extend.
Yes, this can be done. The VBox example is a good example of this.
Basically it is laid out as follows.
/layout/layout
/layout/layout2
you can then substitute out different components of each section based on what you are doing.
Daniel Hannum <[EMAIL PROTECTED]>
I know my subject is already asked in different ways but I think the
answers are not satisfying. One of the main arguments is: Struts is for
the web, not for messaging. I think even this is wrong. Struts follows a
MVC model. This does not implies only for web. And I think mostly all
web apps have t
Hi everyone, I have a question about nesting layouts with Struts
tiles. I've seen this sort of thing discussed in the past, but in
searching I didn't see an example that I could apply to my situation,
nor did I see a good solution.
Executive summary:
What I want to do is have a simple layout cont
Hi Laurie,
Thanks for your answer. I did a quick search to find if that
was my problem and unfortunately it isn't. I don't have any other
copy of struts.jar in any other directory than in my project directory
(WEB-INF/lib)...
Here is the struts structure I have:
WEB-INF/struts-bean-1.1.tld
WEB
You're right. RE is not suitable in this case.
If we don't specify a pattern, Struts will use SimpleDateFormat's default which
is MM/dd/ (I've just read about it in the Struts In Action book from
somebody here last week, so I'm not sure if that pattern is the default). One
thing I'm sure o
Thai Dang Vu wrote:
If I want to validate a date field, I will put something like this in the
validation.xml file
datePattern
MM/dd/
So, if I want to enable 2 ways of entering a date (MM/dd/yyy and MM-dd-), how should I write in the validation.xml fi
You probably have multiple copies of the struts jar on you application's
class path. Make sure that struts.jar only exists in your WEB-INF/lib
directory and not elsewhere in whatever application server or servlet
container you're using. Assuming you're using Tomcat, look for copies of
struts.ja
Dakota Jack wrote:
On 8/14/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
[Jack: he's not talking about
localizing natural language data entered by the user, that's clearly not
feasible!]
Fair enough! Out of curiosity, how do you "edit" the data without
"natural language"?
Same as with any o
On 8/14/05, David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
>
>
>
> This may already be in shale - I'm only using shale's mock objects so far,
> not shale itself.
>
>
>
> Something I would find VERY useful is for shale to call a backing bean
> before rendering a page - where there is a way to
Hi everybody,
If I want to validate a date field, I will put something like this in the
validation.xml file
datePattern
MM/dd/
So, if I want to enable 2 ways of entering a date (MM/dd/yyy and MM-dd-),
how should I write in the validation.xml file?
Hi!
I'm using Tomcat 5.5.9 with Struts 1.2.7. I am trying to convert my
application that was working
fine with Tomcat 5.0.30. I mostly fixed everything except that now I am
getting this error.
This occurs when parsing a .jsp file that includes a struts .tld.
Any idea how to fix this? I saw a
On 8/14/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
[Jack: he's not talking about
> localizing natural language data entered by the user, that's clearly not
> feasible!]
Fair enough! Out of curiosity, how do you "edit" the data without
"natural language"?
--
"You can lead a horse to water but
Balkan,
which line is line 26 in edit action? Can you provide the entire stack trace?
Off hand I would guess that your call to request.getAttribute("key")
is returning null...I don't see any other likely suspects.
Your JSP does this:
pageContext.setAttribute("key",key); what is pageContext?
netsql wrote:
hth,
Thanks; I'm going to digest this off-line--I really appreciate the info.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hello,
I have a action form operForm and List operMenus field. operMenu is an
other class that has some field.
I am listing all of the operMenu objects and their fields.
At the end of the each row I have an edit link that sends, its row's primary
key to an action.
operMenu class has two primary
Problem was the struts jar and validator-rules.xml were out of sync.
On 8/12/05, David McReynolds <[EMAIL PROTECTED]> wrote:
> My app is throwing a method not found exception. I've run it through
> the debugger and verified. The code snippet below is from commons
> ValidatorAction. It blows up on
I just fixed this. You have mixed up the versions of the
validator-rules.xml and the struts jar. Either go back to struts jar
1.1 or upgrade the validator-rules.xml.
On 8/12/05, Doug Thomas <[EMAIL PROTECTED]> wrote:
> While implementing struts validation for the first time (yup - I'm a
> newbie),
Take a look at this:
http://javawebparts.sourceforge.net/javadocs/index.html
This will do what you want I believe.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Mon, August 15, 2005 12:56 am, C.F. Scheidecker Antunes said:
> Hello all,
Does anyone have some ideas for me? Thank you!
-Original Message-
From: Chris Loschen
Sent: Saturday, August 13, 2005 5:48 PM
To: Struts Users Mailing List
Subject: RE: Displaying errors for all except one key
My Google research leads me to believe that I'm using old, deprecated
constan
Rather than remember the name of the form bean, I use the following:
Note that I uses session scoped form beans - the expression would have to
change slightly for request scoped ones.
Paul
> -Original Message-
> From: Robert Taylor [mailto:[EMAIL PROTECTED]
> Sent: 14 August 2005 19:18
From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]>
How can I list/print on a JSP all the variables and their values of the
current user session?
For debugging during development, I keep this JSP around and include it in
my overall layout tile so it shows up at the bottom of every page. It
I'm wanting to display a page with rows (1 for each bean in a
collection) with input fields that are saved on submit.
I'm pretty new to struts but have a rough idea of what should happen:
Display Action
1. Create the ActionForm
2. Populate form collection (database)
3. Save form on session
Hello all,
Is there any way to perform multiple file uploads using Jakarta Commons
Upload on a Struts application?
Is there any howto on this issu?
Thanks,
C.F.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
48 matches
Mail list logo