RE: https + ssext + loadbalancer

2005-11-21 Thread Viral_Thakkar
Did anyone face similar issue? I have a scenario in my project where I am traversing to https page from http page. I am using struts+sslext for this implementation. There is a problem if I keep load balancer in front of my application server. Https page gets opened with URL having host name as o

Re: Dynamically altering struts configuration

2005-11-21 Thread Simpy Ahuja
can you please demonstrate how u did that? where do we use the ModuleConfig Object... On 11/22/05, Benjamin Lerman <[EMAIL PROTECTED]> wrote: > > > I don't actually know. > > I found out. With a ModuleConfig object you can retrieve the ActionForm > mappings and modify it. > > > But why would you w

Re: [shale] Design questions

2005-11-21 Thread Craig McClanahan
On 11/21/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > Hi! > > First of all, congratz on the good job. Shale looks very promising. We are > currently implementing JSF in my organization. I already knew about Shale > but I hadn't checked its progress in a while and I must say I am impressed >

Applet Problem

2005-11-21 Thread Deepa Khetan
Hi, I have a problem, not related to Struts. In my application, i have an Applet used for uploading files, by the Users. This Applet has to get downloaded on the local machine for the User. But this can be downloaded even if i am not loggin in and give the path for the Applet from my browser, /FTMA

Re: How would you solve this problem?

2005-11-21 Thread Yujun Liang
My experience is to implement 2 or 3 use cases of this popups and study the common behaviour and refactor the code base to support more generic cases. I am not sure whether the following can help you but I would use a Array to carry the fields and value to and fro the popups. var map = new Array()

Re: how to display error messages from actions?

2005-11-21 Thread Sunil_Sahu
Add following entry in your resource bundle errors.header = errors.footer = errors.prefix= errors.suffix = Use in your jsp page, it will display error in separate row. hope it helps Sunil "Kanuri, Chand" <[EMAIL PROTECTED]> 11/21/2005 06:31 PM Please respond to "Struts Users Mailing List

Re: bean:define errors in eclipse 3.1.1 WTP

2005-11-21 Thread Rahul Akolkar
On 11/21/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I try to edit my JSP in Eclipse 3.1.1 WTP (Web Tools Project) however I get > errors on variables defined by ID tags for example: > > > > > > > <%=(myValue1 + "-" myValue2)%> > > > > The above snip of code will result in Eclipse telling me

Re: getInitParameter struts TC5

2005-11-21 Thread Rahul Akolkar
On 11/21/05, Chris Pat <[EMAIL PROTECTED]> wrote: > Hello > What is the correct syntax in the struts-config.xml > and the syntax in the Action, to establish/retreive an > default parameter for the default application. I have > tried: > web.xml > >totalSamples >3 > > > action > String te

Re: What's wrong

2005-11-21 Thread Rahul Akolkar
On 11/21/05, Fulgencio Comendeiro, Eduardo <[EMAIL PROTECTED]> wrote: > <% > { > java.util.ArrayList list = new java.util.ArrayList(); > list.add("textouno.texto1"); > list.add("textouno.texto2"); > list.add("textouno.texto3"); > list.add("textouno.texto4"); > pageContext.setAttribute("list",

Re: struts validator

2005-11-21 Thread Laurie Harper
Just add the extra constraint to your validation rule¡, i.e. change ((order != 'true') or (*this* != null)) to ((order != 'true') or ((*this* != null) and (*this* > 0))) L. fea jabi wrote: Thankyou Niall. My Form was not using the DynaValidatorForm. Once I set that i

[shale] Design questions

2005-11-21 Thread Alexandre Poitras
Hi! First of all, congratz on the good job. Shale looks very promising. We are currently implementing JSF in my organization. I already knew about Shale but I hadn't checked its progress in a while and I must say I am impressed so far. Actually, I stumbled upon the project while I was looking for

Re: Sync session across webapps

2005-11-21 Thread Laurie Harper
Mathew Joseph wrote: Hi, In my web application there are 2 webapps and single login for both. And in UI we are given links to different modules of both webapps. Actually the end user is not (should not be) aware of 2 webapps. The problem what I am facing is, If someone try to work/use continu

Re: Dynamically altering struts configuration

2005-11-21 Thread Benjamin Lerman
> I don't actually know. I found out. With a ModuleConfig object you can retrieve the ActionForm mappings and modify it. > But why would you want to? I want to be able to define an external module that plugs in an existing struts application. This module must define a .jsp file and a form to g

Re: struts validator

2005-11-21 Thread fea jabi
Thankyou Niall. My Form was not using the DynaValidatorForm. Once I set that it works fine. I do have one more question though. How to make sure that the number entered in one of my text field is a positive integer? Thanks. From: "Niall Pemberton" <[EMAIL PROTECTED]> Reply-To: "Struts U

Re: struts validator

2005-11-21 Thread Niall Pemberton
Can you show the struts-config.xml for your "SetupForm" - is it using DynaValidatorForm? Also have you configured the validator plugin in the struts-config.xml? Another thing I noticed - the of your validation.xml shows two "default" formsets? Niall - Original Message - From: "fea jab

bean:define errors in eclipse 3.1.1 WTP

2005-11-21 Thread Garner, Shawn
I try to edit my JSP in Eclipse 3.1.1 WTP (Web Tools Project) however I get errors on variables defined by ID tags for example: <%=(myValue1 + "-" myValue2)%> The above snip of code will result in Eclipse telling me that "myValue1 cannot be resolved" and "myValue2 cannot be resolved". How

Re: struts-dialogs on maven repo

2005-11-21 Thread Michael Jouravlev
On 11/21/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/21/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > Is struts-dialog extension available somewhere on maven repository ? > > > > As far as I know, it does not. > > Would you like it to be? You don't have to build it with Maven to

Re: struts validator

2005-11-21 Thread fea jabi
the form is not getting validates I think redirect="false"/> redirect="false"/> I config I did set the validate ="true" Using dynaforms? Do I have to set anything else? it simply forwards to the next jsp. From: "Niall Pemberton" <[EMAIL PROTECTED]> Reply-To: "Struts User

Re: and its behaviour....

2005-11-21 Thread Michael Jouravlev
Gaet, This is not a Struts thing, this is a JSP thing. read documentation [1] and look at the source code generated by servlet container as James suggested. Documentation states clearly in the very first sentence that creates "a _new attribute_ (in the scope specified by the toScope property, if

RE: nested Sets

2005-11-21 Thread David G. Friedman
Are you positive that your action has done a Hibernate query that returns a set of data into your POJO so that your problem is only the nested iteration? Are you positive your beans are being saved in a scope (most likely request or session, not application), etc. ? Regards, David -Origin

Re: struts validator

2005-11-21 Thread Niall Pemberton
What you have specified means that the custName field is only valid when the checkbox is set and custName is not null - you also want it to be valid when the checkbox is not set Try the following... test ((order != 'true') or (*this* != null)) Niall - Original Message - From:

RE: and its behaviour....

2005-11-21 Thread James Harig
Hi Gaet, If you are interested in knowing what is going on, you can look at the java servlet that is generated from your .jsp. For Tomcat, the servlets are in the /work directory. -Original Message- From: Gaet [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 12:46 PM To: St

Re: and its behaviour....

2005-11-21 Thread Gaet
Thanks for reply Michael,   I mean that it's certainly trivial for experimented users with strutsnot like me :o) I try to look...but I can't find the solutionwhy this variables are different... Cordialement,   - Original Message - From: Michael Jouravlev To: St

Re: struts-dialogs on maven repo

2005-11-21 Thread Wendy Smoak
On 11/21/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > Is struts-dialog extension available somewhere on maven repository ? > > As far as I know, it does not. Would you like it to be? You don't have to build it with Maven to get it into the repository, it's just a matter of getting files

getInitParameter struts TC5

2005-11-21 Thread Chris Pat
Hello What is the correct syntax in the struts-config.xml and the syntax in the Action, to establish/retreive an default parameter for the default application. I have tried: web.xml totalSamples 3 action String textNum =totalSamples = servlet.getInitParameter("totalSamples"); What i

Re: struts-dialogs on maven repo

2005-11-21 Thread Michael Jouravlev
On 11/21/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > Is struts-dialog extension available somewhere on maven repository ? As far as I know, it does not. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: and its behaviour....

2005-11-21 Thread Michael Jouravlev
If it is trivial, why won't you look it up yourself? The key is to understand that myVar objects used here and here <% myVar = "content"; %> are different. Michael. On 11/21/05, Gaet <[EMAIL PROTECTED]> wrote: > Nobody knows the answer to this trivial question? > > Thanks > > > - O

RE: https + ssext + loadbalancer

2005-11-21 Thread Viral_Thakkar
Please respond. -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 9:17 PM To: user@struts.apache.org Subject: https + ssext + loadbalancer Hello All: I have a scenario in my project where I am traversing to https page from http page. I

Re: Sync session across webapps

2005-11-21 Thread Martin Gainty
Joseph- JMF has the ability to handle multiple remote unicast targets via RTPManager class I invite you to look at http://java.sun.com/products/java-media/jmf/2.1.1/apidocs/javax/media/rtp/RTPManager.html HTH, Martin- - Original Message - From: "Mathew Joseph" <[EMAIL PROTECTED]> To: Sen

Re: nested Sets

2005-11-21 Thread Danny Lee
Well, your problem is storing the value in "formulaPart". What is formulaPart? You are populating the form, and you have lot of input fields after populations. So you have to have formulaPart[x] as a property, and List formulaPart in the scope! Read this: http://www.developer.com/java/ent/a

struts validator

2005-11-21 Thread fea jabi
Have a jsp with a checkbox. If this is checked have to make sure 2 other textfields are not empty. i.e if order checkboxs checked want to make sure that the custName and the custNumber are entered. Is the below right to do the same? te

Re: and its behaviour....

2005-11-21 Thread Gaet
Nobody knows the answer to this trivial question? Thanks - Original Message - From: Gaet To: Mailing List Struts Sent: Monday, November 21, 2005 10:08 AM Subject: and its behaviour Hi, I'm sure this question is easy to answer for much of yours but I cannot fig

https + ssext + loadbalancer

2005-11-21 Thread Viral_Thakkar
Hello All: I have a scenario in my project where I am traversing to https page from http page. I am using struts+sslext for this implementation. There is a problem if I keep load balancer in front of my application server. Https page gets opened with URL having host name as of application serv

first mail - test mail

2005-11-21 Thread Viral_Thakkar
CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are n

Re: How to call a dispatch-Action from a link?

2005-11-21 Thread Borislav Sabev
starki78 wrote: thank you! I found out the following (part)solution: this works and calls the dispatch action: this doesn't work: paramName="nix"> Can you give me a tip? Thanks! //-- dispatch from a link I get the error after clicking the lin

Re: NEWBIE Problem with Tiles

2005-11-21 Thread Greg Reddin
On Nov 19, 2005, at 2:11 PM, Laurie Harper wrote: I haven't been tracking the status of the 'standalone Tiles' work, but I believe it's either done or close to done. I haven't had much time to work on Standalone of late. I've been trying to shore up the doc for the Struts version. But, h

Re: nested Sets

2005-11-21 Thread Bouvet Konsulent
sorry for the bad formatting in my previous mail... I try again: thanks for the answer! I have tried to follow your suggestions, but I can not get Struts to populate my Hibernate POJOs... This is the code I am using: MyForm.java: private Set Bs; //this also has a getter and setter B.java (which

Re:nested Sets

2005-11-21 Thread Bouvet Konsulent
thanks for the answer! I have tried to follow your suggestions, but I can not get Struts to populate my Hibernate POJOs... This is the code I am using: MyForm.java: private Set Bs; //this also has a getter and setter B.java (which is a Hibernate-generated POJO) contains e.g. the following proper

struts portal bridge question

2005-11-21 Thread Ashish Kulkarni
Hi Is there any tutorial, or document which shows how to use this struts portal bridge, Is there a place to download all the required jar files etc i checked this site http://portals.apache.org/bridges/multiproject/portals-bridges-struts/index.html but did not got a lot of info or documentation As

Re: Dynamically altering struts configuration

2005-11-21 Thread Dave Newton
Benjamin Lerman wrote: Let say I have a line like this one in my struts-config.xml: Can I change dynamically the type associated to fooForm ? I don't actually know. But why would you want to? Perhaps looking at a custom request processor and implementing processActionForm might be a possi

how to display error messages from actions?

2005-11-21 Thread Kanuri, Chand
hi all, i am trying to display error messages.it works fine with the following code(works for both form validation messages and messages from actions). now i am trying to display the error messages each in a row

Re: nested Sets

2005-11-21 Thread Danny Lee
You just have to organize something like seto of B's in yur A and set of C's in your B. This has to be done per Hibernate ('s in hibernate.cfg.xml and List getters setters in DAO Classes). When you've done this, you can iterate all the attributes without big prob's. After user submiting new va

nested Sets

2005-11-21 Thread Bouvet Konsulent
hello, I am using Struts 1.2.7 together with Hibernate 3.0. My datamodel is not too complex, but one of my Struts-forms needs to fetch data from several tables. My tables are called A, B and C. One A contains many B's and one B contains many C's. In Struts, I would need to display data from all thr

Re: How to call a dispatch-Action from a link?

2005-11-21 Thread starki78
thank you! I found out the following (part)solution: this works and calls the dispatch action: this doesn't work: Can you give me a tip? Thanks! > To specify the corresponding value of paramId, you can use only one of the > following approaches: > Specify only the paramName attribute

Re: How to call a dispatch-Action from a link?

2005-11-21 Thread Sunil_Sahu
To specify the corresponding value of paramId, you can use only one of the following approaches: Specify only the paramName attribute - The named JSP bean (optionally scoped by the value of the paramScope attribute) must identify a value that can be converted to a String. Specify both the param

How to call a dispatch-Action from a link?

2005-11-21 Thread starki78
in this example the first works and the second not: dispatch from a submit-buttom: //-- dispatch from a link I get the error after clicking the link: Request[/lookupdispatch2] does not contain handler parameter named 'method'. Can someone help me? Than

Re: Reporting Tools

2005-11-21 Thread Aldo Vadillo Batista
If you want to make pdf documents, you could use itext http://www.lowagie.com/iText/ 2005/11/21, Meenakshi Singh <[EMAIL PROTECTED]>: > Jasper Reports is a powerful open source tool. U can have a look at it at > http://jasperreports.sourceforge.net > > I have used it in my project & m satisfied

What's wrong

2005-11-21 Thread Fulgencio Comendeiro, Eduardo
<% { java.util.ArrayList list = new java.util.ArrayList(); list.add("textouno.texto1"); list.add("textouno.texto2"); list.add("textouno.texto3"); list.add("textouno.texto4"); pageContext.setAttribute("list", list, PageContext.PAGE_SCOPE); } %> contenido. '/>" > The result must b

Re: what is the use of parameter attribute in action tag

2005-11-21 Thread Sunil_Sahu
ok , then you can access "abc" parameter in your action class from request object. "Nandakishore Nekkanti" <[EMAIL PROTECTED]> 11/21/2005 03:11 PM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject Re: what is the use of parameter attribute in action

Re: what is the use of parameter attribute in action tag

2005-11-21 Thread Nandakishore Nekkanti
I want to access "abc" Rgds Nanda kishore Nekkanti Software Engineer EvolveWare, Inc Riveresa complex, Baner Road, Baner, Pune - 411 045 Tel: +91 (020) 27290713 X 27 . Fax: +91 (020) 2729 1084 Email: [EMAIL PROTECTED] URL: http://www.evolveware.com There is a difference between an objectiv

and its behaviour....

2005-11-21 Thread Gaet
Hi, I'm sure this question is easy to answer for much of yours but I cannot figure out the following behaviour : <% myVar = "content"; %> <% System.out.println("myVar is NOT EMPTY"); %> <% System.out.println("myVar is E

Re: what is the use of parameter attribute in action tag

2005-11-21 Thread Sunil_Sahu
"nanda" is method name in your Action class or you want to access "abc" parameter in your method of Action Class. "Nandakishore Nekkanti" <[EMAIL PROTECTED]> 11/21/2005 02:21 PM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject Re: what is the use o

Re: what is the use of parameter attribute in action tag

2005-11-21 Thread Nandakishore Nekkanti
Hi Tahnks for ur response. I want to send some request parametrs as query string in my first request to the action. This is just like this. localhost:8080/form.do?abc=nanda Here i can hard code Nanda in Action. Instead of hard coding in action is there any way for to do that. Rgds Nand

Re: what is the use of parameter attribute in action tag

2005-11-21 Thread Sunil_Sahu
Nandan, parameter attribute in action-mapping is used for method name. you can get the request parameters from request object itself in action class, no extra setting is required. Ex if you have any parameter in request as "type" then use String type = (String) request.getParameter("type"); H

struts-dialogs on maven repo

2005-11-21 Thread Nicolas De Loof
Hello Is struts-dialog extension available somewhere on maven repository ? This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, y

what is the use of parameter attribute in action tag

2005-11-21 Thread Nandakishore Nekkanti
Hi Is there any option in struts-config.xml to send request parameters to the action. i guess parameter attribute in action can do this .Is this for that purpose. -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.5 - Release Dat