Re: question about DWR integration

2006-10-24 Thread Frank W. Zammetti
Hi Lig, I think you would want to do two things... first, abstract out your authorization code from the RP into a filter... you should be able to slap this in front of vanilla Struts and get the same effect (perhaps with a little tweaking, since I'm not familiar with your implementation). Ne

form bean with composition, is it possible?

2006-10-24 Thread xianwinwin
Hi guys, I wonder if it's possible to create a form bean with a composition. I mean, assuming I have the following classes: AccountInformation ( fname, lname...) CreditCard (number, type...) I would like to know if I can create a form (registration) that is composed from AccountInformation and

question about DWR integration

2006-10-24 Thread Ilya Liubovich
Hi, I've asked this on the DWR mailing list, but never got a response. May you be you can help. The issue is the following: I have an extension to requestProcessor which deals with authorizing requests based on request parameteres. I'd like to do the same to the requests directed to the DWR ser

Re: Debugging struts applications with eclipse

2006-10-24 Thread Ed Griebel
This should answer all your questions: http://tomcat.apache.org/faq/development.html Google is your friend, this is the first link for "tomcat eclipse debugging" search. -ed On 10/24/06, Joe Yuen <[EMAIL PROTECTED]> wrote: Can anyone tell me how to debug an application running under tomcat? I

Re: javabeans with Collection (Set)

2006-10-24 Thread BISO
Thanks Laurie for your response. I used BeanUtils and It worked well with me :) Unfortunately, convert(Class type, Object value) works only with single Object not Object array. Do you know away to make it work with arrays. My goal to Convert String[] to a java.util.Set Thanks again BISO L

Re: Debugging struts applications with eclipse

2006-10-24 Thread Martin Gainty
I would look at implementing either commons-logging or Log4j for loggin using socket/smtp/ftp protocols which is organised to categories For more info take a look at http://www.theserverside.com/discussions/thread.tss?thread_id=19402 Anyone else? M- This e-mail communication and any attachments m

Debugging struts applications with eclipse

2006-10-24 Thread Joe Yuen
Can anyone tell me how to debug an application running under tomcat? Is there any special setup I have to do in eclipse? Thanks.

Re: Add request parameter in

2006-10-24 Thread Martin Gainty
The request parameter is available thru bean:parameter be mindful that multiple="true" must be specified in the event you are sotring an array For more info check out http://struts.apache.org/1.x/struts-taglib/apidocs/org/apache/struts/taglib/bean/package-summary.html#package_description Anyone e

Add request parameter in

2006-10-24 Thread Antonis Lebesis
Hello, I want to add a request parameter in tag. I searched the user guide, but I didn't find anything relevant. Have you any idea on how to do this? The code I 'm using is: Thanks, Antonis. - To unsubscribe, e-mail: [EMA

Re: Struts2 runs in Eclipse

2006-10-24 Thread Don Brown
The easiest way to get started is to use the Maven 2 archetype and let Maven 2 generate your eclipse project files. Unfortunately, the Apache servers are currently down, so this method won't immedately work. But when they come back up, here are the three commands that you can run if you have Mav

several html forms

2006-10-24 Thread Jean-Marie Pitre
Hello, What do you think about using several html forms with same name in the same page ? I explain me, my JSP displays (with iterate) content of a tab element (object in my formbean). I would like to update one of these elements, so my idea was to create a html form block for each element of my

Struts2 runs in Eclipse

2006-10-24 Thread frankiestd168
Hi all, Is there any tutorial for setting up Struts2 webapps in Eclipse? sorry, i'm new to Eclipse, and Struts2.. really have no clue..help..pls.. thx. -- View this message in context: http://www.nabble.com/Struts2-runs-in-Eclipse-tf2504256.html#a6981946 Sent from the Struts - User mailing li

Re: Subject: Struts 2.0 vs JSF

2006-10-24 Thread Garner Shawn
I was using MyFaces JSF/Tomahawk/Facelets with Tomcat. I like some features of JSF but not all. Plus I kept running into bug after bug between JSF, Tomahawk, Facelets, and Tomcat. I finally ran into troubles with JSTL and Facelets so I switched to Struts 2 and sitemesh. I had to write my own cust

RE: Struts1.3.5 error

2006-10-24 Thread Levan Dvalishvili
Please make sure In JSP pages : remove/change local references to tag libs to absolute URLs: It should look like that : <%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %> <%@ taglib uri="http://struts.apache.o

Re: Too many moving parts in Tiles

2006-10-24 Thread Chris Pratt
Hmmm, I'm not using Tiles alone or Struts 2. I'm using the Tiles integrated into Struts 1.2.9. I've tried using the ForwardAction to forward something like: But it doesn't work, it just returns 404's. As far as 2 definitions per page, I've been told by others on the list that because you

doubt with multibox

2006-10-24 Thread Yariel Ramos Moreno
hello... I´m using html:multibox to generate a dynamic list of items... so far so good, but I have a problem because at the same time I generate a dynamic list too, but this list print always the same (example "working")... then, what can I do if the second list always print the same and this is n

Re: Unable to Download Struts2

2006-10-24 Thread Wendy Smoak
On 10/24/06, Matthew J. Vincent <[EMAIL PROTECTED]> wrote: I get a connection timeout everytime I try to download: http://people.apache.org/builds/struts/2.0.1/struts-2.0.1-all.zip Anyone else getting this? Yes, that server was part of some infrastructure work that started on Saturday. The

RE: Struts1.3.5 error

2006-10-24 Thread Levan Dvalishvili
Please make sure In JSP pages : remove/change local references to tag libs to absolute URLs: It should look like that : <%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %> <%@ taglib uri="http://struts.apache.or

Re: Performance of my code

2006-10-24 Thread Martin Gainty
this is the best Ive seen thus far- http://www.cenqua.com/clover/ HTH M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that yo

Unable to Download Struts2

2006-10-24 Thread Matthew J. Vincent
Hi all, I get a connection timeout everytime I try to download: http://people.apache.org/builds/struts/2.0.1/struts-2.0.1-all.zip Anyone else getting this? Thanks! Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Too many moving parts in Tiles

2006-10-24 Thread Greg Reddin
On Oct 24, 2006, at 12:20 PM, Chris Pratt wrote: First I have to create an essentially empty file for each page that uses Tiles, something like: <%@ taglib prefix="tiles" uri="http://struts.apache.org/tags-tiles- el"%> First off, I'm assuming you're using Tiles 2? That may affect the

RE: Struts 2.0 vs JSF

2006-10-24 Thread Levan Dvalishvili
I agree, JSF is not the most pleasing technologies out there, :)) I would say Tapestry or wicket are way beyond, better, , but I don’t like component based event-driven blablalba.. so my vote is for struts 2.0, actually Struts 1.3.5 as a fact I am still little bit fishy about new dependency

Re: Performance of my code

2006-10-24 Thread Daniel Chacón Sánchez
If you don´t know the answer then don´t write :P Thanks Jerome, I just downloaded an extension for JDeveloper that check that, thanks!!! 2006/10/24, Ed Griebel <[EMAIL PROTECTED]>: On 10/24/06, Daniel Chacón Sánchez <[EMAIL PROTECTED]> wrote: > Hi all, this is not a question about struts, but

Adding Elements to a

2006-10-24 Thread Chris Pratt
Is it possible to add elements to a list started by a "super" tile definition? In other words, is something like this doable? Define a layout that has as list of breadcrumbs: Extend that layout and add additional breadcrumbs:

Re: Performance of my code

2006-10-24 Thread Jerome Gagner
Unused variables: Use and IDE like Eclipse or IDEA. They both have rule checking. Maven also has a plugin for this. In terms of performance, I'd look for a Java profiler. I've personally had very good experiences with Yourkit (www.yourkit.com) On 10/24/06, Daniel Chacón Sánchez <[EMAIL PROTECTE

Re: Performance of my code

2006-10-24 Thread Ed Griebel
On 10/24/06, Daniel Chacón Sánchez <[EMAIL PROTECTED]> wrote: Hi all, this is not a question about struts, but is a question about java, Well then it probably shouldn't be asked here :-) Is there a tool that let me check performance issues in my code, like example the variables that I declar

Too many moving parts in Tiles

2006-10-24 Thread Chris Pratt
I'm wondering if I'm doing something wrong, (or at least not using the "Best Practices"). Because my Tiles site has a LOT of moving parts, way more than if I didn't use this simplifying technology at all. First I have to create an essentially empty file for each page that uses Tiles, something l

Performance of my code

2006-10-24 Thread Daniel Chacón Sánchez
Hi all, this is not a question about struts, but is a question about java, Is there a tool that let me check performance issues in my code, like example the variables that I declared but never used? Can you tell me where I can download that tool, THANKS

Re: Struts2 Showcase Example and Eclipse

2006-10-24 Thread frankiestd168
Hi, After reading this message, I got further question… http://www.nabble.com/Struts2-Showcase-Example-and-Eclipse-tf2468025.html I am new to Eclipse, and Struts 2, Here trying to run/debug the application within Eclipse with JBoss, I downloaded the Struts 2 sample src, C:\\struts-2.0.1\src\a

Re: Struts1.3.5 error

2006-10-24 Thread Wendy Smoak
On 10/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I was using struts1.2.9 previously , every thing worked fine. When I migrated to struts1.3.5, I am getting below error message.I am not sure about this behaviour. Any particular reason for this behaviour? org.apache.jasper.JasperExcepti

RE: Form not found for locale 'en_US' warning message

2006-10-24 Thread kumar.vinodh
Martin, Struts-config has separate message-resource tag for the language supported. But still I am seeing the warning message. Regards, Vinodh -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 5:56 PM To: Struts Users Mailing List Subject:

Struts1.3.5 error

2006-10-24 Thread kumar.vinodh
Hi, I was using struts1.2.9 previously , every thing worked fine. When I migrated to struts1.3.5, I am getting below error message.I am not sure about this behaviour. Any particular reason for this behaviour? org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class

Re: Form not found for locale 'en_US' warning message

2006-10-24 Thread Martin Gainty
Kumar- from struts-config.xml please display the value of parameter for message-resources Martin-- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you

Form not found for locale 'en_US' warning message

2006-10-24 Thread kumar.vinodh
Hi, I am the getting the below warning message whenever I access the formbeans Form not found for locale 'en_US' I am using the downloaded version of the Struts 1.3.5 that was available in struts site. With reference to BugId - http://issues.apache.org/bugzilla/show_bug.cgi?id=38081 this bug

2 different FormFile size restrictions

2006-10-24 Thread Marcolino
Hi, a short question: I have a /createShortEntry and a /createLargeEntry. I want to limit filesize for /createShortEntry to 250kb and for /createLargeEntry to 350kb. is this possible in a simple way? Thanks, Markus - To un