Re: Struts-example i18n

2003-09-11 Thread koen boutsen
Hi This is the way I did it. I created an ActionForm with a language property. I search this langauge in my Action : language = switchLanguageForm.getLanguage(); if(language.equals(NL)) { Locale be = new Locale(nl, BE); setLocale(request, be); } else if (language.equals(FR)) {

Problem running struts1.1 on tomcat 3.2 and jdk 1.3

2003-09-11 Thread Amit Agarwal
Hi, I am a newbie in Struts and I searched all list and the web for my problem but haven't found any solution. I am running struts 1.1 on tomcat 3.2 and jdk 1.3. Instead of using JSPs, I am using XSLT as per this article http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html

Re: Problem running struts1.1 on tomcat 3.2 and jdk 1.3

2003-09-11 Thread Robert Leland
Amit, Struts 1.1 does not work under TC 3.2 used TC 3.3.X or TC 4.X series. There are class loader bugs in TC 3.2 which were fixed in TC 3.3.X. -Rob Amit Agarwal wrote: Hi, I am a newbie in Struts and I searched all list and the web for my problem but haven't found any solution. I am running

Begineer to struts

2003-09-11 Thread Mahavir
Hi Friends i am begineer to struts.I am using Tomcat ver 3.2.3 and JDK1.4.i am getting the errors which ihave mentioned below plz help me to solve these problems. i started today only with a simple example which i found on the internet My JSp File is %@ page language=java % %@ taglib

Re: Link

2003-09-11 Thread Adolfo Miguelez
Hi Francisco, the tag html:a does not exist in struts-html.tld. ActionForms are supposed to be focused for collecting input parameters or maybe preloading a form, so I guess you could do a refactoring in the code. Anyway, assuming that you want to use an ActionForm, I think you would treat it

Hi!

2003-09-11 Thread Dhanunjaya Gotur
Hi, I am new to Struts and I am trying to run an Struts example with Tomcat 4.1 and JDK 1.3.4 I am unable to get the message resource..but Without message JSP runs well but after putting bean:message tag in my jsp it is giving error like this .. description The server encountered an internal

Using the bean:message tag as a parameter for itself

2003-09-11 Thread Mehdi EL AKARI
Hello everybody, I'm a new struts developper, and i need to do the following thing: bean:message key=somthing arg0=bean:message key='something.else' / / but this does not work! Do yo have any suggestions please? Thank you

RE: Help in HttpServletRequest

2003-09-11 Thread Alvin Goh
David, Your codes runs perfectly. Thanx a million... :) Regards, Alvin -Original Message- From: David G Friedman [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 11:31 AM To: Struts Users Mailing List Subject: RE: Help in HttpServletRequest Alvin, I had worries when I did

Re: Hi!

2003-09-11 Thread Thomas Cornet
The problem certainly comes from your struts-config.xml file and/or your properties file location. Could you let us also see your struts-config.xml ?? Thomas At 09:57 11/09/2003, you wrote: Hi, I am new to Struts and I am trying to run an Struts example with Tomcat 4.1 and JDK 1.3.4 I am

RE: Using the bean:message tag as a parameter for itself

2003-09-11 Thread Paul McCulloch
Using struts tags: bean:define id=key2 bean:message key=something.else/ /bean:define bean:message key=somthing arg0=%=key2% / Using JSTL: fmt:message key=somthing fmt:param fmt:message key=something.else / /fmt:param /fmt:message Paul -Original

Re: Using the bean:message tag as a parameter for itself

2003-09-11 Thread Mehdi EL AKARI
Thank you it has worked Mehdi - Original Message - From: Paul McCulloch [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 8:30 AM Subject: RE: Using the bean:message tag as a parameter for itself Using struts tags: bean:define

Re: Hi!

2003-09-11 Thread Dhanunjaya Gotur
HI Thomas, Thanx for the early reply..and here my struts-config.xml file .. ** ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN

AW: Begineer to struts

2003-09-11 Thread Oliver Reflé
IT seems that you have not all needed struts jar files in your application class path. Check if you have struts.jar in your WEB-INF/lib folder Oliver -Ursprüngliche Nachricht- Von: Mahavir [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 11. September 2003 09:13 An: [EMAIL PROTECTED]

Re: Hi!

2003-09-11 Thread Dhanunjaya Gotur
HI Thomas, Thanx for the early reply..and here my struts-config.xml file .. ** ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN

Exxception in Tomcat.....

2003-09-11 Thread Bjørn T Johansen
My struts app is running under Tomcat 4.1.27 and now and then I get this in my log: 11.sep.2003 10:44:13 org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at

Re: Struts with a DHTML menu

2003-09-11 Thread Andrew Kuzmin
Hi, Maybe this http://sourceforge.net/projects/struts-menu/ ? -- Andrew Kuzmin http://www.java201.com - Original Message - From: Mahbub ul Huq Bin Kabir [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 7:38 AM Subject: Struts with a DHTML menu Hi, I'm

Re: Hi!

2003-09-11 Thread Dhanunjaya Gotur
Thomas have u find solution for my problem.. - Original Message - From: Thomas Cornet [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 1:50 PM Subject: Re: Hi! The problem certainly comes from your struts-config.xml file and/or your

RE: Hi!

2003-09-11 Thread Madala, Srinivasa
hiii dhanu..where did u keep ur messageresources file??? -Original Message- From: Dhanunjaya Gotur [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 3:02 PM To: Struts Users Mailing List Subject: Re: Hi! Thomas have u find solution for my problem.. - Original Message

RE: Hi!

2003-09-11 Thread Madala, Srinivasa
the thing is it should be under classes directory and needs to be specified in the strutsconfig message resources mapping -Original Message- From: Dhanunjaya Gotur [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 3:02 PM To: Struts Users Mailing List Subject: Re: Hi! Thomas

Re: Hi!

2003-09-11 Thread Dhanunjaya Gotur
Hi Madala, I am keeping resources file in WEB-INF/classe folder and the 2 resorce files are like this .. 1. ApplicationResources.properties index.title = Struts Tutorial 2. ApplicationResources_de.properties index.title = Struts Einfuhrung and Madala my struts-config.xml file is like this..it is

validation failed! please help!!!

2003-09-11 Thread basebeans
I have the following code working fine when the field is populated with value, but if left blank, the error came out, please help... --- entry.jsp --- %@ page import=java.util.*% %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld

RE: Hi!

2003-09-11 Thread Madala, Srinivasa
but wheres the mapping for message resources bundle Map ur message resources file like this in struts configs. message-resources parameter=***..ApplicationResources /message-resources cheers, Srinivas -Original Message- From: Dhanunjaya Gotur [mailto:[EMAIL

logic:forward problem

2003-09-11 Thread koen boutsen
Hi I want to send my user to a .jsp page and immediately send him to the next, without having to click anything on the intermediate page, or even without having to see this page. I tried with : logic:forward name=scrollForwardOrganisation / I know this works when you put a global forward in

how to configure the filter

2003-09-11 Thread Siva
Dear Friends, I need to configure a filter for all the requests except a particular request. For example, for the Login request, I will go through the filter and annd the request to my web application will go through the filter which checks the authentication of the user. Could you please

Re: YASJR (Yet Another Struts Justification Request)

2003-09-11 Thread Adam Hardy
Perhaps as a little demonstration that even the Microsoft logo is no guarantee of hack-free code, you can show them that hack in MS Word 97 where the little men run around and the monster eats them. Comes from some key combination when you're showing the about-screen. Unfortunately I can't

Re: DynaForms and validation

2003-09-11 Thread Adam Hardy
Hi Barry, you will need DynaValidatorForm or DynaValidatorActionForm. You would do well to read the docs on this on the struts website. Combining DynaActionForm and the Validator module is common practice. Regards Adam On 09/10/2003 11:16 PM Barry Volpe wrote: Hi, I have setup a DynaActionForm

Re: validation failed! please help!!!

2003-09-11 Thread Koni Roth
Your error is: Cannot find bean 'error' in any scope! Where and how do you define 'error'? Do you have something like this in you Action: ActionErrors error = new ActionErrors(); ... error = ... ... saveErrors(request, error); return new ActionForward(mapping.getInput()); ... Koni basebeans

Re: logic:forward problem

2003-09-11 Thread Mehdi EL AKARI
try this jsp:forward page=/scrollForwardOrganisation.do/ or something like that Mehdi - Original Message - From: koen boutsen [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 10:07 AM Subject: logic:forward problem Hi I want to

RE: Iterating Page by page

2003-09-11 Thread Alex Shneyderman
Use pager tag. You can find more info at http://jsptags.com/tags/navigation/pager/index.jsp -Original Message- From: Mahbub ul Huq Bin Kabir [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 12:50 AM To: [EMAIL PROTECTED] Subject: Iterating Page by page Hi, I'm

Re: Struts with a DHTML menu

2003-09-11 Thread Nate Drake
Check out Struts-menu: http://raibledesigns.com/struts-menu/index.jsp http://sourceforge.net/projects/struts-menu On Thu, 2003-09-11 at 00:38, Mahbub ul Huq Bin Kabir wrote: Hi, I'm using Struts from few months. I almost completed my project now want to add a drop down menu to my project

Re: how to configure the filter

2003-09-11 Thread Dan Tran
You can configure your filter to accept a set of URI pattern. Please refer to servlet 2.3 fitlter specification on how to set them up in web.xml -D - Original Message - From: Siva [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 11:20 PM Subject: how to

RE: Struts with a DHTML menu

2003-09-11 Thread Edgar P Dollin
Struts-menu works pretty well. http://sourceforge.net/project/showfiles.php?group_id=48726 Edgar -Original Message- From: Mahbub ul Huq Bin Kabir [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 11:39 PM To: [EMAIL PROTECTED] Subject: Struts with a DHTML menu Hi,

YASJR, Part Duex

2003-09-11 Thread Gregory F. March
Again, thanks to all who responded. Your replies are very helpful. As someone pointed out, there are hacks in MS Word and other commercial products, so even commercial companies are not immune from hacks. In this case however, MS can have a lawsuit brought against them if damage is done. How

Re: YASJR, Part Duex

2003-09-11 Thread Gregory Seidman
On Thu, Sep 11, 2003 at 08:09:05AM -0400, Gregory F. March wrote: } Again, thanks to all who responded. Your replies are very helpful. } } As someone pointed out, there are hacks in MS Word and other commercial } products, so even commercial companies are not immune from hacks. } } In this case

Re: YASJR, Part Duex

2003-09-11 Thread Gregory F. March
On Sep 11, 2003, Gregory Seidman [EMAIL PROTECTED] wrote: |Actually, by agreeing to the End User License Agreement (EULA), to which |you must agree to use the software, you waive all rights to bring suit |against Microsoft since they disclaim all warranty that the software is |suitable for

[OT] Problem stopping Tomcat 4.1.18

2003-09-11 Thread Suresh Addagalla
Hi, I am running Tomcat 4.1.18 on RHL 7.x. When I execute shutdown.sh to stop tomcat, a lot of java process still remain unterminated. If any one knows how to troubleshoot this, please let me know. My web applications have a DB interface as well as an RMI client. Can these cause the processes

[OT] Design considerations

2003-09-11 Thread Alen Ribic
Hi to everyone on the list. I'm looking at the design options for a new app I'm working on. I have something like this so far:.. Struts framework -- invoke Action commands (execute) -- invoke Business Delegate methods -- lookup coarse-grained Session Bean -- invoke method on bean -- lookup

RE: [OT] Problem stopping Tomcat 4.1.18

2003-09-11 Thread José Gustavo Zagato
Hi ! I don´t know the solution, but I have the same problem when I Run the tomcat 4.1.18 under windows and as a service. José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED] Sent:

Re: YASJR, Part Duex

2003-09-11 Thread Gregory Seidman
On Thu, Sep 11, 2003 at 08:47:17AM -0400, Gregory F. March wrote: } On Sep 11, 2003, Gregory Seidman [EMAIL PROTECTED] wrote: } } |Actually, by agreeing to the End User License Agreement (EULA), to which } |you must agree to use the software, you waive all rights to bring suit } |against

RadioButtons

2003-09-11 Thread Sloan Seaman
I've got an action that populates an ActionForm so that when a page is displayed, it is already filled in (think edit functionality). But for some reason the radio buttons are not being checked. I remember reading about this a while ago but can't remember why it is occurring. Could someone

Radio Buttons (answered my own questions)

2003-09-11 Thread Sloan Seaman
One of my developers has some things mis-configured. Please ingore the last email. I got it working... Sorry! This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a

Struts, sslext, and DNS

2003-09-11 Thread Davide Bruzzone
Greetings all, Here is a description of my problem: - I'm running Tomcat 4.1.24 on Solaris 9. I'm hitting Tomcat directly (i.e. I'm not going through Apache, etc.). - I'm running a Struts-based application on Tomcat. Portions of the application are (or are supposed to be) protected by SSL. I'm

Re: jstl question

2003-09-11 Thread Adam Hardy
Hi Richard, you should ask this on the taglib-user list. If people don't stick to one list, it makes twice as much work to search the archives, which I find a PITA anyway. With my crude knowledge of jstl I would do this: c:set var=stuff%=bean.getValueNum(test) %/set c:out value=${stuff}/

html:link/ URL Parameters

2003-09-11 Thread Pat Quinn
Hi Guys, I trying to use the html:link/ tag library with dynamic url parameters e.g (which doesn't work). html:link action=/viewOrder.do?orderNo=c:out value=${order.ponum}/View Order/html:link How should i do this with out using the standard HTML Href tag?

Re: html:link/ URL Parameters

2003-09-11 Thread Mehdi EL AKARI
Try this: bean:define id=key c:out value=${order.ponum}/ /bean:define html:link action=/viewOrder.do?orderNo=%=key%View Order/html:link It should work Mehdi - Original Message - From: Pat Quinn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 11,

RE: html:link/ URL Parameters

2003-09-11 Thread Robert Taylor
You cannot embed custom tags within a custom tag attribute value. Try this: html:link action=/viewOrder paramId=orderNo paramName=order paramProperty=ponumView Order/html:link robert -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 10:20

Extending DynaActionForm

2003-09-11 Thread Erez Efrati
Hi, Using DynaActionForm and DispatchAction it would have been helpful ift there was a way to create a BaseForm extending the DynaActionForm, which always adds the 'method' property to the DynaForm. Is this possible? Thanks, Erez

RE: html:link/ URL Parameters

2003-09-11 Thread Robert Taylor
Nope. That's not going to work either. Although html:link .../ is a custom tag I believe it follows JSP1.2 spec 2.13.1 Request Time Attribute Values snip The expression must appear by itself (multiple expressions, and mixing of expressions and string constants are not permitted). Multiple

Re: html:link/ URL Parameters

2003-09-11 Thread Vic Cekvenic
Consider using JSTL URL for link, it is much more sophisticated. hth, .V Pat Quinn wrote: Hi Guys, I trying to use the html:link/ tag library with dynamic url parameters e.g (which doesn't work). html:link action=/viewOrder.do?orderNo=c:out value=${order.ponum}/View Order/html:link How

Re: Extending DynaActionForm

2003-09-11 Thread Mick Knutson
I have extended my DynaActionForm. It works great: == package com.baselogic.yoursos.struts; import java.security.Principal; import javax.servlet.ServletContext; import javax.servlet.http.*; import org.apache.commons.logging.Log; import

actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Bill Milbratz
Title: actionmapping set-property problem in 1.1 upgrade Hi, We're upgrading to struts 1.1 and came across a problem with 'action specific' 'set-property' elements. I've searched the archives but haven't come across this problem. Specifically this action entry: !-- Display Public Profile

RE: actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Syed, Nazeer
Extend the com.participate.util.client.struts.ApplicationActionMapping to have a getter and setter method for continue and change the className in the Struts config. Then you can use set property Thanks Nazeer -Original Message- From: Bill Milbratz [mailto:[EMAIL PROTECTED]

RE: Bug :: Replace \n Character with #

2003-09-11 Thread Mainguy, Mike
It might be that \n is interpreted as a char(13) and only 1/2 of the crlf pair is getting replaced. -Original Message- From: Chawla, Yogesh [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 1:22 AM To: 'Struts Users Mailing List' Subject: Bug :: Replace \n Character with #

logic forward problem

2003-09-11 Thread koen boutsen
Hi I want to send my user to a .jsp page and immediately send him to the next, without having to click anything on the intermediate page, or even without having to see this page. I tried with : logic:forward name=scrollForwardOrganisation / I know this works when you put a global forward in

Re: html:link/ URL Parameters

2003-09-11 Thread Pat Quinn
Cheers guys i'll have a look into JSTL URL. From: Vic Cekvenic [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: html:link/ URL Parameters Date: Thu, 11 Sep 2003 08:39:14 -0400 Consider using JSTL URL for link, it is much more

RE: logic forward problem

2003-09-11 Thread David G Friedman
Your path looks like a tile. I wrote about this problem a week or two ago and you should've been able to find it in the archives of this group. It is documented on the logic forward tag as: Note: forwarding to Tiles definitions is not supported from this tag. You should forward to them from an

client side sorting.

2003-09-11 Thread imran ali
Hi All, I have a struts page with a table of many rows. contents of rows comes from a collection of forms. I have to sort contents of table based on which column user is clicking. How can I acieve it using struts, java script etc. Thanks Regards Imran. Imran

Re: client side sorting.

2003-09-11 Thread Mike Deegan
FYI From: Raible, Matt [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, May 09, 2003 6:29 AM Subject: RE: best practice for sorting columns needed Here's one you might like: http://raibledesigns.com/demos/sortTable.html download @

RE: client side sorting.

2003-09-11 Thread David Wilkinson
A good source for things like this can be found at http://webfx.eae.net/dhtml/tablesort/tablesort.html Regards DRAW -Original Message- From: imran ali [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 16:23 To: Struts Users Mailing List Subject: client side sorting. Hi All, I have a

RE: YASJR, Part Duex

2003-09-11 Thread Steve Raeburn
Who do they sue if the code you've written in-house is faulty? The fact is they pay you a lot of money (not enough I'm sure ;-)) for the benefit of your expertise. There's no difference between the stuff you develop in-house and any open source software you use. You still need to apply the same

RE: [OT] Problem stopping Tomcat 4.1.18

2003-09-11 Thread Mainguy, Mike
Perhaps, I have also seen this if you start the server as root then try to shut it down as a different user... -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 8:44 AM To: [EMAIL PROTECTED] Subject: [OT] Problem stopping Tomcat 4.1.18

Re: YASJR, Part Duex

2003-09-11 Thread Gregory F. March
On Sep 11, 2003, Steve Raeburn [EMAIL PROTECTED] wrote: |Who do they sue if the code you've written in-house is faulty? Faulty code was not what I was referring to. Malicious code, hacks, timebombs, etc. was. In the case of in house maliciousness, you lose your job, lose benefits and legal

Bug in tile with struts 1.1

2003-09-11 Thread teknokrat
My layout file (layout.jsp) has the following block tiles:insert attribute=header flush=true/ tiles:insert attribute=menubar flush=true/ tiles:insert attribute=body flush=true/ That is I want first the header tile to be layed out, then the menu tile and finally the body tile. The definition

BeanUtils.copyProperties() issue

2003-09-11 Thread Mick Knutson
I have a Value Object that contains a starting java.util.Date and ending java.util.Date. I am using java.lang.String objects in my DynaForm and my JSP. I currently add the dates to the DynaForm manually, and then perform a copyProperties(). But the copyProperties fails with a type mismatch. So,

RE: actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Bill Milbratz
Title: RE: actionmapping set-property problem in 1.1 upgrade Thanks Nazeer for the quick response. A follow up: Extend the com.participate.util.client.struts.ApplicationActionMapping to have a getter and setter method for continue and change the className in the Struts config. What type

jsp - java naming issue

2003-09-11 Thread Gregory F. March
Back to coding... I've been struggling with an issue for the past two days that I just cannot solve. There is a bunch of stuff going on, but I believe I have narrowed it down to the following. Here are the cast of characters: Vector v1 of data that contains an element that is another Vector

Re: Bug in tile with struts 1.1

2003-09-11 Thread Yann Cébron
snip large block/ then everything works Ok. This is only a problem when using a tiles controller and I am sure it was working correctly in struts 1.0 ( in fact i am certain it was ok even in the 1.1 betas) I was going to raise this in the bug database if everything here is OK Don't get me

RE: client side sorting.

2003-09-11 Thread Paul McCulloch
If you can live with a server side solution then the display taglib does this much more. Paul -Original Message- From: imran ali [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 16:23 To: Struts Users Mailing List Subject: client side sorting. Hi All, I have a struts page with a

how to output value in text field?

2003-09-11 Thread Rick Col
Hi, I am trying to output a default value in a textfield. I did something like this: html:text property=myValuebean:write name=myValue//html:text It should work, but it does not seem to work. What did I do wrong? regards, __ Do you Yahoo!? Yahoo! SiteBuilder -

RE: jsp - java naming issue

2003-09-11 Thread Erez Efrati
Some code snippets would shed some light here... :) Regards, Erez -Original Message- From: Gregory F. March [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 6:07 PM To: [EMAIL PROTECTED] Subject: jsp - java naming issue Back to coding... I've been struggling with an issue

RE: actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Joe Germuska
At 11:10 -0500 9/11/03, Bill Milbratz wrote: Thanks Nazeer for the quick response. A follow up: Extend the com.participate.util.client.struts.ApplicationActionMapping to have a getter and setter method for continue and change the className in the Struts config. What type for this 'continue' ?

RE: actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Bill Milbratz
Title: RE: actionmapping set-property problem in 1.1 upgrade So, in this, Struts is looking at an instance of com.participate.util.client.struts.ApplicationActionMapping for a method called setPublic(...) Right. This class has had a setPublic(boolean) for a long time and it's worked

Re: BeanUtils.copyProperties() issue

2003-09-11 Thread Gregory Seidman
On Thu, Sep 11, 2003 at 09:04:11AM -0700, Mick Knutson wrote: } I have a Value Object that contains a starting java.util.Date and ending } java.util.Date. } I am using java.lang.String objects in my DynaForm and my JSP. } I currently add the dates to the DynaForm manually, and then perform a }

Re: Link

2003-09-11 Thread Francisco Vides Fernandez
ok, thanks a lot!! Adolfo == Adolfo Miguelez [EMAIL PROTECTED] writes: Adolfo Hi Francisco, the tag html:a does not exist in Adolfo struts-html.tld. ActionForms are supposed to be focused for Adolfo collecting input parameters or maybe preloading a form, so I Adolfo guess you could do a

How can I place a parameter back on the URL

2003-09-11 Thread John Habbouche
I have invoking a JSP with a parameter appended to the jsp name (i.e. jsname.jsp?from=main) using Struts and Tag libraries. This parameter is specified as part of the struts-config.xml forward element. When I enter my jsp, I check to see if my parameter is there by invoking:

Re: Bug in tile with struts 1.1

2003-09-11 Thread teknokrat
Yann Cébron wrote: snip large block/ then everything works Ok. This is only a problem when using a tiles controller and I am sure it was working correctly in struts 1.0 ( in fact i am certain it was ok even in the 1.1 betas) I was going to raise this in the bug database if everything here is OK

RE: YASJR, Part Duex

2003-09-11 Thread Steve Raeburn
Well I would say that software the passed QA containing malicious code was faulty! My point was that your company should trust you to judge the quality of the code you're working with - wherever it comes from - and that you should have a reasonably high degree of confidence in Struts code

RE: How can I place a parameter back on the URL

2003-09-11 Thread Pady Srinivasan
Why not have a hidden variable whose value is set by the jsp ? If you have to change the hidden field value from the html page, then use javascript code. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: John Habbouche [mailto:[EMAIL PROTECTED] Sent: Thursday, September

RE: YASJR, Part Duex

2003-09-11 Thread Jerry Jalenak
Let only the sheer number of struts user who downloaded the release candidates prior to the final. If there was malicious code in Struts, it wouldn't have taken long for several users to have identified it, and screamed loudly on this list and on the developers list. I would rather use a product

Re: jsp - java naming issue

2003-09-11 Thread Gregory F. March
Ok, you asked for it! :-) This is kind of circular, so I have to pick some place to start. I will start by showing how the vectors are created, and then move towards the jsp... All comments removed to save space. While looking at the code snippets, look at the LOOK HERE - # !!! (there are

Re: jsp - java naming issue

2003-09-11 Thread Gregory F. March
On Sep 11, 2003, Gregory F. March [EMAIL PROTECTED] wrote: |= |My action (BfPerformSearch.java): | |BfSearchAdapter bfsa = new BfSearchAdapter(ad, bfsc); | |request.setAttribute(bfData, bfsa.getbfData());

Validator-rules.xml -- required fields validation for multiples radios, checkboxes etc

2003-09-11 Thread Yuan, Saul (TOR-ML)
Hi, I have some problems validating multiple radio buttons and checkboxes, selections on the client side. Tracking down to the javascript code defined in validator-rules.xml, I found that the validateRequired(form) function doesn't deal with multiple checkboxes, selections at all. For

Integration with other web apps

2003-09-11 Thread Gregory Seidman
I am embarking on a project which is primarily for my own use, but I have some hopes of commercializing it later. The business plan would involve licensing it for use on commercial websites I don't control. I see three major challenges in integrating with an existing site (ignoring details about

Re: html:link/ URL Parameters

2003-09-11 Thread Kris Schneider
I'm as fond of JSTL as the next developer, but it's a case-by-case basis as to whether it trumps Struts (or any other) tags. The big win with using html:link, or html-el:link, is the ability to leverage the path of your actions: html:link action=/path/to/action ... They also have built-in

Re: jsp - java naming issue

2003-09-11 Thread Max Cooper
I'm not sure I understand the exact problem, but I do see something that seems like it might be relevant. I don't think the method getbfData() conforms to the JavaBeans naming standard. If I ask for the bfData property, I am pretty sure that there needs to be a method named getBfData() [note the

Having trouble with my plugin validater

2003-09-11 Thread Kori Benton
I am getting the following two errors and can't figure out why: 1. Servlet class org.apache.struts.validator.action.ValidatorServlet for servlet validator could not be loaded because the requested class was not found in the classpath

Re: jsp - java naming issue

2003-09-11 Thread Gregory F. March
Ok, how about dem apples? I added the following code to my jsp file inside the outer iterate just before the inner iterate references the wireData property: % System.out.println(Wire = + item.getWireData()); % I can access the wireData() no problem, and then I get the servlet error:

SOLVED: Re: jsp - java naming issue

2003-09-11 Thread Gregory F. March
On Sep 11, 2003, Gregory F. March [EMAIL PROTECTED] wrote: |public Vector getWireData() { |return(wireInfo); |} | |public void setWireData(WireData[] _wireInfo) { |wireInfo = new Vector(); | |for(int i = 0; i

Mapped properties call setter method twice?

2003-09-11 Thread Karr, David
Gee, it's been a while since I've gotten to write some code actually USING Struts instead of inside of it (the EL part, at least). I'm using Struts 1.1, with WebLogic 8.1. I have a multibox that is using a mapped property. The setter in the bean properly gets called with the key and value. The

Session Sharing Feasibility

2003-09-11 Thread Kapadia Mitesh-C23457
Hello - I have a question about potential sharing of session information between CGI/Perl and STRUTS applications. We have an application written in CGI/Perl on Netscape Enterprise Server in which we would like to have the capability to spawn the user off to a STRUTS application on a different

Simple html:options question

2003-09-11 Thread Kumar M
Hi all, I have an ArraList of strings that I want to show in a drop-down box. The same thing is both the label as well as the value. Can anybody tell me how I can do this using html:options? The collection in html:options is expected to hold JSP beans, which is not the case in my situation.

RE: Mapped properties call setter method twice?

2003-09-11 Thread Erez Efrati
A while ago I had seen the similar problem with mapped properties where instead of getting an array of native type I got a string. Turns out that the commons BeanUtils has a bug dealing with conversion to a simple Object. In BeanUtils.SetProperty(), if the destination type is just a simple Object

Re: Simple html:options question

2003-09-11 Thread Kris Schneider
Pretty sure you can just do: html:options name=listOfOptionValues/ It should use the list for both the values and the labels. If the list is a property on your form: html:options property=listOfOptionValues/ If the list is a property of some other bean: html:options name=someBean

Re: DateUtil

2003-09-11 Thread Cees van de Griend
Hello Matt, On Wednesday 10 September 2003 23:40, Matt Raible wrote: I created it myself - here's the method you're looking for: /** * This method converts a String to a date using the pattern MM/dd/ * * @param strDate the date to convert * @return a date object * *

Re: DateUtil

2003-09-11 Thread Mick Knutson
If you have an update for this method, can I have it as well? --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: Cees van de Griend [EMAIL PROTECTED] To: Struts Users [EMAIL PROTECTED] Sent: Thursday,

Re: DateUtil

2003-09-11 Thread Mick Knutson
If you have an update for this method, can I have it as well? --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: Cees van de Griend [EMAIL PROTECTED] To: Struts Users [EMAIL PROTECTED] Sent: Thursday,

RE: logic forward problem

2003-09-11 Thread Van Riper, Mike
-Original Message- From: David G Friedman [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 8:18 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: logic forward problem Your path looks like a tile. I wrote about this problem a week or two ago and you

[OT] JSTL question

2003-09-11 Thread denis
Ok, i have a map named selectBox that contains a number of ArrayLists keyed by strings. When I try to iterate over it, nothing happens! c:out value=${selectBox[prop.key]}/ Shows something of the order [ java.com.blah.bean, java.com.blah.bean, java.com.blah.bean] c:out

RE: [OT] JSTL question

2003-09-11 Thread Erez Efrati
You need to put loop.COUNT : c:out value=${selectBox[prop.key][loop.count].key}/ Erez -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 9:50 PM To: Struts Users Mailing List Subject: [OT] JSTL question Ok, i have a map named

Re: [OT] JSTL question

2003-09-11 Thread Kris Schneider
varStatus gives you an instance of javax.servlet.jsp.jstl.core.LoopTagStatus. It has a property called index that might be of interest... Quoting [EMAIL PROTECTED]: Ok, i have a map named selectBox that contains a number of ArrayLists keyed by strings. When I try to iterate over it, nothing

  1   2   >