On 5/30/06, Adam Brod <[EMAIL PROTECTED]> wrote:
I am trying to setup my application using maven. On the shale website, it
reads, "Snapshots of Shale are also available in Maven repositories."
(http://struts.apache.org/struts-shale/index.html#Shale_Download).
However, the maven repositories onl
Hi-
I am trying to setup my application using maven. On the shale website, it
reads, "Snapshots of Shale are also available in Maven repositories."
(http://struts.apache.org/struts-shale/index.html#Shale_Download).
However, the maven repositories only appear to have shale-test available.
For
Hi,
I meet a problem using structs validator and reset button
The problem occurs when the validator find a validation error, then reset
button can not clear the input field but retain the error values.
BTW the respective form is in the session and I am using html:reset tag.
--
At 3:50 PM -0400 5/30/06, Brian Long wrote:
Hi folks - appreciate any input on this one:
I have a menu in a Struts 1.2.9 modularized app.
The menu has links to some jsps and some actions.
When the app is launched, the links all work. However, once I've
navigated into a module, the links all g
Hi folks - appreciate any input on this one:
I have a menu in a Struts 1.2.9 modularized app.
The menu has links to some jsps and some actions.
When the app is launched, the links all work. However, once I've
navigated into a module, the links all get prefixed with that module,
and the links d
I had the same problem you had, and I didn't want to save lists in session,
for many reasons. After some researches, the solution I choosed is the
following: in forms where I have dropdown lists, I disable the automatic
validation. This can be done adding the parameter validate="false" in the
cor
hi there,
i'm fairly new to struts and it seems like i do have a more conceptual
problem which should be easy to solve...
i have a form including a dropdown list, fetching the entries from a
database.
i like to use DynaForms and validation.
in order to display the dropdown values, i
- link to a
I can't believe there wasn't already a Wikipedia entry for ROP! There
is now...
http://en.wikipedia.org/wiki/Resume-oriented_programming
Frank
Chaudhary, Harsh wrote:
"resume-oriented programming" LOL.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Tuesd
Thanks for the help, David.
Yeah, I really think the book is a little outdated (i'm really using
perform() instead of execute()). I think the version I got is the same
as yours, since it mentions the execute() method and Struts 1.1.
I'm not able to test it right now (i'm at work), but when I got
Homero,
Often, people starting with Struts see blank pages if they use the wrong
method in their Action class. Are you using perform() instead of execute()
as your method? Your struts-config.xml file suggests you are using an
outdated book because it lists your config DTD as version 1.0, not som
"resume-oriented programming" LOL.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 30, 2006 10:53 AM
To: Struts Users Mailing List
Subject: Re: [OT] Re: multiple
Grab the Java Web Parts cookbook:
http://sourceforge.net/project/showfiles.php?grou
Grab the Java Web Parts cookbook:
http://sourceforge.net/project/showfiles.php?group_id=140728
...from the Java Web Parts project...
http://javawebparts.sourceforge.net
It includes such a "dynamic double-select" example using AjaxTags.
Frank
Dave Newton wrote:
Medicherla Lakshmi wrote:
Am
Medicherla Lakshmi wrote:
> Am using struts and my requirement is i have two selects i a jsp. On
> change of value in the first select, the values in the secon select should
> pop up. Is there any way to do this using remote scripting.
>
What's "remote scripting?"
Anyway, there are sev
The Jasper wrote:
> Also, you might want to extend ValidatorActionForm instead of
> ValidatorForm, but to tell the truth I'm not sure I really understand
> the difference.
For future reference and completeness:
You can specify validations based on either the form bean name or the
action mapping p
Hello,
I've created an application on my webapps folder, copied the libraries
and tag descriptors needed, compiled the sources successfully and
wrote the struts-config.xml for my app. But it's not working properly.
=/
I'm trying the first example of the "Struts In Action" book. The JSP
form page
Hi
Remove attribute="sForm" from the tag 'action'.
And try again.
> attribute="sForm"
> input="/form/s.jsp"
> name="sForm"
> path="/s"
> scope="request"
> type="com.eam.struts.action.SAction"
> validate="true">
>
>
regards
sateesh
-Ori
For JavaScript, here is the easiest way to do this is for your case:
Use a hidden variable to store the number of packages.
For each package, I am guessing you have 3 fields: height, weight, and
length. The names for these fields should be something to the effect
of: height_1, weight_1, length
Good Morning Antonisis-
If you are sending data which is of UTF-8 characterset then you need to
configure the request e.g. request.setCharacterEncoding("UTF-8") e.g.
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#setCharacterEncoding(java.lang.String)
If you are receivin
I have it working, although with a somewhat different setup (all my page
definitions are in my "tiles.xml" and this forces me to have a "dummy"
"logon.jsp" containing "
Dick
-Original Message-
From: Greg Allen [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 8:43 PM
To: user@s
> That usually means you haven't included the <%@ taglib %>
> directives in your JSP.
>
> They aren't in the snippet of Layout.jsp that you posted... are
> they in the actual source file?
No, they are not. They were in the initial page called. I assumed,
incorrectly it appears, that
Sure...
On 5/30/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
Hi Miguel,
thanks for the tip, is it possible to use this in a struts action which is
not thread save?
ciao 4 now
Julian
> Original-Nachricht
>Datum: Tue, 30 May 2006 09:28:36 -0300
>Von: Miguel Galves <[EMAIL P
Hi Miguel,
thanks for the tip, is it possible to use this in a struts action which is not
thread save?
ciao 4 now
Julian
> Original-Nachricht
> Datum: Tue, 30 May 2006 09:28:36 -0300
> Von: Miguel Galves <[EMAIL PROTECTED]>
> An: Struts Users Mailing List
> Betreff: Re: Re
Julian,
you can use the lock provided by Java 1.5 API...they are very simple to use.
For istance, I use java.util.concurrent.Semaphore.
The code above sho how to use it:
private Semaphore sceneryLock = new Semaphore(1, true);
public void removeScenery() throws Exception {
try {
You can indeed use scriptlet like this:
Note: he scriptlet <%=myform.getSampleIndicator()%> must return exactly
the type the setIndicatorType() method (of the tag class that provides
the implementation of indicatorEndDisplay) expects!!!
-Original Message-
From: Hanmay Udgiri [mailto:[EM
Hi
if I have to pass the bean:write value to custom tag How to pass??
I tried in net but could no get.
We are using JSP1.0 So I guess we cant use EL expression.
We can only use scriptlets.but how I can use bean:write value using
scriptlets
On 5/26/06, Chaudhary, Harsh <[EMAIL PROTECTED]> wrot
thx
hmm, where can I find it, is it part of Spring?
> Original-Nachricht
> Datum: Tue, 30 May 2006 18:36:06 +0800
> Von: Lixin Chu <[EMAIL PROTECTED]>
> An: Struts Users Mailing List
> Betreff: Re: Re: How to lock the access of methods within an action?
>
> i think transactio
I'm using tomcat, and the first 2 errors in the log follow. And
note that the class it is complaining about is in my tiles-core.jar
file in the WEB-INF/lib directory:
$ jar tvf WEB-INF/lib/tiles-core.jar | grep Exception
1109 Tue Aug 30 21:26:50 EDT 2005
org/apache/tiles/DefinitionsFactoryExcep
i think transaction manager will take care of this.
On 5/30/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
Thanks a lot for your answer!
My thinking behind is the application level!
I'm not sure but the goal is (my hope..)to solve
this problem using aspect oriented programming or Spring
al
Thanks a lot for your answer!
My thinking behind is the application level!
I’m not sure but the goal is (my hope..)to solve
this problem using aspect oriented programming or Spring
although I’m not very aware of it.
For example it would be nice to have one central configuration there you
can
Hi,
Am using struts and my requirement is i have two selects i a jsp. On change
of value in the first select, the values in the secon select should pop up. Is
there any way to do this using remote scripting.
Please give me solution.
Thanks and Regards,
MSV Lakshmi.
Hi,
try changing the validation to:
note, you are now referencing the action not the page.
Also, you might want to extend ValidatorActionForm instead of
ValidatorForm, but to tell the truth I'm not sure I really understand
the difference.
You don't need the key field
The tag to allow front-end validation based on the xml in
validation.xml. For example the code: generates the client side java script for the form \"logonForm\" as
defined in the validation.xml file. The when added in the
jsp file generates the client site validation script.
On 5/30/06, [EMAIL
Hi,
this sounds like a common database problem. You might want to consider
some kind of pessimistic locking. Basically you lock the object when
you start editing and prevent all access to it for the duration of the
lock. You could also do an optimistic lock which means that when you
change an obj
Thanks for your reply.
*paz.periasamy got the point:I am just trying to use server validate.
The validator-rules.xml is as following ,the one I copyed from the
struts-blank:
*
http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";>
Hello everyone,
Within our struts web application in which we have edit-actions within a user
can be busy editing data in the form for several minutes.
The problem is, if another user is also editing the data at the same time, one
of the is eventually going to overwrite the changes of the
35 matches
Mail list logo