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

2005-03-15 Thread Pham Anh Tuan
Hi all, I got a problem when I code like below: ">Go if my code is incorrect, plz help me solve it. thanks Bowl

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

2005-03-15 Thread Metin Erksan
hi you do not need to use export filter. i use displaytag struts1.1 and also struts 1.2.4 and oc4j. jdeveloper10g has embedded struts1.1 . in the projects library list displaytag library have to be over the struts library.you can use also 1.2.4.(last version) but again displaytag jar have to be

Re: RequestProcessor and ActionServlet

2005-03-15 Thread Manfred Wolff
Rajaneesh. There are three things which are part of the controller: - The ActionServlet that acts as a front controller. - The RequestProcessor that has the responsibility to fulfill the request in a specific module. - The Action which is the part of the controller that deals with the other layer

RequestProcessor and ActionServlet

2005-03-15 Thread Rajaneesh
Hi, In struts what is actually the controller portion? (Is it RequestProcessor or ActionServlet?) Regards Rajaneesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Fresh Blood

2005-03-15 Thread Vamsee Kanakala
Rick Reumann wrote: Your friendly neighborhood losers are still hanging out in #FunkyCodeMonkey on irc.darkmyst.org and wouldn't mind having some fresh blood in the channel. Hi Rick, XChat says: * Looking up newserver * Unknown host. Maybe you misspelled it? Cycling to next server in irc.darkmys

dependent dropdowns

2005-03-15 Thread Srilatha Salla
Hi, There are these struts tags in my jsp. I need to write a javascript function so that when a button addrow is clicked a new row withthese 2 dropdown lists(tables, columns) is displayed. how to add a row with javascript function. the second dropdown options depend on the table selected in the f

dependent drops/onchange function

2005-03-15 Thread Srilatha Salla
Hi, There are these struts tags in my jsp. I need to write a javascript function so that when a button addrow is clicked a new row with these 2 dropdown lists(tables, columns) is displayed. how to add a row with javascript function. the second dropdown options depend on the table selected in the

ann?: Linux Distro includes... Struts (and Tomcat and Eclipse)

2005-03-15 Thread NetSQL
http://www.fedoraforum.org/forum/showthread.php?t=47711 .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ??? find site error (action)

2005-03-15 Thread Bryce Fischer
Hi Eric, I'm guessing that you don't have struts configured in your web.xml correctly. Of course, thats just a guess. You might show us your web.xml, struts-config.xml and the entire URL that you are trying to view. Is it a link in a JSP page? If so, what's the link? Eric Lemle wrote: Here is w

Re: Validate French Input Character using Struts Validator Framework

2005-03-15 Thread Joe Germuska
At 4:20 PM -0800 3/15/05, John Smith wrote: I have one question regarding to struts validation for French input characters. I have some input fields in the form to accept the French character input, such as Street name, person's name, In struts's validation.xml file, I have defined the followi

RE: Load message resources from DB???

2005-03-15 Thread Jason Long
Could someone provide a code sample and struts config snippit? My project is way over deadline and this is not crucial, but would be very nice. I only have 1 locale so this should be easy. If I have to make any serious effort on this it will have to wait for phase II. Thank you very much for yo

RE: Load message resources from DB???

2005-03-15 Thread Jason Long
Could someone provide a code sample and struts config snippit? My project is way over deadline and this is not crucial, but would be very nice. I only have 1 locale so this should be easy. If I have to make any serious effort on this it will have to wait for phase II. Thank you very much for yo

Validate French Input Character using Struts Validator Framework

2005-03-15 Thread John Smith
I have one question regarding to struts validation for French input characters. I have some input fields in the form to accept the French character input, such as Street name, person's name, In struts's validation.xml file, I have defined the following rule: streetName |^\w+$ pers

Re: Using javascript to access nested form items

2005-03-15 Thread jelything
Just wanted to say that I got the syntax: window.opener.document.projectForm.elements["projectStobsForms[1].estStaffCost"].value Just in case somebody looks for this in the future. J - To unsubscribe, e-mail: [EMAIL PROTECT

RE: Load message resources from DB???

2005-03-15 Thread Daniel Lipofsky
Yes, just extend the PropertyMessageResources and overide the loadLocale() method. You should extend the factory too and specify the new factory in struts-config.xml. Add a method to clear the cache in the PropertyMessageResources and clear it when the user changes something. - Dan > -Origin

Re: validwhen problem

2005-03-15 Thread Niall Pemberton
In the binary distribution it should be in the "lib" folder along with all the other jars (including struts.jar). Niall - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> Sent: Tuesday, March 15, 2005 8:40 PM Thanks Hubert, I fixed the property, but I cannot seem to find t

RE: validwhen problem

2005-03-15 Thread Scott Purcell
Thanks Hubert, I fixed the property, but I cannot seem to find the antlr.jar in the struts extract? Is this something new? I did find this "ant-antlr.jar" but it was under my ant stuff? Thanks, Scott -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Tuesday, March

Re: validwhen problem

2005-03-15 Thread Hubert Rabago
On Tue, 15 Mar 2005 14:27:15 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote: > > My Bean has the getPassword() and getConfirmPassword() methods. Can anyone > help here. Perhaps your property needs to be set to "confirmPassword". > > thanks, > > Error: ##33 > java.lang.No

Re: Help with validator and xdoclet

2005-03-15 Thread Niall Pemberton
No, can't do that with any of the numeric validators :-( would be a good addition though. Currently the only way to do this is using standard validators shipped with struts is using the "mask" validator. Niall - Original Message - From: "Vinicius Caldeira Carvalho" <[EMAIL PROTECTE

Re: validwhen problem

2005-03-15 Thread Niall Pemberton
Looks like you don't have jar for antlr (i.e. antlr.jar) deployed in your webapp. Its shipped with the struts binary distribution and is needed by validwhen. Niall - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> Sent: Tuesday, March 15, 2005 8:27 PM Still having problems

RE: validwhen problem

2005-03-15 Thread Scott Purcell
Still having problems with this: Below is the error: Please see. Here is the validation.xml I am using. I am just trying to ensure that the password and the confirmPassword are equal. test (password == *this*) My Bean

Re: Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
Niall Pemberton wrote: I think minlength is the wrong validator for what you're trying to do. It just checks the length of whats keyed in (i.e. the number of characters) ... seems like you want a minimum valueyou could use floatRange for this. http://struts.apache.org/userGuide/dev_validator.ht

Re: LookupDispatchAction (Bug?)

2005-03-15 Thread K.C. Baltz
How are you setting the value of "dispatch" in your page? A hidden field? Is it hard-coded or do you set it when the button is clicked. Is there more than one form in the page such that Enter might be submitting a different form than you expect? You might need some javascript to ensure that

Re: Help with validator and xdoclet

2005-03-15 Thread Niall Pemberton
I think minlength is the wrong validator for what you're trying to do. It just checks the length of whats keyed in (i.e. the number of characters) ... seems like you want a minimum valueyou could use floatRange for this. http://struts.apache.org/userGuide/dev_validator.html#builtin Having sai

Re: validwhen problem

2005-03-15 Thread Niall Pemberton
The this keyword needs to be enclosed in astrix... (confirmPassword == *this*) http://struts.apache.org/userGuide/dev_validator.html#validwhen Niall - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, March 15, 2005 7:15 PM Sub

Re: LookupDispatchAction (Bug?)

2005-03-15 Thread Rick Reumann
Tim Christopher wrote the following on 3/15/2005 1:46 PM: I have the following code within a jsp: When the user clicks on the 'Update' button it goes off and updates the record as you would expect. The problem I'm having is that every time the user presses the 'enter key' to submit the form

validwhen problem

2005-03-15 Thread Scott Purcell
Hello, I am having troubles getting the validwhen validation to work. test (confirmPassword == this) I have a bean that extends the ValidatorForm and has setters and getters for the two fields I need. getPassword(); setPassword(String pa

Help: Problem with DispatchAction and c:import

2005-03-15 Thread K.C. Baltz
I've run into an interesting problem involving dispatch actions and (or tiles:insert). The problem is this. I have a page that lists some files. The user can upload another file from this page, but if the file is too large, Struts starts the error processing for the action. Here are my two

Re: BeanUtils: examples

2005-03-15 Thread Martin Wegner
Check out this e-book from Manning: http://www.manning.com/goyal It might have some info on this topic. I haven't read the book but the blurb I got in the email was interesting. --Marty --- Vinicius Caldeira Carvalho <[EMAIL PROTECTED]> wrote: > Well, I know it's not the right list, but s

LookupDispatchAction (Bug?)

2005-03-15 Thread Tim Christopher
Hi, I have the following code within a jsp: When the user clicks on the 'Update' button it goes off and updates the record as you would expect. The problem I'm having is that every time the user presses the 'enter key' to submit the form it results in an error: Request[/secure/admin/pro

Re: BeanUtils: examples

2005-03-15 Thread Craig McClanahan
I'd start with the Javadocs ... on the "Package Description" page for org.apache.commons.beanutils you'll find some introductory material. http://jakarta.apache.org/commons/beanutils Craig On Tue, 15 Mar 2005 15:26:41 -0300, Vinicius Caldeira Carvalho <[EMAIL PROTECTED]> wrote: > Well, I know

Re: Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
Vinicius Caldeira Carvalho wrote: Hello there! I'm using for the first time, xdoclet to create my validation.xml file (that really help) But I got stuck in a point. I have a property that must be float and also greater than 0. Here's what I've tried: /** * @param limitePreAutorizacao The

??? find site error (action)

2005-03-15 Thread Eric Lemle
Here is what the error says: * Internet Explorer cannot download myAction.do?myparam=344 from localhost Internet Explorer was not able to open this Internet site. The requested site is either un

BeanUtils: examples

2005-03-15 Thread Vinicius Caldeira Carvalho
Well, I know it's not the right list, but since it's very close related and struts list is much more active. Does anyone has a good tutorial on that? I was told to use Converters to assemble my Pojos from my formbeans but most of the time the types doesn't match so BeanUtils.copyProperties() do

RE: chain two actions together

2005-03-15 Thread Benedict, Paul C
Vincius, See this article about Action Chaining: http://wiki.apache.org/struts/ActionChaining It seems the prefable way of chaining is to do it internally with Jakarta Commons Chains. The Action is just an entry into the business processes. Thanks, Paul -Original Message- From: Viniciu

Re: chain two actions together

2005-03-15 Thread Vinicius Caldeira Carvalho
wo_shi_ni_ba_ba wrote: Is there a way to chain two Actions together? a lot of times I found that I need to have Action B that needs to do something then do Action C. What is the best practice here? thanks __ Do you Yahoo!? Yahoo! Small Business - Try our new re

chain two actions together

2005-03-15 Thread wo_shi_ni_ba_ba
Is there a way to chain two Actions together? a lot of times I found that I need to have Action B that needs to do something then do Action C. What is the best practice here? thanks __ Do you Yahoo!? Yahoo! Small Business - Try our new resourc

Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
Hello there! I'm using for the first time, xdoclet to create my validation.xml file (that really help) But I got stuck in a point. I have a property that must be float and also greater than 0. Here's what I've tried: /** * @param limitePreAutorizacao The limitePreAutorizacao to set. *

Re: Validate Two String Fields Equal

2005-03-15 Thread Erik Weber
http://struts.apache.org/userGuide/dev_validator.html See the section on pluggable validators. I don't think the type of Form you use matters, but I don't use Dyna forms. Erik Scott Purcell wrote: Hello, I have a simple validation problem I am seeking help with. I have a form in which the end-use

Validate Two String Fields Equal

2005-03-15 Thread Scott Purcell
Hello, I have a simple validation problem I am seeking help with. I have a form in which the end-user enters a "password" and a "confirm password". I am using the validator framework (I am pretty new, but getting there) and want to know how to check this type of problem. Ensuring that the same

Struts1.1 ,displaytag ,tiles & weblogic 8.1

2005-03-15 Thread ahmet hassan
Hi all; I use struts 1.1 with tiles,weblogic 8.1 and want to use didplaytag. (displaytag-11.tld displaytag-1.0.jar) Although I configure filter in my web.xml like below: ResponseOverrideFilter org.displaytag.filter.ResponseOverrideFilter ResponseOverrideFilter *.do ResponseOverrideFilter *

Re: Tiles does not function in case validation error?

2005-03-15 Thread Daniel PC Leung
If the action type is Action, it works fine. It is strange that if the action type is a DispatchAction, the validation error body page will fill the whole screen. Is it true that DispatchAction is not suitable for suggested option 1? Thnx On Tue, 15 Mar 2005 00:28:31 -0500, David G. Friedman <

Re: Validator Framework question

2005-03-15 Thread Vamsee Kanakala
Senthivel U S wrote: Each sub application is having its own config file but I could not create different validation.xml for each sub application. If I create also it takes only one validation.xml file into consideration. This may sound silly, but did you name them differently? Vamsee. --

RE: Validator Framework question

2005-03-15 Thread Senthivel U S
Greetings, We have divided our application into sub application (modules). Each sub application is having its own config file but I could not create different validation.xml for each sub application. If I create also it takes only one validation.xml file into consideration. Thanks in advance. R

Re: forward

2005-03-15 Thread Hubert Rabago
You can create a new ActionForward object, copy the data from the original forward, and modify the path of the new object. A quick way would be to add the ActionRedirect class to your code and use that: http://svn.apache.org/viewcvs.cgi/struts/core/trunk/src/share/org/apache/struts/action/ActionRed

override a tile set by UrlController

2005-03-15 Thread Oleg
Hi, I have a page layout, lets say layout.jsp with: JSP page with The action dynamicallySelectTiles checks the database based on some logic and adds center tile to context. Now I have a problem overriding this using a jsp page, if I Do something like this in my JSP page: This does not