Re: Ajax with struts

2006-07-24 Thread Frank W. Zammetti
That page isn't actually about AjaxTags, it's about Ajax with Struts in general. It does of course mention AjaxTags :) In any case, all changed... I also did some updating of that page while I was at it :) Frank Michael Jouravlev wrote: No one owns wiki :) I just wanted to structure it so

Re: Ajax with struts

2006-07-24 Thread Michael Jouravlev
No one owns wiki :) I just wanted to structure it so most valuable and stuff could be included into the next version of the User's Guide. On another hand, since AjaxTags are not part of Struts (yet?), then maybe you are right and the better place for this page is in Articles and How-Tos. Please,

Re: Ajax with struts

2006-07-24 Thread Frank W. Zammetti
See this Wiki entry for a start: http://wiki.apache.org/struts/AjaxStruts Frank P.S. - Michael J. - I think this page is more appropriate in the "Struts Articles, Tutorials, FAQ's and Tips" section, don't you? You've become pretty much the God of the Wiki though, so I didn't want to go move

Ajax with struts

2006-07-24 Thread Rauf Khan
Hi All, I wanted to integrate Ajax with struts. Pls let me the link/tutorial from where i could get the information. Thanks in Advance. Regards Rauf Khan

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Ted Husted
On 7/24/06, Adam Hardy <[EMAIL PROTECTED]> wrote: is /so/ ugly. If that's the worst complaint anyone has about S2, I'll be a very happy camper. :) -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Adam Hardy
Sorry Don, it's getting late and I dashed off that last answer before I understood what you'd written :O I realised while brushing my teeth, it should be possible, instead of to have something like or is /so/ ugly. Don Brown on 25/07/06 00:34, wrote: A quick word about intercepto

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Adam Hardy
If you look at the number of people using struts, 20% of them is still very many. Using interceptors is not rocket science either. Of course I can see why will be valuable for its descriptiveness, but good documentation would be too, and 'syntactical sweetness' would appeal to all those who p

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Don Brown
A quick word about interceptors. The purpose of Interceptors is to allow you greater control over the controller layer, specifically common logic that applies to multiple actions. 80% of applications shouldn't need to define their own interceptors, as the default stack should do what you need.

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Frank W. Zammetti
interceptor-element? Ted Husted wrote: On 7/24/06, Adam Hardy <[EMAIL PROTECTED]> wrote: Guessing how busy you are, you may not be interested, but I think it's pretty obvious that the more user-friendly a name is, the more it will be used by the community. Interceptor-ref probably describes

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Ted Husted
On 7/24/06, Adam Hardy <[EMAIL PROTECTED]> wrote: Guessing how busy you are, you may not be interested, but I think it's pretty obvious that the more user-friendly a name is, the more it will be used by the community. Interceptor-ref probably describes exactly what it is in framework architectur

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Adam Hardy
Ted Husted on 24/07/06 21:59, wrote: On 7/24/06, Adam Hardy <[EMAIL PROTECTED]> wrote: It all looks very interesting. I just read some stuff on the xworks opensymphony site and it looks pretty sound [1] and [2]. You guys must be working like dogs, there seems to be so much there to integrate. K

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Adam Hardy
David Evans on 24/07/06 22:20, wrote: On Mon, 2006-07-24 at 21:45 +0100, Adam Hardy wrote: Ted Husted on 24/07/06 15:22, wrote: The package that delivers the interceptor mechanism is XWork. XWork also handles matcing things like URIs to action mappings and it provides the base validation frame

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Ted Husted
On 7/24/06, David Evans <[EMAIL PROTECTED]> wrote: There is another idiom that is used for method selection which is fooAction!barMethod.action. In this case the mapper will run the barMethod of the fooAction. This seems to be going away, as it can be duplicated by the use of wildcards, as descri

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread David Evans
On Mon, 2006-07-24 at 21:45 +0100, Adam Hardy wrote: > Ted Husted on 24/07/06 15:22, wrote: > > On 7/23/06, Adam Hardy <[EMAIL PROTECTED]> wrote: > >> Can anyone involved in struts 2 tell me about potential brick walls that > >> this sort of Action base class and its children would be heading into

Re: [s2] IoC containers (was: What's the future of Action, events / dispatching and CoC/CoR)

2006-07-24 Thread Ted Husted
On 7/24/06, Adam Hardy <[EMAIL PROTECTED]> wrote: Webworks supports (or used to) several IOC containers. In fact, on my previous project we used a singleton component factory that hid Spring and the intent was to keep all Spring code isolated behind this. Is S2 going to take this route, or is Spr

Re: [s2] on-the-fly actionForwards (was: What's the future of Action, events / dispatching and CoC/CoR)

2006-07-24 Thread Ted Husted
In S2, the equivalent of ActionForwards are Results. S2 Results are intended to be extensible objects, and I expect you would move this code to a custom Result (where it belongs), rather than have it spill over into the Action. -Ted. On 7/24/06, Adam Hardy <[EMAIL PROTECTED]> wrote: Ted Husted

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Ted Husted
On 7/24/06, Adam Hardy <[EMAIL PROTECTED]> wrote: It all looks very interesting. I just read some stuff on the xworks opensymphony site and it looks pretty sound [1] and [2]. You guys must be working like dogs, there seems to be so much there to integrate. Kudos and respect to you all, this seems

Re: [s2] IoC containers (was: What's the future of Action, events / dispatching and CoC/CoR)

2006-07-24 Thread Adam Hardy
Ted Husted on 24/07/06 15:22, wrote: On 7/23/06, Adam Hardy <[EMAIL PROTECTED]> wrote: - dependency injection by Spring for my services / delegates (/ daos) S2 uses Spring as its default object factory, and Action properties can be injected from Spring by matching the property name with the ob

Re: [s2] on-the-fly actionForwards (was: What's the future of Action, events / dispatching and CoC/CoR)

2006-07-24 Thread Adam Hardy
Ted Husted on 24/07/06 15:22, wrote: On 7/23/06, Adam Hardy <[EMAIL PROTECTED]> wrote: - a mechanism for handling 'on-the-fly' URL & query strings for actionForwards Like S1, S2 lets you specify a "default" action to use when nothing else matches. Wildcards are also supported. I think I am n

Re: [s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Adam Hardy
Ted Husted on 24/07/06 15:22, wrote: On 7/23/06, Adam Hardy <[EMAIL PROTECTED]> wrote: Can anyone involved in struts 2 tell me about potential brick walls that this sort of Action base class and its children would be heading into? I checked out the dev list for hints and saw oblique references

RE: Struts 2 snapshot build work on JDK 1.4.2?

2006-07-24 Thread Chris Waring
Thanks David. This sounds like what we need! I'm going to give it a try. I think I'm going to use Weblogic 9.2 to test it out and then take it back to my management and argue a case for upgrading our production servers. I think there is enough new functionality in Weblogic 9.2, most of it due

RE: Struts 2 snapshot build work on JDK 1.4.2?

2006-07-24 Thread David Friedman
Why not mix both Action2 and JSF? See the JavaServer Faces interceptor related classes in Action2 APIdocs (to get you started) at: http://struts.apache.org/2.x/apidocs/org/apache/struts2/jsf/package-summary. html There is also some discussion at: http://www.mail-archive.com/dev@struts.apache.org/

Re: Give me a solution

2006-07-24 Thread Monkeyden
"Give me a solution" Ha! That's rich. On 7/24/06, senthil.s <[EMAIL PROTECTED]> wrote: Hi all I have a table of records in SQL Server with UniqueID (unique ID enabled with increment of 1 starting from 1 for each record, now I have 100 records in that having Unique ID 1 - 100 now I want to

Re: and

2006-07-24 Thread Monkeyden
Search for: JSTL and URL generation http://www.sitepoint.com/article/java-standard-tag-library/3 uses tags nested within On 7/24/06, David Haynes <[EMAIL PROTECTED]> wrote: I want to be able to generate a URL with a GET method for a scenario so that the result looks like: http://my_host.co

Re: Struts 2 snapshot build work on JDK 1.4.2?

2006-07-24 Thread Chris Waring
Thanks Wendy. I will take a look at RetroWeaver and RetroTranslator to see how they work. I'm a little skeptical at this point but I'll give it a shot! I might start pressing my Management on upgrading to Weblogic 9.2. I'm really looking to Struts 2 to be a viable replacement for the JSF contr

Re: FlashScope: anyone has a better name?

2006-07-24 Thread Monkeyden
I agree with Paul (and Shale). Dialog, or even "Conversation", scope makes the most sense. It's exactly as descript as it needs to be. If you can't figure out what it means than you probably shouldn't venture out of page scope. On 7/22/06, Paul Benedict <[EMAIL PROTECTED]> wrote: Shale calls

Re: Struts 2 snapshot build work on JDK 1.4.2?

2006-07-24 Thread Wendy Smoak
On 7/24/06, Chris Waring <[EMAIL PROTECTED]> wrote: I'm trying to use the Struts 2 snapshot build on Weblogic 8.1 using Sun JDK 1.4.2_12. I'm getting a java.lang.UnsupportedClassVersionError: org/apache/struts2/dispatcher/FilterDispatcher (Unsupported major.minor version 49.0). I thought a saw

Re: errorStyleClass not working

2006-07-24 Thread fea jabi
got this working too. bundle="${appbundle}"/> Thanks a lot David and Niall. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: errorStyleClass not working Date: Mon, 24 Jul 2006 13:51:43 -0400 T

Re: [s2] Re: What's the future of Action, events / dispatching and IoC/CoR

2006-07-24 Thread Duong BaTien
Hello Ted: What you describe is interesting. I do not have time in the next couple of weeks. But please post on this list when you have something concrete about XWork "interceptors" in the nexus. (i change the subject from CoC/CoR to IoC/CoR. Correct me if i am wrong). BaTien On Mon, 2006-07-24

Re: errorStyleClass not working

2006-07-24 Thread fea jabi
Thanks, Niall. Got it working by installing as mentioned in the site you suggested to look. And, by giving the below in the validation.xml Have just a single question though. Want to display just a single error message and highlight all the errors. Highlighting is working fine. But it's disp

Struts 2 snapshot build work on JDK 1.4.2?

2006-07-24 Thread Chris Waring
I'm trying to use the Struts 2 snapshot build on Weblogic 8.1 using Sun JDK 1.4.2_12. I'm getting a java.lang.UnsupportedClassVersionError: org/apache/struts2/dispatcher/FilterDispatcher (Unsupported major.minor version 49.0). I thought a saw somewhere that Struts 2 required JDK 1.5 to build but

Re: HTML Tags and ID

2006-07-24 Thread Michael Jouravlev
Tag's "class" attribute conflicts with java.lang.Object.getClass(), therefore it was renamed to styleClass along with styleID. These names are aligned with HTML "style" attribute. ID is a CSS selector, its other use like in the DOM tree is entirely up to a developer. There were opinions that jav

RE: FlashScope: anyone has a better name?

2006-07-24 Thread David Friedman
Great minds think alike. :) And no, I didn't even know about that project - I guess certain needs are universal.Kudos on using the Apache 2.0 license. Too bad Jackasses in the US Patent Office allow ideas this to be patented when many people can come to the same conclusions as well as create

Re: Bean works in JDK 1.4.2_05 doesnt with JDK 1.4.2_12

2006-07-24 Thread Martin Gainty
Nicolas- Did'nt see 1.4.2_12 as 'supported' in any of the platforms listed here http://e-docs.bea.com/platform/suppconfigs/configs81/81_over/overview.html#1146895 M- * This email message and any files transmitted with it contain

Re: Bean works in JDK 1.4.2_05 doesnt with JDK 1.4.2_12

2006-07-24 Thread Nicolas De Loof
This bug comes from the JavaBean spec that defines the "get*" methods to acces javabean properties. JavaBeans can have "indexed" properties if they have a getter with an index param. In your case, two getters exist for the same "property", according to strict JavaBean spec. 1.4.2_05 may not

RE: tag for checking session and forward to login page

2006-07-24 Thread Raghuveer
This is how i have done at present . I am checking session in all execute methods. But My Customer wants not view the page in clicked BACK.Instead login page should shown with message -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 3:22 PM

Bean works in JDK 1.4.2_05 doesnt with JDK 1.4.2_12

2006-07-24 Thread Capaul Giachen F. \(KISX 41\)
Hi all, A developer of ours has a Bean class which looks something like this: public class Level1 { public String getLevel(){ return "level1"; } public String getLevel(int dummy){ return "int method level1"; } } Basically a Bean which has two methods which onl

[s2] Re: What's the future of Action, events / dispatching and CoC/CoR

2006-07-24 Thread Ted Husted
On 7/23/06, Adam Hardy <[EMAIL PROTECTED]> wrote: - dependency injection by Spring for my services / delegates (/ daos) S2 uses Spring as its default object factory, and Action properties can be injected from Spring by matching the property name with the object factory ID. - replacing all th

Re: Retrieve results and display

2006-07-24 Thread Mark Shifman
There are several ways you can do this. What you have done is made one arraylist with all the fields serially put into it. You probably want to have each row as some kind of object and then put these objects into a list. You could your the jstl Result class which puts your result set into an ob

AW: struts wml

2006-07-24 Thread Martin Kindler
Hi, why don't you use just plain jsp? WML ist just an XML application. I do not know, if there are taglibs available for creating the WML specific tags. If not, it should not be difficult to create the code without. This is the road I wanted to go, if I would ever be forced to support WML. At the

Retrieve results and display

2006-07-24 Thread Vaylee Mckenzie-Daniels \(VA\)
Hi I have to display results in jsp that is retrieves from the database. After I retrieve the results, I place the it in an arraylist. But I am a bit confused on how to retrieve an entire row, because I add each field to the arraylist. Eg. String name = rs.getString(1); //value = myname Arrayli

struts wml

2006-07-24 Thread Dhanasekaran Vivekanandhan
Hi All, I am trying to use struts 1.2.9 for generating wml page. currently I found one project avl in sourceforge.net (http://sourceforge.net/project/showfiles.php?group_id=68335&package_id=66856&release_id=138465) ,but this is compatible with Struts v1.1b3 only. Actually the problem happens in han

and

2006-07-24 Thread David Haynes
I want to be able to generate a URL with a GET method for a multiple="true"> scenario so that the result looks like: http://my_host.com?id=2&id=7 As near as I can tell, you can't do it using composeURL and because both of these take a HashMap instead of an ArrayList for the params argument.

[OT] Re: FlashScope: anyone has a better name?

2006-07-24 Thread Antonio Petrelli
Adam Hardy ha scritto: Antonio, what is 'anhemic' programming? It's not in dictionary.com. Yes, well it's "anemic" but I forgot to correct it! :-P Your text on sourceforge says 'See "[put pattern name]" for reference;' but I can't see the link. (is that some resource filter that didn't wo

Re: FlashScope: anyone has a better name?

2006-07-24 Thread Adam Hardy
Antonio Petrelli on 24/07/06 08:48, wrote: David Friedman ha scritto: Why not call them custom scopes and link it into to contexts where appropriate. That way you could name your scope and if it doesn't exist, create it. Then you could have generic methods to handle all sorts of scopes at once

Re: FlashScope: anyone has a better name?

2006-07-24 Thread Antonio Petrelli
Michael Jouravlev ha scritto: Struts has a rudimentary implementation of this tecnhique for handling messages and errors. If a more generic FlashScope were created for Struts, what do you call it: Consider "click" scope, though it smells like a client point-of-view. Just my 2 eurocents Antonio

Re: FlashScope: anyone has a better name?

2006-07-24 Thread Antonio Petrelli
David Friedman ha scritto: Why not call them custom scopes and link it into to contexts where appropriate. That way you could name your scope and if it doesn't exist, create it. Then you could have generic methods to handle all sorts of scopes at once with generic methods like: addScope("reque

Re: Struts forward and redirect

2006-07-24 Thread Antonio Petrelli
Michael Jouravlev ha scritto: On 7/20/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote: A cookie cannot be put into path by definition of a cookie ;-) Automatically modifying redirect location may be undesirable, if redirect is used to control the growth of browser session history list by keep URL

Re: About Display Tag

2006-07-24 Thread Srinivas_Biragoni
Check this.http://displaytag.homeip.net/displaytag-examples-1.1 /example-paging.jsp Thanks, Srinivas.B "senthil.s" <[EMAIL PROTECTED]

RE: About Display Tag

2006-07-24 Thread Chandra.Ravinithala
I have used http://extremecomponents.org/extremesite/index.jsp Pretty neat. Chandra -Original Message- From: Paul Benedict [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 12:52 PM To: Struts Users Mailing List Subject: Re: About Display Tag http://displaytag.sourceforge.net/11/

Re: About Display Tag

2006-07-24 Thread Paul Benedict
http://displaytag.sourceforge.net/11/ has good examples. It's nothing specific to Struts; it works with anything JSP. "senthil.s" <[EMAIL PROTECTED]> wrote: Hi All Anyone can tell me the process of using DisplayTag for Pagination in struts. With Regards Senthil.S This email and

Re: HTML Tags and ID

2006-07-24 Thread Paul Benedict
Thanks everyone. That's what I was looking for. It's named badly, imo, because styling may use an id, but its main purpose is for the DOM tree. vijay venkataraman <[EMAIL PROTECTED]> wrote: Hi, As Thomas Joseph mentioned, styleId is a the way to get 'id' in your html document when you are using