Validation Problem

2010-10-08 Thread Chris Miles
Whenever the validation procedure returns to the input result, any s:action elements are not executed. Is there a reason for this? Is there anything which needs to be configured or toggled to allow it? Thanks Chris

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

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

2010-08-01 Thread Chris Miles
Subject: Re: No result 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 ch...@chrismiles.org wrote: Hi folks. I am getting

sx:datetimepicker bug?

2010-07-20 Thread Chris Miles
I have the following in my JSP sx:datetimepicker name=deliveryDate id=deliveryDate label=Delivery Date displayFormat=dd/MM/ / but the generated HTML is: input type=text autocomplete=off dojoattachpoint=inputNode style=vertical-align: middle; width: 7em; value= name=dojo.deliveryDate This

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 ch...@chrismiles.org To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, July 17, 2010 6:34 PM

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
the include above. Can not figure this out? Thanks Chris - Original Message - From: Chris Miles ch...@chrismiles.org To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, July 14, 2010 11:21 PM Subject: Re: Currency Formatting On further digging I have found out some

Re: Currency Formatting

2010-07-15 Thread Chris Miles
at 12:16 PM, Chris Miles ch...@chrismiles.org wrote: I broke this down into a very simple example tonight. Just two JSP pages. test1.jsp which has s:include value=test2.jsp/ and test2.jsp which has s:text name=format.currencys:param value=price//s:text/span I have TestAction which has

Re: Currency Formatting

2010-07-15 Thread Chris Miles
, 2010 at 2:05 PM, Chris Miles ch...@chrismiles.org wrote: Yeah sorry was just a paste typo. :( Basically if you try the format, but do it in a JSP being included by another JSP as the result of an Action the problem is recreated. Bit much to ask. If it helps yourself or anyone I can make up

Re: Currency Formatting

2010-07-14 Thread Chris Miles
, 2010 at 4:05 PM, Chris Miles ch...@chrismiles.org wrote: HTML rendering just completely stops at that point. I get the following: span class=product-nameThis is a product name/span span class=product-price And nothing else for the rest of the page. Nothing in the logs. Nothing :) Chris

Re: Currency Formatting

2010-07-13 Thread Chris Miles
, Chris Miles ch...@chrismiles.org wrote: 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 - To unsubscribe, e-mail: user-unsubscr

Re: Currency Formatting

2010-07-13 Thread Chris Miles
. (*Chris*) On Tue, Jul 13, 2010 at 12:11 PM, Chris Miles ch...@chrismiles.org wrote: At the moment I have in my struts.xml constant name=struts.custom.i18n.resources value=ApplicationResources / ApplicationResources.properties is being packaged within WEB-INF\classes within a WAR within an EAR

Re: Currency Formatting

2010-07-13 Thread Chris Miles
it amounts, it would look something like this: s:iterator value=%{amounts} s:text name=format.currencys:param value=%{top}//s:text /s:iterator (*Chris*) On Tue, Jul 13, 2010 at 2:43 PM, Chris Miles ch...@chrismiles.org wrote: Chris, Hi that works perfectly for s:text name

Re: Currency Formatting

2010-07-13 Thread Chris Miles
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 ch...@chrismiles.org wrote: Chris, I have a list of products which contain a double price. I now have. s:iterator value=products var=product span class=product

Re: Currency Formatting

2010-07-13 Thread Chris Miles
times, so I'm not sure what could be going wrong... (*Chris*) On Tue, Jul 13, 2010 at 3:56 PM, Chris Miles ch...@chrismiles.org 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

Re: Currency Formatting

2010-07-13 Thread Chris Miles
Subject: Re: Currency 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 ch...@chrismiles.org wrote: HTML

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
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-03 Thread Chris Miles
*) On Thu, Jul 1, 2010 at 1:59 PM, Chris Miles ch...@chrismiles.org wrote: Does anyone have any ideas? Tearing my hair out with this. Chris - Original Message - From: Chris Miles ch...@chrismiles.org To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, June 29, 2010 9

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 ch...@chrismiles.org To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, June 29, 2010 9:47 PM Subject: Re: Nested Iterator Problem Is there anything else

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 ch...@chrismiles.org To: Struts Users Mailing List user@struts.apache.org Sent: Monday, June 28, 2010 9:13 PM Subject: Re: Nested Iterator Problem In the second Iterator I have just

Re: Nested Iterator Problem

2010-06-28 Thread Chris Miles
it should be displaying the property. The parent iterator continues as normal. I have set all Struts and XWork logging to DEBUG and there is no errors or warnings indicating a problem whatsoever. Thanks Chris - Original Message - From: Chris Miles ch...@chrismiles.org To: Struts Users

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 greg.lindh...@gmail.com To: Struts Users Mailing List

Nested Iterator Problem

2010-06-25 Thread Chris Miles
Hi I am running a nested iterator as follows: s:iterator value=shippingDetails var=individualDetail status=stat div class=confirmOrderShippingDetails spanstrongAddress s:property value=#stat.index+1/ of s:property value=shippingDetails.size//strong/span br/ br/

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. s:iterator value=products[#index] var=product status=stat 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
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; private void setProductId

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

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,