Thanks a lot Adam
for your help!
My solution that I currently have is to
add a paramter withwait to a action, that
should be coupled with a waiting-page.
It works but do be honest I've to ask another person
in the team on monday why it works and the request-parameters will now be
forwarded!
Are
Hi,
I am developing an application with struts and custom JSP tags.
In my custom tag I would like to retrieve the getIndexValue() when I use it
inside an iterate (in order to change its name like xxx[1] ...).
Have you got any idea?
Thanks,
Best regards,
Jean-Marie.
Jean-Ma
hi all!
I want to use radio buttons inside a table using display tag for selecting that
particular record (in the row).
can someone please help me in figuring out how to use radio buttons using
how to set properties etc.
thanks
Abhimanyu Koul
FinEng Solutions (P) Ltd.
Dani Compound,
158, Vidy
We cannot use tag inside another tags.
-Original Message-
From: Hanmay Udgiri [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 12:17 PM
To: Struts Users Mailing List
Subject: Sending run time value to custom tag
Hi
I am sending a runtime value to a custom tag.I am sending the value
Hi,
I just happened to be working on this problem myself. I wrote a validator:
public class dateValidation implements Serializable {
private static final Log log = LogFactory.getLog(dateValidation.class);
/* checks two date fields to see if the second field isn't earlier th
hi!
we display the values in a list box (multiple select) using a List object.
What object is returned when we select a few values. i mean what object stores
the selected values.
Is it also a List?
Abhimanyu Koul
FinEng Solutions (P) Ltd.
Dani Compound,
158, Vidyanagari Marg,
Kalina, Santacruz (
Hello,
I have come up against a similar problem. The error i am getting is:
org.apache.jasper.JasperException: WEB4059: can't find
/WEB-INF/struts-logic.tld (File not found)
In my error log on sun one webserver 6.1.
The app was built on tomcat and runs fine on sun one webserver 6.0.
How did yo
is there any way i can the pass the value runtime???
On 5/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
We cannot use tag inside another tags.
-Original Message-
From: Hanmay Udgiri [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 12:17 PM
To: Struts Users Mailing List
Subj
Title: Message
Hello,
all!
I have the following problem: after putting
a new version of commons-io.jar in my web
application project, I get different exceptions
depending on the mode the server is started (debug or start).
Here are the details of this
problem:
with the new
struts
Hello. I am having a problem. All my forwarding works more or less
correctly, but when I want to forward from one part of the system it
only shows me a blank page.
I am trying to forward to the domainAdminEdit.page. This page works from
another part of the site. But from where I am trying to f
Of course my code *doesn't* work, but I'll leave the reason why as an
exercise for the reader ;}
mvg,
Jasper
On 5/26/06, The Jasper <[EMAIL PROTECTED]> wrote:
Hi,
I just happened to be working on this problem myself. I wrote a validator:
public class dateValidation implements Serializable {
Jean Marie,
I'm not sure if that's what you are looking for...
<%= costFormat.format(c) %>
In the code above, I use index to access values in an array called costs.
[]s
On 5/26/06, Jean-Marie P
Your forward does not exist, your using:
domainAdminEdit and domainAdminEdit.page
Gareth
Shervin Asgari wrote:
Hello. I am having a problem. All my forwarding works more or less
correctly, but when I want to forward from one part of the system it
only shows me a blank page.
I am trying to f
Shervin Asgari wrote:
> * @struts.action-forward name="domainwebsiteAdminEdit.page"
> path=".domainwebsiteAdminEdit"
> * @struts.action-forward name="domainAdminEdit" path=".domainAdminEdit"
>
> return viewDomainWebsiteEdit(mapping, form, req, res,
> DOMAINWEBSITE_ADMIN_EDIT_PAGE);
>
> public Actio
Could you please specify what you mean?
I may have forgot to say that in tiles.def.xml I have
Shervin Asgari - System Consultant
M: +47 918 64 148, @: [EMAIL PROTECTED]
Linpro AS - Leading on LinuxTel: +47 21 54 41 00/02
Vitaminveien 1AFax: +47 21 54 41 01
PB 4 Grefsen, 0409 O
On 5/26/06, The Jasper <[EMAIL PROTECTED]> wrote:
Of course my code *doesn't* work, but I'll leave the reason why as an
exercise for the reader ;}
You need to add an error message when validation fails:
if (beginDate.compareTo(endDate) <= 0) return true;
ActionMessage msg = Resources.ge
Alright here is all the code. Sorry for too much code, but better too
much rather then too little:
//ACTION CLASS
package org.roller.presentation.website.actions;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRe
Hi Everyone,
Am Lakshmi. Am working on a web application in struts in a company. Am alone
over here on java. Everyone is on .Net. Am new to huge development on java
and never worked on any project in java till now since i was on vc++. This is
my first project. So, please, please, anyon
Thank's for your reply Miguel.
It is not exactly what I want ... :(
In fact I have write a custom JSP tag, I use it in an iterate block.
I would like to retrieve in the doStartTag block the Index value.
Jean-Marie
-Message d'origine-
De : Miguel Galves [mailto:[EMAIL PROTECTED]
Envoy
Hi Everyone,
Am Lakshmi. Am working on a web application in struts in a company.
Am alone over here on java. Everyone is on .Net. Am new to huge
development on java and never worked on any project in java till now since i
was on vc++. This is my first project. So, please, please, anyon
Medicherla Lakshmi ha scritto:
Hi Everyone,
Am Lakshmi. Am working on a web application in struts in a company. Am alone over here on java. Everyone is on .Net. Am new to huge development on java and never worked on any project in java till now since i was on vc++. This is my first proje
can someone help me with this please? thanks.
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: validation with validwhen
Date: Thu, 25 May 2006 12:31:56 -0400
want to validate a property for
required,
and also make sure it's value
Shervin Asgari wrote:
> Alright here is all the code. Sorry for too much code, but better too
> much rather then too little:
Not in this case.
In general, posting only RELEVENT code/configs is plenty.
Can you trim that and target the usecase that's actually failing?
Dave
Medicherla Lakshmi wrote:
> Am Lakshmi. Am working on a web application in struts in a company. Am
> alone over here on java. Everyone is on .Net. Am new to huge development on
> java and never worked on any project in java till now since i was on vc++.
> This is my first project. So, plea
Thanks for all your responses !
Dave, I have already tried and its working...Just wanted to know if it is
allowed or not..
Regards,
Ranganathan
On 5/25/06, Dave Newton <[EMAIL PROTECTED]> wrote:
Ranganathan Srinivasan wrote:
> What I want to know is can i pass query Strings as shown below :-
>
Hi,
from http://struts.apache.org/struts-doc-1.2.9/userGuide/dev_validator.html
we learn that:
If both items to be compared are convertable to ints, a numeric
comparison is done, otherwise a string comparison is done.
so since about any string is >= you will almost always get a valid check.
I
Hey,
Well you tell the problems you face..you will get answers automatically !!!
Regards,
Ranganathan
On 5/26/06, Dave Newton <[EMAIL PROTECTED]> wrote:
Medicherla Lakshmi wrote:
> Am Lakshmi. Am working on a web application in struts in a
company. Am alone over here on java. Everyone is
Sure I can do that.
This method gets called when push a button to delete a DomainWebsite
public ActionForward deleteConfirmedDomainWebsite(ActionMapping mapping,
ActionForm form, HttpServletRequest req, HttpServletResponse
res)
throws Exception {
RollerRequest r
On 5/26/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
Hi,
I am developing an application with struts and custom JSP tags.
In my custom tag I would like to retrieve the getIndexValue() when I use it
inside an iterate (in order to change its name like xxx[1] ...).
Have you got any idea?
Str
On 5/26/06, Hanmay Udgiri <[EMAIL PROTECTED]> wrote:
is there any way i can the pass the value runtime???
Runtime or EL expressions.
-Rahul
On 5/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
>
> We cannot use tag inside another tags.
>
>
> -Original Message-
> From: Hanmay
Actually we can. I know I have used
I don't know hot to set up the TLD so that it happens for our custom
tags though.
Harsh.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 3:45 AM
To: user@struts.apache.org
Subject: RE: Sending run time
Can you see stack in your console? Maybe there's an exception.
Harsh.
-Original Message-
From: Shervin Asgari [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 6:20 AM
To: Struts Users Mailing List
Subject: Blank page when trying to forward
Hello. I am having a problem. All my forwar
On 5/26/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
Thank's for your reply Miguel.
It is not exactly what I want ... :(
While it requires the JSP author to have an additional "index"
attribute on your custom tag, it does introduce a loose coupling that
allows the author to watch for the
Instead of this:
(*this* >= 0)
Use this:
(*this* >= 0)
Its to do with how your '>' characters are parsed.
Harsh.
-Original Message-
From: fea jabi [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 8:01 AM
To: user@struts.apache.org
Subject: RE: validation with validwhen
can so
I tried to tell that there is no exception. Nothing! That's why it is so
odd...
Shervin Asgari - System Consultant
M: +47 918 64 148, @: [EMAIL PROTECTED]
Linpro AS - Leading on LinuxTel: +47 21 54 41 00/02
Vitaminveien 1AFax: +47 21 54 41 01
PB 4 Grefsen, 0409 OsloWWW: http://ww
There is no exception because struts thinks that your handling the
response yourself and aborting the "normal action processing"
Look at your code:
* @struts.action-forward name="domainAdminEdit" path=".domainAdminEdit"
... final String DOMAIN_ADMIN_EDIT_PAGE = "domainAdminEdit.page";
Do y
Thankyou for the response.
tried
(*this* >= 0)
but still not getting error message. any other suggessions?
From: "Chaudhary, Harsh" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: RE: validation with validwhen
Date: Fri, 26 May 2006 09:46:3
and also make sure it's value is greater than Zero.
Do you need >= or > than 0?
(*this* > 0) might do the trick.
Thanks,
Vijaya
-Original Message-
From: fea jabi [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 11:03 AM
To: user@struts.apache.org
Subject: RE: validation with valid
Lakshmi, you sound like you have never used struts before. I suggest you
build a small sample app to help you see how struts works. A really good
book on Struts is: "Struts Survival Guide: Basics to best practices" by
Srikanth Shenoy with Nithin Mallya. Its a small, really concise book and
it takes
Fea,
What version of struts are you using? Dumb question, but are you sure
the key "lbl.notvalidnumber" is spelled right in your error messages
properties file.
Harsh.
-Original Message-
From: Krishnan, Vijaya [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 10:07 AM
To: Struts Users
Maybe we should ask if he is going to use Action 1 (Classic) or Action 2
(Webwork). Or is he going wild and going to use JSF/Shale. I wonder if
he's confused after reading this so I won't even mention Streks for
Annotations. I'm soo evil for mentioning this. LOL.
Regards,
David
-Original
Hi All,
I appreciate your time and helps,
I have 8 pages, each one has a form, the user has to fill up :
Page1(form1 ,Next) --> Page2(form2 ,Next,Prvious)-->Page3(form3 Next,Previous)
..-->Page8(form8 ,Previous)
each form has a data that will be stored in a table.
Please I want to learn from
What kind of help exactly do you need?
My initial suggestion would be to simply treat each page in the wizard
as a separate ActionForm, and then do inserts into your database upon
submission of each page...
Andy Miller
IS Designer
Butte College
530.895.2946
-Original Message-
From: A. Lo
no, it's not a dumb question.
But yah, I do have the key right!! and getting the error when used double.
Using 1.2.7 version of struts.
Actually I did try
(*this* > 0) too but, this didn't work either.
I tried, the below too
"and getting the error when used double."
Could you explain that? Like what exactly do you input when you get the
error and what you input when you do not get an error.
I just found recently that struts has a bug e.g. I have a field similar
to yours which is a float and has float and floatRange va
Hi All,
I appreciate your time and helps,
I have 8 pages, each one has a form, the user has to fill up :
Page1(form1 ,Next) --> Page2(form2 ,Next,Prvious)-->Page3(form3 Next,Previous)
..-->Page8(form8 ,Previous)
each form has a data that will be stored in a table.
Please I want to learn from
Its not really that hard or even a design issue. Just have one separate
Action class and Action form for each page. Call the action when the
user hits submit, next etc. In the action class, save to the DB and
forward to the next action.
Harsh.
-Original Message-
From: A. Lotfi [mailto:[EM
Thankyou all, for the help. I got it working now.
Which make sure the user entered value is a double >= 0, otherwise a message
is shown that it's not a valid number.
Both the below are working fine.
Hi, everyone.
This code is working.
${unit.unitID}
${unit.formattedName}
By adding a after the formatted name, I can get each checkbox on a
new line. Not too bad, as we don't have a lot of banner units right
now. I don't like the normal output with
Albert,
I wrote the following code to do what you want:
In the inner loop, I use the parameters offset and lenght to define the
in
Hello All,
I am trying to add tab feature to the JSP's. Each JSP has seperate
functionality to add, search records. I want the the whole functionality to
take place in the tab body i.e If i select a tab it ---> Displays a JSP in the
TAB body --> If i submit the form in the JSP it should show me
On 5/25/06, Monkeyden <[EMAIL PROTECTED]> wrote:
I know the "Action 2 Framework" is the WebWork integration branch
Hmmm, SAF2 *is* WebWork. We're working on some migration tools and
documention, but the entire WebWork codebase was donated to Apache
Struts.
but is the "Action 1 Framework" jus
Miguel Galves wrote:
Albert,
I wrote the following code to do what you want:
property="tableOffset"
id="offset">
In the inner lo
Hi,
You can use Struts tiles framework which provides Tab layout. This link will
help you.
http://www.lifl.fr/~dumoulin/tiles/
Thanks,
Elango
-Original Message-
From: A. Lotfi [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 2:07 PM
To: Struts Users Mailing List
Subject: buildin
Hi,
How to use struts and tiles to have like this example :
http://www.assortedinternet.com/tiles-documentation/examples/summariesTabs.jsp
Thank you.
-
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
On 5/26/06, A. Lotfi <[EMAIL PROTECTED]> wrote:
How to use struts and tiles to have like this example :
http://www.assortedinternet.com/tiles-documentation/examples/summariesTabs.jsp
I used to use that layout, but I switched to Struts Menu a long time ago:
http://struts-menu.sourceforge.
56 matches
Mail list logo