Change in Class ValidatorForm

2005-11-08 Thread starki78
Hi, for a filter we are serializing Form-Beans. Now I saw that the serialized output is extremely long with all Validation-Data that it do not needed. Because of that I used the transient modifier for the variable ValidatorResults: protected transient ValidatorResults validatorResults = null; I

Ich bin im Urlaub

2005-11-08 Thread bednarz
Sehr geehrte Damen und Herren, in der zeit vom 7. November 2005 bis 18. November 2005 bin ich im Urlaub. Bitte wenden Sie sich bei allen Fragen entweder direkt an [EMAIL PROTECTED] oder telefonisch an: 0511 / 93 62 28 22 Mit freundlichen Grüßen Andreas Bednarz

Re: java.util.Date in Action Form Bean

2005-11-08 Thread Hubert Rabago
This is exactly what FormDef does. It reads your existing bean and configures a form bean for it. Reuse. You can continue to use BeanUtils with the FormDef-configured beans as you would any other form bean, or you can also use FormDef's setFormValues()/getFormValues() and take advantage of its f

Re: (HELP) Struts - Oracle Database Connectivity Using DBCP connection Pooling

2005-11-08 Thread Kumar deepak
Hi Mohan, Following url will definetly solve your problem. http://www.roseindia.net/struts/strutsdatasourcemanagerontomcat5.shtml Regards Deepak Kumar "A.Mohan" <[EMAIL PROTECTED]> wrote: Hi, I want to connect Oracle thro DBCP - connection pooling by configuring the datasource in the WEB.

Re: java.util.Date in Action Form Bean

2005-11-08 Thread Murray Collingwood
Thank God I haven't ventured into Struts validation - what a waste of time if it only does String and boolean. mc On 8 Nov 2005 at 23:10, Hubert Rabago wrote: > I feel I have to explain something about Struts form beans. > > It is not recommended that you use fields other than String and > bo

Re: (HELP) Struts - Oracle Database Connectivity Using DBCP connection Pooling

2005-11-08 Thread Yujun Liang
You also need configure server.xml, please check out Tomcat document for the configuration and call Data Source using JNDI from Struts. Good luck. On 11/9/05, A.Mohan <[EMAIL PROTECTED]> wrote: > > Hi, > I want to connect Oracle thro DBCP - connection pooling by > configuring the datasource in th

Re: (HELP) Struts - Oracle Database Connectivity Using DBCP connection Pooling

2005-11-08 Thread Murray Collingwood
Show us what you have so far and then we can help. Kind regards mc On 8 Nov 2005 at 20:49, A.Mohan wrote: > Hi, >I want to connect Oracle thro DBCP - connection pooling by > configuring the datasource in the WEB.XML file , > Im using Apache tomcat Server > > > How can i acheive that -

Re: java.util.Date in Action Form Bean

2005-11-08 Thread Yujun Liang
Hubert, You made a very good point. Thanks for your patient explanation, that's exactly the problem I am facing, all int fields are initialized to 0. Probably even I want to use this feature, I need design a DTO for the form, and put all String or boolean values as properties. At beginning I just

Re: java.util.Date in Action Form Bean

2005-11-08 Thread Hubert Rabago
On 11/8/05, Yujun Liang <[EMAIL PROTECTED]> wrote: > in Struts, you can define > >type="com.clear2pay.bph.bean.Instruction"/> > > > and you can just call, > > bean = ((DynaActionForm) form).get(pageName); > in this case pageName = "instruction"; > > and Struts automatically populate a > com.c

(HELP) Struts - Oracle Database Connectivity Using DBCP connection Pooling

2005-11-08 Thread A.Mohan
Hi, I want to connect Oracle thro DBCP - connection pooling by configuring the datasource in the WEB.XML file , Im using Apache tomcat Server How can i acheive that - help me out , I want the following information 1. Configuration in web.xml file i.e the entries 2. Code in action class

Re: [HELP] the problem with I18n

2005-11-08 Thread Pham Anh Tuan
Thank you Laurie Harper, my problem is solved :) - Original Message - From: "Laurie Harper" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 09, 2005 10:09 AM Subject: Re: [HELP] the problem with I18n Two things: 1) properties files should not be saved as UTF-8. Java requires them

Random tag exception

2005-11-08 Thread srikavi96-tags
Hi All, We have this random tag library exception in our production applications. Not sure if this is related to struts or not. Pardon me if this is off topic. Here are some sample exceptions we get occassionally. Exceptions are not just related to struts tags only, we do get erro

Re: MessageResources.properties escape character

2005-11-08 Thread Yujun Liang
To display test=hello "world" !!! you just config the.key=test=hello "world" !!! to display hello "world" !!! you just config the.key=hello "world" !!! I solved it by an experiment. :) Regards On 11/9/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > > Mario Neè wrote: > > How can i display

RE: Validation seemingly not getting called any longer

2005-11-08 Thread David G. Friedman
Preston, It is great to hear you've identified your problem. I'd just been looking over my examples and couldn't find anything out of place with the code/xml/config samples you'd included. Now, about your multiple module problems, I tried to find an old link to the (wiki?/faq?) page listing thin

Re: java.util.Date in Action Form Bean

2005-11-08 Thread Yujun Liang
Hubert, I checked formDef and but I found out it is not what I want, here is the reason, in Struts, you can define and you can just call, bean = ((DynaActionForm) form).get(pageName); in this case pageName = "instruction"; and Struts automatically populate a com.clear2pay.bph.bean.Instructio

Tiles without Struts

2005-11-08 Thread Paul Benedict
I have gone to this link: http://struts.apache.org/struts-tiles/installation.html I am looking for those 3 WAR files listed but I can't find them. The link in this paragraph is broken so I can't get to the distribution: "First, download a binary distribution of Tiles by following the instruction

Re: How to clear DynaActionForm?

2005-11-08 Thread Hubert Rabago
You can set the form's scope to "request". This way, the values don't survive from one request to the next. Hubert On 11/8/05, pc leung <[EMAIL PROTECTED]> wrote: > even the following cannot clear fields in > type="org.apache.struts.validator.DynaValidatorForm" > > > >

Re: [HELP] the problem with I18n

2005-11-08 Thread Laurie Harper
Two things: 1) properties files should not be saved as UTF-8. Java requires them to be in ASCII with Unicode escapes. You can use the native2ascii utility to convert your UTF-8 files to the correct format. 2) your JSP page needs to set the content-type to correctly identify the encoding: <

Re: MessageResources.properties escape character

2005-11-08 Thread Laurie Harper
Mario Neè wrote: How can i display this label with an escape character ? test=hello "world" !!! What do you mean 'with an escape character'? Are you trying to use the resource string in a context where it is quoted? If so, try surrounding it with single quotes instead of double quotes. L.

Re: Conditional validation

2005-11-08 Thread Laurie Harper
Jay Burgess wrote: I have a form field on my JSP that's being conditionally displayed based on the status of servlet context attribute: I'm using the Struts validator to validate this field: ... Obviously, I only want the client-side Javascript validations to fire if the field is pre

[HELP] the problem with I18n

2005-11-08 Thread Pham Anh Tuan
 hi all,   I got a problem with I18n, the browser couldn't automatically turn UTF-8 encoding on when jsp page is showed, so, the content is showed incorrectly :( ... If I want the content to show correctly, I must change the encoding setting of the browser to UFT-8, I tested on IE, Firefox, t

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
Solved it. Weird. I rolled back to an old version to try to figure out what was different. And the 1 thing that was different is that I'd created a second struts config and second validation. So my web.xml turned into this.. ourproject org.apache.struts.action.ActionServlet

Re: About cookies

2005-11-08 Thread Laurie Harper
Dave wrote: We're re-building a web site. No guarantees that the site will have the same name as the old. So from my understanding of the cookie process this means a new cookie. (Near as I can tell a cookie file is: @[#].txt) However, to make life easier for our customers I'm wondering if the

Re: How to clear DynaActionForm?

2005-11-08 Thread Laurie Harper
The default implementation of reset() doesn't actually reset any properties. If you need it to do so, you'll have to subclass DynaValidatorForm and override the reset() method. Althernatively, you can clear a dyna form by clearing the Map object it contains: form.getMap().clear(). HTH, L.

Re: struts-validator.tld question

2005-11-08 Thread Laurie Harper
Jim Reynolds wrote: I want to try and use some client-side validation on a project. I have used the server-side quite a bit in the past. Anyway, I found an example of how this would work, and the first thing it shows is a taglib include like so: '<[EMAIL PROTECTED] uri="/tags/struts-validator" p

Re: I am getting frustrated with LookupDispatchAction

2005-11-08 Thread Michael Jouravlev
On 10/19/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > Michael Jouravlev on 19/10/05 00:44, wrote: > > On 10/18/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > >>Secondly, getKeyMethodMap() looks really clunky - is there no way this > >>can be pushed into the struts-config.xml? > > > > > > It can be done

Re: Validation Question how to echo back users input in error message?

2005-11-08 Thread Niall Pemberton
Not from the request - from the form bean (or indexed Bean) - in this example lineNumber needs to be a property of the indexed bean. Niall - Original Message - From: "Michael Jouravlev" <[EMAIL PROTECTED]> Sent: Wednesday, November 09, 2005 12:47 AM On 11/8/05, Niall Pemberton <[EMAIL

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
Thanks for the help everyone. David, As far as the issue of timing, users, etc. this is a site in development. So about 4 developers are working continuously on the site and so it's definitely something that happened as a result of a change by another developer, but I can't put my finger on what

Re: Validation Question how to echo back users input in error message?

2005-11-08 Thread Michael Jouravlev
On 11/8/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > The short answer is that there isn't a way to echo back user input in the > error message. ... > There are two places that I know of, where this kind of functionality has > been provided. The first is in the "extends validator" I wrote (see t

RE: Validation seemingly not getting called any longer

2005-11-08 Thread David G. Friedman
Preston, 1. Did the problem occur after a web application server (Jetty, Tomcat, JBoss, etc.) shutdown/startup cycle or while the application was running uninterrupted? 2. Have you changed ANY jar files in the webapp or any class files? Anything which could have caused a spontaneous webapp reload

Re: Lists within lists issue

2005-11-08 Thread Michael Jouravlev
On 11/8/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Paul Benedict wrote the following on 11/7/2005 7:38 PM: > > > You are much better off using JSTL so you can write something like: > > > > Actually the above is not what you probably want at all. The above is > not going to write out the name of

Re: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
It's not configured in Validation.xml. The form is mask ^[0-9a-zA-Z]*$ I did turn up debugging on log4j.logger

Re: using a lookupDispatchAction to implement a WIZARD Form

2005-11-08 Thread Michael Jouravlev
On 11/8/05, arnaud gonzales <[EMAIL PROTECTED]> wrote: > Hello > I try to use a lookupDispatchAction to implement a WIZARD FORM as it is > wrote in the Struts cookbook and there is some things i still don't > understand: > Context: > name="CreateAccesForm" > scope="session" > validate="false" > ty

Re: Validation seemingly not getting called any longer

2005-11-08 Thread Wendy Smoak
On 11/8/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > I have that. Either way the bottom line for me is it flys past > validation, message or no message. So I need to figure out why that is > happening. What _type_ of Action is LoginSubmitAction and How is it configured in validation.xml? Wha

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
Yeah, that's there. Like I said, it was working earlier. Not sure why it's not now. Preston >>> [EMAIL PROTECTED] 11/8/2005 2:41 PM >>> Do you have the commons-validator jar in your WEB-INF/lib directory of your web application? Might be other jars you need to but I know you need this one for su

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Garner, Shawn
Do you have the commons-validator jar in your WEB-INF/lib directory of your web application? Might be other jars you need to but I know you need this one for sure. Shawn D. Garner -Original Message- From: Garner, Shawn Sent: Tuesday, November 08, 2005 4:23 PM To: 'Struts Users Mailing

Re: [OT] How do we answer, How heavy the application is?

2005-11-08 Thread Michael Jouravlev
On 11/8/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Ashish Kulkarni wrote: > > >Now there is another person who wants to host this > >application and he wants to know "How much heavy the > >application is" So how do i answer him, > > > "Eleven." 42. All boils down to the equipment. Does gasoline

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Garner, Shawn
I think you might need the following in your jsp page: Shawn D. Garner -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 12:39 PM To: Struts Users Mailing List Subject: Re: Validation seemingly not getting called any longer yes validation.

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
I have that. Either way the bottom line for me is it flys past validation, message or no message. So I need to figure out why that is happening. Preston >>> [EMAIL PROTECTED] 11/8/2005 1:56 PM >>> I think you also need a tag in the jsp page using it. -Original Message- From: Martin Gaint

Re: Lists within lists issue

2005-11-08 Thread Rick Reumann
Paul Benedict wrote the following on 11/7/2005 7:38 PM: You are much better off using JSTL so you can write something like: Actually the above is not what you probably want at all. The above is not going to write out the name of the property correctly. You probably mean something like...

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Garner, Shawn
I think you also need a tag in the jsp page using it. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 12:39 PM To: Struts Users Mailing List Subject: Re: Validation seemingly not getting called any longer yes validation.xml and validator-

repeat previous action from the other one

2005-11-08 Thread Grzegorz Stasica
hi, My problem could be strange but let me describe it. I've a application where data for every page is customized to some filter. For example there is page showing records from database. The data are limited to currently selected user (user object stored in session). Hence there are many pages wh

Re: [OT] How do we answer, How heavy the application is?

2005-11-08 Thread Murray Collingwood
I think there are a couple of metrics involved here. 1. Traffic as mentioned by Dave. Is it all text or are there large images / flash / pdfs etc? Try and estimate the typical size of a page (including images etc) and then estimate the number of pages served per minute in a typical session (

Re: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
Nothing that I can see. What could I log to find out what's going on? It basically just doesn't get called. Preston >>> [EMAIL PROTECTED] 11/8/2005 10:52 AM >>> Preston CRAWFORD wrote: >We have a simple login form. By the book. For some reason all of a >sudden the validation in validation.xml is

Re:

2005-11-08 Thread Michael Jouravlev
On 11/8/05, N G <[EMAIL PROTECTED]> wrote: > Hi, > I looked at the implementation that Struts has for the tag > and was wondering the following... Why isn't just something like this good > enough: > String url = "/" + request.getContextPath(); > Thanks, > NG http://wiki.apache.org/struts/Strut

Re: Validation Question how to echo back users input in error message?

2005-11-08 Thread Niall Pemberton
The short answer is that there isn't a way to echo back user input in the error message. Most of the time I don't think its necessary to do so anyway - since if you're re-displaying/highlighting errors then what is the need. The one time I scenario I wanted to do something like that, was when I had

using a lookupDispatchAction to implement a WIZARD Form

2005-11-08 Thread arnaud gonzales
Hello I try to use a lookupDispatchAction to implement a WIZARD FORM as it is wrote in the Struts cookbook and there is some things i still don't understand: Context: I have a List of DTO in my ActionForm ("CreateAccesForm") and others simple properties; i do some business in an action(Proce

Re: [OT] How do we answer, How heavy the application is?

2005-11-08 Thread Dave Newton
Ashish Kulkarni wrote: Now there is another person who wants to host this application and he wants to know "How much heavy the application is" So how do i answer him, "Eleven." Personally, I'd leave it at that, but some people want more. I'd ask him what he really wants to know; is he inter

[OT] How do we answer, How heavy the application is?

2005-11-08 Thread Ashish Kulkarni
Hi I have developed a web application using struts, it has about 50 action class, about 30 servlets for applet servlet communication and about 90 jsp. Now there is another person who wants to host this application and he wants to know "How much heavy the application is" So how do i answer him, is t

user@struts.apache.org

2005-11-08 Thread N G
Hi, I looked at the implementation that Struts has for the tag and was wondering the following... Why isn't just something like this good enough: String url = "/" + request.getContextPath(); Thanks, NG

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
I have that. And my action looks like this... Preston >>> [EMAIL PROTECTED] 11/8/2005 10:08 AM >>> I think you need something in the struts config file telling it to use the validation plugin. Try that line of investigation. Not sur

Re: Validator 1.2.0 RC3 now available for review

2005-11-08 Thread Michael Jouravlev
On 11/2/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > Release Candidate 3 of Validator 1.2.0 is now available for download at: > http://people.apache.org/~niallp/commons-validator/1.2.0-rc3/ > > A summary of whats new in Validator 1.2.0 is available on the Wiki: > http://wiki.apache.org/

Re: Lists within lists issue

2005-11-08 Thread Dave Newton
Paul Benedict wrote: You are much better off using JSTL so you can write something like: Once you go JSTL, you never go back :-) Which makes the object tags obsolete. This, of course, isn't JSTL, but JSP 2.0. Dave -

Re: Validation seemingly not getting called any longer

2005-11-08 Thread Dave Newton
Preston CRAWFORD wrote: We have a simple login form. By the book. For some reason all of a sudden the validation in validation.xml is no longer getting called. We have validate set to true in the action. Everything is still named the same. Any idea why this would have changed or where to start l

Re: Validation seemingly not getting called any longer

2005-11-08 Thread Martin Gainty
yes validation.xml and validator-rules.xml are both configured as properties via plug-in in struts-config.xml http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html HTH, Martin- - Original Message - From: "Garner, Shawn" <[EMAIL PROTECTED]> To: "'Struts Users Mailing Li

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Garner, Shawn
I think you need something in the struts config file telling it to use the validation plugin. Try that line of investigation. Not sure off the top of my head. Shawn D. Garner -Original Message- From: Preston CRAWFORD [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 11:39 AM To:

RE: [ot] utility to verify if an Object implements all methods from Interface?

2005-11-08 Thread Mick Knutson
No, I am using the BeanUtils.copyProperties(target, orig); -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 12:57 PM To: Struts Users Mailing List Subject: Re: [ot] utility to verify if an Object implements all methods from Interface? Mick

Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
We have a simple login form. By the book. For some reason all of a sudden the validation in validation.xml is no longer getting called. We have validate set to true in the action. Everything is still named the same. Any idea why this would have changed or where to start looking? Preston -

Re: OT: Best AJAX framework

2005-11-08 Thread Joe Germuska
At 4:43 PM +0100 11/8/05, Nicolas De Loof wrote: I'm using DWR on my webapp for navigation in a table, using a "Page 1 2 3 ..." footer. DWR makes it realy simple based on a List put into user session. Browser can get requested elements from list and DWR comes with utils to upgrade the table co

SwitchAction get Affected by forwardPattern

2005-11-08 Thread alec lee
I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&page=/synForm.do" contextRelative="false"

Re: Using Struts-Dialogs for multi row update

2005-11-08 Thread Michael Jouravlev
> Cheers, > > Danny Um... Struts Dialogs does not deal with persistence (at least yet). It can simplify your CRUD (Create, Update, Delete) operations, that is, to display the list of products and to have Create/View/Edit/Delete links or buttons for each product. Please take a look at these links,

Re: [Help] how to erase jsessionid in URL

2005-11-08 Thread Michael Jouravlev
On 11/7/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote: > jsession is appended all time, it's not only at the first request! :( Make sure that browser accepts cookies from that host. Try a different browser for a change, default settings usually allow to accept cookies. Michael. ---

Re: frame

2005-11-08 Thread Frank W. Zammetti
I'm not 100% sure I understand the question, but what I *think* your asking is how can you break out of a frameset in Struts without using Javascript, is that right? If that's the case, you can have a link like so: Alternatively, you can use the action attribute instead of href and name an Acti

Re: OT: Best AJAX framework

2005-11-08 Thread Nicolas De Loof
I'm using DWR on my webapp for navigation in a table, using a "Page 1 2 3 ..." footer. DWR makes it realy simple based on a List put into user session. Browser can get requested elements from list and DWR comes with utils to upgrade the table contain. Faisal Mahmoud a écrit : Check out htt

Re: OT: Best AJAX framework

2005-11-08 Thread Faisal Mahmoud
Check out http://www.backbase.com for an Ajax framework. On 11/8/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Far be it from me to push my own creation... > > http://javawebparts.sourceforge.net > > Go into the javadocs and look at the javawebparts.taglib.ajaxtags package. > This isn't the

Using Struts-Dialogs for multi row update

2005-11-08 Thread Danny Lee
Hi guys, hi Michael I have to implement a typical web-store feature showing and updating product count in the shopping basket. Something like: [ 1] x Centrino 1.5 CPU [ 3] x Athlon XP 2000 CPU [ 2] x ACME Cooler ... (Submit) Each shopping cart line is represented by a POJO and I have some p

Re: [shale] Advantages of Shale over JSF alone

2005-11-08 Thread gramani
Greg Reddin <[EMAIL PROTECTED]> wrote on 11/08/2005 10:19:17 AM: > > On Nov 8, 2005, at 9:00 AM, Garner, Shawn wrote: > > > I don't immediately see the benefits to using Shale over JSF alone. > > I'm sort of a JSF newbie and I've had a hard time seeing the > advantages as well. But I think th

Re: OT: Best AJAX framework

2005-11-08 Thread Frank W. Zammetti
Far be it from me to push my own creation... http://javawebparts.sourceforge.net Go into the javadocs and look at the javawebparts.taglib.ajaxtags package. This isn't the AjaxTags you may have heard of lately, they are two separate projects that just happen to have the same name. I think it's r

AW: [shale] Advantages of Shale over JSF alone

2005-11-08 Thread Bernhard Slominski
> > I read the features the details there but being new to JSF > too they just kind of blend in with JSF features. > > Shawn D. Garner > I think before looking at Shale closer start to work with JSF standalone, you will only see the benfeits of Shale if you know (the shortcomings) of JSF. E.g

MessageResources.properties escape character

2005-11-08 Thread Mario Neè
How can i display this label with an escape character ? test=hello "world" !!! -- Mario Nee' Brescia Italy [EMAIL PROTECTED] http://www.xmoon.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

RE: OT: Best AJAX framework

2005-11-08 Thread Mark Benussi
I havent heard of one. Its only Javascript at the end of the day! Here are some methods I have in an ajax.js and some example code to invoke the code. ajax.js /** * Returns an XMLHttpRequest object based on the client platform */ function getXMLHttpRequest() { var newRequest = null;

Re: error in adding parameter in mapping

2005-11-08 Thread Frank W. Zammetti
Alternatively, if you want to avoid constructing the query string manually, you can use the ActionRedirect class (as of 1.2.7 I believe). This has an addParameter() method specifically for this. Typically, you would pass an existing ActionForward instance to ActionRedirects' constuctor to copy it

OT: Best AJAX framework

2005-11-08 Thread David Gagnon
Hi all, Sorry for the OT guys. I'm looking for a good AJAX framework. I haven't found one under apache.org. Is there one? If not is there one who is more popular/cool/good that other? Thansk for your help!! Best Regard /David

Re: [shale] Advantages of Shale over JSF alone

2005-11-08 Thread Greg Reddin
On Nov 8, 2005, at 9:00 AM, Garner, Shawn wrote: I don't immediately see the benefits to using Shale over JSF alone. I'm sort of a JSF newbie and I've had a hard time seeing the advantages as well. But I think the light is beginning to flicker just a bit. One very clear advantage I note

RE: [shale] Advantages of Shale over JSF alone

2005-11-08 Thread Garner, Shawn
>> You can do some pre-view init based on the path, which JSF alone won't let you do. Can you explain this advantage a little further? >> You can have dialogs/wizards/step-based forms, which JSF alone won't let you do. I see the advantage of this. I read the features the details there but being

Re: AW: [Help] how to erase jsessionid in URL

2005-11-08 Thread Frank W. Zammetti
Thanks Bernhard! See, my assumption was wrong :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, November 8, 2005 4:41 am, Bernhard Slominski said: > I saw this question in the T

Re: [shale][clay] CSS style classes on substituted elements

2005-11-08 Thread Gary VanMatre
>Sorry, I didn't do a very good job of explaining. I was trying to describe >the recursiveness of the XML >where symbols defined in a outer scope are passed on to nested components but >nested components can override. > > > > > > > > > > > > > >

RE: [shale] Advantages of Shale over JSF alone

2005-11-08 Thread David G. Friedman
Let's see: You can do some pre-view init based on the path, which JSF alone won't let you do. You can have dialogs/wizards/step-based forms, which JSF alone won't let you do. You can use a different view technology which allows you to skip JSP and use HTML templates directly (or use it in concer

[shale] Advantages of Shale over JSF alone

2005-11-08 Thread Garner, Shawn
I don't immediately see the benefits to using Shale over JSF alone. I've seen the shale features on Apache's website but they aren't exactly meaningful to me. I've recently read up on JSF and find it looks like it is very nice to use/learn. Can somebody give me some advantages of using sh

Re: error in adding parameter in mapping

2005-11-08 Thread Borislav Sabev
Deepa Khetan wrote: Hi, I am trying to add a parameter at runtime in ActionMapping of my Action Class. I am using mapping.setParameter() for this. It gives an IllegalStateException saying Configuration file is frozen. Is there a way in which i can add a parameter at runtime?? Regards, Deepa

Re: How to clear DynaActionForm?

2005-11-08 Thread pc leung
even the following cannot clear fields in DynaActionForm userProfileForm = (DynaActionForm)form; ... userProfileForm.set("chiName", ""); userProfileForm.set("engName", ""); return mapping.findForward("success"); How can the form's fields be clear

validating a list using struts validator

2005-11-08 Thread Kanuri, Chand
hi all, i am having a list of users in my actionform in which each user is a bean with 3 properties. how can i validate the list? the constructor of my form looks like this: private List users = new ArrayList(5); public UserForm() { super(); for (in

AW: Shale timeline

2005-11-08 Thread Bernhard Slominski
Thanks, Ted that's really good! I quote that when someone asks me. I forward that to my boss too :-) Bernhard > -Ursprüngliche Nachricht- > Von: Ted Husted [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 8. November 2005 12:08 > An: Struts Users Mailing List > Betreff: Re: Shale timeline

Passing an array of fields to ActionForm

2005-11-08 Thread Ulrich Elsner
Hi, Well, lets see: The first step is to display a fixed number of text fields that the user can set. Say I want to have several fields "from" and "to". So, I create a bean with public class ZuordData { private String to; private String from; /* Constructors, getters setters etc */ } The

Re: spawning a new window for print?

2005-11-08 Thread Martin Gainty
Chad- Have you looked at activetree which has Preview capability? http://www.activetree.com/ M- - Original Message - From: "Chad Armstrong" <[EMAIL PROTECTED]> To: Sent: Monday, November 07, 2005 5:44 PM Subject: spawning a new window for print? Hi all, I'm pretty new to Struts (and

Re: Shale timeline

2005-11-08 Thread Ted Husted
On 11/4/05, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > There is a very good write-up somewhere on the Apache site about how > releases work, can't find it now, sorry. * http://struts.apache.org/helping.html#release -T. - To unsu

[ANNOUNCE] Struts 1.2.8 Test Build Available

2005-11-08 Thread Niall Pemberton
The Struts 1.2.8 Test Build is now available here: http://cvs.apache.org/dist/struts/v1.2.8/ Please see the release notes for details of changes in this version: http://people.apache.org/~niallp/struts/userGuide/release-notes.html Once feedback has been collected on the stability and quality of

Struts validator Nested properties problem!!!

2005-11-08 Thread Kanuri, Chand
Hi all, i have an action form called UserForm in which i instantiated a bean called UserBean. there are 5 users in total.so i instantiated UserBean 5 times in my action form(using an arraylist). UserBean has the following properties: name,sex,postcode hence there are 5*3=15 properties in total. h

error in adding parameter in mapping

2005-11-08 Thread Deepa Khetan
Hi, I am trying to add a parameter at runtime in ActionMapping of my Action Class. I am using mapping.setParameter() for this. It gives an IllegalStateException saying Configuration file is frozen. Is there a way in which i can add a parameter at runtime?? Regards, Deepa

AW: [Help] how to erase jsessionid in URL

2005-11-08 Thread Bernhard Slominski
I saw this question in the Tomcat mailing list every once in a while. The control of the session tracking machanism can't be controlled right now by the configuration. The spec should be changed to allow the user (in this case the "deployer") to control the mechanism of session tracking. If I don't

R: frame

2005-11-08 Thread Diaconu Eduard
To me it interests to go out of the frame nell certain condition. I know only it when I arrive in action -Messaggio originale- Da: Dixa M [mailto:[EMAIL PROTECTED] Inviato: martedì 8 novembre 2005 10.16 A: Struts Users Mailing List Oggetto: Re: frame I cant exactly tell how toimpleme

Re: frame

2005-11-08 Thread Murray Collingwood
The action is your href, so: parent.test.location.href = "/MyAction.do" You may need to use html:rewrite to create the correct anchor depending on the context. Cheers mc On 8 Nov 2005 at 9:39, Diaconu Eduard wrote: > with javascript to go out of a frame "test" you do > > parent.test.loc

Re: frame

2005-11-08 Thread Dixa M
I cant exactly tell how toimplement in struts but. u can use a simple form having a 'target' as your desired frame. that means when the form is submited your result will be focused in the frame specified in form's target.This can be done with Struts html:form too. Hope this will help you, Be

Re: Changing language (locale) with a button

2005-11-08 Thread Thomas Hamacher
Michael, thank you very much for your fast response. You're idea sounds really interesting and might be a really good solution. May I ask you a few more questions: Concerning 1.: Where exactly should I check for the GET or the POST-Request. Would you recommend to check for the GET/POST-Method

frame

2005-11-08 Thread Diaconu Eduard
with javascript to go out of a frame "test" you do parent.test.location.href = "test.jsp" How does it do him in struts? without javascript if and possibility. Interest me if I arrive within in an action and I want to go out of the frame how do I do? thanks Tedy --

frame

2005-11-08 Thread Diaconu Eduard
with javascript to go out of a frame "test" you do parent.test.location.href = "test.jsp" How does it do him in struts? without javascript if and possibility. Interest me if I arrive within in an action and I want to go out of the frame how do I do? thanks Tedy --