Struts Form Population

2006-02-03 Thread Paul Benedict
When struts auto populates the form, does it look for set methods? And does it check that the methods are public? For instance, if the "foo" parameter comes in and my setFoo method is protected or private, will it ignore it? Paul - Bring

Re: Validating a subset of the element in validation.xml file

2006-02-03 Thread Yasser Al Masri
I have come up with a solution, and I'd like to share it with the community. Any comments are welcomed. This code is located inside one of my Action classes (or a super Action), where partial validation is needed: static Map validations; /** * @param mapping * @param request

RE: [OT] Re: Image not getting displayed !

2006-02-03 Thread Jitendra Kumar
Hi, tag just defines the base directory of the application. This is the corresponding HTML version. http://127.0.0.1:8080/CMSystem/";> I have tried all possible permutations and combinations but nothing works !! :-( Do we need to put in some entry in web.xml or struts-config.xml for allowing .jp

Re: [shale] clay config including another clay config

2006-02-03 Thread Craig McClanahan
On 2/2/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > > >From: Ryan Wynn <[EMAIL PROTECTED]> > > > > How would I reference a clay config file from within another config > file? > > > > Ya, that is a good question. I thought I knew how to do this but had > never really tried. You see this trick

Re: Validator Question

2006-02-03 Thread Niall Pemberton
You shouldn't need to use validwhen to do what you describe - try just using email... If however you do have reasons for using validwhen then the thing to remember is that the "test" variable specifies the condition when the field is valid. So what you have specified is that this field i

Re: URL Submission To Search Engines With Struts

2006-02-03 Thread Robert Stevens
Hi Jim, Search engines do not like dynamic URLs. If they refer their search engine customers to a dynamic page, they can't be sure its content will be the same as when they spidered it. Some won't index dynamic pages. Others may take points away. Figure out how to make the pages you

Validator Question

2006-02-03 Thread Kalcevich, Daniel
Everyone, I am using the validator to validate an email address in a text field. The field is not required, but when there is a value in there, I want it to be a valid email address. Here is my XML, test (*this* == null) But when

Re: Problem with html:select

2006-02-03 Thread Michael Jouravlev
Apparently, "preselect" was a bad term. The better one would be "position selection bar". To preselect as in "to mark as selected" use "properties" array. Michael. On 2/3/06, Kumar Kadiyala <[EMAIL PROTECTED]> wrote: > Thanks for the clarification. How would I preselect > more than one value usin

Re: Problem with html:select

2006-02-03 Thread Kumar Kadiyala
Thanks for the clarification. How would I preselect more than one value using html:select? Kumar --- Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 2/3/06, Michael Jouravlev <[EMAIL PROTECTED]> > wrote: > > On 2/3/06, Kumar Kadiyala <[EMAIL PROTECTED]> > wrote: > > > Hello, > > > > > > I am r

Re: modules and url

2006-02-03 Thread Raúl Eduardo Plata
Thanks... i hadn't understand what does the "extension mapping" mean... i thought that extension mapping is used for /do/* or *.do indifferently, but no.. thanks again [EMAIL PROTECTED] escribió: see http://struts.apache.org/struts-action/userGuide/configuration.html#5_4_2_Configure_the_Act

RE: modules and url

2006-02-03 Thread George.Dinwiddie
see http://struts.apache.org/struts-action/userGuide/configuration.html#5_4_2_Configure_the_ActionServlet_Mapping "WARNING - If you are using the new module support since Struts 1.1, you should be aware that only extension mapping is supported." > -Original Message- > From: Raúl Eduardo

modules and url

2006-02-03 Thread Raúl Eduardo Plata
Hi, i am using two modules on my web.xml action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml config/test /WEB-INF/struts-test.xml But my mapping instead of use *.do is using /do/* action /do/* How can i call an

Re: Problem with html:select

2006-02-03 Thread Michael Jouravlev
On 2/3/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 2/3/06, Kumar Kadiyala <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I am running into a problem with the html:select tag. > > I have the "multiple" attribute set so that the list > > renders as a multi select list box. I am using the > >

Re: Problem with html:select

2006-02-03 Thread Michael Jouravlev
On 2/3/06, Kumar Kadiyala <[EMAIL PROTECTED]> wrote: > Hello, > > I am running into a problem with the html:select tag. > I have the "multiple" attribute set so that the list > renders as a multi select list box. I am using the > value attribute of this tag and if I specify an Array > as the value,

Re: BaseTag and HTTPS behind a proxy

2006-02-03 Thread Marcelo Morales
Helo On Feb 3, 2006, at 1:30 PM, Lionel wrote: Lionel wrote: Hi all ! I have a struts application deployed on tomcat 5.5 which does not use https. A http://myWebsite";> is generated by the tag. The administrator wants to hide the site behind a reverse proxy that makes the website available

Problem with html:select

2006-02-03 Thread Kumar Kadiyala
Hello, I am running into a problem with the html:select tag. I have the "multiple" attribute set so that the list renders as a multi select list box. I am using the value attribute of this tag and if I specify an Array as the value, the initial selection in the list box is not correct. I looked in

Re: href

2006-02-03 Thread fea jabi
thanks for responding now gave My lookupaction does have the mapkey protected Map getKeyMethodMap() { Map map = new HashMap(); map.put("btn.save", "save"); map.put("btn.return", "returnDep"); map.put("delete", "deleteCust"); return map; }

Oroblem in using struts framework

2006-02-03 Thread Saurabh-S . Gupta
hi gurus I am using Struts to upload and download files from the server, although the upload works the fine the download is causing problems. The first time i click the download button it pops up the download dialog, but once the operation is done if i click any other button the same dialog box

Can't get definitions factory from context.

2006-02-03 Thread Timo
Can't get definitions factory from context. It is strange but interesting; I've downloaded and installed Struts Tiles as follows: 1) downloaded the latest binaries struts-1.2.8 from one of the struts mirror sites and extracted the files without any problems. 2) copied all the jar files in the stru

Re: href

2006-02-03 Thread Michael Jouravlev
On 2/3/06, fea jabi <[EMAIL PROTECTED]> wrote: > Have an a link in my JSP. When user presses the link I would like to delete > that row in the LookupDispatchAction. > > I tried to do this using the below code. > > But getting error > javax.servlet.ServletException: Request[/DispatchCust] does not c

Re: BaseTag and HTTPS behind a proxy

2006-02-03 Thread Lionel
Lionel wrote: > Hi all ! > > I have a struts application deployed on tomcat 5.5 which does not use > https. A http://myWebsite";> is generated by the > tag. > The administrator wants to hide the site behind a reverse proxy that > makes the website available through HTTPS. Forget what I said, the

Re: [shale] clay config including another clay config

2006-02-03 Thread Ryan Wynn
On 2/3/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > >From: Ryan Wynn <[EMAIL PROTECTED]> > > > > How would I reference a clay config file from within another config file? > > > > Ya, that is a good question. I thought I knew how to do this but had never > really tried. You see this trick in

BaseTag and HTTPS behind a proxy

2006-02-03 Thread Lionel
Hi all ! I have a struts application deployed on tomcat 5.5 which does not use https. A http://myWebsite";> is generated by the tag. The administrator wants to hide the site behind a reverse proxy that makes the website available through HTTPS. The client emits an https request to the proxy that

RE: Stress Load AJAX web application

2006-02-03 Thread George.Dinwiddie
Stas Ostapenko wrote: > After I decided to test our application i'm was looking > something like http client with js support (and AJAX > features). I had a look at HttpUnit - as i saw it's have a > limited js support (am i wrong ?). Starting from srcratch I > have considered commons-httpclient.

Re: Stress Load AJAX web application

2006-02-03 Thread Frank W. Zammetti
OpenSTA is similar to WebLoad, and has worked fairly well in the past. It does not appear to be cross-platform though, a fact I didn't know until 10 seconds ago. http://www.opensta.org/ I'm a little confused with what your trying to accomplish, based on some of the things you named below... are

Re: Advice with Struts and Generate documents in PDF, XLS...

2006-02-03 Thread Frank W. Zammetti
Sorry, never used JasperReports. I have used DataVision though, which will get you PDF output, but not Excel output (not directly... you could convert from one of the DV output formats to Excel, but that's round-about). -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologi

href

2006-02-03 Thread fea jabi
Have an a link in my JSP. When user presses the link I would like to delete that row in the LookupDispatchAction. I tried to do this using the below code. But getting error javax.servlet.ServletException: Request[/DispatchCust] does not contain handler parameter named 'method'. This may be ca

RE: [Friday] - finding the Mavens in the Java world

2006-02-03 Thread David Thielen
Yep, The Tipping Point is a really popular book (he credits it in his blog which is nice). What is interesting to me is I think the trick is getting the word to the mavens, not the connectors. Then the mavens talk to the connectors and the connectors talk to the world. But I think having the maven

RE: For sql experts

2006-02-03 Thread Jimmy Emmanual
Try this: SELECT DEPTNUM.REF_VALUE ,CAMNUM.REF_VALUE ,PN1.NOTE_TEXT FROM PARTY_REFERENCE DEPTNUM , PARTY_REFERENCE CAMNUM , PARTY_ASSOC REL , PARTY_NOTE PN1 WHERE DEPTNUM.PARTY_ID = REL.TO_PARTY_ID AND REL.FROM_PARTY_ID = CAMNUM.PARTY_ID AND DEPTNUM.PARTY_REF_TYPE_CD =

RE: [Friday] - finding the Mavens in the Java world

2006-02-03 Thread David Thielen
Thank you - we do post our press releases there and it draws a lot of interest - but seems to be more look-i-loos than purchasers - no idea why. As to paid vs free (Jasper), it depends on what your time iw worth. We've had lots of people go from Jasper to Windward because it saves them so much tim

RE: [OT] Re: Image not getting displayed !

2006-02-03 Thread Garner, Shawn
Or try the html:base tag. Not sure what it does exactly. Shawn -Original Message- From: Jitendra Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 10:54 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Re: Image not getting displayed ! I will try to be clearer this

RE: [OT] Re: Image not getting displayed !

2006-02-03 Thread Garner, Shawn
Try Shawn -Original Message- From: Jitendra Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 10:54 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Re: Image not getting displayed ! I will try to be clearer this time !! I am developing a Struts project using myecl

Re: For sql experts

2006-02-03 Thread ALEX HYDE
FROM PARTY_NOTE PN 1WHERE PN.1PARTY_ID might have to be... FROM PARTY_NOTE PN1 WHERE PN1.PARTY_ID What happens if you get more than one last_update_dt equal to the maximum? Gluck "Jonnalagadda, Sumithra" <[EMAIL PROTECTED]> wrote: SELECT DEPTNUM.REF_VALUE, CAMNUM.REF_VALUE, (

[tiles] question on tiles functionality

2006-02-03 Thread Garner, Shawn
I was looking at the examples at http://struts.apache.org/struts-tiles/examples.html and I didn't really see a good example of what I was looking for. I'm doing something like this for every page: file: somepage.jsp <%@ taglib uri="http:

Re: [Friday] - finding the Mavens in the Java world

2006-02-03 Thread DGraham
I'm a regular lurker at http://www.theserverside.com/tss However, before you advertise it, I'd recommend that you have a good argument for using a free/closed product versus a free/open product (Jasper Reports). Possibly, you've already thougth about this. -Dennis "David Thielen" <[EMAIL

For sql experts

2006-02-03 Thread Jonnalagadda, Sumithra
SELECT DEPTNUM.REF_VALUE, CAMNUM.REF_VALUE, (SELECT PN1.NOTE_TEXT FROM PARTY_NOTE PN 1WHERE PN.1PARTY_ID = DEPTNUM.PARTY_ID and max(pn1.last_update_dt)) NOTE FROM PARTY_REFERENCE DEPTNUM, PARTY_REFERENCE CAMNUM, PARTY_ASSOC REL WHERE DEPTNUM.PARTY_ID = REL.TO_PARTY_ID AND REL.FROM_PARTY_ID = CAMN

Re: [Friday] - finding the Mavens in the Java world

2006-02-03 Thread Leon Rosenberg
David Geary (http://www.jroller.com/page/dgeary) states himself as maven on his page, and writes some other names: http://jroller.com/page/dgeary?catname=%2FRuby+on+Rails Connectors are people who are extraordinarily connected to other people: they are the people who seem to know everybody. Maven

Re: Advice with Struts and Generate documents in PDF, XLS...

2006-02-03 Thread Jim Riley
We use iText for our pdf generation and for customers that need a screen printed like a paper form. We purchased Actuate for all of our reporting needs now but we had used iText for reports before that. James >>> [EMAIL PROTECTED] 2/3/2006 9:51 AM >>> Hi, I've found this to be very useful fo

Re: Advice with Struts and Generate documents in PDF, XLS...

2006-02-03 Thread Robin Joinson
Hi, I've found this to be very useful for tabular data: http://displaytag.sourceforge.net/10/ I haven't tried the PDF tool, but Excel, CSV and XML have worked well enough for me. Regards, --Robin. On Thu, 2006-02-02 at 17:42 +0100, Angel Navarro wrote: > Hi, > > I need advice to develop docu

Re: Advice with Struts and Generate documents in PDF, XLS...

2006-02-03 Thread Wendy Smoak
On 2/3/06, Angel Navarro <[EMAIL PROTECTED]> wrote: > but, somebody have worked with Struts and JasperReport? > It's a good solution? > It's better than iText or FOP? JasperReports uses iText to produce PDFs. Which one to pick depends on whether you're trying to produce "documents" with paragrap

[Friday] - finding the Mavens in the Java world

2006-02-03 Thread David Thielen
Hi all; For those of you that have read The Tipping Point, this will make sense (I think). For those that haven't, a maven is a person that trys just about every interesting p

RE: [shale] Rendered attribute & full HTML CLay

2006-02-03 Thread Gary VanMatre
>From: <[EMAIL PROTECTED]> > > Hi > > I have run into a peculiar problem with fullt html Clay. > > Scenario: > > >> > > > > > > > Contacts > > >

Re: [shale] Clay & Symbols

2006-02-03 Thread Gary VanMatre
>From: <[EMAIL PROTECTED]> > > Hi > > I have tried to do the following: > > First define a component in clay-config.xml: > > > > > > > > > > > > > then in my somepage.xml do this: > > >

Re: Stress Load AJAX web application

2006-02-03 Thread Stas Ostapenko
Thanks a lot !!! After I decided to test our application i'm was looking something like http client with js support (and AJAX features). I had a look at HttpUnit - as i saw it's have a limited js support (am i wrong ?). Starting from srcratch I have considered commons-httpclient... but how about J

[shale] Clay & Symbols

2006-02-03 Thread hermod.opstvedt
Hi I have tried to do the following: First define a component in clay-config.xml: then in my somepage.xml do this:

RE: [shale] Rendered attribute & full HTML CLay

2006-02-03 Thread hermod.opstvedt
Hi I have run into a peculiar problem with fullt html Clay. Scenario: Contacts ABC Co

Re: Advice with Struts and Generate documents in PDF, XLS...

2006-02-03 Thread Angel Navarro
Hi, but, somebody have worked with Struts and JasperReport? It's a good solution? It's better than iText or FOP? I have to do a system with struts that generate document in PDF and XLS with two requirement: - Document must be Multi-Entity (change logo) - Document must be Multi-Language Thanks

Re: html:file OutOfMemoryError

2006-02-03 Thread Ext . Ilitia2
Hi Joscar, In this occasion I can't help you, but as now I know that you are in this list, I will try pay attention in all mails that I will receive. Saludos tío.

html:file OutOfMemoryError

2006-02-03 Thread Moreno Herranz, Jose Luis
Hi everybody. I've got something like that <[EMAIL PROTECTED] import="es.mcs.datos.colectivos.SalidaDesCod"%> <[EMAIL PROTECTED] import="java.util.*"%> function refresh(){ document.forms[0].action = "refrescaPersonasColectivo.do"; //this is the same action that loads this jsp in order