Re: [shale] Using t:radio in Clay

2006-03-24 Thread Ryan Wynn
On 3/24/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > Gary VanMatre wrote: > > Oh, I missed that one. We need to override the t:selectOneRadio > > renderer. The JSP tag must be doing this in the tomahawk components > > since it's not in the faces-config.xml. Try the following: I think these

Re: [shale] Best practice for passing information between views in Shale

2006-03-24 Thread Craig McClanahan
On 3/24/06, Hermod Opstvedt <[EMAIL PROTECTED]> wrote: > > Hi > > I have scenario where information on one page is used a basis for another > page. What would be best practice for transferring information from page1 > to > page2, where both pages are request scoped. Declaring this as a dialog > flo

Re: Is Shale supposed to work in a portlet environment?

2006-03-24 Thread Craig McClanahan
On 3/24/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > >From: "Marcio E Miranda" <[EMAIL PROTECTED]> > > > > That's what I understood from the documentation in the website, but the > fact is > > that I get an error (the browser shows an exception) if I don't register > a > > managed bean with the

Dynamic DynaActionForms

2006-03-24 Thread Will Hartung
Simply put I have a need for a configurable form that can have any mixture of fields on it including, specifically, file uploads. Seems to me that the DynaActionForm would be the way to go about this, however, they're defined in struts-config. Clearly, struts already has all of the code to conver

View Not Correctly Being Indexed by searchengines.

2006-03-24 Thread Jim Reynolds
Hello, I created a ecommerce site using struts and opened it up about 6 months ago. Ever since its inception, I have had trouble getting my site indexed by google, or any other searchengine. I am using servlet mapping of ".do". I cannot understand for my life, but it appears that when the robots

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Jonathan Revusky
Steve Raeburn wrote: Bottom line is that this is the way Apache works and it's not going to change. Of course not. Especially when, even when your practices fail, you can convince people like the Webwork guys to give you code and mask your failure. I guess you *could* continue to argue th

Re: [Shale] Name scoping in Clay

2006-03-24 Thread Gary VanMatre
>From: Hermod Opstvedt <[EMAIL PROTECTED]> > > Hi > > I have defined a Clay component: > >allowBody="false"> > > > > > > > The "jsfid" attribute should be named "clayJsfid". The "jsfid" here says that you want to use the clay component and the "clayJsfid"

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Steve Raeburn
Bottom line is that this is the way Apache works and it's not going to change. I guess you *could* continue to argue that this method has been a failure for both Struts and Apache (and most other significant open source projects), but I think the evidence suggests otherwise. Steve Jonathan

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Dave Newton
Jonathan Revusky wrote: > No, they're not insofar as code is code. However, there are huge > differences in the motivations and in the overall sociology or > dynamics of the situation though. In the open-source case, nobody is > working on some project that they find uninteresting because their bos

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Jonathan Revusky
Dave Newton wrote: Jonathan Revusky wrote: I just visited the above link and read the article and I don't see how this can be presented as evidence against a more open collaborative model. Basically it's the story of a bug. Somebody made a mistake. People will make mistakes regardless. Yep.

indexed property validation: how to keep the value the user entered

2006-03-24 Thread Carl Smith
I have a jsp containing an indexed test box field, and I need to validate the user enter a value into all the text boxes when clicking on the save button. Validation is done OK, but there is an issue. Let me give you an example illustrating the issue: if there are three text boxes, the user ente

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Jonathan Revusky
Michael Jouravlev wrote: On 3/24/06, Steve Raeburn <[EMAIL PROTECTED]> wrote: I have an idea. Why don't we publish the source code to Struts so that absolutely anyone can contribute to the project. You are right that we'll need a review process for all those contributions. So why don't we requi

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Dave Newton
Jonathan Revusky wrote: > Tell me, does the same old wine in a new bottle taste any different? Depends on the new bottle and the process used to transfer the wine. Yep; wine geek, too. Dave - To unsubscribe, e-mail: [EMAIL PR

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Jonathan Revusky
Steve Raeburn wrote: I have an idea. Why don't we publish the source code to Struts so that absolutely anyone can contribute to the project. You are right that we'll need a review process for all those contributions. So why don't we require all incoming code to be reviewed by at least one exper

Re: Struts-EL Tag Question

2006-03-24 Thread Michael Jouravlev
http://struts.apache.org/struts-el/tagreference-struts-bean-el.html#bean:size Try "name" instead of "collection". On 3/24/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: > I have a collection in the Request called "processes" which is an array > list of a Transfer Object I use in my application.

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Michael Jouravlev
On 3/24/06, Steve Raeburn <[EMAIL PROTECTED]> wrote: > I have an idea. Why don't we publish the source code to Struts so that > absolutely anyone can contribute to the project. You are right that > we'll need a review process for all those contributions. So why don't we > require all incoming code

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Steve Raeburn
I have an idea. Why don't we publish the source code to Struts so that absolutely anyone can contribute to the project. You are right that we'll need a review process for all those contributions. So why don't we require all incoming code to be reviewed by at least one experienced developer befo

Re: Parsing error processing resource path /WEB-INF/struts-config.xml ja

2006-03-24 Thread Rajul
Hi, I am getting the same error "FilenotfoundException" for struts-config.xml with Tomcat 5. Did you figure out how to resolve this? -Rajul. -- View this message in context: http://www.nabble.com/Parsing-error-processing-resource-path-WEB-INF-struts-config.xml-java.io.FileNotFoundException-in

Struts-EL Tag Question

2006-03-24 Thread Kalcevich, Daniel
I have a collection in the Request called "processes" which is an array list of a Transfer Object I use in my application. I am trying to make the following call from my JSP: I am getting the following error: javax.servlet.jsp.JspException: No valid collection specified for size tag

Re: Struts Tutorial

2006-03-24 Thread Jonathan Revusky
Ted Husted wrote: On 3/24/06, Larry Meadors <[EMAIL PROTECTED]> wrote: That is not really an accurate parallel...no one is saying that the apache web server and the apache organization are the same thing...but I guess struts-shale and struts-action aren't either...so why are they the same proje

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Dave Newton
Jonathan Revusky wrote: > I just visited the above link and read the article and I don't see how > this can be presented as evidence against a more open collaborative > model. Basically it's the story of a bug. Somebody made a mistake. > People will make mistakes regardless. Yep. Guess what, tho

Array object within map backed property.

2006-03-24 Thread Anthony Bargnesi
Hello, I am trying to use an Integer Array (Integer[]) within a map backed property of my ValidatorForm. I declare my map as follows: private Map _websiteIds = new HashMap(); The map _websiteIds is keyed by a String and the value object is an Integer[]. In my jsp file I try referencing the int

[Shale] Name scoping in Clay

2006-03-24 Thread Hermod Opstvedt
Hi I have defined a Clay component: Where @managed-bean-name is set to the faces defined managed bean open$arrangement. I would have thought that Clay would resolve this to for instance myBean.createTabs, but I am getting an error : Exce

[shale] Best practice for passing information between views in Shale

2006-03-24 Thread Hermod Opstvedt
Hi I have scenario where information on one page is used a basis for another page. What would be best practice for transferring information from page1 to page2, where both pages are request scoped. Declaring this as a dialog flow, or using a session scoped bean as a value holder? Another goes for

Re: [tiles] tabsLayout.jsp location

2006-03-24 Thread Wendy Smoak
On 3/24/06, Garner Shawn <[EMAIL PROTECTED]> wrote: > Is the tabsLayout.jsp a page that comes with the struts binary > distribution in a jar somewhere or is this a file I have to actually > create? The only one I know of is part of the tiles-documentation webapp, which was moved to the sandbox:

[tiles] tabsLayout.jsp location

2006-03-24 Thread Garner Shawn
Is the tabsLayout.jsp a page that comes with the struts binary distribution in a jar somewhere or is this a file I have to actually create? Shawn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Get a list of defined Struts actions at runtime

2006-03-24 Thread Abdullah Jibaly
Take a look at http://mojodna.net/sprout/, it may be similar to what you need. -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 10:35 AM To: Struts Users Mailing List Subject: RE: Get a list of defined Struts actions at runtime > > At runtime

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Jonathan Revusky
Dave Newton wrote: Dakota Jack wrote: I flat don't believe this. Who, what, where, when, etc? This isn't me (although I did fix an essentially identical bug in an internal webapp at Morgan Stanley (who), an Action instance variable (what), in Morristown (where), spring 2004 (when), becaus

Re: [OT][Friday] funny

2006-03-24 Thread Dave Newton
On 3/24/06, Greg Reddin <[EMAIL PROTECTED]> wrote: >> I thought Friday and beer were synonymous :-) >> No no, that's beer and days of the week ending in 'y'... Or 'g' if you're German... Or [insert language stuff here but I don't feel like going through the languages I know the days of the w

Re: [shale] Using t:radio in Clay

2006-03-24 Thread Richard Wallace
Gary VanMatre wrote: That mostly works. Now the page renders and the spread radio buttons are displayed where I have the elements, but the radio buttons are also displayed where the element is. They're not supposed to be rendered if the layout is set to spread tho. I'll play around with

Re: [OT][Friday] funny

2006-03-24 Thread Simon Chappell
On 3/24/06, Greg Reddin <[EMAIL PROTECTED]> wrote: > I thought Friday and beer were synonymous :-) > > Greg > > On Mar 24, 2006, at 1:12 PM, Rick Reumann wrote: > > > > > Sorry, meant to put "Friday" in the subject or is it still "Beer" > > we are supposed to use? > > > > Rick Reumann wrote the fol

Re: [OT][Friday] funny

2006-03-24 Thread Greg Reddin
I thought Friday and beer were synonymous :-) Greg On Mar 24, 2006, at 1:12 PM, Rick Reumann wrote: Sorry, meant to put "Friday" in the subject or is it still "Beer" we are supposed to use? Rick Reumann wrote the following on 3/24/2006 1:54 PM: D20 magic missile, and no saving throw!...

Re: [OT][Friday] funny

2006-03-24 Thread Rick Reumann
Sorry, meant to put "Friday" in the subject or is it still "Beer" we are supposed to use? Rick Reumann wrote the following on 3/24/2006 1:54 PM: D20 magic missile, and no saving throw!... those that played D&D back in the day can relate:)... http://video.google.com/videoplay?docid=752104402

[OT] funny

2006-03-24 Thread Rick Reumann
D20 magic missile, and no saving throw!... those that played D&D back in the day can relate:)... http://video.google.com/videoplay?docid=7521044027821122670 -- Rick http://www.learntechnology.net - To unsubscribe, e-mail: [EM

RE: Get a list of defined Struts actions at runtime

2006-03-24 Thread Brantley Hobbs
> OOPS! Copy-paste busted. > > I meant to say, in your struts-config.xml: > > > :D > Hubert > > (ps. what? you think I have all this in memory?) > > > and in your struts-config.xml: > > > > > > > > > > Ahh. I was mightily confused by the property "defnames". This is

RE: Quartz and struts

2006-03-24 Thread Abdullah Jibaly
Thanks everyone! I knew I'd seen this article but couldn't remember where. It's excellent. -Abdullah -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 11:40 AM To: Struts Users Mailing List Subject: Re: Quartz and struts * http://www.onjava.com

Re: Get a list of defined Struts actions at runtime

2006-03-24 Thread Hubert Rabago
OOPS! Copy-paste busted. I meant to say, in your struts-config.xml: :D Hubert (ps. what? you think I have all this in memory?) On 3/24/06, Hubert Rabago <[EMAIL PROTECTED]> wrote: > I wouldn't subclass ActionServlet just for this. Try doing this in a > Struts plugin instead: > > package

Re: Get a list of defined Struts actions at runtime

2006-03-24 Thread Hubert Rabago
I wouldn't subclass ActionServlet just for this. Try doing this in a Struts plugin instead: package edu.uga.itos; public class HobbsPlugIn implements PlugIn { public void init(ActionServlet servlet, ModuleConfig config) throws ServletException { String actionList

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
On 3/24/06, Ted Husted <[EMAIL PROTECTED]> wrote: > It's a people thing, Larry. It's really the same reason most of us > came here in the first place. We came here because we believe that we > can build a better framework working together than we can working > apart. Likewise, we believe that we ca

RE: Get a list of defined Struts actions at runtime

2006-03-24 Thread Brantley Hobbs
> I'm just throwng this out there but, is this something that could be > solved > a little easier with annotations? I just got my Thinking in Java (4th > ed) recently, > so don't hate on me. I have to plead ignorance. What is an annotation? I'm completely open to a less...umminvasive method

Re: struts-blank.war jboss 500 error {V2 - correction to path}

2006-03-24 Thread Rahul Akolkar
On 3/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > ummmanybody care to take a stab at this one? > Its looking for a JSP 2.0 TagAttributeInfo constructor that it can't find (TC 5.x supports JSP 2.0, 4.x does 1.2). Its a jsp-api.jar mixup, though I can't see why that would happen with

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
On 3/24/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Shale is no Mustang anymore. Will it turn out a Lambo is question > number one. Will many Mustang devotees decide to change from Mustang > to Lambo is question number two. I agree, but this is where the car analogy breaks down (ha, a pun).

Re: Struts Tutorial

2006-03-24 Thread Ted Husted
On 3/24/06, Larry Meadors <[EMAIL PROTECTED]> wrote: > That is not really an accurate parallel...no one is saying that the > apache web server and the apache organization are the same thing...but > I guess struts-shale and struts-action aren't either...so why are they > the same project again? Is i

Re: Quartz and struts

2006-03-24 Thread mcmoisei
I think the plug in way is great too! -- Original message -- From: "Ted Husted" <[EMAIL PROTECTED]> > * > http://www.onjava.com/pub/a/onjava/2006/03/01/job-scheduling-in-web-application. > html > > On 3/24/06, Abdullah Jibaly <[EMAIL PROTECTED]> wrote: > > Hi all

Re: Quartz and struts

2006-03-24 Thread mcmoisei
It's very simple. Folow the example they provide. I think I use it on a separate servlet so I can define my tasks via web.xml file... -- Original message -- From: "Ted Husted" <[EMAIL PROTECTED]> > * > http://www.onjava.com/pub/a/onjava/2006/03/01/job-scheduling

Re: Struts Tutorial

2006-03-24 Thread Michael Jouravlev
On 3/24/06, Al Eridani <[EMAIL PROTECTED]> wrote: > But cars are a good example of the type of branding being attempted > with Struts. Why does Ford keep marketing a model like the Mustang that > it has changed so radically over the years, instead of calling it something > else? Changed radically?

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Hubert Rabago
I'm not sure what you mean by "I am validating the DynaValidatorForm properties to check is the user is entering the right value, ..., which is wrong" but I'm gonna try responding anyway and see if I interpreted you correctly. The validation happens after Struts has populated the form bean but bef

Re: Quartz and struts

2006-03-24 Thread Ted Husted
* http://www.onjava.com/pub/a/onjava/2006/03/01/job-scheduling-in-web-application.html On 3/24/06, Abdullah Jibaly <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there a good resource explaining how to use the Quartz scheduler with > Struts? Any links/advice would be appreciated. > > Thanks, > Abdu

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
On 3/24/06, Al Eridani <[EMAIL PROTECTED]> wrote: > But cars are a good example of the type of branding being attempted > with Struts. Why does Ford keep marketing a model like the Mustang that > it has changed so radically over the years, instead of calling it something > else? > > Because they ar

Re: Struts Tutorial

2006-03-24 Thread Hubert Rabago
I'm not sure how the books didn't fit your needs, but maybe you can give this a try: http://www.learntechnology.net/ It's one of the most common tutorials we pass around in here. Hubert On 3/24/06, Andreas <[EMAIL PROTECTED]> wrote: > Hi, I'm a newbie in Struts so I'm looking for a struts tutori

Re: Struts Tutorial

2006-03-24 Thread Al Eridani
On 3/24/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Oh, come on. Ford has Ford, Lincoln and Mercury. Fiat has Fiat, Alfa > Romeo, Lancia, Ferrari and whatever else. Renault has Renault, Nissan > and Volvo Trucks? Whatever. > > We just need to set a default. Do you think Ferrari when you say

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Michael Jouravlev
On 3/24/06, fea jabi <[EMAIL PROTECTED]> wrote: > BeanUtils.copyProperties(myBusinessBean,form)) is copying DynaValidatorForm > String values to the myBusinessBean which is having the right data types. > > But in validator.xml, I am validating the DynaValidatorForm properties to > check if user is

RE: Is Shale supposed to work in a portlet environment?

2006-03-24 Thread Gary VanMatre
>From: "Marcio E Miranda" <[EMAIL PROTECTED]> > > That's what I understood from the documentation in the website, but the fact > is > that I get an error (the browser shows an exception) if I don't register a > managed bean with the same name of the view. > > And the error has nothing to do w

Re: Quartz and struts

2006-03-24 Thread James Mitchell
http://www.amazon.co.uk/exec/obidos/Author%3DCavaness%2C%20Chuck/ 203-3540950-6362343 -- James Mitchell On Mar 24, 2006, at 12:13 PM, Abdullah Jibaly wrote: Hi all, Is there a good resource explaining how to use the Quartz scheduler with Struts? Any links/advice would be appreciated.

RE: struts-blank.war jboss 500 error {V2 - correction to path}

2006-03-24 Thread paul
ummmanybody care to take a stab at this one? I know it's probably something obvious and I may look like a dumb n00b, but I've sort of reached my limit looking for the obvious. ta, pc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, March 25, 2006

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
Heh, so, when someone says "Volkswagon" are you saying that you know they really meant "Porsche", or that when someone says "Porsche" they really meant "VW"? My guess is that the people who make Porsches do not want people to look at a 928 and think "Cool, a Volkswagon...". My guess is that they d

Quartz and struts

2006-03-24 Thread Abdullah Jibaly
Hi all, Is there a good resource explaining how to use the Quartz scheduler with Struts? Any links/advice would be appreciated. Thanks, Abdullah - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: Get a list of defined Struts actions at runtime

2006-03-24 Thread Vinny
I'm just throwng this out there but, is this something that could be solved a little easier with annotations? I just got my Thinking in Java (4th ed) recently, so don't hate on me. Peace On 3/24/06, Brantley Hobbs <[EMAIL PROTECTED]> wrote: > > > At runtime I need to get a list of /all/ the act

Re: [shale] Using t:radio in Clay

2006-03-24 Thread Gary VanMatre
>That mostly works. Now the page renders and the spread radio buttons >are displayed where I have the > elements, but the radio >buttons are also displayed where the >element is. They're not supposed to be rendered if the layout is set to >spread tho. I'll play around with it a bit today a

Re: Struts Tutorial

2006-03-24 Thread Al Eridani
On 3/24/06, Larry Meadors <[EMAIL PROTECTED]> wrote: > On 3/24/06, James Mitchell <[EMAIL PROTECTED]> wrote: > > As far as products, right now there is Action and Shale. > > > > Most people familiar with Action might just say 'Struts' and there > > isn't usually a misunderstanding. I suppose the s

RE: Is Shale supposed to work in a portlet environment?

2006-03-24 Thread Marcio E Miranda
That's what I understood from the documentation in the website, but the fact is that I get an error (the browser shows an exception) if I don't register a managed bean with the same name of the view. And the error has nothing to do with a component backing bean. The same application that works

Re: Struts Tutorial

2006-03-24 Thread Vinny
Depends, do Ferrari and Fiat engineeers use the same mailing list? On 3/24/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 3/24/06, Larry Meadors <[EMAIL PROTECTED]> wrote: > > On 3/24/06, James Mitchell <[EMAIL PROTECTED]> wrote: > > > As far as products, right now there is Action and Shal

the ValidateExtends extension

2006-03-24 Thread Vinny
I've been using the ValidateExtends extension to validate nested dynaform to great effect. Currently , it provides no method of using the client side (javascript) stuff. Any plans for that to be included? Will this become a non-issue in the new Action framework? http://www.niallp.pwp.blueyonder.c

Re: Struts Tutorial

2006-03-24 Thread Michael Jouravlev
On 3/24/06, Larry Meadors <[EMAIL PROTECTED]> wrote: > On 3/24/06, James Mitchell <[EMAIL PROTECTED]> wrote: > > As far as products, right now there is Action and Shale. > > > > Most people familiar with Action might just say 'Struts' and there > > isn't usually a misunderstanding. I suppose the s

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
No, that makes you a cheese head...it is Friday, right? Larry On 3/24/06, Dave Newton <[EMAIL PROTECTED]> wrote: > Larry Meadors wrote: > > On 3/24/06, Dave Newton <[EMAIL PROTECTED]> wrote: > > > >> James Mitchell wrote: > >> > >>> As far as products, right now there is Action and Shale. > >>>

Re: Struts Tutorial

2006-03-24 Thread Dave Newton
Larry Meadors wrote: > On 3/24/06, Dave Newton <[EMAIL PROTECTED]> wrote: > >> James Mitchell wrote: >> >>> As far as products, right now there is Action and Shale. >>> >>> Most people familiar with Action might just say 'Struts' and there >>> isn't usually a misunderstanding. I suppose th

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
On 3/24/06, Dave Newton <[EMAIL PROTECTED]> wrote: > James Mitchell wrote: > > As far as products, right now there is Action and Shale. > > > > Most people familiar with Action might just say 'Struts' and there > > isn't usually a misunderstanding. I suppose the same confusion exists > > when some

Re: Struts Tutorial

2006-03-24 Thread Vinny
I'm still lobbying for a mailing list split. struts_shale struts_action Too much context switching going on here for my poor brain. Yeah I know filters, label, dogs and bees. Anyone with me on this ? On 3/24/06, Dave Newton <[EMAIL PROTECTED]> wrote: > James Mitchell wrote: > > As far as produ

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
On 3/24/06, James Mitchell <[EMAIL PROTECTED]> wrote: > As far as products, right now there is Action and Shale. > > Most people familiar with Action might just say 'Struts' and there > isn't usually a misunderstanding. I suppose the same confusion > exists when someone says 'Apache'. Do you mean

Re: Struts Tutorial

2006-03-24 Thread Dave Newton
James Mitchell wrote: > As far as products, right now there is Action and Shale. > > Most people familiar with Action might just say 'Struts' and there > isn't usually a misunderstanding. I suppose the same confusion exists > when someone says 'Apache'. Do you mean the organization or the server?

RE: Get a list of defined Struts actions at runtime

2006-03-24 Thread Brantley Hobbs
> > At runtime I need to get a list of /all/ the actions that are defined in > > Struts. I'd rather not extract them directly from the conf file(s) > > unless it's absolutely necessary, but I don't (readily) see an API for > > doing this so I might be forced into it. > > > > It seems a bit diffic

Re: Struts Tutorial

2006-03-24 Thread James Mitchell
As far as products, right now there is Action and Shale. Most people familiar with Action might just say 'Struts' and there isn't usually a misunderstanding. I suppose the same confusion exists when someone says 'Apache'. Do you mean the organization or the server? -- James Mitchell Ed

RE: upgrading from 1.1 to 1.2.9

2006-03-24 Thread Slattery, Tim - BLS
> So, my question - is this expected behavior? Is 1.2.9 > backward compatible to 1.1? Or are there some hidden gotchas > that I should be concerned about? I got snagged when my app tried to display an error message on a page. Turns out that the resources file was found using the "application.

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Dave Newton
Dakota Jack wrote: > I flat don't believe this. Who, what, where, when, etc? > This isn't me (although I did fix an essentially identical bug in an internal webapp at Morgan Stanley (who), an Action instance variable (what), in Morristown (where), spring 2004 (when), because they paid me (why)

Re: [shale] Using t:radio in Clay

2006-03-24 Thread Richard Wallace
Gary VanMatre wrote: Hello again, I'm trying to use the Tomahawk t:selectOneRadio and t:radio components to use the spread layout feature. Here's the clay-config.xml configuration for my component definitions:

Re: upgrading from 1.1 to 1.2.9

2006-03-24 Thread Rahul Akolkar
On 3/24/06, Daniel Blumenthal <[EMAIL PROTECTED]> wrote: > I just took the plunge, and upgraded from 1.1 to 1.2.9. I did the > following: > > replaced all the .jar files in WEB-INF/lib > replaced all the .tlds in WEB-INF > upgraded to sslext1.2 > restarted Tomcat > > And, um, everything just worke

Re: upgrading from 1.1 to 1.2.9

2006-03-24 Thread Gary VanMatre
>From: "Daniel Blumenthal" <[EMAIL PROTECTED]> > > I just took the plunge, and upgraded from 1.1 to 1.2.9. I did the > following: > > replaced all the .jar files in WEB-INF/lib > replaced all the .tlds in WEB-INF > upgraded to sslext1.2 > restarted Tomcat > > And, um, everything just worke

Re: Struts Tutorial

2006-03-24 Thread Dave Newton
Andreas wrote: > Hi, I'm a newbie in Struts so I'm looking for a struts tutorial on the net. Which Struts? See, I don't like that I have to ask that question, and on this I completely agree with Jonathon etc. :P Dave - To un

upgrading from 1.1 to 1.2.9

2006-03-24 Thread Daniel Blumenthal
I just took the plunge, and upgraded from 1.1 to 1.2.9. I did the following: replaced all the .jar files in WEB-INF/lib replaced all the .tlds in WEB-INF upgraded to sslext1.2 restarted Tomcat And, um, everything just worked. Now, normally this wouldn't be something I'd be complaining about,

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-24 Thread Dave Newton
Dakota Jack wrote: > I flat don't believe this. Who, what, where, when, etc? > Uh... you're saying you don't believe I've managed and/or worked on large projects at large companies? Or you're saying that you don't believe that I've had (occasionally _substantial_) issues with sub-standard cod

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread fea jabi
BeanUtils.copyProperties(myBusinessBean,form)) is copying DynaValidatorForm String values to the myBusinessBean which is having the right data types. But in validator.xml, I am validating the DynaValidatorForm properties to check if user is entering the right value i.e Double. which is wrong.

Treeview with checkbox

2006-03-24 Thread Daniel Kies
Greetings. I need to make a treeview for a web page that has check boxes next to the items so that users can change their status. Has anyone done something like this before with struts? I have gotten the Struts-Layout taglibs working, but I don't see any way to configure these with checkboxes.

Re: Is Shale supposed to work in a portlet environment?

2006-03-24 Thread Gary VanMatre
>From: "Marcio E Miranda" <[EMAIL PROTECTED]> > > Hi, > > > > First of all, there is one point in Shale that I didn't understand very > well. Why the developer has to register a managed bean for each view? The shale ViewController adds additional lifecycle events to the vanilla JSF lifecy

RE: struts-blank.war jboss 500 error {V2 - correction to path}

2006-03-24 Thread paul
and I also get the same error with Jakarta-tomcat-5-5-9. Which leads me to surmise something has changed in the setup between V4 of tomcat and V5, as Jboss is also using V5 of tomcat. So what config causes Struts examples to work out of the box on Tomcat V4, but fail in V5/Jboss? Could be my set

struts-blank.war jboss 500 error {V2 - correction to path}

2006-03-24 Thread paul
Hi, I've had Struts1-2-9 working under Tomcat-4-1-31 no problems. eg: drop struts-blank.war into the webapps directory and punch http://localhost:8080/struts-blank/ and it shows fine. Now I try to evaluate JBoss-4-0-4RC1 auto install, drop struts-blank.war into C:\jboss-4.0.4RC1\server\default\dep

struts-blank.war jboss 500 error

2006-03-24 Thread paul
Hi, I've had Struts1-2-9 working under Tomcat-4-1-31 no problems. eg: drop struts-blank.war into the webapps directory and punch http://localhost:8080/struts-blank/ and it shows fine. Now I try to evaluate JBoss-4-0-4RC1 auto install, drop struts-blank.war into C:\jboss-4.0.4RC1\server\default\tmp

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Hubert Rabago
On 3/24/06, fea jabi <[EMAIL PROTECTED]> wrote: > thankyou for your response and clear expaination. > > If I use String for the formbean do I have to convert it to Double before i > validate? > > Is there an easier way to convert all form-properties in the form at the > same time? Yes. BeanUtils.

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Hubert Rabago
On 3/24/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > On 3/24/06, Hubert Rabago <[EMAIL PROTECTED]> wrote: > > You know, you're right. I don't know why we list those there since > > DynaActionForm can support any type. (pause, think.) > > > The intent probably was to mention that those converte

Re: Error

2006-03-24 Thread Vinit Sharma
The page doesn't contain errorKey as an attribute, but certainly I'm working on 1.2.4 binaries. But same approach and binaries have not posed and problem in another implementation. Thanks, On 3/24/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > > On 3/24/06, Vinit Sharma <[EMAIL PROTECTED]> wrote

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread fea jabi
thankyou for your response and clear expaination. If I use String for the formbean do I have to convert it to Double before i validate? Is there an easier way to convert all form-properties in the form at the same time? Thanks. From: "Hubert Rabago" <[EMAIL PROTECTED]> Reply-To: "Struts

Is Shale supposed to work in a portlet environment?

2006-03-24 Thread Marcio E Miranda
Hi, First of all, there is one point in Shale that I didn't understand very well. Why the developer has to register a managed bean for each view? When I try to access a page without registering a bean with the same name of the view in faces-config.xml, I get an error from Shale stating that the

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Rahul Akolkar
On 3/24/06, Hubert Rabago <[EMAIL PROTECTED]> wrote: > You know, you're right. I don't know why we list those there since > DynaActionForm can support any type. (pause, think.) The intent probably was to mention that those converters are *guaranteed* to be available (since they exist in BeanUti

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Hubert Rabago
You know, you're right. I don't know why we list those there since DynaActionForm can support any type. (pause, think.) Hmm, maybe next week I'll find time to fix that. (Patches to docs are welcome!) Anyway, I think you missed a statement a few paragraphs down the same section: "And, of course,

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread fea jabi
so, I should have all form-properties to be of String type and convert to Double and then validate is it? if that is the case then, why do we have the below data types? what is it's purpose? http://struts.apache.org/struts-action/userGuide/building_controller.html The types supported by Dyna

Re: Error

2006-03-24 Thread Rahul Akolkar
On 3/24/06, Vinit Sharma <[EMAIL PROTECTED]> wrote: > Hi, > > I'm getting an error "org.apache.struts.taglib.html.BaseHandlerTag: method > setErrorKey(Ljava/lang/String;)V not found" when I'm trying to render an > html:text element like: > > There is probably an errorKey attribute on the page. B

Re: focus in html object

2006-03-24 Thread Rahul Akolkar
On 3/24/06, Raghuveer <[EMAIL PROTECTED]> wrote: > > In my log screen i have 2 text boxes to input user login user id and > password. > Initiall when page loads i am focusing on username by focus attribute in > form tag. > If there is an error in password , i display Struts Action Error as > "pa

Re: Expression Language

2006-03-24 Thread Rahul Akolkar
On 3/23/06, David M Sledge <[EMAIL PROTECTED]> wrote: > Do EL expressions only evaluate to String and primitive types? I have code > similar to the following in my jsp. > > > > > I will assume thats bean:write. > > > > Where uriList is an object of type java.util.List only containing > jav

Error

2006-03-24 Thread Vinit Sharma
Hi, I'm getting an error "org.apache.struts.taglib.html.BaseHandlerTag: method setErrorKey(Ljava/lang/String;)V not found" when I'm trying to render an html:text element like: MRInfoForm is my ActionForm and cardNumber is property of bean CardInfoBean which is a member of MRInfoForm. CardInfoBea

Re: Struts Tutorial

2006-03-24 Thread Ted Husted
My favorite book for newbies is "Struts for Dummies". * http://www.amazon.com/exec/obidos/tg/detail/-/0764559575/apachesoftwar-20/ For Struts 1.2, the "Struts: The Complete Reference" by James Holes is also quite good. Most chapters end with a lab, so it's much like a tutorial. * http://www.amaz

Re: [OT]

2006-03-24 Thread Jonathan Revusky
Neil Meyer wrote: Hi All, This ons is off topic again. When I loop for an arraylist I normally use the the first option as it seems to me that it will execute the quickest. I know supposedly I should use the foreach loop. All that I want to do is go through the list no adding new elements

  1   2   >