Re: [S2] Struts 2 GA Release Anytime Soon?

2006-12-21 Thread Craig McClanahan
On 12/21/06, Nagraj Rao <[EMAIL PROTECTED]> wrote: Hi Ted Are there any AJAX Tags related issues in S2.0.1?? I'm currently migrating my project to 2.0.1, so in case there are any issues i'll start backing off. I got certain postings which were discussing DOJO issues in it to which i'm not much

Re: [S2] Struts 2 GA Release Anytime Soon?

2006-12-21 Thread Nagraj Rao
Hi Ted Are there any AJAX Tags related issues in S2.0.1?? I'm currently migrating my project to 2.0.1, so in case there are any issues i'll start backing off. I got certain postings which were discussing DOJO issues in it to which i'm not much concerned right now. Overall i dont see any major

[S2]Where is the component interceptor ?

2006-12-21 Thread WongTseng
In webwork,there is a component interceptor which injects components to your actions. But there is no such interceptor in the Struts2 beta release. I wonder whether this interceptor is replaced by something else, or it will be provided in the GA release. -- Wong Tseng 王曾

Re: Accessing Application Resources file

2006-12-21 Thread Nuwan Chandrasoma
Hi, In your action class you can get the resources by using getResources() method eg:- getResources(request).getMessage("name"); Thanks, Nuwan. - Original Message - From: "chamal desilva" <[EMAIL PROTECTED]> To: Sent: Friday, December 22, 2006 4:13 AM Subject: Accessing Applic

Accessing Application Resources file

2006-12-21 Thread chamal desilva
Hi, I want to retireve a message from application resources file. This is my code.. resources =(MessageResources)pageContext.getRequest().getAttribute( Action.MESSAGES_KEY ); format = (String) resources.getMessage("display.currency" ); This works fine. But only issue is that Action.MESSAGES_K

I think I want to convert to S2 !

2006-12-21 Thread Rick Schumeyer
I may regret this, but I think I'm reaching the point with S1 where I'm really tempted to give S2 a serious try. My biggest concern is the current state of documentation. There are, as far as I know, no S2 books yet. I am aware of the webworks book but earlier comments make me think that boo

Re: S1.3.5: ActionForm with Date

2006-12-21 Thread Martin Gainty
Hi Rick- The 1.x alternative is to setup a validator (with a valid datetime pattern in validation.xml) as in datePattern MM/dd/ ken sipe has a link here http://64.233.161.104/search?q=cache:Z8HZgjeiSzoJ:bdn1.borland.com/borcon2005files/33218/33218

Re: S1.3.5: ActionForm with Date

2006-12-21 Thread Rick Schumeyer
I just looked at it. The head node of the docs says "struts 2" so my impression is that datepicker only works for S2? Martin Gainty wrote: Hi Rick Have you looked in DatePicker? http://www.twdata.org/backups/WW/datepicker.html Thx, Martin --

Re: logic:messagesPresent ???

2006-12-21 Thread Niall Pemberton
On 12/21/06, A. Lotfi <[EMAIL PROTECTED]> wrote: Hi, I am still confused about messagesPresent , I don't know why we use it , for example I found this example : You use it to render something if errors/messages are present. Look at the second example here: http://www.niallp.pwp.blueyonder.co.

Version Question Pre 2.0

2006-12-21 Thread Jim Reynolds
Are there major differences between 1.24 and 1.29? I am having lots of validation problems, and problems with the SSLExt in the 1.29 when I am trying to migrate. I read the docs, but do not see any major changes that would cause this? Thanks

logic:messagesPresent ???

2006-12-21 Thread A. Lotfi
Hi, I am still confused about messagesPresent , I don't know why we use it , for example I found this example : errValue = true; I will appreciate if someone please can explain it to me. thanks

Re: S1.3.5: ActionForm with Date

2006-12-21 Thread Martin Gainty
Hi Rick Have you looked in DatePicker? http://www.twdata.org/backups/WW/datepicker.html Thx, Martin -- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is

Re: [S2] Struts 2 GA Release Anytime Soon?

2006-12-21 Thread Ted Husted
On 12/21/06, Elie Ciment <[EMAIL PROTECTED]> wrote: The beta tag doesn't sit so well with them up there. Yes, this is why we release the codebase and then decide on its quality. We can make the judgement on actual experience, ratther than guestimates. Unless we go back and re-release the XWork

Re: [S2] Struts 2 GA Release Anytime Soon?

2006-12-21 Thread Elie Ciment
Ted, Thanks for the (albeit not so promising) update. Much appreciated. I would jump right into this 2.0.1 release, but the problem is with management. The beta tag doesn't sit so well with them up there. Maybe they don't know about this whole Web 2.0 thing... Thanks, again! On 12/21/06, Ted Hu

Re: [S2] Struts 2 GA Release Anytime Soon?

2006-12-21 Thread Ted Husted
At this point, there's no way to tell. There were several changes made after Struts 2.0.2 that broke several Showcase examples, and therefore the underlying functionality. Most of those are fixed now, but there are new API issues with the Ajasx tags now, and we are trying tod decide whether to spi

Re: How to use IoC in struts2?

2006-12-21 Thread Don Brown
Yes, and honestly, I'd like to keep it that way. User applications shouldn't be using the internal XWork Guice container as their application IoC container. We make no guarantees we won't completely change how it works from version to version. Don On 12/21/06, Musachy Barroso <[EMAIL PROTECTED

S1.3.5: ActionForm with Date

2006-12-21 Thread Rick Schumeyer
I hope someone can show me a better way of doing this. I have an input page in which the user enters a date. Of course, the user really enters strings for month, day, and year. My ActionForm has string fields dateOfBirthYear, dateOfBirthMonth, and DateOfBirthDay. It is my understanding tha

Re: How to use IoC in struts2?

2006-12-21 Thread Musachy Barroso
I forgot to mention that Guice (http://code.google.com/p/google-guice/) is used on Struts 2, but I can't find any documentation, except the javadocs. regards musachy Nuwan Chandrasoma wrote: Hi Peder, As for my knowledge Spring 2 support this scoped variables, but i dont have an idea of how

Re: Display a list of items in multiples HTML files but within one JSP and action

2006-12-21 Thread Dariusz Wojtas
No answer so far, then maybe I will help. The described solution was found long time ago somewhere in the net, I have also used it in some projects with success. I use the displaytag library, which does excellent job in displaying paged tabular data. It has some annoyances and sometimes I think i

Re: How to use IoC in struts2?

2006-12-21 Thread Musachy Barroso
Here is a tutorial on how to use Webwork(works the same on Struts 2) with Spring: http://www.opensymphony.com/webwork/wikidocs/Spring.html just set: in your struts.xml instead of "webwork.objectFactory ". regards musachy Nuwan Chandrasoma wrote: Hi Peder, As for my knowledge Spring 2 sup

Re: How to use IoC in struts2?

2006-12-21 Thread Nuwan Chandrasoma
Hi Peder, Read this blog entry by ted, it was really helpful for me.. http://jroller.com/page/TedHusted?entry=struts_2_spring_love_fest and also to get the bean scopes using spring 2 read the below link.. http://static.springframework.org/spring/docs/2.0.x/reference/beans.html#beans-factory-sc

Re: How to use IoC in struts2?

2006-12-21 Thread Nuwan Chandrasoma
Hi Peder, As for my knowledge Spring 2 support this scoped variables, but i dont have an idea of how to use it with struts2 Regards, Nuwan - Original Message - From: "Peder Larsen" <[EMAIL PROTECTED]> To: Sent: Thursday, December 21, 2006 5:05 PM Subject: How to use IoC in struts2

Re: OFF RECORD

2006-12-21 Thread Hassan Schroeder
On 12/21/06, Juan Espinosa <[EMAIL PROTECTED]> wrote: Please tell me more about this taglib (mailer) Very nice -- even handles multipart/alternative (HTML and plain text), which I generate from individual JSP snippets for f

How to use IoC in struts2?

2006-12-21 Thread Peder Larsen
Hi, i've got one very basic question that i cant find any documentation for nor any examples, maybe i've missed it but.. What i want to is to inject a UserInfo object into my action. In webwork2 you used components.xml for this. E.g, session foo.acme.UserInfo foo.acme.Use

RE: OFF RECORD

2006-12-21 Thread Juan Espinosa
Please tell me more about this taglib (mailer) -Mensaje original- De: Hassan Schroeder [mailto:[EMAIL PROTECTED] Enviado el: jueves, 21 de diciembre de 2006 12:55 Para: Struts Users Mailing List Asunto: Re: OFF RECORD On 12/21/06, Juan Espinosa <[EMAIL PROTECTED]> wrote: > Hi to all, i

[S2] Struts 2 GA Release Anytime Soon?

2006-12-21 Thread Elie Ciment
The FAQ on the apache.org site says that a release is due by the end of the year. http://struts.apache.org/roadmap.html#now That is soon. Is there any word on progress? Will that deadline be met? Waiting for the GA release so we can start coding for Struts 2 already... Thanks!

Re: OFF RECORD

2006-12-21 Thread Elie Ciment
Hi, If I understand correctly, we had a similar problem once. I wanted to use XmlHttpRequests for handling JSPs, and not text nor xml. Basically, the way we did it was we set up Ajax code that simply called the Struts action, which returned a full fledged JSP page, using Tiles to give it a standa

Re: OFF RECORD

2006-12-21 Thread Leon Rosenberg
On 12/21/06, Larry Meadors <[EMAIL PROTECTED]> wrote: In never ceases to amaze me how people will go through amazingly convoluted complexity in the name of "keeping things simple". +1 Leon - To unsubscribe, e-mail: [EMAIL PROT

Re: OFF RECORD

2006-12-21 Thread Hassan Schroeder
On 12/21/06, Juan Espinosa <[EMAIL PROTECTED]> wrote: Hi to all, i have a question off recordbut is related to web 1) Compiling a jsp file 3) Executing this jsp file (the servlet generated) 4) Get the html ths jsp generates I want to do this programatically I want to use the

RE: OFF RECORD

2006-12-21 Thread Wesley Wannemacher
Could you use httpunit's servlet runner to execute the resultant servlet? http://httpunit.sourceforge.net/doc/servletunit-intro.html I suppose it depends on how complex of a JSP you are working with. If you can assume that you don't have to worry about redirects or anything other than vanilla ou

Re: OFF RECORD

2006-12-21 Thread Larry Meadors
In never ceases to amaze me how people will go through amazingly convoluted complexity in the name of "keeping things simple". Juan, don't be a technophobe: use velocity. It was made for templating like you want to do. It is very fast, every bit as simple as JSP, and figuring out how to process i

RE: OFF RECORD

2006-12-21 Thread Juan Espinosa
Yes i see jasper...i could compile a jsp...but i cant execute it and get the resultant html -Mensaje original- De: Wesley Wannemacher [mailto:[EMAIL PROTECTED] Enviado el: jueves, 21 de diciembre de 2006 12:14 Para: Struts Users Mailing List Asunto: RE: OFF RECORD Have you looked a

Re: OFF RECORD

2006-12-21 Thread Emmanouil Batsis
Wesley Wannemacher wrote: Have you looked at Tomcat's Jasper compiler? Jasper uses packages and a filesystem structure that only Tomcat understands (AFAIK). It would probably be better to leave JSP comilation to the container in use. Manos

RE: OFF RECORD

2006-12-21 Thread Wesley Wannemacher
Have you looked at Tomcat's Jasper compiler? http://www.docjar.com/docs/api/org/apache/jasper/compiler/Compiler.html I would assume that with the jars in place and some coding to setup the context, it could be pretty easy to do as you wish. -Wes > -Original Message- > From: Juan Espino

RE: [OT]Does Exadel Studio Support IBM RAD?

2006-12-21 Thread Bruno Melloni
Maybe, but I don't know much about RAD 7 - my office uses 6 for now. I suggest checking with the Exadel guys. Also, make sure you know what limitations come with RAD 7... RAD seems to have conflicts with newer versions of open source tools that are already included in the RAD package. I am not su

RE: OFF RECORD

2006-12-21 Thread Juan Espinosa
Yes i see velocity, but i want to do with jsp, i dont want to add another "technology" to my site and my head... Thanks wendy -Mensaje original- De: Wendy Smoak [mailto:[EMAIL PROTECTED] Enviado el: jueves, 21 de diciembre de 2006 11:27 Para: Struts Users Mailing List Asunto: Re: OFF REC

Re: OFF RECORD

2006-12-21 Thread Emmanouil Batsis
Gundersen, Richard wrote: Um, this might be wrong but I think you could open a connection using URLConnection (or similar), and hit the JSP URL that way. That works i believe, but if the JSP is on the same container then a servlet filter in combination with an HttpServletResponseWrapper sh

Re: OFF RECORD

2006-12-21 Thread Wendy Smoak
On 12/21/06, Juan Espinosa <[EMAIL PROTECTED]> wrote: Hi to all, i have a question off recordbut is related to web Anyone has documentation or examples of how 1) Compiling a jsp file 3) Executing this jsp file (the servlet generated) 4) Get the html ths jsp generates I want to do

RE: OFF RECORD

2006-12-21 Thread Gundersen, Richard
Um, this might be wrong but I think you could open a connection using URLConnection (or similar), and hit the JSP URL that way. That should return a response (containing the HTML source) that you can then use for whatever you want. Not tried it though so I could be talking rubbish. Richard ---

OFF RECORD

2006-12-21 Thread Juan Espinosa
Hi to all, i have a question off recordbut is related to web Anyone has documentation or examples of how 1) Compiling a jsp file 3) Executing this jsp file (the servlet generated) 4) Get the html ths jsp generates I want to do this programatically I want to use the jsps as templ

RE: [OT]Does Exadel Studio Support IBM RAD?

2006-12-21 Thread Caroline Jen
What about RAD 7.0? The IDE in my PC is going to be upgraded to RAD 7.0 in a few days. Is it possible to use the most recent version of the Exadel as a tool for the Struts framework? Thanks for advice. --Caroline --- Bruno Melloni <[EMAIL PROTECTED]> wrote: > I doubt it. RAD 6 is based on

RE: [OT]Does Exadel Studio Support IBM RAD?

2006-12-21 Thread Bruno Melloni
I doubt it. RAD 6 is based on an old version of Eclipse (I think 3.0), and old versions of Struts and other technologies. It also includes its own attempt at what Exadel does for Struts. Works well if you can live with the limitations, but otherwise... Not so hot. Exadel seems targeted at those

Re: [S2] - access to the action from a JSP page

2006-12-21 Thread Dariusz Wojtas
Thanks for the response. I know how to access it using tags, but what I want is to access it with plain Java inside a scriptle area. Something similar to this: <% MyTestAction act = ... ? %> Do I have to play with extra interfaces on the action? Or make it request aware and put the action its

I'm currently out of the office.

2006-12-21 Thread Kevin Lake
I will be out of the office starting 12/21/2006 and will not return until 01/02/2007. - DTCC DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the us