Multiple Module Config with HTML Form

2005-03-16 Thread zw
Hi, I faced a problem when I use the multiple module method with HTML Frame. Could someone facing the same problem help I have 2 struts-config.xml files - one is main, the other is in the module /web/menu ... the one in /web/menu module looks like :

action-mapping with varying input

2005-03-16 Thread wo_shi_ni_ba_ba
hi folks, I have an action that might be called from many jsps. If i understand correctly the input specified for action tag will dictate where to go in case there's an error in validation.. How would I be able to specify the input as a variable.. My Actions allow user to pass in a URL and ERL indi

RE: Here's a question for you...

2005-03-16 Thread David G. Friedman
Duncan, Did your Shale intro at the Struts London Meetup go well? I thought I'd write and ask where to find a copy of your presentation. I'm in no hurry since I still need to finish reading Core Java Server Faces before I'll understand the JSF component of Shale. Regards, David -Original

RE: Tiles and html:form problem

2005-03-16 Thread David G. Friedman
I've done something like this: mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 10:21 AM To: Struts Users Mailing List Subject: Tiles and html:form problem I have designed a basic layout file that looks something like this: My problem

Re: error comparing date fields using validwhen

2005-03-16 Thread Niall Pemberton
On the javascript side, there is no javascript "validwhen" validation - its server side only. On the server side problem, because its an XML file I don't think you can use the > symbol - try replacing it with > (*this* > startDate) One last thing, I don't know if its going to affect you, but th

Re: forward

2005-03-16 Thread Hubert Rabago
Right. The version in SVN is specifically for 1.3, which restores ResponseUtils and puts TagUtils into a separate jar file. That is why it is written up that way. Since you're using an earlier version, you can apply the changes you mentioned to your local copy of it, then discard the whole clas

Re: forward

2005-03-16 Thread sudip shrestha
The ActionRedirect Class works great..Except one minor modification has to be made under function public void addParameter(String fieldName, Object valueObj): instead of value = ResponseUtils.encodeURL(value); use the following: value = TagUtils.getInstance().encodeURL(value); First of all Response

error comparing date fields using validwhen

2005-03-16 Thread Sivakumar Santharam
There are two fields in the form.I tried to use validwhen to validate one of against the others like below. test ((*this* > startDate)) Basically I am trying to throw an error if the end date is greater than the start date. Even though I have included the client side validat

Re: [OT] request issued twice

2005-03-16 Thread xhu1
I assume you are using weblogic plugin for apache. if so, there is a parameter Idempotent that if the request doesn't get response in the defined time (default 5 min) the plugin will issue anotehr request. --- a k <[EMAIL PROTECTED]> wrote: > Hi all, > > My app has a button that will invoke a lon

Struts forms and relative URLs fixed in 1.2 ?

2005-03-16 Thread lists
Hello, I have been building a fairly large Java webapp for 3 years now, and it was originally using Struts 1.0. Due to search engine optimization, we ended up doing lots or URL manipulation via mod_rewrite. But then the problem was that when the user submitted the struts form, it would lose t

AW: [OT] request issued twice

2005-03-16 Thread Leon Rosenberg
Ok, 5 mins sounds weird. Do you have any hard/software inbetween? Like a loadbalancer, which thinks that the request is timeouted? If you can reproduce it without actually clicking the button twice, you should check the configuration options of everything you are using. I know that mozilla/fir

AW: [OT] request issued twice

2005-03-16 Thread Leon Rosenberg
Ok, 5 mins sounds weird. Do you have any hard/software inbetween? Like a loadbalancer, which thinks that the request is timeouted? If you can reproduce it without actually clicking the button twice, you should check the configuration options of everything you are using. I know that mozilla/fir

Re: Struts Portlets, jBoss Portal

2005-03-16 Thread Karan
Allen, Thanks for your reply. Right now, I am lookign at something from apache: http://portals.apache.org/jetspeed-2/multiproject/portals-bridges-struts/index.html Its a struts-portal bridge and is supposed to automate all that is required, so that most struts web applications can run in a portal

RE: Struts Portlets, jBoss Portal

2005-03-16 Thread Schuster Joel M Contr ESC/NDC
One of the best examples of how to work struts with JSR168 portlets is the sourcecode for LifeRay. > -Original Message- > From: Karan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 16, 2005 10:07 AM > To: ML Struts > Subject: Struts Portlets, jBoss Portal > > Has anyone transferre

Re: [OT] request issued twice

2005-03-16 Thread Lionel
a k wrote: > I am not sure if it is the browser (IE 6.0), apache, weblogic (6.1) > that I should be looking at. Did you look at the users ? ;) Mine click twice or more if request takes more than 2 seconds. I've had to add a javascript alert to block the button until the response is displayed.

RE: Struts Portlets, jBoss Portal

2005-03-16 Thread Fogleson, Allen
Karan, The problem is you are submitting to struts. About a year and a half ago we had this same problem. We had legacy apps running that the client wanted to display inside a portal. The major portal vendors and J2EE portal vendors (bea etc) all have solutions to do this that you can purchase.

Re: [OT] Fresh Blood

2005-03-16 Thread Brandon Goodin
hmmm, that's weird. He spelled it correct and (as far as your logs show) you spelled it correct too. If you are familiar with IRC you can try chatzilla (plugin for firefox) and see if that works. Brandon Senior Atendee of FunkyCodeMonkey On Wed, 16 Mar 2005 10:56:40 +0530, Vamsee Kanakala <[EMAI

RE: [OT] request issued twice

2005-03-16 Thread Scott Purcell
On issues like that, I try and post to a middle page that says "Please wait" and from there push the data to the slow process. Scott -Original Message- From: a k [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 10:24 AM To: user@struts.apache.org Subject: [OT] request issued twi

Re: shale mailing list?

2005-03-16 Thread Dakota Jack
This is it, believe it or not. Just put [shale] in the subject or search for the same. On Wed, 16 Mar 2005 11:14:24 -0600, Simon Chappell <[EMAIL PROTECTED]> wrote: > If I recall correctly, Craig said that it is permitted to discuss it > on the struts-user list. It is a candidate for the job of

Re: shale mailing list?

2005-03-16 Thread Simon Chappell
If I recall correctly, Craig said that it is permitted to discuss it on the struts-user list. It is a candidate for the job of Struts 2.0 after all. :-) Simon On Wed, 16 Mar 2005 11:07:30 -0600, Robert Sanheim <[EMAIL PROTECTED]> wrote: > Hi, > I was wondering if anyone has a link or email addre

shale mailing list?

2005-03-16 Thread Robert Sanheim
Hi, I was wondering if anyone has a link or email address for info on a shale mailing list, or if there even is one? thanks, Rob Sanheim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Struts Portlets, jBoss Portal

2005-03-16 Thread Karan
Has anyone transferred their Struts application to run as a JSR168 portet in jBoss Portal?? I am using jBossAS 4.0.1sp1 and jBoss Portal v2.0. Whats confusing me is this: In struts, every action defines the html/jsp/freemarker etc page that should be displayed. on the user's screen. However, to

Re: Checkbox Validation Help Needed

2005-03-16 Thread Niall Pemberton
Just use the "required" validator. Niall - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 16, 2005 4:18 PM Subject: Checkbox Validation Help Needed I am working on a project where I have the need to validate a checkbox being 'on

[OT] request issued twice

2005-03-16 Thread a k
Hi all, My app has a button that will invoke a long running process in the background. It generally takes upto 7 mins to finish this transaction. What I am noticing from the application log files is that exactly 5 mins after invoking the first request a second request is being issued. I am not su

Checkbox Validation Help Needed

2005-03-16 Thread Scott Purcell
I am working on a project where I have the need to validate a checkbox being 'on' . It is the usual accept our license, or you cannot enter site. In the jsp page we are using this: And in my bean I have a getter and setter with a boolean value: eg: setTerms(boolean val) boolean getTerms() an

Re: Retrieve Form Values In Action Class

2005-03-16 Thread Niall Pemberton
Cast the ActionForm either to a DynaActionForm or simply to a DynaBean...and then use the get(name) method. DynaBean dynaForm = (DynaBean)form; String myVal = (String)dynaForm.get("myVal"); Niall - Original Message - To: Sent: Wednesday, March 16, 2005 2:57 PM I have some forms where

Re: Tiles and html:form problem

2005-03-16 Thread brenmcguire
I think your only way to make it work is using a plain tag or using only one tile. Or maybe you should design better your application (hey I'm joking!!!) Ciao Antonio Petrelli Matt Hughes wrote: > I have designed a basic layout file that looks something like this: > > > > > >

Tiles and html:form problem

2005-03-16 Thread Matt Hughes
I have designed a basic layout file that looks something like this: My problem is that I have a element that needs to span both the "header" and "mainBody" attributes. But it doesn't really work as the tags become unbalanced: Has anyone e

Re: Tiles question

2005-03-16 Thread brenmcguire
>Correct me if I'm wrong, but Tiles is, in essence, just the JSP include >extended a bit. So, if I have a page with 3 tiles (or 3 JSP includes >alternatively), what gets returned to the browser is still a single HTML >document that is the result of inserting the 3 tiles in the main page. > Absolu

Re: Retrieve Form Values In Action Class

2005-03-16 Thread Dakota Jack
Don't use ActionForm or in this case. Just get the data yourself from the request in the action. That way there is no object other than the request and the action. If you want to insinuate something else in there. They it has to be in there. If you have something in there, the ActionForm is r

Re: Tiles question

2005-03-16 Thread Dakota Jack
The browser can cache anything it has. The only issue in this regard is what does it have? It NEVER has a Tile. A tile is, ultimately, a Servlet. Jack On Wed, 16 Mar 2005 10:06:10 -0500 (EST), Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > You are saying exactly what I thought I always knew (

Re: Tiles question

2005-03-16 Thread Frank W. Zammetti
You are saying exactly what I thought I always knew (i.e., basic HTTP!!)... So, just to boil this down for the brains I have to argue with later... Tile contents CANNOT be cached by the browser (except if all tiles are static, in which case the FINAL document returned to the browser could of cours

Re: Tiles question

2005-03-16 Thread Dakota Jack
What is sent from the webserver is just what you see in source code on the browser. That "source code" is the code sent from the webserver to the browser. The browser also uses plugins to get code and resources as indicated from the source code via Flash, java script, image processing, etc. Any

Retrieve Form Values In Action Class

2005-03-16 Thread Scott Purcell
I have some forms where I only a couple of form field elements. So instead of creating a physical bean, I decided to try using the org.apache.struts.action.DynaActionForm. Anyway, all was good with validation, etc. But I ran into an issue when I tried to retrieve the values from my form in th

Tiles question

2005-03-16 Thread Frank W. Zammetti
Hello all... I had someone tell me something yesterday that I'm having trouble wrapping my brain around, hoping for some help understanding from you all! With regard to Tiles... I was told that tile contents are cached ON THE CLIENT. I don't get that. Correct me if I'm wrong, but Tiles is, in es

Re: ??? find site error (action)[Scanned]

2005-03-16 Thread Martin Gainty
If I had to guess I would say its a Proxy Server issue As I said this is just a guess M- - Original Message - From: "Eric Lemle" <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 15, 2005 1:30 PM Subject: ??? find site error (action)[Scanned] Here is what the error sa

Re: Struts1.1 ,displaytag ,tiles & weblogic 8.1

2005-03-16 Thread ahmet hassan
Hi; I put display tag at the top in project build path and even in server path.But nothing changes.In the sourforge site, the problem is issued before but seems resolved with export filter.I can not use displaytag with tiles still.Any idea ? Sorry in Turkish; Metin bey; Dediğinizi uyguladım faka

Re: How to change "input" property of "Action" tag in Custom Validator Class

2005-03-16 Thread Joe Germuska
At 11:57 AM + 3/16/05, Bing Qiao wrote: Hello, I build a custom Validator class for a DynaActionForm. The action tag looks like: When the validation fails the request will be directed to paymentForm.jsp. I wonder if it's possible to direct the request to different pages in my custom validator

How to change "input" property of "Action" tag in Custom Validator Class

2005-03-16 Thread Bing Qiao
Hello, I build a custom Validator class for a DynaActionForm. The action tag looks like: When the validation fails the request will be directed to paymentForm.jsp. I wonder if it's possible to direct the request to different pages in my custom validator class. This might be done by setting the

[SUCCESS] Struts-JSF London Networking BOF VIII / Tuesday / 15th March 2005 @ 18:45 / Oracle City of London

2005-03-16 Thread Pilgrim, Peter
Dear Reader, The Eighth Struts JSF London Networking BOF event took place on Tuesday, 15th March 2005 at 6:45PM Duncan Mills and his gracious company, Oracle, kindly provided the venue for the night's networking event, and also supplied the nourishment: sandwiches. Duncan was due to present

[html:select] Value won't be retrieved by the form ...

2005-03-16 Thread Stéphane Zuckerman
Hello, Here is a simple JSP page I set up so I could try to understand the possibilities. My problem is that I do manage to display a correct list extracted from a Collection, but that when I clic on the submit button, the choice is null inside the Action class. Below is the relevant code. Th

Re: Https to HTTP - Rewrite URL with login and password parameter [Plain Format]

2005-03-16 Thread Franck DARRAS
Hello, I have a proble with my login page. I want to use the SSL extensions just for my login page, but i pass to a non secure page after the login, the plug-ins rewrite url with the login and the password in paramter. Where is my error ? Thsk for your help This is my struts config

Https to HTTP - Rewrite URL with login and password parameter

2005-03-16 Thread Franck DARRAS
Hello, I have a problem with my login page. I want to use the SSL extensions just for my login page, but i pass to a non secure page after the login, the plug-ins rewrite url with the login and the password in paramter. Where is my error ? Thsk for your help This is my struts config

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread Pham Anh Tuan
Thank you all :), the good new is my problem is solved by all you. Again, thank all you very much :) - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 16, 2005 3:57 PM Subject: Re: [HELP] What's wrong with my html:link

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread Nicolas De Loof
You cannot use a tag as attribute of another tag : they must follow an XML structure Use a variable to store the result of your tag : Go or If you don't use struts-EL, use bean:define to define a script v Go Nico. Pham Anh Tuan a écrit : Hi all, I got a problem when I code like below: ">Go

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread delbd
I thought, inside a jsp tag parameter (here the page parameter) the only substitutions allowed were in the following syntax: ${bean.property} <%= someExpression() %> and so to have your expected result you need to export the value of treetag:nodeId to a bean and then use that bean value in html

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread Jan-Jaap Endenburg - Vera
Pham, To, it looks as if the quotes will not be interpreted correctly in the following part: "> The text 'tree.node' will not be inside quotes, contrarely to what I understand below that you would want. Perhaps you should use single quotes for the outside quotes and double quotes for the ins

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread Pham Anh Tuan
Hi all, I got a problem when I code like below: ">Go I can not get value of if my code is incorrect, plz help me solve it. thanks Bowl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT