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
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
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
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
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
Is there a reason the datetimepicker does not allow you to make the textfield
readonly? Is there any work arounds?
Thanks
Chris
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
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
, 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
, 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
, 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
.
(*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
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
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
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
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
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
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
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;
*)
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
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
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
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
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
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/
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
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
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
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
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,
30 matches
Mail list logo