Re: View side

2005-08-20 Thread Martin Gainty
Rafael Using any technology which transmits only deltas between client and server has my vote Especially when those deltas are transmitted using standardised XML formats.. +1 for Ajax Buena Suerte Martin - Original Message - From: "Rafael Taboada" <[EMAIL PROTECTED]> To: "Struts Li

Re: Using custom tags and struts together

2005-08-20 Thread Murray Collingwood
Thanks Wendy I think the idea of using a security bean is what I need to do. Kind regards mc On 20 Aug 2005 at 9:50, Wendy Smoak wrote: > > I hope you are getting the picture. This is why I was trying to use a > > custom tag that could still interact with my model, call business methods > > t

Re: View side

2005-08-20 Thread Frank W. Zammetti
That wasn't even the FIRST AjaxTags... http://struts.sourceforge.net/ajaxtags/index.html And then there's the currently-supported version: http://javawebparts.sourceforge.net/javadocs/index.html Sorry... the AjaxTags you referenced is kind of a sore point for me... the authors were less than

Re: View side

2005-08-20 Thread Lucas Bern
Hi Rafael... I have been developing in a project with struts hibernate and JSP for front end... my experience was great, I think JSP is the best idea, sometimes I get surprised with the results you can see coupling differents cutsom tags. Velocity is a great technology, but, remember it is not we

Re: List selection manager 'widget'

2005-08-20 Thread Frank W. Zammetti
Hi Laurie, I built such a widget some years ago... it's probably not in the form you want (i.e., it's not just a new tag to use), but it might be worth a look... I'll see if I can dig it out of the archives. It also had the ability to reorder the elements in the selected items box if that's

Re: Overriding the init() method in the Action Servlet.

2005-08-20 Thread Joe Germuska
At 12:23 PM -0400 8/20/05, Sudhaker Raj wrote: You can try struts-plugin to execute startup code. I would avoid making changes in core behaviors if possible without changing them. I would agree with this, and with Wendy's post. If you need certain things to happen at servlet initialization ti

List selection manager 'widget'

2005-08-20 Thread Laurie Harper
Does anybody have, or know of, a good HTML form 'widget' for managing value lists, something like AvailableSelected +-+ ++ | item A |>>| || | item B |>>|| | item C |<<|| | ... | |<<|

Re: Overriding the init() method in the Action Servlet.

2005-08-20 Thread Wendy Smoak
From: "Anuradha S.Athreya" <[EMAIL PROTECTED]> I understand it is possible to override the init() method in the Action Servlet class. How can I go about achieving this? What are the changes that I need to make in the web.xml. I need to introduce this in my application, since I need to initiali

Re: Overriding the init() method in the Action Servlet.

2005-08-20 Thread Laurie Harper
Another option is to have your startup code in its own, separate servlet (or you could use a context listener). Unless you specifically need to alter behaviour of the standard ActionServlet, keeping your startup code separate probably makes more sense. L. Sudhaker Raj wrote: You can try stru

Re: Best Design Practice

2005-08-20 Thread Eric C. Hein
Try Rick's site: http://www.reumann.net/struts/main.do - Original Message - From: "karthikeyan balasubramanian" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, August 20, 2005 3:07 AM Subject: Best Design Practice Hi all, I know this question has been asked bef

Re: Using custom tags and struts together

2005-08-20 Thread Wendy Smoak
I hope you are getting the picture. This is why I was trying to use a custom tag that could still interact with my model, call business methods to make security decisions and vary the generated link accordingly. And finally the question: How should I go about writing the "Update" link now that

View side

2005-08-20 Thread Rafael Taboada
Hi folks... I'm going to start a new project using my favorite framework: Struts. In my first project (it isn't finished yet) for VIEW side I used taglibs with a little JSTL (core). All work fine... But with the new topic I heard in this list about AJAX, JSF, VELOCITY... I'm confused how to st

Re: [Friday] [somewhat-ajax-related] XMLHttpRequest scoping problems

2005-08-20 Thread Sudhaker Raj
You may want to check OpenRICO - http://openrico.org Cheers, On 8/19/05, David Durham <[EMAIL PROTECTED]> wrote: > Hi -- > > There's been some traffic on this list involving XMLHttpRequests and > javascript, and since it's Friday ... > > My problem: How to use multiple asynchronous requests sim

Re: html:form not generating name="" attribute

2005-08-20 Thread Don Brown
Ok, I looked at the 1.2.7 source, and indeed, it doesn't generate an "id" or"name" if xhtml mode is on. You are correct, the styleId is a good workaround, especially if you use the commons-validator checked out from trunk. Don On 8/20/05, Morris Jones <[EMAIL PROTECTED]> wrote: > Don Brown wrote

Re: Using custom tags and struts together

2005-08-20 Thread Dave Newton
Murray Collingwood wrote: I could use a tag to test the value of the security number and then display the link if appropriate. This gets more complicated when the security number 3 is used, as then I have to test values on the record as well, suddenly I have nested tags and the page is star

Re: Overriding the init() method in the Action Servlet.

2005-08-20 Thread Sudhaker Raj
You can try struts-plugin to execute startup code. I would avoid making changes in core behaviors if possible without changing them. On 8/20/05, Anuradha S.Athreya <[EMAIL PROTECTED]> wrote: > Hello, > > > > I understand it is possible to override the init() method in the Action > Servlet class

Re: html:form not generating name="" attribute

2005-08-20 Thread Morris Jones
Don Brown wrote: > You probably enabled xhtml output rendering, which renders an "id" > attribute instead. Unfortunately, client-side validation in xhtml is > currently broken in Struts 1.2.7, so you can either checkout and build > commons-validator or wait until the next release. Thanks Don, ye

domain missing from html:rewrite html:link etc

2005-08-20 Thread Albrecht Leiprecht
On Sun, 24 Jul 2005 08:17:43 -0700 Mark Benussi asked a question ...When using html:link (A struts tag library) and the other associated tags (rewrite etc) the domain is missing... I moved my pages today too... same effect ... What was the reason in your case, and what did help solving this is

LookupDispatchForm - Lookup Dispatch Form

2005-08-20 Thread Toll, Marvin \(M.\)
The book "Struts Recipes" introduces the notion of a DispatchForm to compliment DispatchAction. Our organization recommends using LookupDispatchAction. I'm wondering if anyone has knowledge of: 1) An implementation of a base "LookupDispatchForm" supporting discreet (button selection dependent)

Re: Best Design Practice

2005-08-20 Thread Sergey Pariev
Hi. You might look at AppFuse - http://appfuse.dev.java.net - it's a sample app with Spring as business layer and Hibernate\iBatis as Persistence. HTH, Sergey. karthikeyan balasubramanian пишет: Hi all, I know this question has been asked before but still I would like to get some expert opi

Best Design Practice

2005-08-20 Thread karthikeyan balasubramanian
Hi all, I know this question has been asked before but still I would like to get some expert opinion. If Struts only falls into UI layer then what you guys use for Business Layer and Persistence Layer. Is there a working example which covers all these 3 layers with Struts falling into UI lay

Re: [Shale] What's the deal with the dollar signs?

2005-08-20 Thread Craig McClanahan
On 8/20/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > Craig, > > I was actually referring to the class names. I was > confused by the use cases app which didn't list > the faces ViewHandler, NavigationHandler, etc. > Is there another working example which could show > me how those work? I on

RE: [Shale] What's the deal with the dollar signs?

2005-08-20 Thread David G. Friedman
Craig, I was actually referring to the class names. I was confused by the use cases app which didn't list the faces ViewHandler, NavigationHandler, etc. Is there another working example which could show me how those work? I only saw the use case using the ShaleFilter, not the Shale JSF parts. As

Re: [Shale] What's the deal with the dollar signs?

2005-08-20 Thread Craig McClanahan
On 8/20/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > I thought I'd read some Shale documents a while ago mentioning the purpose > for the dollar signs in the example use cases but while speed-reading though > various Shale documents, I'm totally missing that. Can someone point that > out to

Re: Using custom tags and struts together

2005-08-20 Thread Murray Collingwood
Thanks for the responses to my question. I agree totally with what you are saying, to try generating Struts tags from a Custom tag is completely the wrong approach - I can see that now (you know, "I see the light" :-) Let me explain what I am trying to do, maybe somebody can point me in the ri

[Shale] What's the deal with the dollar signs?

2005-08-20 Thread David G. Friedman
I thought I'd read some Shale documents a while ago mentioning the purpose for the dollar signs in the example use cases but while speed-reading though various Shale documents, I'm totally missing that. Can someone point that out to me? Thanks, David