Accessing files from file server

2007-01-10 Thread Priya Khanna
Hi All, I am developing an application using struts and tomcat. In my application I want to provide the functionality of download and upload of files from server. But these files will not be on machine running tomcat. It will be on file server. First issue I am facing is that if I r

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread Jason King
grails, http://grails.codehaus.org might be a better choice as it links into several standard java projects (specifically spring and hibernate) w/o you having to learn them up front. Groovy might be a better conceptual fit if you're coming from a 4gl background as well. Ted Husted wrote: You m

Re: [S2] - autocompleter requires 'list' even if href is defined

2007-01-10 Thread Don Brown
It has now. Don On 1/10/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: We moved from xdoclet to annotation-based tld generation. In that process a bug was introduced on the autocompleter, here is a ticket with the patch https://issues.apache.org/struts/browse/WW-1611 It hasn't been applied ye

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread Ted Husted
You might want to give Ruby on Rails a look see. It isn't Java, or an ASF project, but it is open source, and a lot of Java developers have defected to RoR over the last couple of years. * http://www.rubyonrails.org/ And do invest an afternoon in setting up Subversion, even if you are working a

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Dariusz Wojtas
I believe this is what I expressed in the initial mail. The data is populated in the component, it creates 2 url params and they seem to be correct. But the value is obviously not passed to the action on submit. Maybe something is wrong with the interceptor? Or it's excludes? or ...? Why does it p

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Musachy Barroso
That's weird because if the value is being submitted, then the problem is not related to the tag, it should fail for a regular input also. musachy Dariusz Wojtas wrote: my svn client shows no file is changed (I dropped all changes, updated the code) mvn clean -Pextras,plugins,apps mvn -Dmave

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Dariusz Wojtas
my svn client shows no file is changed (I dropped all changes, updated the code) mvn clean -Pextras,plugins,apps mvn -Dmaven.test.skip=true -Pextras,plugins,apps then I dropped everything from $TOMCAT_HOME/work and webapps, copied the showcase war and started ... That is the procedure that I us

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Musachy Barroso
Actually that's the one I was talking about, the UI example. It is working for me. Do you have any local changes or anything? Can you make a clean checkout and try? regards musachy Dariusz Wojtas wrote: I updated my s2 sources from trunk, cleaned the previous builds and created a new one. Yes

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Dariusz Wojtas
I updated my s2 sources from trunk, cleaned the previous builds and created a new one. Yes, the sample works: struts2-showcase/tags/ui/datepicker/ but it is not backed by any form to submit it's data. But the issue can be reproduced here: /struts2-showcase/tags/ui/example!input.action I cho

Re: [S2] - autocompleter requires 'list' even if href is defined

2007-01-10 Thread Musachy Barroso
We moved from xdoclet to annotation-based tld generation. In that process a bug was introduced on the autocompleter, here is a ticket with the patch https://issues.apache.org/struts/browse/WW-1611 It hasn't been applied yet. musachy Dariusz Wojtas wrote: Hi, This is something recent as abo

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Dariusz Wojtas
My code has not changed - except for the tag name. Maybe something has changed in the interceptor area? How does a Date field get filled from the request? I will run the showcase and see how it behaves. Dariusz Wojtas On 1/10/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Hi Dariusz The tag n

[S2] - autocompleter requires 'list' even if href is defined

2007-01-10 Thread Dariusz Wojtas
Hi, This is something recent as about a week ago therew as no such problem. Now autocompleter complains if there is no 'list' param set for it. If I set it to some dummy value than it seems to work. I remember there was some issue about that a few days ago in JIRA but can't find it. I am running

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Musachy Barroso
Hi Dariusz The tag name changed, but nothing else (that I know of). The UI Tags example in showcase works. The date is in the action, not a nested object, but that shouldn't be a problem. musachy Dariusz Wojtas wrote: using nightly build from 09-Jan [http://people.apache.org/builds/struts/n

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread Phil_M
Leon: Leon Rosenberg-3 wrote: > > That being said, why don't you want to write some code by hands? :-) To tell the truth, that's why I'm looking into java based web solutions. I used to do quite a lot of hand coding, and my skills have eroded some since using the 4GL stuff recently. Needless

[S2] - datetimepicker not setting value

2007-01-10 Thread Dariusz Wojtas
using nightly build from 09-Jan [http://people.apache.org/builds/struts/nightlies/2.0.x/] + xwork 2.0.0 final Property 'date1' in bean 'dp' is of type java.util.Date. The widget itself is correctly loaded with value from the action property and it displays itself using format specified by di

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread Leon Rosenberg
Hello Phil, Personally I don't believe in perfect generated code (despite I have written my own web-app generator, which generates complete web-app architecture out of few xml files, but thats a different story since I know what it generates :-) ), but if you want to take this approach you may lo

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread Dale Newfield
Phil_M wrote: Since I'll be the only author until at least an alpha release is ready, I can defer CVS for the moment -- as you said, we need to avoid overrunning our brain's buffers. I would caution against this. The added difficulty of setting up a cvs or svn repository is minimal (add an ho

RE: Newbie Lost in the Apache Jungle

2007-01-10 Thread Bruno Melloni
Yes, I'd avoid portal for now, and if you can avoid it maybe even later. Portals have both advantages and disadvantages - and whether it makes sense for you would be a long discussion, better tackled a year or so from now (after some solid J2EE experience). bruno -Original Message- From:

Re: [OT] RE: That doesn't work ...

2007-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, For reference, your complete original message: > Also, in general, saying "this doesn't work" is not likely to generate > any responses, because you don't actually state the actual vs. desired > behavior. > > I don't call up tech support and s

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread Phil_M
Leon: Yeah, Rapid Applicatoin Development. Most of the database development I've been doing for the last few years has been 4GL type stuff where I design the UI and the toolset reverse engineers the underlying data model (with a lot of hints from the developer, of course). Then all I had to do

RE: Newbie Lost in the Apache Jungle

2007-01-10 Thread Phil_M
Bruno: Thanks for your excellent reply -- if I understand right, you're suggesting a java servlets based architecture (tomcat & underlying) for the application to provide the interactive user client, struts for the framework, and hibernate for DBE independence. Since I'll be the only author unti

[OT] Migrating S1 => S2

2007-01-10 Thread Dave Newton
I meant technically (relatively) trivial, not that it wouldn't be time-consuming. My bad. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Moving from struts-1 to struts-2 or spring mvc

2007-01-10 Thread Ted Husted
On 1/10/07, Ted Husted <[EMAIL PROTECTED]> wrote: * http://struts.apache.org/roadmap/#migrate_s1 Better yet: http://struts.apache.org/roadmap#migrate_s1 -T. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: Moving from struts-1 to struts-2 or spring mvc

2007-01-10 Thread Ted Husted
To be very clear, the Struts 1 plugin lets you run Struts 1 *Actions*, but doesn't do anything about the configuration, pages, and custom tags (where lies the dicey work). Moving from Struts 1 to Struts 2 is not difficult, but it's not trvial. I'm sure tools could be developed to automate the pr

RE: Moving from struts-1 to struts-2 or spring mvc

2007-01-10 Thread Zsolt Koppany
We want to migrate because it is just difficult to develop with struts1. I understand that it is also not great having two MVC-s in one web application but in long term I believe it is more reasonable to use a better MVC that struts1. We don't (cannot) do that in one step thus we need a solution

Re: Moving from struts-1 to struts-2 or spring mvc

2007-01-10 Thread Don Brown
On 1/10/07, Medhat M. Saleh <[EMAIL PROTECTED]> wrote: IMHO, major framework upgrades for existing application, in general is unworthy of the cost, headache, and the gotchas that they never tell you about. If there are new compelling business-value-producing features in the upgrade, more than lik

RE: Newbie Lost in the Apache Jungle

2007-01-10 Thread Bruno Melloni
You'll have to pick different tools for different needs, then put them together. Here are some ideas based on open source: - JDK 1.5 - An IDE. Netbeans and Eclipse are good. Eclipse usually requires picking and installing plug-ins, but nowadays there are distributions you can get, or you can us

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread Leon Rosenberg
are you talking about RAD a in Rapid application development (RAD) ? If yes, than it doesn't depend on the framework you use. It's the definition of development process, not on which framework you intend to run. regards Leon On 1/10/07, Phil_M <[EMAIL PROTECTED]> wrote: Nicolas: This is a co

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread Phil_M
Nicolas: This is a completely new application, so no reverse engineering is needed. Does Apache have a RAD product/project for developing web applications? Thanks Again, --Phil Struts si not a RAD framework. >From an existing database, you may look at Hibernate that can generate a persistent

Validation Annotation Single Method Problem (Again)

2007-01-10 Thread André Faria
If someone know or have an example of how to use @validation annotation to be applied only for a single method, not for all methods, of a class, give-me help or tip, please! @Validation public AccountAction { private Account account; //setter & getter @Validations(requiredFields = [E

RE: Moving from struts-1 to struts-2 or spring mvc

2007-01-10 Thread Medhat M. Saleh
IMHO, major framework upgrades for existing application, in general is unworthy of the cost, headache, and the gotchas that they never tell you about. If there are new compelling business-value-producing features in the upgrade, more than likely you have to redesign the application. That's another

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread nicolas de loof
Struts si not a RAD framework. From an existing database, you may look at Hibernate that can generate a persistent Model be reverse engeneering. Lot's of other frameworks use this feature of hibernate to generate quickly a CRUD application (appfuse, Seam, ...). 2007/1/10, Phil_M <[EMAIL PROT

FW: Moving from struts-1 to struts-2 or spring mvc

2007-01-10 Thread Asthana, Rahul
Struts-1 as in which version? Why do you want to migrate in the first place? -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 10:55 AM To: Struts Users Mailing List Subject: Moving from struts-1 to struts-2 or spring mvc Hi, we have a pr

Re: Moving from struts-1 to struts-2 or spring mvc

2007-01-10 Thread Tom Schneider
I don't think it's that trivial. For every struts 1 action, you have to configure an action entry in the struts.xml. (At least as far as I can tell based on the plugin documentation at http://cwiki.apache.org/S2PLUGINS/struts-1-plugin.html) Remember that struts 1 and struts 2 are completely dif

Newbie Lost in the Apache Jungle

2007-01-10 Thread Phil_M
Well okay, the Apache live in a desert, but that didn't sound as good for a subject line. I'm trying to figure out which Apache products to use to easily build a database application where the users would access the system via a web browser. From several hours of reading descriptions of various

RE: Moving from struts-1 to struts-2 or spring mvc

2007-01-10 Thread Dave Newton
> From: Zsolt Koppany [mailto:[EMAIL PROTECTED] > we have a pretty large code in struts-1. What is more complicated > moving to struts2 or spring mvc? Moving to Struts2 is trivial since there's a Struts1 plugin that will let you run it unchanged! :) Dave -

Moving from struts-1 to struts-2 or spring mvc

2007-01-10 Thread Zsolt Koppany
Hi, we have a pretty large code in struts-1. What is more complicated moving to struts2 or spring mvc? Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] RE: That doesn't work ...

2007-01-10 Thread Dave Newton
From: CHARLIER Cyril [mailto:[EMAIL PROTECTED] > [...] sorry with my poor information for my problem. No problem--just easier to answer if we know what's actually happening! :) Dave - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [OT] RE: That doesn't work ...

2007-01-10 Thread CHARLIER Cyril
Dave Newton a écrit : From: Christopher Schultz [mailto:[EMAIL PROTECTED] If you were interested in answering the question, you should have asked for more information. Instead, you called the OT an idiot. Actually, I suggested the poster to encapsulate the question and provide enough i

[OT] RE: That doesn't work ...

2007-01-10 Thread Dave Newton
From: Christopher Schultz [mailto:[EMAIL PROTECTED] > If you were interested in answering the question, you should have > asked for more information. Instead, you called the OT an idiot. Actually, I suggested the poster to encapsulate the question and provide enough information to allow people to

Re: That doesn't work ...

2007-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, First, let me say that Cyril should have posted this question to the appropriate newsgroup ("the [EMAIL PROTECTED] mailing list" according to the article) or directly to the author of the page in reference. This is not a netbeans support list, a

Re: Struts Dynamic Radio Button Query

2007-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Priya, Priya Khanna wrote: > My problem is that both the questions and the number of radio buttons > needs to be dynamic (based on what is currently in the database). I can > iterate through the questions and display them in the table but I am > unsur

Re: global auth. for application

2007-01-10 Thread Mikolaj Rydzewski
Aljosa Mohorovic wrote: i'm using struts 1.2.9 and maybe we will use container-managed authorization, but my question is also related to similar tasks like howto implement statistics. extending request processor will solve all current problems. Switch to 1.3.x. You won't have to extends request p

Re: global auth. for application

2007-01-10 Thread Aljosa Mohorovic
i'm using struts 1.2.9 and maybe we will use container-managed authorization, but my question is also related to similar tasks like howto implement statistics. extending request processor will solve all current problems. thanks to all for help. On 1/9/07, Christopher Schultz <[EMAIL PROTECTED]>

RE: Struts Dynamic Radio Button Query

2007-01-10 Thread Barun Kumar Yadav
Is your problem in retrieving the options from the DB or is it with displaying it on the JSP. _barun -Original Message- From: Priya Khanna [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 1:22 PM To: user@struts.apache.org Subject: Struts Dynamic Radio Button Query Hi Al

RE: Browser Back Button

2007-01-10 Thread Chetan Pandey
Hi Chris: > What browser are you using? Is your setup action being executed again, > or is the browser serving the page from the cache? If the browser is not > contacting the server, there's nothing you can do. I am using IE 7.0. Regarding contacting the server, something very weird is happening

[s2] [xwork?] [mildly OT] type conversion

2007-01-10 Thread Dave Newton
Off-hand does anybody know a) where the type conversion stuff lives and b) how irritating it would be (hopefully not irritating at all) to use it to fill non-Action beans with typed parameters from (somewhat) arbitrary sources? JavaDoc pointer is more than enough. Thanks, Dave -

RE: That doesn't work ...

2007-01-10 Thread Dave Newton
Also, in general, saying "this doesn't work" is not likely to generate any responses, because you don't actually state the actual vs. desired behavior. I don't call up tech support and say "My TV doesn't work." And wait for them to tell me why not. Well, actually, I did once, because I was angry

[S2] - select tag and supported data types.

2007-01-10 Thread Dariusz Wojtas
Hi, I am trying to gather some more info before I try to recreate the issue WW-1601 . What are the supported data types for * property that carries the actual data * beans inside collection/map/array that carry the displayable options Background: // the action class class MyAction .. { priv

Re: That doesn't work ...

2007-01-10 Thread CHARLIER Cyril
Sorry tht work now, there was <%-- and --%> around the import taglib !! :-D CHARLIER Cyril a écrit : Hi all, I have a problem with this "HOW TO" http://www.netbeans.org/kb/50/quickstart-webapps-struts.html I did all the have written but that doesn't work : this part doesn't work :

That doesn't work ...

2007-01-10 Thread CHARLIER Cyril
Hi all, I have a problem with this "HOW TO" http://www.netbeans.org/kb/50/quickstart-webapps-struts.html I did all the have written but that doesn't work : this part doesn't work :

RE: Struts Dynamic Radio Button Query

2007-01-10 Thread Anjishnu Bandyopadhyay
Hi Priya, You can use a for each Question row. For each question, you can have another inner for each answer radio button. <%-- Question comes here --%>