Dang It! Mapped Properties

2004-04-24 Thread Michael McGrady
In my opinion, one should have a tag that allows us to work with nested maps, such that we can retrieve maps as follows: String: where getProperty("keyAlpha") in foo returns a map with a key "keyOmega" holding a String or other writable class. I have been trying to find out, unsuccessfully if

please clarify my doubt on Struts Checkbox

2004-04-24 Thread Latchoumi Narayanan
Hi All, I am having problems populating(checked) struts checkbox while loading them in a jsp page, do some one know how to do this. I can't do it as in the case of normal Html checkbox by mentioning 'checked' or by any other means like setting value attribute. In the jakartta FAQ's I saw an articl

RE: generate struts ActionForm & strut's jsp from hibernate's mapping

2004-04-24 Thread Richard Mixon (qwest)
Dion, This is possible to do using Xdoclet's templating language. I hacked up a set of Xdoclet templates to create my form beans from the Hibernate Xdoclet markkup. For each entity object, it creates a JSP, form bean, action, manager object (DAO) and the associated bits. Entity references have

nested tags and java.util.List

2004-04-24 Thread Rahul
i have extended DynaValidatorForm and created form bean that holds a List. It looks like this : beans is a List of type Bean which has only two variables name , age and the getter/setters for these two variables. I am using lazy list to populate this List. The business re

How to use HttpServletRequest.getRequestURL with Struts

2004-04-24 Thread Néstor Boscán
Hi I´m using some custom taglibs with Struts. In the TagLibs I need to get the URL to the action class so I can refresh the web page with some new parameters for the TagLib. The problem that I´m having with struts is that HttpServletRequest.getRequestURL is returning the URL to the JSP page even

How to use HttpServletRequest.getRequestURL with Struts

2004-04-24 Thread Néstor Boscán
Hi I´m using some custom taglibs with Struts. In the TagLibs I need to get the URL to the action class so I can refresh the web page with some new parameters for the TagLib. The problem that I´m having with struts is that HttpServletRequest.getRequestURL is returning the URL to the JSP page even

Re: urgent problem about validator !!!

2004-04-24 Thread Richard Yee
Hi, Did you set the logging level to DEBUG? Try putting validate="true" in your action element in struts-config.xml. Can you see if your execute method in your Action class is getting executed in your debugger. -Richard At 06:50 PM 4/24/2004, you wrote: Hi neil: Niall Pemberton wrote: >OK, so

Re: urgent problem about validator !!!

2004-04-24 Thread dlayman
Hi neil: Niall Pemberton wrote: >OK, so your submitting your form and its calling the forms validate() >method - whats happens next, is it getting validation errors and returing to >your input "/test/app/appCreate.jsp" or is it carrying on and running your >action "AppCreateAction" - if its carry

Re: [FRIDAY] Yet Another "Struts Survivor" Trivia Quiz

2004-04-24 Thread Gregory F. March
On Apr 24, 2004, Ted Husted <[EMAIL PROTECTED]> wrote: |Which Committer is still loving his emacs? | |> Craig McClanahan OK, this begs the question... If not (x)emacs, then what? I've tried 'em, but I'm still not convinced that these monolithic IDE's are the thing to use. They've got lots

Re: How to get a value from the from bean

2004-04-24 Thread Billy Ng
Thank you. It works perfectly. Billy Ng This mailbox protected from junk email by Matador from MailFrontier, Inc. http://info.mailfrontier.com - Original Message - From: "Riyad Kalla" <[EMAIL PROTECTED]> To: "Struts Users Mailing List

[FRIDAY] Yet Another "Struts Survivor" Trivia Quiz

2004-04-24 Thread Ted Husted
Turnout for our survivor contest was surprisingly low. Only one set of three questions were correctly answered: Which Committer has a son known to dabble in  PHP? > Craig McClanahan Which Committers have published books about Struts? > Cedric Dumoulin, Ted Husted, James Holmes, James Turner, D

Re: [VERY OT] Wireless Mice...what gives??

2004-04-24 Thread bOOyah
Barett McGavock wrote: I agree with you 100% and share your concerns about the wireless mice. I am shopping for a non-wireless mouse for myself, as well. I'm looking at products in stores from both Microsoft and Logitech that are not wireless. I presume that these are not the newest-out products.

RE: Struts Development seems slow, info?

2004-04-24 Thread Steve Raeburn
Don't worry, I didn't take your comments in a negative way. It is worth listening to what's happening on the dev list, then you'll know as much as anyone what's happening. There are no offline discussions, everything happens in public, via the dev-list. Steve > -Original Message- > From:

MessageResource question

2004-04-24 Thread Erez Efrati
Could someone please explain to me what is the purpose of MessageResource, what is the difference (if there is one) between it and the ResourceBundle class? Is it recommended over the ResourceBundle? Does it use caching for performance? Thanks, Erez

Re: urgent problem about validator !!!

2004-04-24 Thread Niall Pemberton
OK, so your submitting your form and its calling the forms validate() method - whats happens next, is it getting validation errors and returing to your input "/test/app/appCreate.jsp" or is it carrying on and running your action "AppCreateAction" - if its carrying on and executing the Action, where

Re: Struts Development seems slow, info?

2004-04-24 Thread Riyad Kalla
Steve, Thanks so much for the reply. I wanted to clarify that I READ day-in and day-out those typical "whats going on with this project? I HATE YOU" emails, and I really didn't intend mine to sound that way. I was really just curious about what was going on because I was new to the list (thanks

RE: Differences Between Struts1.1 and Struts1.2

2004-04-24 Thread Steve Raeburn
There's some info on post-1.1 changes here: http://struts.apache.org/userGuide/release-notes.html#New Steve > -Original Message- > From: ganesh g [mailto:[EMAIL PROTECTED] > Sent: April 23, 2004 11:18 PM > To: user > Subject: Differences Between Struts1.1 and Struts1.2 > > > Hi List, >

RE: Struts Development seems slow, info?

2004-04-24 Thread Steve Raeburn
p.s. The fact that you're hassling us for a release in IMHO, A Good Thing (tm). It's when nobody cares anymore, that I'll get worried :-) Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Struts Development seems slow, info?

2004-04-24 Thread Steve Raeburn
Also, perhaps the question you should be asking is, "How can *I* help speed things up?" Here's a couple of ideas: - Try out the Stuts 1.2.0 release and report back any problems, or (hopefully) report how stable and reliable it is for your applications. - Get the source code and try applying some

urgent problem about validator !!!

2004-04-24 Thread dlayman
hello, I am working on a struts based web application, which requires validation both on client side and server side. There's an action entry in the struts-config.xml here: also it's corresponding form bean:

urgent problem about validator !!!

2004-04-24 Thread dlayman
hello, I am working on a struts based web application, which requires validation both on client side and server side. There's an action entry in the struts-config.xml here: also it's corresponding form bean:

urgent problem about validator !!!

2004-04-24 Thread dlayman
hello, I am working on a struts based web application, which requires validation both on client side and server side. There's an action entry in the struts-config.xml here: also it's corresponding form bean:

urgent problem about validator !!!

2004-04-24 Thread dlayman
hello, I am working on a struts based web application, which requires validation both on client side and server side. There's an action entry in the struts-config.xml here: also it's corresponding form bean:

Re: Struts Development seems slow, info?

2004-04-24 Thread Riyad Kalla
You know I just did this same query, but used a resolution of "Fixed, Closed and Resolved" and got 728 bugs... WHEW WEEE! http://issues.apache.org/bugzilla/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=subs

Re: i18n with keys from DB

2004-04-24 Thread Riyad Kalla
Unfortunately you can't use tags inside of eachother like that, which is why my code is still spackled with little expressions: You can use an expression language to get around some cases like this with JSTL, and I think Struts supports the EL as well... I don't know for sure, I haven't used

i18n with keys from DB

2004-04-24 Thread Axel Seinsche
Hi all, I think I have a common problem, but couldn't find any solution in the archive of this list or with Google. All I want to have is i18n where keys come from the DB. My DB contains a table where I can read the keys from. With this key I want to do a lookup in my properties file. How can

Re: Struts Development seems slow, info?

2004-04-24 Thread Riyad Kalla
Niall Pemberton wrote: Running a bugzilla query against Struts 1.1 and the nightly with a "Resolution" of "FIXED" shows 359 bugs - looks good to me :-) Ahh your query is a lot more impressive than mine ;) and this bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=28150 took 11 hours

Declarative Exception handling in JSP's

2004-04-24 Thread Jim Kennedy
I have the struts declarative exception handling system working fine. However, it does not seem to catch JSPExceptions that occur in JSP's (i.e. org.apache.jasper.JasperException). I there a way to do this other than the built-in java spec way using isErrorPage="true" page directive. I admit JSP

parentBeanMapProp("childBeanMap").childBeanMapProp("whatever")

2004-04-24 Thread Michael McGrady
A bean map is a bean based on beans as shown in the Struts documentation as a StringBean (http://jakarta.apache.org/struts/faqs/indexedprops.html). I want to know whether these can be nested such that the first (parent) mapped bean returns a StringBean and the second (child) mapped bean returns

Re: Struts Development seems slow, info?

2004-04-24 Thread Niall Pemberton
Running a bugzilla query against Struts 1.1 and the nightly with a "Resolution" of "FIXED" shows 359 bugs - looks good to me :-) and this bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=28150 took 11 hours to get applied from being submitted! When Struts 1 beta was released the servle

Mapped Properties Difficulty

2004-04-24 Thread Michael McGrady
I have a bean class that has a map field in which I store a map of a second bean class which also has a map field in which I store strings. public class BeanOne { Map beanTwoMap; public void setBeanTwo(Object beanTwoName, Object beanTwo) { if(map == null) { // create map beanTwoMap

Struts Development seems slow, info?

2004-04-24 Thread Riyad Kalla
Hey guys, I've been looking at this for a while as an indicator of a 1.2 release: http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_severity=Blocker&bug_severity=Critical&bug_severity=Major&bug_severity=Normal&bug_severit

RE: Custom Request Processor is failing at startup.

2004-04-24 Thread Josh Holtzman
Thank you very much Niall. This makes perfect sense. Regards, Josh Holtzman American Data Company [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454 Sun Microsystems iForce Partner -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, A