Re: HELP, creating my own validation

2007-03-28 Thread Prithivirajan Dhamodharan
Can you make sure that class file of ValidationUtil resides in the classpath of your application ... It usually bundled as jar file. Prithvi On 3/29/07, Niall Pemberton <[EMAIL PROTECTED]> wrote: On 3/28/07, Dwight Galloway <[EMAIL PROTECTED]> wrote: > here is what I have inside my struts, I

Help: Need of Structs aplication

2007-03-28 Thread Sreedhar Murthy
HI friends iam new member to the struts.apache.org list. I need a small application using structs which consists of login page and registeration page(like online student registration). can anyone help me for this application. Regards, sreedhar murthy [EMAIL PROTECTED] ---

Help: Need of Structs aplication

2007-03-28 Thread Sreedhar Murthy
HI friends iam new member to the struts.apache.org list. I need a small application which consists of login page and registeration page(like online student registration). can anyone help me for this application. Regards, sreedhar murthy [EMAIL PROTECTED] -

Struts 1.2 validation not working!

2007-03-28 Thread davout
I've added Struts validation to my application and I'm getting an exception when I try to use the 'required' validation type. Here's the code... The 'validation.xml' file... [Code] [/code] the start of the 'valid

Error loading actions in appfuse

2007-03-28 Thread appfused
I keep getting the following message when i try to access various links on the page i created after deploying the struts2 basic achetype. Any ideas what i might be doing wrong? There is no Action mapped for namespace / and action name summary. - [unknow n location] in the struts.xml, i have

Suggestion about Type Conversion Error Handling!!!

2007-03-28 Thread joey
I hate the default type conversion error report message which is Invalid field value for field {1}. after I read the document,I find there is two ways to override it: 1.define the generic i18n key xwork.default.invalid.fieldvalue in your global i18n resource bundle. 2.adding an i18n key associat

Re: HELP, creating my own validation

2007-03-28 Thread Niall Pemberton
On 3/28/07, Dwight Galloway <[EMAIL PROTECTED]> wrote: here is what I have inside my struts, I guess I am not sure what I must do inside of the struts config for the validation, but I am using version 1.0 with the config at 1.1.dtd, I inherited this system and I really know very little about s

Re: Struts and Zapatec

2007-03-28 Thread Martin Gainty
Please explain what you are seeing on screen and in the logs M-- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information

Re: [S2] JAAS & redirection

2007-03-28 Thread James Mitchell
I was getting the same error when trying to use a form (>) in a jsp without first going through an action in my app. ActuallyI just fired up tomcat with the mailreader deployed. Going directly to the welcome jsp: http://localhost:8080/struts2-mailreader/Welcome.jsp java.lang.NullPoin

Re: HELP, creating my own validation

2007-03-28 Thread Dwight Galloway
here is what I have inside my struts, I guess I am not sure what I must do inside of the struts config for the validation, but I am using version 1.0 with the config at 1.1.dtd, I inherited this system and I really know very little about struts, thank you for your help...

RE: File upload fails first time, then works after page reload

2007-03-28 Thread Kelly Morrison
I really don't know if I'm using NTML Authentication: how would I check that? I managed to work around my problem by getting the request, wrapping it in a JakartaMultiPartRequest, parsing the request, and retrieving the values to initialize my class. For some reason, the very first time I try to s

Struts and Zapatec

2007-03-28 Thread Ashuin Sharma Chamorro
Is there some known issue integrating Zapatec Ajax Components with struts 1.2.9 ? It doesent seem to work properly. Ashuin Sharma Software Developer Isthmus Inc. The Costa Rica IT Outsourcing Company www.isthmusit.com http://www.isthmusit.com/> [EMAIL PROTECTED] Office +1 (506) 5

Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-28 Thread Ted Husted
On 3/27/07, Greg Reddin <[EMAIL PROTECTED]> wrote: If I had to guess I would say that the problems are mostly due to the fact that Struts 2 does not have support for Tiles 1. Not directly, but people were using Tiles 1 with WebWork 2 before Tiles 2 existed. * http://raibledesigns.com/rd/entry/

Re: Struts 1.3 and maven

2007-03-28 Thread Niall Pemberton
On 3/28/07, Manfred Wolff <[EMAIL PROTECTED]> wrote: James. I know it. But at least one question: Does anybody know why every little peace of open source is hosted at ibiblio, but not the famous struts. I really don't understand this. It is (both 1.3.5 and 1.3.8 versions) - but in the maven 2

Re: HELP, creating my own validation

2007-03-28 Thread Niall Pemberton
I can't see anything wrong with what you have here. Can you show us how you have configured Struts to pick up your custom validation rules and also say what version of Struts and what version of Commons Validator you are using Niall On 3/28/07, Dwight Galloway <[EMAIL PROTECTED]> wrote: I am ha

Bug in a token-session interceptor ?

2007-03-28 Thread Gajbhe, Laxman \(Contractor\)
Hi, I've following action mapping for token-session interceptor: workflow.action?primaryKey=${primaryKey} /pages/commentNew.jsp In the form I've: On double-posting I get following error: at weblogic.

Best Way to Secure Access to Downloadable Documents

2007-03-28 Thread Mike Duffy
Does anyone have any suggestions for the best methods to secure access to downloadable documents? I could of course use container security to secure the document directories; however, for quotas, tracking, rights, etc., I probably need to manage each download. Is there an elegant solution in St

Re: ETA for 2.0.7

2007-03-28 Thread Ted Husted
We found a problem with the i18n tag that we needs to be fixed in XW first, so 2.0.7 will probably remain a test build. As soon as there is a new XW, we can roll 2.0.8. Anyone who is curious about such things should follow the dev list. * http://www.nabble.com/Struts---Dev-f205.html Everything

Re: Zero-config and annotations

2007-03-28 Thread Ted Husted
There's a patch, but I'm not using annotations myself, and some feedback from a couple of other people who are using annotations would be helpful. * https://issues.apache.org/struts/browse/WW-1796 There is also suppose to be some work being done a ZC MailReader, which should turn up some things.

Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-28 Thread Ray Clough
I use S1 with T1 using the standard tiles-defs.xml definition file. I use S2 with T2 using tiles.xml file. It is true that if your jsp pages include the Tiles tags, then you would need probably need separate versions for T1 and T2. I generally only use Tiles in the Template file, and I do hav

Zero-config and annotations

2007-03-28 Thread doktora
Zero-config will be quite some fun if we had some more annotations. Are there any plans on adding Interceptor and onther annotations? All we have now is org.apache.struts2.config.Result. -- doktora -- View this message in context: http://www.nabble.com/Zero-config-and-annotations-tf3481752.ht

Re: struts.xml - change default location

2007-03-28 Thread Ted Husted
Done. You can also add comments directly to the page. -T. On 3/28/07, doktora <[EMAIL PROTECTED]> wrote: I think the fact that you cannot change the location of struts.xml should be put in here: http://struts.apache.org/2.x/docs/struts-1-solutions.html This will help out a lot of people who

Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-28 Thread doktora
Ray, Which definition files specifically do you need to be split? One of the biggest problems I had (which I couldn't figure out) was mixing jsps with T1 and T2. At compile time, all my JSPs wanted to be either T1-compliant, or T2-compliant. Even if I had figured this out, there is still a big

Re: struts.xml - change default location

2007-03-28 Thread Manu Mahajan
I second this. And thanks for the replies. doktora wrote: I think the fact that you cannot change the location of struts.xml should be put in here: http://struts.apache.org/2.x/docs/struts-1-solutions.html This will help out a lot of people who do not expect s2 to have this different behaviou

Re: Struts 1.3 and maven

2007-03-28 Thread Manfred Wolff
James. I know it. But at least one question: Does anybody know why every little peace of open source is hosted at ibiblio, but not the famous struts. I really don't understand this. Manne James Mitchell wrote: Ya, I don't know off the top of my head, but keep in mind that you can tell Mave

Re: struts.xml - change default location

2007-03-28 Thread doktora
I think the fact that you cannot change the location of struts.xml should be put in here: http://struts.apache.org/2.x/docs/struts-1-solutions.html This will help out a lot of people who do not expect s2 to have this different behaviour. I failed to find this documented anywhere which cost me qu

Re: Handling login for struts 2.0

2007-03-28 Thread cilquirm
I think the answer is a 2 part solution, but you're on the right track. 1) Create the interceptor that returns Action.LOGIN ( or whatever it is when the user isn't authenticated ). 2) set up your login page in your global results type. See this page for more information : http://struts.apache.or

[S2] JAAS & redirection

2007-03-28 Thread Pascal Lalonde
Hi, We are currently trying to update from webwork to struts 2.0.6, everything looks fine except one thing. The application is deployed into JBoss 4.0.4 and JAAS is enabled into our web.xml configuration file. So when trying to access the secure namespace, it does its check and finds out

Re: Changing location of struts.xml

2007-03-28 Thread Manu Mahajan
Yes, that seems to work fine but I would have liked to keep it in a separate conf/struts folder inside the jar. Adam Ruggles wrote: I put mine in the root of my jar file and it works fine. I don't even have a classes folder. Manu Mahajan wrote: Hello I want to know if it is possible to cha

Re: Struts 1.3 and maven

2007-03-28 Thread James Mitchell
Ya, I don't know off the top of my head, but keep in mind that you can tell Maven to use different repositories, so you can easily host your own maven repo on your intranet which I presume that all of the devs could see and may or may not be open to the public. HTH -- James Mitchell On M

[S2] sitemesh skins

2007-03-28 Thread Monttez
Hi, I want to show a system with different skins (per client), at 'load-time'.. Desired behavior: Has this client a custom skin ? If (YES) load_it(); Else load_the_default_skin(); I would be grateful if the SessionDecoratorMapper overrides the ConfigDecoratorMapper, but its not happening (at

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-03-28 Thread Musachy Barroso
on showcase, remote div, there is an example that works(#6 I think), based on that example I modified one of tabbedpanel examples on showcase to this: The returned jsp is test.jsp from apps/showcase/src/main/webapp/ajax: alert('This JavaScript currently being evaluated is in the re

How to render a using a map?

2007-03-28 Thread Felipe Rodrigues
Hi, I have a map to render The problem is that the select did not rendered, and sometimes got an JasperException. How could I do that? Thanks in advance, Felipe -- View this message in context: http://www.nabble.com/How-to-render-a-%3Cs%3Aselect%3E-using-a-map--tf3481550.html#a9717863 Se

Re: Changing location of struts.xml

2007-03-28 Thread Adam Ruggles
I put mine in the root of my jar file and it works fine. I don't even have a classes folder. Manu Mahajan wrote: Hello I want to know if it is possible to change the location of the struts.xml file. I don't want to keep it in the WEB-INF\classes directory. Ideally I would like to create a j

RE: Validation, ModelDriven and Field Errors

2007-03-28 Thread Juan Espinosa
Hi dave here is all the data you ask I have a jsp where i register a customer, diferent kind of customer, personalcustomer, enterprisecustomer depending on the type of customer in the action variable "customer" the file i use to validate.. I have several validation files Personal-validation.xml, En

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-03-28 Thread Guillaume Carré
2007/3/28, Brian Thompson <[EMAIL PROTECTED]>: I HAD thought that setting executeScripts="true" on the div would do the trick, but I saw the same behavior with or without it. My divs looked like: same problem here I define a javascript function in the div, and a call to that function from

Re: Validation, ModelDriven and Field Errors

2007-03-28 Thread Dave Newton
--- Juan Espinosa <[EMAIL PROTECTED]> wrote: > Then i change the action to an action that > implements ModelDriven, when i do this changes the > errors next to the controls doesnt appear any more. I > must add in the jsp page the tag to > get the errros. > > Anyone knows why the errors doesnt

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-03-28 Thread Brian Thompson
I HAD thought that setting executeScripts="true" on the div would do the trick, but I saw the same behavior with or without it. My divs looked like: -Brian On 3/28/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Just set executeScripts="true" on the div, and that will do the trick. musach

Validation, ModelDriven and Field Errors

2007-03-28 Thread Juan Espinosa
Hi to all i have some problems with messages of validation When i started to use validation i have an action with some filelds getting validated (with an xml file, same name of the action). With this approach when an error ocurred the error apears next to the controls that generated that error.

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-03-28 Thread Guillaume Carré
2007/3/28, Musachy Barroso <[EMAIL PROTECTED]>: Just set executeScripts="true" on the div, and that will do the trick. why not setting true as the default value? -- Guillaume Carré - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Struts 1.3 and maven

2007-03-28 Thread Manfred Wolff
James. For a project with one worker this is a suitable resolution. But in a big project, with developers round the world (in this case Germany, India and Tunesia) it is a good thing to have all needed common open source jars held in the project.xml accessable via a public maven repo as ibib

Re: Struts 1.3 and maven

2007-03-28 Thread James Mitchell
Oh, you're right. Sorry. Would you be able to install them locally and just go with that? Or do you have to have a portable solution? If you can install them locally (on your machine), then drop them in the right place, and call it done. If you must have a portable solution, just drop t

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-03-28 Thread Musachy Barroso
Just set executeScripts="true" on the div, and that will do the trick. musachy On 3/28/07, Brian Thompson <[EMAIL PROTECTED]> wrote: I'm using a simple jsp with Inside my selectResource action, I have some javascript defined: Test alert("jav

Re: Struts 1.3 and maven

2007-03-28 Thread Manfred Wolff
Sorry, but there - as in ibiblio - is no 1.3 Struts in the repository. Manne James Mitchell wrote: http://www.apache.org/dev/repository-faq.html -- James Mitchell The Ruby Roundup http://www.rubyroundup.com/ On Mar 28, 2007, at 10:55 AM, Manfred Wolff wrote: Hi Can somebody tell me, wh

Re: Struts 1.3 and maven

2007-03-28 Thread James Mitchell
http://www.apache.org/dev/repository-faq.html -- James Mitchell The Ruby Roundup http://www.rubyroundup.com/ On Mar 28, 2007, at 10:55 AM, Manfred Wolff wrote: Hi Can somebody tell me, why there is no jar file at ibiblio.org/maven - and - where I can get the jars (via url), if I want to m

[S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-03-28 Thread Brian Thompson
I'm using a simple jsp with Inside my selectResource action, I have some javascript defined: Test alert("javascript!"); However, when I load the page, I don't see the alert. When I inspect the source using Firebug, I note that the

Re: How to configure result in the code

2007-03-28 Thread Dale Newfield
Shuai Zheng wrote: But I may not know the filename, contentType, etc (because these files are uploaded by the user). http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/dispatcher/StrutsResultSupport.html http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xw

[S2] Infinite Recursion Detected error

2007-03-28 Thread Harring Figueiredo
Folks, I am getting the following error: Infinite recursion detected: [//connect!execute, //conf, //conf] - [unknown location] com.opensymphony.xwork2.ActionChainResult.execute(ActionChainResult.java:207) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActi

Struts 1.3 and maven

2007-03-28 Thread Manfred Wolff
Hi Can somebody tell me, why there is no jar file at ibiblio.org/maven - and - where I can get the jars (via url), if I want to make a maven 1 project with struts 1.3.8? Thanks Manne - To unsubscribe, e-mail: [EMAIL PROTECTE

HELP, creating my own validation

2007-03-28 Thread Dwight Galloway
I am having troubles getting my own validator to work, I wonder if it is the classpath where I am pointing to my Class with? I am trying to create a dateRange validation to determin if the date falls between two dates or not. This is what I have in my validation.xml > >

Handling login for struts 2.0

2007-03-28 Thread Ståle Undheim
I am currently using Struts 2.0 using guice for dependency injection. I have a goal to have a minimum amount of xml in my project. I want to handle all login in 1 place. So if a user isn't authenticated, he will be sent to the login page. I first tried this with a base action class that I extend

Jasper result tag

2007-03-28 Thread Manoel Pimentel
Hi Please, Can somebody explain to me how configure the file strust.xml for to use the jasper result tag? and if possible, send to me any little sample, ok? Regards, Manoel Pimentel http://manoelpimentel.blogspot.com/ -- View this message in context: http://www

Re: Struts 2 and Content Management

2007-03-28 Thread Musachy Barroso
I will have to do the same thing soon (Struts 2 + CMS), and I was looking at Hypercontent, it looks really intuitive and easy to use, but the project seems stale. musachy On 3/27/07, tom tom <[EMAIL PROTECTED]> wrote: My suggestion is, try hypercontent, and have jstl import pointing to the hy

Changing location of struts.xml

2007-03-28 Thread Manu Mahajan
Hello I want to know if it is possible to change the location of the struts.xml file. I don't want to keep it in the WEB-INF\classes directory. Ideally I would like to create a jar file with all my configuration files(including configurations of hibernate/spring/sitemesh etc) and place it in

RE: struts-html-el.tld

2007-03-28 Thread Neil Meyer
Thanks Dave, -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 28 March 2007 02:59 PM To: Struts Users Mailing List Subject: Re: struts-html-el.tld --- Neil Meyer <[EMAIL PROTECTED]> wrote: > Can anybody explain to me why struts-html-el.tld and > struts-html.tld doe

Re: struts-html-el.tld

2007-03-28 Thread Dave Newton
--- Neil Meyer <[EMAIL PROTECTED]> wrote: > Can anybody explain to me why struts-html-el.tld and > struts-html.tld doesn't support id in the text tag > > > property="comments" > size="50" maxlength="50"/> styleId. http://struts.apache.org/1.2.9/userGuide/struts-html.html#text or if you're on

Re: ajax framework

2007-03-28 Thread Musachy Barroso
GWT will compile your java code to javascript, and you can integrate it with your struts 2 actions using the GWT plugin. regards musachy On 3/28/07, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: temp temp wrote: > > I have to create highly interactive web page ie use of lot of java scri

struts-html-el.tld

2007-03-28 Thread Neil Meyer
Hi Can anybody explain to me why struts-html-el.tld and struts-html.tld doesn't support id in the text tag Kr Neil Meyer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ajax framework

2007-03-28 Thread Mikolaj Rydzewski
temp temp wrote: I have to create highly interactive web page ie use of lot of java script. Are there open source java ajax frameworks where I code only in java and do not write any java script? I mean any ajax framework where I have the whole power of java script but I wo

Re: ajax framework

2007-03-28 Thread Pascal Lalonde
You can take a look to this: http://struts.apache.org/2.x/docs/ajax-tags.html - Pascal temp temp wrote: I have to create highly interactive web page ie use of lot of java script. Are there open source java ajax frameworks where I code only in java and do not write any java scr

ajax framework

2007-03-28 Thread temp temp
I have to create highly interactive web page ie use of lot of java script. Are there open source java ajax frameworks where I code only in java and do not write any java script? I mean any ajax framework where I have the whole power of java script but I work with only ja

Re: Session not set before prepare() function with Struts 2 prepare interceptor

2007-03-28 Thread Dave Newton
--- Jason Wyatt <[EMAIL PROTECTED]> wrote: > > > > > Your question was already answered, but I'd add that normally "prepare" is already part of "defaultStack". d. Expecti