Validation Problem

2010-10-08 Thread Chris Miles
Whenever the validation procedure returns to the "input" result, any

Re: No result defined for action ........ and result input

2010-08-01 Thread Chris Miles
t defined for action and result input It's highly probable that at some moment in the action process you (or the framework) return "input" as the result. Cimballi On Sun, Aug 1, 2010 at 2:54 PM, Chris Miles wrote: Hi folks. I am getting the following exception on my ac

No result defined for action ........ and result input

2010-08-01 Thread Chris Miles
Hi folks. I am getting the following exception on my action method. No result defined for action and result input But my action method is annotated with @SkipValidation so I do not know why it is firing this error. Chris

sx:datetimepicker bug?

2010-07-20 Thread Chris Miles
I have the following in my JSP but the generated HTML is: This is obviously not picked up my action class expecting deliveryDate and not dojo.deliveryDate. Is this normal? According to the docs it is not. Chris

Re: Readonly Datetimepicker.

2010-07-19 Thread Chris Miles
How easy could I patch the code myself to do this? Can struts tags be built publically through maven or anything? Thanks Chris - Original Message - From: "Chris Miles" To: "Struts Users Mailing List" Sent: Saturday, July 17, 2010 6:34 PM Subject: Readonly

Readonly Datetimepicker.

2010-07-17 Thread Chris Miles
Is there a reason the datetimepicker does not allow you to make the textfield readonly? Is there any work arounds? Thanks Chris

Re: Currency Formatting

2010-07-15 Thread Chris Miles
JSP's include other JSP's. Probably why I haven't run across anything like this. It might take one of the core developers that are familiar with the internals of these tags to give them a look, or you could venture into that cold dark land yourself... (*Chris*) On Thu, Jul 15, 201

Re: Currency Formatting

2010-07-15 Thread Chris Miles
robably just a typo. But, you have a close tag after the s:param and before it's arguments, which is making it invalid, and would definitely cause the JSP processor to puke. Try the below instead: (*Chris*) On Thu, Jul 15, 2010 at 12:16 PM, Chris Miles wrote: I broke this down into a ver

Re: Currency Formatting

2010-07-15 Thread Chris Miles
am? This is recreatable if you try doing the include above. Can not figure this out? Thanks Chris - Original Message - From: "Chris Miles" To: "Struts Users Mailing List" Sent: Wednesday, July 14, 2010 11:21 PM Subject: Re: Currency Formatting On further diggin

Re: Currency Formatting

2010-07-14 Thread Chris Miles
I've never experienced anything like that were rendering stops without putting anything into the logs. Looks like you'll have to dig into the code. (*Chris*) On Tue, Jul 13, 2010 at 4:05 PM, Chris Miles wrote: HTML rendering just completely stops at that point. I get the following: T

Re: Currency Formatting

2010-07-13 Thread Chris Miles
Formatting That's weird I've never experienced anything like that were rendering stops without putting anything into the logs. Looks like you'll have to dig into the code. (*Chris*) On Tue, Jul 13, 2010 at 4:05 PM, Chris Miles wrote: HTML rendering just completely stops

Re: Currency Formatting

2010-07-13 Thread Chris Miles
g... (*Chris*) On Tue, Jul 13, 2010 at 3:56 PM, Chris Miles wrote: Thanks Chris. The reason I use this method in my iterators is there are a few places where I use nested iterators so the # notation is the only way to access the current iterator but also the parent iterator. This specific it

Re: Currency Formatting

2010-07-13 Thread Chris Miles
reason to define a variable to hold it. It's much simpler to just use the value stack to pull the values from. Don't know if this might help or not. (*Chris*) On Tue, Jul 13, 2010 at 3:23 PM, Chris Miles wrote: Chris, I have a list of products which contain a double price. I now hav

Re: Currency Formatting

2010-07-13 Thread Chris Miles
Formatting puts the value on the top of the stack, so if you have a list of doubles, we'll call it amounts, it would look something like this: (*Chris*) On Tue, Jul 13, 2010 at 2:43 PM, Chris Miles wrote: Chris, Hi that works perfectly for where total is public Double getT

Re: Currency Formatting

2010-07-13 Thread Chris Miles
day, July 13, 2010 8:16 PM Subject: Re: Currency Formatting try instead of . (*Chris*) On Tue, Jul 13, 2010 at 12:11 PM, Chris Miles wrote: At the moment I have in my struts.xml value="ApplicationResources" /> ApplicationResources.properties is being packaged within WEB-I

Re: Currency Formatting

2010-07-13 Thread Chris Miles
urrency={0,number,currency} In your applications.properties file, then use: HTH (*Chris*) On Sat, Jul 10, 2010 at 5:53 AM, Chris Miles wrote: Hi If I am displaying a Double to a JSP page what is the recommended way to format this is as a currency t

Currency Formatting

2010-07-10 Thread Chris Miles
Hi If I am displaying a Double to a JSP page what is the recommended way to format this is as a currency to two decimal points? Thanks Chris

Emailing the contents of a Struts2 view?

2010-07-07 Thread Chris Miles
Is it posible for me to render a view after an action and be able to access the HTML for sending in an email rather than rendering to a browser? thanks Chris

Re: Nested Iterator Problem

2010-07-03 Thread Chris Miles
g I've never tried myself. (*Chris*) On Thu, Jul 1, 2010 at 2:14 PM, wrote: Hi Chris. Thanks for responding. I can not see any invalid characters? Chris > Not sure but it looks like there's an invalid character in there. Could > that be fouling things up? > (*Chris*)

Re: Nested Iterator Problem

2010-07-03 Thread Chris Miles
Hi, Thanks. My action class is as follows. It is very basic. The confusion is that I can call a property once but it fails as soon as I try to even call the same property a second time. It is beyond reasoning. Chris package sentiments.struts2.checkout; import sentiments.struts2.ShopAction;

Re: Nested Iterator Problem

2010-07-01 Thread Chris Miles
Does anyone have any ideas? Tearing my hair out with this. Chris - Original Message - From: "Chris Miles" To: "Struts Users Mailing List" Sent: Tuesday, June 29, 2010 9:47 PM Subject: Re: Nested Iterator Problem Is there anything else in the logging I can en

Re: Nested Iterator Problem

2010-06-29 Thread Chris Miles
possible thing I can think of and drawing complete blanks. Chris - Original Message - From: "Chris Miles" To: "Struts Users Mailing List" Sent: Monday, June 28, 2010 9:13 PM Subject: Re: Nested Iterator Problem In the second Iter

Re: Nested Iterator Problem

2010-06-28 Thread Chris Miles
In the second Iterator I have just got value="#product.name"/> The resuling HTML looks like. Address 1 of 1 Chris Miles

Nested Iterator Problem

2010-06-25 Thread Chris Miles
Hi I am running a nested iterator as follows: Address of , £ Rendering fails as soon as the

Re: Passing parameters to getter methods?

2010-06-25 Thread Chris Miles
Hi thanks. Sorry. My iterator is actually nested within another iterator. It is fetching products based on the value of the index in the first loop. Thanks. I will try that. Chris - Original Message - From: "Greg Lindholm" To: "Struts Users Mailing List" Sent: Friday, June 25, 2010

Passing parameters to getter methods?

2010-06-24 Thread Chris Miles
Hi, I want to call s:iterator and fetch a list by passing it an index. This list will be dynamically generated. where I want getProducts(Integer index) to be called. Is this possible? Thanks Chris

Struts Form generation problem

2010-05-29 Thread Chris Miles
Hi folks. I am creating a Struts form using the default theme to generate the table data but I have a few issues. The table is only two columns. Is there a default way of setting more columns and rows on the form? How can I add extra information such as a span or an anchor within the form and

Re: Getting Struts2 Parameters?

2008-07-08 Thread Chris Miles
te. It needs to be public. On Mon, Jul 7, 2008 at 5:49 PM, Chris Miles <[EMAIL PROTECTED]> wrote: No exceptions. The action class is as follows. public class AddToCartAction extends ActionSupport implements Action { private String productId = ""; private int quantity = 0;

Re: Getting Struts2 Parameters?

2008-07-07 Thread Chris Miles
No exceptions. The action class is as follows. public class AddToCartAction extends ActionSupport implements Action { private String productId = ""; private int quantity = 0; private void setProductId(String productId) { this.productId = productId; } private void setQuant

Struts2 taglib problem

2008-07-06 Thread Chris Miles
Hi folks. I have an EAR which contains my web app, and a business layer JAR, and my struts JARs (all added by maven). I reference struts both in the business app JAR and also in my web app WAR, so I have added the struts dependencies into the EAR's lib directory. Every deploys ok to JBoss, bu