Re: [S2] Tiles plugin on 1.4

2007-06-13 Thread Antonio Petrelli
2007/6/13, Charbel Abdul-Massih <[EMAIL PROTECTED]>: /web/layout/topMenu.jsp(1): Error in using tag library uri='http://tiles.apache.org/tags-tiles' prefix='tiles': The Tag class 'org.apache.tiles.taglib.definition.DefinitionTag' has no setter method corresponding to TLD declared attribute 'scop

Re: S2 S1 Tiles2 Tiles1 Question

2007-06-13 Thread Antonio Petrelli
2007/6/14, Ray Clough <[EMAIL PROTECTED]>: I have a large app using S2 with Tiles2 and S1 with Tiles1 intermingled. Eventually, this is going to cause problems, especially when I want to include pages rendered by T1 inside pages rendered by T2. Now that Tiles2 can function independently of Str

RE: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-13 Thread Al Sutton
Jeromy, 2.0.8 is the first version I've tried it in. I wanted to include the version in full to avoid people suggesting an upgrade to 2.0.8 as a first step :). Thanks for the RFC3339 tip, but I'm going to hold off using datetimepicker until 2.1. Al. -Original Message- From: Jeromy Evan

Re: getting values from database and displaying in grid format

2007-06-13 Thread Antonio Petrelli
2007/6/13, goodprogram <[EMAIL PROTECTED]>: Hi guys, May i know how to get the values from the database and display them in grid format in a jsp. Maybe displaytag can help: http://displaytag.sourceforge.net/ Antonio

RE: Struts 2.0.8 upgrade question

2007-06-13 Thread Al Sutton
Ray, The tiles-jsp jar was an addition between the tiles release in S2.0.6 and Tile 2.0.3, the packaging script therefore didn't include it and I only raised it after I was testing 2.0.8 when the call for a vote on 2.0.8 had already gone out. It's been fixed for future releases, but by the time I

tabbedpanel look changes

2007-06-13 Thread Adrian Ost
Has anybody made experiences modifing the look of struts 2.0.6's -tag "tabbedPanel" ? I'd like to overwrite the related files within my application. Best case: Using attributes like "templateCssPath" for the file "TabContainer.css" and "templatePath" for "TabContainer.html". Both are original

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-13 Thread Jeromy Evans
Hi Al, Are you saying the problem is new to 2.0.8? I can confirm that formatLength and dayWidth have never worked for me in 2.0.6 but displayFormat was fine provided the date values are RFC3339 strings. ie. I convert the Date to and from RFC3339 strings in the action, and use displayFormat="dd

Re: ReferenceError: validateForm_createuser is not defined

2007-06-13 Thread Jeromy Evans
GEDA wrote: I still get the same error. :-| I discovered that this is happening when the jsp page where the form is located, is loaded into a div tag. Is it normal the validation not working from a div tag? In 2.0.6 the javascript in your ajax-loaded section is automatically removed by dojo. T

Re: Re: Struts 2.0.8 upgrade question

2007-06-13 Thread Ray Clough
Thx. > - Original Message - > From: "Laurie Harper" <[EMAIL PROTECTED]> > To: user@struts.apache.org > Subject: Re: Struts 2.0.8 upgrade question > Date: Thu, 14 Jun 2007 01:15:31 -0400 > > > I think Al meant he raised the issue on the dev list in response to > your message, so that i

Re: [S2] Tiles plugin on 1.4

2007-06-13 Thread Laurie Harper
Dave Newton wrote: --- Charbel Abdul-Massih wrote: I did run retro-translator on the tiles-plugin jars...I was able to get weblogic 8.1 started on jdk 1.4.2 without any issues, so I moved a step closer...However, when I try to access my action, and it returns a tiles result, I get the following

Re: avoiding resetting of values

2007-06-13 Thread Laurie Harper
goodprogram wrote: Hi I have 7 textbox fields, when i enter the values for all those and submit the form, the clientside and server side validations are working well, but the problem is, it resets all textbox values to be empty, and forwarding to the same input page, How can i avoid resettin

Re: Struts 2.0.8 upgrade question

2007-06-13 Thread Laurie Harper
I think Al meant he raised the issue on the dev list in response to your message, so that it will be fixed in the next release. It was certainly an unfortunate omission, though. You can help prevent such problems in the future, though, by watching the Struts dev list for announcements of new b

[S2] Getting DAO from Spring in Struts Action

2007-06-13 Thread M. Bitner
Good day, I'm working on a Struts 2 app that uses Spring to manage the DAO layer. I have the ContextLoaderListener and applicationContext configured in web.xml. When the app starts I can see in the console that Spring is picking up the beans defined in applicationContext and instantiating them. H

How to use ObjectFactory

2007-06-13 Thread Strut_developer
Hello, I want to use object factory in my project but what I have found that ObjectFactory.getInstance returns null in separate thread. Scenario: At time of starting server object factory is initialized and I am able to use it in actions. but in server startup event, after server is started I am

Re: How to validate field in type of a model class by annotations.

2007-06-13 Thread Jeromy Evans
public User getUser() {return user;} @EmailValidator(type = ValidatorType.FIELD, fieldName = "user.email", key = "email.invalid", message = "Invalid mail addrss") public void setUser(User user) {this.user = user;} I noticed that using @Validations, I

Re: Standalone DatePicker?

2007-06-13 Thread Zoran Avtarovski
Also, Matts, calendar popup has a struts 1 taglib which works great. Let me know if you can't find it and I'll send it to you. Z. > As the DateTimePicker is actually a Dojo widget I'd assume you can also > use it without Struts2: > > http://dojotoolkit.org/ > > But I'd rather use this JavaScrip

Re: why response.addCookie not working inside Struts action class

2007-06-13 Thread Zoran Avtarovski
Have a look at this: http://www.velocityreviews.com/forums/t124632-struts-set-a-cookie.html Also, in the past or protocol was to use bean:cookie to set cookies, I'm actually sure why, but it works reliably. Z. > inside Struts(1.x) Action class, within method > > public ActionForward(Acti

Extends Struts - layout tag

2007-06-13 Thread Sourabh Chandan
Hi All, I am trying to extend the one of the Layout tag for providing customize functionlity like passing more attributes in tag. For example i am writing like MyClass extends DatagridColumnTag How can I continue this. if any docs please post it to me OR I am trying to read the entered d

Re: [S2] Tutorial with Eclipse

2007-06-13 Thread hezjing
Good, and it would be very nice to list Eclipse WTP plugin as one of this tutorial's prerequisites. Thank you! On 6/14/07, robinbajaj <[EMAIL PROTECTED]> wrote: you will need to install the WTP plugins on top of your eclipse install. even better, you can download it all as one complete bundle

Re: What is the equivalant for reset in S2

2007-06-13 Thread tom tom
I can't see any clean() method in the ActionSupport, I am using struts 2.0.6. Is there any other way to do this. Thanks, --- Rikard <[EMAIL PROTECTED]> wrote: > > Hi well in webwork i use the clean(); method of the > class ActionSupport i > think its the same in S2. Just make a reset() method

Re: [S2] Problem with Date pattern

2007-06-13 Thread Diego Yasuhiko Kurisaki
I'm using saveFormat=rfc and java.util.Date as my object My dojo is. "> and my setter public void setDataInicial(Date dataInicial) { this.dataInicial = dataInicial; } I've tried to change my setter method to public void setDataInicial(Date dataInicial) { SimpleDateFormat dateFo

S2 S1 Tiles2 Tiles1 Question

2007-06-13 Thread Ray Clough
I have a large app using S2 with Tiles2 and S1 with Tiles1 intermingled. Eventually, this is going to cause problems, especially when I want to include pages rendered by T1 inside pages rendered by T2. Now that Tiles2 can function independently of Struts, is it feasible to start using T2 with S1

Re: [S2] Problem with Date pattern

2007-06-13 Thread Musachy Barroso
Try using a Date object for your field, and set saveFormat="rfc" for the widget. musachy On 6/13/07, Diego Yasuhiko Kurisaki <[EMAIL PROTECTED]> wrote: I'm manually using the DojoTookit Date Picker withe the following pattern dd/MM/yyy in my action i have a setter method like this. setDate(

Refreshing div after a session timeout

2007-06-13 Thread Summers Pittman ℝ
Hello all, I am currently writing an application which requires a login and thus an active session. I have been using the anchor and div tags in the ajax theme to help with browsing related data. Today I discovered an interesting scenario which I was hoping to get help with. 1. I log into the

Re: Unable to submit lists with 2.0.8

2007-06-13 Thread Adam Ruggles
Ok it worked again once I added a conversion.properties file to the action. Why do I need a conversion properties file now? Did some default setting change in relation to this? Adam Ruggles wrote: My Form looks like this: ... ... My Action looks like this /** * A list o

Re: [S2] Could not parse struts.locale setting

2007-06-13 Thread Danny Hurlburt
I was getting the same warning. I was able to remove the warning by creating a /WEB-INF/classes/struts.properties file with struts.locale=en_GB I am however not able to set the locale via the constant element in struts.xml althought the documentation at http://struts.apache.org/2.0.6/docs/cons

[S2] Problem with Date pattern

2007-06-13 Thread Diego Yasuhiko Kurisaki
I'm manually using the DojoTookit Date Picker withe the following pattern dd/MM/yyy in my action i have a setter method like this. setDate(Date date){ this.date = date } But it seens that the struts 2 when sets the method changes from dd/MM/ for MM/dd/ does anyone know any solution? I

[S2] Could not parse struts.locale setting

2007-06-13 Thread Torsten Römer
Everytime my app starts, I see this in the log: 13.06.2007 23:50:27 org.apache.struts2.config.Settings getLocale WARNUNG: Settings: Could not parse struts.locale setting, substituting default VM locale I put in my struts.xml, but I still get the error (and the default VM locale is used, which

Struts2 Not Executing Actions

2007-06-13 Thread Danny Hurlburt
Hello, I am new to Struts2 and am running into some problems. I have read much of the documentation on the wiki but I am still stuck. I have added the filter declaration and filter mapping to web.xml. I have confirmed that it gets invoked by setting a breakpoint in the doFilter method. I have

RE: [S2] Tiles plugin on 1.4

2007-06-13 Thread Dave Newton
--- Charbel Abdul-Massih wrote: > I did run retro-translator on the tiles-plugin > jars...I was able to get > weblogic 8.1 started on jdk 1.4.2 without any > issues, so I moved a step > closer...However, when I try to access my action, > and it returns a tiles > result, I get the following jsp erro

Re: [OT] Standalone DatePicker?

2007-06-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Torsten, Torsten Römer wrote: > As the DateTimePicker is actually a Dojo widget I'd assume you can also > use it without Struts2: Hey, thanks for the heads-up. I basically have zero familiarity with S2, but knowing that it's a 3rd-party widget is hel

RE: Struts 2.0.8 upgrade question

2007-06-13 Thread Ray Clough
I got it to work with 2 steps. 1) I downloaded the 2.0.3 version of Tiles. Note that this requires knowing the download url, because the current Tiles download page is for v2.0.4 only. The difference in the download url is only the version number. 2) The Tiles DTD seems to have changed. The

RE: [S2] Tiles plugin on 1.4

2007-06-13 Thread Charbel Abdul-Massih
Dave, I did run retro-translator on the tiles-plugin jars...I was able to get weblogic 8.1 started on jdk 1.4.2 without any issues, so I moved a step closer...However, when I try to access my action, and it returns a tiles result, I get the following jsp error in the browser: /web/layout/topMenu.

Re: Standalone DatePicker?

2007-06-13 Thread Dave Newton
--- Christopher Schultz wrote: > I'd like to know if there is a way to use this widget > without actually running S2 under the hood. It's just Dojo; check out the "docs" on their site. http://manual.dojotoolkit.org/widget/DatePicker.html d. ___

Unable to submit lists with 2.0.8

2007-06-13 Thread Adam Ruggles
My Form looks like this: ... ... My Action looks like this /** * A list of Invoices. */ private List invoices; /** * Sets invoices. * @param invoices The invoices to set. */ public void setInvoices(final List invoices) { this.invoices = invoices;

Re: Standalone DatePicker?

2007-06-13 Thread Torsten Römer
As the DateTimePicker is actually a Dojo widget I'd assume you can also use it without Struts2: http://dojotoolkit.org/ But I'd rather use this JavaScript calendar: http://www.mattkruse.com/javascript/calendarpopup/ Torsten Christopher Schultz schrieb: > All, > > I am a user of Struts 1 and I

Standalone DatePicker?

2007-06-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I am a user of Struts 1 and I've seen a lot of discussion of the S2 date picker lately. I have a need for a date picker and I'd like to know if there is a way to use this widget without actually running S2 under the hood. I realize that the tag

Re: [S2] Tiles plugin on 1.4

2007-06-13 Thread Dave Newton
--- Charbel Abdul-Massih wrote: > Do I need to do something special to get tiles > plugin working on JDK 1.4??? You need to retro-translate them, just like the S2 J4 jars. d. Now that's room service! Choose

Re: Request and parameters are null

2007-06-13 Thread Dave Newton
--- Rusty Spoone <[EMAIL PROTECTED]> wrote: > How do I add the interceptors that handle setting > data into my action? http://struts.apache.org/2.x/docs/interceptors.html d. Yahoo! oneSearch: Finally,

[S2] Tiles plugin on 1.4

2007-06-13 Thread Charbel Abdul-Massih
Do I need to do something special to get tiles plugin working on JDK 1.4??? I'm getting the following error in weblogic startup UnsupportedClassVersionError: org/apache/struts2/tiles/StrutsTilesListener (Unsupported major.minor version 49.0

RE: Struts 2.0.8 upgrade question

2007-06-13 Thread Al Sutton
Grab the distribution from tiles.apache.org and copy the jsp jar into your webapp. This is something I raised on the dev list and the jar will be part of future builds. -Original Message- From: "Ray Clough" <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: 6/13/07 9:00 PM Subject: Re

Re: Struts 2.0.8 upgrade question

2007-06-13 Thread Ray Clough
Nope. It seems pretty clear that something is missing. Here is the error: java.lang.ClassNotFoundException: org.apache.tiles.jsp.context.JspTilesContextFactory For Tiles 2.0.4, that file is found in the file "tiles-jsp-2.0.4.jar. I don't know about Tiles 2.0.3 that is bundled with Struts-2.0.

DateTimePicker & Internet Explorer

2007-06-13 Thread Torsten Römer
The DateTimePicker looks very nice on Linux/Firefox but on Windows/IE the font is too small and the arrows to change week & month are not shown: http://luniks.net/DateTimePicker.png I tried to increase the font size by placing a modified version of DatePicker.css from struts-core.jar into my webap

Re: Request and parameters are null

2007-06-13 Thread Rusty Spoone
Yes. There is only one interceptor which is the one I defined. So this must sound like a silly question. How do I add the interceptors that handle setting data into my action? On 6/13/07, Laurie Harper <[EMAIL PROTECTED]> wrote: Rusty Spoone wrote: > Hi all. I have a Login action that

getting values from database and displaying in grid format

2007-06-13 Thread goodprogram
Hi guys, May i know how to get the values from the database and display them in grid format in a jsp. Any help is really appreciated. Thanks, RR -- View this message in context: http://www.nabble.com/getting-values-from-database-and-displaying-in-grid-format-tf3917354.html#a11107381 Sent from

avoiding resetting of values

2007-06-13 Thread goodprogram
Hi I have 7 textbox fields, when i enter the values for all those and submit the form, the clientside and server side validations are working well, but the problem is, it resets all textbox values to be empty, and forwarding to the same input page, How can i avoid resetting of values and displ

Re: Struts 2.0.8 upgrade question

2007-06-13 Thread Al Sutton
Have you checked the old version of tiles has been removed?, the version shipped with 2.0.6 was a pre-release of Tiles 2 and the internal APIs changed, I had some problems until I realised my appserver was caching the old tiles jars and the problems were comming from an API mismatch. Ray Cloug

Struts 2.0.8 upgrade question

2007-06-13 Thread Ray Clough
It doesn't seem to be a straight forward upgrade from 2.0.6, at least so far as Tiles is concerned. We get a bunch of different exceptions, depending on what we try to do. Each fix seems to break something else, though. Advice? - Ray Clough -- View this message in context: http://www.nabble.

[S2] Weblogic & struts.multipart.parser

2007-06-13 Thread ken_hoying
The MultiPart parser that I am specifying in struts.properties does not appear to be called under Weblogic. This worked fine though under Tomcat. I do nto see any errors in the log. Any ideas why? Thanks in Advance! Sent from my Verizon Wireless BlackBerry

Re: Request and parameters are null

2007-06-13 Thread Laurie Harper
Rusty Spoone wrote: Hi all. I have a Login action that gets intercepted by non other than LoginInterceptor. In the interceptor the username and password are checked. I can even print them in the logs to see that they are really there. The interceptor returns return invocation.invoke(); Then in

Re: Handling international number and date formats in html:text fields

2007-06-13 Thread Laurie Harper
Adam Lipscombe wrote: Folks, We have an internationalised site using struts 1.3.8. We output currency and number values to the JSP with the bean:write tag and this works well. The problem comes when the user is entering numbers, currency and dates via an html:text field. Ideally it would b

Re: [S2] Commons Validator

2007-06-13 Thread Laurie Harper
Veronica Iturrioz wrote: Hi, anybody know if it's possible to use Commons Validator with Struts 2 ? I try with the struts validation framework (provided by XWork), but the error visualization is too dependent from the theme. I'm not sure what you're trying to do; use Commons Validator directly

Re: [S2] Multiple problem

2007-06-13 Thread Laurie Harper
Please keep related messages within the same thread and try to avoid re-posting a question without the context of any prior discussion. See below for another suggestion: Wei Xu wrote: First, you can look through next jsp codes: Why do the indexing into destObjects

Re: Struts validator "maskif"

2007-06-13 Thread Laurie Harper
ugachaka wrote: Hi. I am wondering is there really a validation attribute "maskif". I one forum, i read that i just need to add the following lines to my validation-rules and validation xml files and it will work- mask ^\d{5}$ check (country=='US') but i DOESN'T!! :( even more - w

[S2] Weblogic & struts.multipart.parser

2007-06-13 Thread Hoying, Ken
The MultiPart parser that I am specifying in struts.properties does not appear to be called under Weblogic. This worked fine though under Tomcat. I do nto see any errors in the log. Any ideas why? Thanks in Advance! - ***Note:The information containe

Re: S2: datetimepicker and multiple date formats

2007-06-13 Thread Musachy Barroso
In 2.1 the date value will always be on RFC 3339 format which is -MM-dd'T'HH:mm:ss musachy On 6/13/07, Scott Nesbitt <[EMAIL PROTECTED]> wrote: Ok, you convinced me to stick to one date format: MM/dd/yy. However, even though my JSP looks like this: It is still showing 01/21/2007

Re: S2: datetimepicker and multiple date formats

2007-06-13 Thread Scott Nesbitt
Ok, you convinced me to stick to one date format: MM/dd/yy. However, even though my JSP looks like this: It is still showing 01/21/2007. Interestingly, it allows 01/22/07 as input, but changes it to 01/22/2007 on blur. Any suggestions? Does the datetimepicker force a four-digit

Re: Question in writing Struts Program

2007-06-13 Thread Henry F. Camacho Jr.
Looks to me when you hit your action you are not saving those attributes in request. request.setAttribute("username", PersonName); Then in your JSP you can get the Attribute using getAttribute. However I don't think you want to do this. Coming out of the action you should call your business logi

Re: Struts Navigation display

2007-06-13 Thread Henry F. Camacho Jr.
I did not find anything internal for this. I did write a separate class for this which automates navigation based on Struts actions. I am thinking about releasing this Open Source. I call it NavObjects and it allows you to create button navigation displays. I am still working on JSP tags fo

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-13 Thread Musachy Barroso
Nobody really knows :), the dojo plugin is ready and the first patch for the url building/portlet refactoring just came through (2 main issues for 2.1) musachy On 6/13/07, Al Sutton <[EMAIL PROTECTED]> wrote: Thanks for the straight answer, next question, whens 2.1 due ? :) -Original Mess

tabbedpanel modification

2007-06-13 Thread Adrian Ost
Has anybody made experiences modifing the look of struts 2.0.6's -tag "tabbedPanel" ? I'd like to overwrite the related files within my application. Best case: Using attributes like templateCssPath for the file "TabContainer.css" and template for "TabContainer.html". Both are originally set i

Re: suggestions for login scheme using struts 1.x

2007-06-13 Thread robinbajaj
thanks for sharing your valuable experiences on this topic with me. I think I will come back with more questions... :-) but for now, its good ! thanks once again, robbby Frank W. Zammetti wrote: > > No, your conceptualizing it a bit more complex than it is. > > Your web server will (generally)

RE: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-13 Thread Al Sutton
Thanks for the straight answer, next question, whens 2.1 due ? :) -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: 13 June 2007 14:08 To: Struts Users Mailing List Subject: Re: [S2.0.8] datetimepicker is it a train wreck? Al just to answer your question strai

Re: suggestions for login scheme using struts 1.x

2007-06-13 Thread Frank W. Zammetti
No, your conceptualizing it a bit more complex than it is. Your web server will (generally) serve unprotected resources, i.e. images, help files, things of that nature. Your app server will handle security for your application in the sense that you constrain certain parts of the application (or p

Re: suggestions for login scheme using struts 1.x

2007-06-13 Thread robinbajaj
my issue with having a web-server in front of app-server is, that adds to complexity of the login architecture. If I have my webServer in front of the appServer, (for the reasons you mentioned), I have to have a login web app running on webServer, and the actual business-app running on appSer

Request and parameters are null

2007-06-13 Thread Rusty Spoone
Hi all. I have a Login action that gets intercepted by non other than LoginInterceptor. In the interceptor the username and password are checked. I can even print them in the logs to see that they are really there. The interceptor returns return invocation.invoke(); Then in the Login action us

Re: [S2] Tutorial with Eclipse

2007-06-13 Thread robinbajaj
you will need to install the WTP plugins on top of your eclipse install. even better, you can download it all as one complete bundle (called "eclipse distro") from IBM's site - http://www.ibm.com/developerworks/eclipse/downloads/ There are a number of other vendors providing their own customized

Re: [S2] Tutorial with Eclipse

2007-06-13 Thread Martin Gilday
Hi. You probably need to install the WTP (Web Tools Project) into your Eclipse. MArtin. - Original message - From: "hezjing" <[EMAIL PROTECTED]> To: "struts-users" Date: Thu, 14 Jun 2007 00:20:04 +0800 Subject: [S2] Tutorial with Eclipse Hi! I have a fresh Eclipse installed and I'm fo

Handling international number and date formats in html:text fields

2007-06-13 Thread Adam Lipscombe
Folks, We have an internationalised site using struts 1.3.8. We output currency and number values to the JSP with the bean:write tag and this works well. The problem comes when the user is entering numbers, currency and dates via an html:text field. Ideally it would be nice if the conversio

[S2] Tutorial with Eclipse

2007-06-13 Thread hezjing
Hi! I have a fresh Eclipse installed and I'm following the "Struts 2 + Spring 2 + JPA + AJAX" tutorial. In the "Doing it yourself" section, it mentioned about File -> New -> Project and select Dynamic Web Project under Web folder. Unfortunately I'm don't see the Web folder ... Did I miss out an

[S2] Commons Validator

2007-06-13 Thread Veronica Iturrioz
Hi, anybody know if it's possible to use Commons Validator with Struts 2 ? I try with the struts validation framework (provided by XWork), but the error visualization is too dependent from the theme. thanks in advance. _

[S2] NPE trying to get HttpServletRequest in 2.0.8

2007-06-13 Thread Nate Drake
Hi, I'm attempting to update to 2.0.8, and I've run into a strange issue. In our custom interceptors, we attempt to get the HttpServletRequest like so: HttpServletRequest request = ServletActionContext.getRequest(); This is returning null in 2.0.8 (although it works fine 2.0.7. When we change

Re: suggestions for login scheme using struts 1.x

2007-06-13 Thread Frank W. Zammetti
Typically, the web server is what receives the request... it then determines what type of resouce is being served, and if its something that the app server needs to handle (a servlet for instance), it passes the request along. So in a very real sense it's "in front" of the app server. Now, take s

Re: suggestions for login scheme using struts 1.x

2007-06-13 Thread robinbajaj
thanks for your input Frank. When I mentioned about taking out the webserver, I only meant not to have it do the login. It can still serve the static content. But I suggested merging the login piece and the actual web-app, and running them both on the weblogic app server. what I don't understand

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-13 Thread Musachy Barroso
Well, the datetimepicker is the only one in such a lame condition, the other ones are working fine. musachy On 6/13/07, אלחנן מעין <[EMAIL PROTECTED]> wrote: shame i was hoping to go back to s2 becouse of all the ajax dojo mess i found in 2.0.6, guesss i'll have to wait a few more months :(

Re: [S2] Accessing HTTP Header

2007-06-13 Thread Yoni Amir
I don't know of any performance differences, but I am not a struts expert. I think that the static methods of ServletActionContext were provided exactly for this reason, namely convenience, so you don't need to deal with casting. Also, if the internal working objects change in a later struts relea

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-13 Thread אלחנן מעין
shame i was hoping to go back to s2 becouse of all the ajax dojo mess i found in 2.0.6, guesss i'll have to wait a few more months :( From: "Musachy Barroso" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Re: [S2.0.8] datetimepicker is

RE: [S2] Does Struts2 work with WebLogic 9??

2007-06-13 Thread Hoying, Ken
I was able to fix my own problem. The web.xml was different between the Tomcat and Weblogic apps. Tomcat was using 2.4 and Weblogic 2.3. Once I updated web.xml in Weblogic app to use 2.4, all was well. Thank you! -Original Message- From: Hoying, Ken [mailto:[EMAIL PROTECTED] Sent: We

Re: [S2] Accessing HTTP Header

2007-06-13 Thread chengas123
Thank you both for your responses. While I had tried going down the ActionInvocation.getInvocationContext(...) road I didn't see anything interesting that way and probably would have never thought to cast it to a ServletActionContext (although hopefully I will next time). I'm using the ThreadLoc

[S2] Does Struts2 work with WebLogic 9??

2007-06-13 Thread Hoying, Ken
I have an app that I developed under Tomcat and had everythign working fine. I then moved it to WebLogic and I am running into issues. The following senario illustrates the problem I am having... I have a JSP page with the following: However, anywhere that I attempt to refernece maxLength usi

Re: FilterDispatcher not being invoked with URL pattern /*

2007-06-13 Thread Danny Hurlburt
Does anyone know if it true that if the Struts FilterDispatcher finds a match for an action that the matching servlet is not invoked? That is, will it will skip calling chain.doFilter(...) on the FilterChain object when it finds a match? I have not looked at the source code yet. Danny Hurlburt wr

Re: FilterDispatcher not being invoked with URL pattern /*

2007-06-13 Thread Danny Hurlburt
I have added a filter mapping. See the second sentence of the original post. The problem is that according to the Servlet Spec (at least my understanding of it) "Filters can be associated with groups of servlets and static content using the style of filter mapping". Since the Struts actions ar

Re: suggestions for login scheme using struts 1.x

2007-06-13 Thread Frank W. Zammetti
We have web servers in front of the app servers, and this isn't an evolution of old apps, I'm talking newly developed apps. There's nothing unusual about that setup at all, it's pretty typical in an enterprise setting. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologie

How to to bind Struts 2 action variables to and from flow scope with struts2-webflow plugin integration without AnnotationFlowScopeInterceptor with JDK 1.4 environment,

2007-06-13 Thread Birkan_Duman
- Birkan DUMAN Coca-Cola İçecek A.Ş. BSG - Business Applications Business Systems Analyst Tel: 90 312 293 1216 Fax: 90 312 293 1213 [EMAIL PROTECTED] -- __ Hi all, First of all, let me introduce myself. I'm

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-13 Thread Musachy Barroso
Al just to answer your question straight, yes, it is a train wreck and I would advise not to use it until 2.1 comes out. regards musachy On 6/13/07, Al Sutton <[EMAIL PROTECTED]> wrote: That page seems offer no help for me at all. As a side note, the bug I mentioned in my original email mean

Re: [S2] Problems with ajax anchor tag

2007-06-13 Thread Lucas Garcia
Hi, I believe I've found the problem origin. I'm working without action-extension (my url looks like www.blablabla.com/Home instead of Home.action or Home.do). For this reason, when ajax theme constructs /struts/dojo/dojo.js call dinamically, struts try to manage .js files as actions (returning a

RE: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-13 Thread Al Sutton
That page seems offer no help for me at all. As a side note, the bug I mentioned in my original email means that the example in the page doesn't work under certain conditions. What bit of that page did you think might help me? Btw, please don't post more links to your site, I'm not really inte

Re: ReferenceError: validateForm_createuser is not defined

2007-06-13 Thread GEDA
Anyone ? GEDA wrote: > > I still get the same error. :-| > > I discovered that this is happening when the jsp page where the form is > located, is loaded into a div tag. Is it normal the validation not working > from a div tag? > > > Jeromy Evans - Blue Sky Minds wrote: >> >> GEDA wrote: >>

RE: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-13 Thread Deepak Kumar
Hi, Just read Datetime picker example at http://www.roseindia.net/struts/struts2/date/struts-2-datetimepicker.shtml. Thanks -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 13, 2007 4:11 PM To: 'Struts Users Mailing List' Subject: [S2.0.8] datetimepic

[S2.0.8] datetimepicker.... is it a train wreck?

2007-06-13 Thread Al Sutton
I've been trying to do some work with datetime picker in 2.0.8 and it seems to me it's a real mess. In my action I have; public Date getReportStartDate() { return reportStartDate; } public void setReportStartDate(Date reportStartDate) { this.reportStartDate = reportStartDate; }

[S2] Problems with ajax anchor tag

2007-06-13 Thread Lucas Garcia
Hi, I'm testing the ajax Anchor tag ( http://struts.apache.org/2.x/docs/ajax-tags.html#AjaxTags-anchorTag). Mi jsp page looks like: <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.

[S2] Multiple problem

2007-06-13 Thread Wei Xu
First, you can look through next jsp codes: Variable "destObejcts" is a type which contains a serial of objects named "destObject". Variable "visibleColumns" is also a LIST of objects named "visibleColumn", and "fieldDefName" is a property of "visibleColumn". An

inputting numbers with html:text fields and internationalisation

2007-06-13 Thread Adam Lipscombe
Folks, We have an internationalised site using struts 1.3.8. Outputting currency and numbers with the bean:write tag works well. The problem comes when the user is inputting numbers and currency via an html:text field. Ideally it would be nice if the conversion to US/UK format was handled aut

Strecks 1.0.1 released

2007-06-13 Thread Phil Zoio
Dear all, I've released Strecks 1.0.1 with some small updates to the 1.0 release. The main change in this release is it now much simpler to run the samples: simply download the source distrubution, then run "ant download run.samples". Strecks contains a range of enhancements aimed to streamli

How to validate field in type of a model class by annotations.

2007-06-13 Thread Ruimo Uno
Hi, my action has a field that is in type of User: User user; public User getUser() {return user;} public void setUser(User user) {this.user = user;} And the following is a validation rule for it using XML file (Assume the User class has 'email' field.):

Re: ReferenceError: validateForm_createuser is not defined

2007-06-13 Thread GEDA
I still get the same error. :-| Jeromy Evans - Blue Sky Minds wrote: > > GEDA wrote: >> Please help me. I don't really understand this debug message: >> ReferenceError: >> validateForm_createuser is not defined. Here is the code: >> >> >> >> >> >> >> >>

Re: [s2] weird problem with Chinese characters and SOLVED

2007-06-13 Thread Manu Mahajan
Ok! I've found a solution. It seems that I was looking at the wrong place. I am using sitemesh and the problem was coming due to a bug in sitemesh. If you use for your action path in decorators.xml then it will not print utf-8 encoded characters properly. I created a simple decorator and chan

Re: response.addCookie not working inside Struts action class

2007-06-13 Thread nuwan chandrasoma
I also agree with you Dave, +1 Does any one need a guy for a Struts2 project?, i am ready to quit my current job :)) On 6/12/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Chris Pratt <[EMAIL PROTECTED]> wrote: > Sorry, for some reason I was stuck on Struts 2. It's 'cuz it's so much better :

Struts validator "maskif"

2007-06-13 Thread ugachaka
Hi. I am wondering is there really a validation attribute "maskif". I one forum, i read that i just need to add the following lines to my validation-rules and validation xml files and it will work- mask ^\d{5}$ check (country=='US') but i DOESN'T!! :( even more - without this attrib

Struts validator "maskif"

2007-06-13 Thread ugachaka
Hi. I am wondering is there really a validation attribute "maskif". I one forum, i read that i just need to add the following lines to my validation-rules and validation xml files and it will work- mask ^\d{5}$ check (country=='US') but i DOESN'T!! :( even more - without this attrib

  1   2   >