hi,
I have an application with xsl (in jsp) used for presentation and
Struts for Controller.
When I try to submit an action in the onChange of a combo box (combo
created using javascript), I get this error
2005-12-20 14:49:42 StandardWrapperValve[action]: Servlet.service()
for servlet action
Hi*
Is this combination (Struts 1.2.7 and Validator 1.2) possible and is it
recommended to upgrade to this
Validator version, when you don't Validator up to now?
Thanks Starki
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Something like the following will work. The important stuff follows try.
public final class ResourceAction
extends Action {
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
http://java.sys-con.com/read/165115.htm
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi folks!
I'm in the process of transferring our webapp from java 1.4 to java 1.5.
All is well but (there had to be a but, eh?) the only thing is that I
get this following stack trace whenever I hit a page with the
messagesPresent tag:
java.lang.ExceptionInInitializerError
On 12/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
It seems that some static code in TagUtils is yielding an exception but
I don't know struts code well enough to put my finger on it. Anyway,
even if I did, I don't know that it would the solution to my problem
since the issue is inside
We are planning to internationalize our application.
Any step by step tutorial for internationalization of
application?
Thanks
Harita
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Automated tools can help you extract messages from your source code and put
them in ressource bundles.
eclipse: open java file, source - externalize strings
This is how to internazionalize an eclipse plugin, but basic ideas are same for
web app
I was under the imporession that something like this should work
form-bean name=Form1 type=org.apache.struts.action.DynaActionForm
dynamic=true
form-property name=property1 type=java.lang.Integer/
form-property name=property2 type=java.lang.Integer/
/form-bean
form-bean
I know this is a bit open-ended, but, here is goes. I have a somewhat
complicated form. It is the classic Order / OrderLine problem. I have
an order, within it, there is 1 order lines. The order lines are
arranged as a tree so that they can be grouped together by the user.
For each order line,
In struts we have an struts config struts-app06.xml and a struts-app07.xml
file as well as a struts-config.xml
It would have non year specific stuff in the struts-config.xml base
directory but then the would redirect to the app06 or app07 modules for year
specific stuff and the JSP pages would
Hi,
The suggest tag seems to work fine in Mozilla but not in Internet Explorer.
c:forEach var=educationDetails items=${
studentEnquiryForm.map.educationDetails} varStatus=status
layout:suggest suggestAction=/getColleges key=
styleId=collegeTextField${ status.count} value= suggestCount=8
On 12/20/05, Garner, Shawn [EMAIL PROTECTED] wrote:
In struts we have an struts config struts-app06.xml and a
struts-app07.xml
file as well as a struts-config.xml
It would have non year specific stuff in the struts-config.xml base
directory but then the would redirect to the app06 or
Hi All,
I was trying to style an text field, when an error occurs for that text
field.
I thought, errorStyleClass would help..But, It was just throwing me the
following error message..
Unable to find setter method for attribute: errorStyleClass
I was wondering, if this has anything to do with
Greetings. I have an app that needs to have multiple drop down boxes that
are related to each other. Instead of calling an action everytime the first
menu is selected and querying for the data in the second drop down, I want
to have the values in the second drop down reflect the choice of the
Hi,
Here is my (simplified) setup:
struts-config.xml:
form-bean name=myForm dynamic=true
type=org.apache.struts.action.DynaValidatorActionForm
form-property name=name type=java.lang.String/
...
form-property name=lineItems type=my.custom.LineItem[]/
/form-bean
Hello,
Currently in my struts-config.xml file I have the following controller entry.
controller inputForward=false contentType=text/html;charset=UTF-8
debug=3 locale=true nocache=true
processorClass=org.apache.struts.tiles.TilesRequestProcessor/
All is running, but now I have the need to
Hi Wendy!
I'm using Tomcat 5.5.12 and JDK 1.5.0_06 (both for compilation and
runtime). I've tried cleaning up everything in sight (work directory
include) but without success... :(
MG
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 20, 2005 10:30
If the amount of data needed for drop down B isn't large, I'd load it
into Javascript objects when the original page is displayed. Then use
client-side Javascript to populate B after A is chosen.
If the amount of data is too big, I'd investigate doing the same concept
using client-side
As with Struts, the JSP pages for a JSF app can certainly be in
subdirectories ... just include the subdirectory names in your navigation
rules for the from-view-id and/or to-view-id elements.
Is there any way to use values in the session to configure which
subdirectory to go to instead of hard
On 12/20/05, Garner, Shawn [EMAIL PROTECTED] wrote:
As with Struts, the JSP pages for a JSF app can certainly be in
subdirectories ... just include the subdirectory names in your
navigation
rules for the from-view-id and/or to-view-id elements.
Is there any way to use values in the session
Oops I meant faces-app07.xml below instead of struts-app07.xml
-Original Message-
From: Garner, Shawn
Sent: Tuesday, December 20, 2005 2:04 PM
To: 'Struts Users Mailing List'
Subject: RE: [struts-shale jsf]
As with Struts, the JSP pages for a JSF app can certainly be in
subdirectories
AJAX is your friend! (as long as Javascript is OK of course).
Take a look here:
http://javawebparts.sourceforge.net
Check out the AjaxTags taglib (check out the javadocs). Then, if it looks
interesting, click the Downloads link and grab the cookbook download. In
it you will find an example of
Do you have any examples of using javascript to populate B after A or
something like that?
On 12/20/05, Neil Erdwien [EMAIL PROTECTED] wrote:
If the amount of data needed for drop down B isn't large, I'd load it
into Javascript objects when the original page is displayed. Then use
That's a good point, I should have said it in my reply too... if the
datasets are small, you'd be better off loading it all initially and
changing things client-side. No need to involve the server for a small
amount of data.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex
You have two choices... DOM manipulation, or DIV replacement. The former
can get a little complex, the later is pretty straight-forward:
select onChange=doit(this);
option=colorcolor/option
option=sizesize/option
/select
div id=nextSelect/div
script
function doit(obj) {
s = ;
type
(Just as an additional confirmation that it works ok in some configurations)
Our app has been up on JDK 1.5.0_02-b09 with Struts 1.2.4 and Tomcat
5.5.7 for about 6 months (compile and runtime).
Yes, we had some classloader and classpath issues to resolve, and that
was usually due to our clumsy
It is difficult to say, is that the full trace stack? Can you please check
error log file in Tomcat HOME_DIR and get more info about the error? Maybe
you can find what really caused error there. Good luck ... ;)
On 12/21/05, Hey Nony Moose [EMAIL PROTECTED] wrote:
(Just as an additional
set a flag represented selected or not (can be a boolean, or an arraylist
that holds all selected values), put into your global bean holder (if you
have, this is a java bean simple holds all objects that would be created and
used during the session), then you can use logic tag to check the flag
I'm pretty sure that isn't supported; I wanted to do exactly that
recently but, looking through the code, it appears you can't. It seems
like it'd be a pretty useful thing to be able to do, though. Maybe you
could file an enhancement request in Bugzilla.
L.
fea jabi wrote:
I was under the
Your request is sending a value for a form bean property that can't be
converted to the required type, by the look of it. Turn on debug logging
for the org.apache.commons.beanutils package and you should be able to
see which property the error is for.
L.
Shiby Maria John wrote:
hi,
I have
Scott Vickery wrote:
I know this is a bit open-ended, but, here is goes. I have a somewhat
complicated form. It is the classic Order / OrderLine problem. I have
an order, within it, there is 1 order lines. The order lines are
arranged as a tree so that they can be grouped together by the
starki78 wrote:
Hi*
Is this combination (Struts 1.2.7 and Validator 1.2) possible and is it
recommended to upgrade to this
Validator version, when you don't Validator up to now?
Thanks Starki
AFAIK, validator 1.2 should work fine with Struts 1.2.7. I thought
Struts 1.2.8 was already
Jim Reynolds wrote:
Hello,
Currently in my struts-config.xml file I have the following controller entry.
controller inputForward=false contentType=text/html;charset=UTF-8
debug=3 locale=true nocache=true
processorClass=org.apache.struts.tiles.TilesRequestProcessor/
All is running, but now I
RathinaGanesh MeenakshiSundaram wrote:
Hi All,
I was trying to style an text field, when an error occurs for that text
field.
I thought, errorStyleClass would help..But, It was just throwing me the
following error message..
Unable to find setter method for attribute: errorStyleClass
I was
On 12/20/05, Laurie Harper [EMAIL PROTECTED] wrote:
starki78 wrote:
Hi*
Is this combination (Struts 1.2.7 and Validator 1.2) possible and is it
recommended to upgrade to this
Validator version, when you don't Validator up to now?
Thanks Starki
AFAIK, validator 1.2 should work
Hi all,
For my application I need a tabbed page. I tried using css but that's not
sufficient for me. Please let me know is any other way in jsp to create
tabbed page with scrolling also when number of tabs are increased.
My page has a header part and details part. We need tab on details part.
Use Struts Menu. Go to apache site and download. They have many types oput
of which one is Tabbed Menu
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (India) Pvt. Ltd.,
Madras - 600 006
Mob: 9886152717
Extn: 40123
JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
[EMAIL PROTECTED]
Hi
Why don't u try using div.
div class=tab id=tab1 style=LEFT: 0px; TOP: 1px
onclick=showPanel(1); bean:message key=tab.geninfo/ /div
and then use javascript to show and hide tabs
regards
Rohit
-Original Message-
From: JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
[mailto:[EMAIL
So I'm pretty much sold on migrating from Struts/JSPs to JSF at this
point, with one remaining caveat I've yet to figure out. I've brought
this up before, but haven't found a good solution yet. I think the
easiest way to get what I want is to use struts-faces, but then I can't
get the benefits
How to turn on the logging for a single package?? Where to specify
that??
Laurie Harper
On 12/20/05, Laurie Harper [EMAIL PROTECTED] wrote:
So I'm pretty much sold on migrating from Struts/JSPs to JSF at this
point, with one remaining caveat I've yet to figure out. I've brought
this up before, but haven't found a good solution yet. I think the
easiest way to get what I want is
Hi guyz,
Here is the solution for the issue we had
public class ListTextActionForm extends ActionForm {
public List customer;
public void setCustomer(List customer){
this.customer = customer;
}
public List getCustomer() {
return this.customer;
}
Hi,
Can i have multiple ApplicationResources.properties file?? I have different
modules in mu Application and for each module a separate struts-config.xmland
tiles-def.xml has been defined. But i am not able to define different
ApplicationResources.properties.
Please help
Regards,
Deepa
---BeginMessage---
Hi,
You can use multiple application resources by putting an entry into the
struts-config.xml file.
message-resources key=myResources
parameter=com.systemmobile.example.ApplicationResources/
message-resources key=moreResources
Hi,
I have a Struts form where there are more than one submit action.
How can I achieve this without using javascrpit?
Any ideas??
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
You can use lookupdispatch action.
-Original Message-
From: Shiby Maria John [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 21, 2005 12:31 PM
To: Struts Users Mailing List
Subject: Multiple form submit actions
Hi,
I have a Struts form where there are more than one submit action.
Use the DispatchAction.
-Original Message-
From: Shiby Maria John [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 21, 2005 12:31 PM
To: Struts Users Mailing List
Subject: Multiple form submit actions
Hi,
I have a Struts form where there are more than one submit action.
How can
48 matches
Mail list logo