Whenever the validation procedure returns to the "input" result, any
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
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
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
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
Is there a reason the datetimepicker does not allow you to make the textfield
readonly? Is there any work arounds?
Thanks
Chris
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
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
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
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
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
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
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
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
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
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
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
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*)
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;
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
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
In the second Iterator I have just got
value="#product.name"/>
The resuling HTML looks like.
Address 1 of 1
Chris Miles
Hi
I am running a nested iterator as follows:
Address of
,
£
Rendering fails as soon as the
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
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
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
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;
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
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
30 matches
Mail list logo