Re: [OT] Reasonable implementation time guesstimates

2005-08-14 Thread netsql
I guess some of this is ot, but you said any comments. In my shop lead enginers are most productive coders ( I measure LC via CVS stats) and also get to... lead the project. (I have no project managers, who'd respect them?). This is how I size my projects. Most similar is Scrum (minus scrum

Form Bean to transfer data

2005-08-14 Thread Kevin
Hi I want to trasnfer data from One action to another using a form bean. How can i access the form bean data in the second action. I have attached my struts config and action class. The submitIndex forwards to result action. But in result page i want to show data i have populated in the

Re: Locale Aware Form Objects?

2005-08-14 Thread Eddie Bush
Hi Joe, I'm not sure I understand your question, but ... Here's what I do: I use form beans to tote data around. My labels, OTOH, are externalized and use bundles to achieve i18n, and this is all fairly transparent on the page. Here's what I think you want to do: If I understand you

Re: weird message problem

2005-08-14 Thread Werner Punz
Come on, has nobody had this problem so far? I am really stuck here. Werner Werner Punz wrote: Hi I am trying to add a simple error handler to a form with a message upon an error condition, so far it works, some kind of message arrives but I get a weird error, here are the relevant code

RE: weird message problem

2005-08-14 Thread Albrecht Leiprecht
Shouldn't it be something like html:messages name=message/ or html:messages property=message/ instead? Rgds albi -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Saturday, August 13, 2005 10:32 PM To: user@struts.apache.org Subject: weird message

Re: Form Bean to transfer data

2005-08-14 Thread Richard Yee
Kevin, Use attributes in the request or session scope. -Richard At 07:28 AM 8/14/2005, you wrote: Hi I want to trasnfer data from One action to another using a form bean. How can i access the form bean data in the second action. I have attached my struts config and action class. The

Re: Locale Aware Form Objects?

2005-08-14 Thread Dakota Jack
This does not make sense to me. If the person is editing the data, as the questioner said, how is that going to be i18n-ed? To do that you would have to convert the submitted data on the fly to the languages. Either I don't understand what you guys are saying or it makes no sense. On

Re: weird message problem

2005-08-14 Thread Werner Punz
thanks I will try it out, I knew it was something I must have missed Werner Albrecht Leiprecht wrote: Shouldn't it be something like html:messages name=message/ or html:messages property=message/ instead? Rgds albi -Original Message- From: news [mailto:[EMAIL PROTECTED] On

How to use html:multibox / with values stored in the request or page context

2005-08-14 Thread Néstor Boscán
Hi How can I use html:multibox / or html:checkbox / with values that are stored in the request or page context?. I would like to do something like html:multibox value=%= request.getAttribute (\value\) %/ without using the % % tags. Is there a way to use the JSTL Expression Language or tell the

Using JSTL to access form bean properties

2005-08-14 Thread Néstor Boscán
Hi Has anybody used JSTL to access form bean properties. I'm using JSTL and Struts Tags and I would like to do some conditioning using c:if and c:choose using the form bean properties. Regards, Néstor Boscán - To

Re: weird message problem

2005-08-14 Thread Werner Punz
Albrecht Leiprecht wrote: Shouldn't it be something like html:messages name=message/ or html:messages property=message/ both caused the same weird error, btw.. html:messages needs an enforced id flag according to the tld. Werner

Re: [OT] Struts and VoiceXML - Any stories to tell?

2005-08-14 Thread Rahul Akolkar
On 8/13/05, Ted Husted [EMAIL PROTECTED] wrote: Oops, subject imprecise: /s/XML/VoiceXML/ snip/ And for the next generation of dialog management, I'd look at State Chart XML, a Working Draft out of the W3C Voice Browser Working Group [1], which has resulted in a Commons (Sandbox)

Re: Using JSTL to access form bean properties

2005-08-14 Thread Robert Taylor
Your form bean should be in either request or session scope under the name used to define it in struts-config.xml file. What I usually do is something like the following: c:set var=form value=${myform}/ and then you can use it like any other object with c:if or c:choose. c:choose c:when

Re: Converting Enums

2005-08-14 Thread Laurie Harper
Niall McLoughlin wrote: I hope this is the right place to ask this question. Let's say I have the following class (using jdk 1.5): public enum UserType { MANAGER, SUPERVISOR, USER; } I can build a List of these types to display in an options tag easily enough: public

Re: weird message problem

2005-08-14 Thread Laurie Harper
Werner Punz wrote: Come on, has nobody had this problem so far? I am really stuck here. Not everybody on this list is chained to their desk through the weekend... :-) the part where the error is added: ActionMessages errors = new ActionMessages(); errors.add(message, new

Re: Form Bean to transfer data

2005-08-14 Thread Laurie Harper
You didn't list the code for your form bean or JSP so I can only make guesses. It looks like your action is storing an instance of the form bean in session scope under the key resultForm and that you're able to access it explicitly in result.jsp, but that the html:form/ tag in the JSP isn't

Re: How to use html:multibox / with values stored in the request or page context

2005-08-14 Thread Laurie Harper
Néstor Boscán wrote: How can I use html:multibox / or html:checkbox / with values that are stored in the request or page context?. I would like to do something like html:multibox value=%= request.getAttribute (\value\) %/ without using the % % tags. Is there a way to use the JSTL Expression

Re: Locale Aware Form Objects?

2005-08-14 Thread Laurie Harper
So you want to take static model data (e.g. a product type code) and, instead of looking up a localized display name for that type code in the JSP, do the lookup in the action form? [Jack: he's not talking about localizing natural language data entered by the user, that's clearly not

Re: How to use html:multibox / with values stored in the request or page context

2005-08-14 Thread Wendy Smoak
From: Néstor Boscán [EMAIL PROTECTED] How can I use html:multibox / or html:checkbox / with values that are stored in the request or page context?. I would like to do something like html:multibox value=%= request.getAttribute (\value\) %/ without using the % % tags. Is there a way to use the

RE: Using JSTL to access form bean properties

2005-08-14 Thread Néstor Boscán
Thanks Robert -Mensaje original- De: Robert Taylor [mailto:[EMAIL PROTECTED] Enviado el: Sunday, August 14, 2005 2:18 PM Para: Struts Users Mailing List Asunto: Re: Using JSTL to access form bean properties Your form bean should be in either request or session scope under the name used

Re: weird message problem

2005-08-14 Thread Werner Punz
Laurie Harper wrote: Not everybody on this list is chained to their desk through the weekend... :-) Well, yes good answer ;-) No, it means that it can't find a message resource with the key 'type mismatch failure...'. The argument to the ActionMessage constructor should be a resource key to

RE: How to use html:multibox / with values stored in the request or page context

2005-08-14 Thread Néstor Boscán
Hi Wendy Thanks for the reply. The problem is that in the form bean you only set the values of the html:multibox / or html:checkbox / that are selected, not all of them. So to draw all of them you need to take the values from somewhere else, tipically an object that is in request or session

Re: How to use html:multibox / with values stored in the request or page context

2005-08-14 Thread Wendy Smoak
From: Néstor Boscán [EMAIL PROTECTED] The problem is that in the form bean you only set the values of the html:multibox / or html:checkbox / that are selected, not all of them. So to draw all of them you need to take the values from somewhere else, tipically an object that is in request or

RE: How to use html:multibox / with values stored in the request or page context

2005-08-14 Thread Néstor Boscán
Thanks Wendy Regards, Néstor Boscán -Mensaje original- De: Wendy Smoak [mailto:[EMAIL PROTECTED] Enviado el: Sunday, August 14, 2005 6:08 PM Para: Struts Users Mailing List Asunto: Re: How to use html:multibox / with values stored in the request or page context From: Néstor Boscán

Re: How to use html:multibox / with values stored in the request or page context

2005-08-14 Thread Laurie Harper
Wendy Smoak wrote: From: Néstor Boscán [EMAIL PROTECTED] How can I use html:multibox / or html:checkbox / with values that are stored in the request or page context?. I would like to do something like html:multibox value=%= request.getAttribute (\value\) %/ without using the % % tags. Is there

[shale] - suggestion for shale

2005-08-14 Thread David Thielen
Hi; This may already be in shale - I'm only using shale's mock objects so far, not shale itself. Something I would find VERY useful is for shale to call a backing bean before rendering a page - where there is a way to tie a page to a method in a bean so anytime page dave.jsp is going to be

All session variables and their values

2005-08-14 Thread C.F. Scheidecker Antunes
Hello all, How can I list/print on a JSP all the variables and their values of the current user session? Better yet, how can I log it to a file. Thanks in advance, C.F. - To unsubscribe, e-mail: [EMAIL PROTECTED] For