Hi
No it does not work as exception is thrown. I can't understand how it
doesn't work as I have followed the example from site.
Cheers
Amin
On 18 Dec 2008, at 19:26, "Musachy Barroso" wrote:
Is it working even with the exception? This result is a little bit
different, as it take as param
Is it working even with the exception? This result is a little bit
different, as it take as parameters, not only its own parameters, but
parameters passed to the redirect, so OGNL will complain about it
because those fields are not defined in the result class.
musachy
On Thu, Dec 18, 2008 at 2:23
Hi
Thanks for your response:
Please find below my CreateContactAction class:
@SuppressWarnings("serial")
@Namespace(value="/")
@Results({
@Result(name="success", value="viewContact", params= {"actionName",
"viewContact","contactId","${contactId}", "contactType","$
{contactType}"}, type=Serv
OGNL tries all elements on the stack until it finds a match, so it
would probably try the result as well. Could you show the code of your
source and destination actions?
Nils-H
On Thu, Dec 18, 2008 at 12:15 AM, Amin Mohammed-Coleman
wrote:
> Hi
>
> The both actions have the relevant getters and
Hi
The both actions have the relevant getters and setters. It seems as
though the actionName is being ignored and the action that the result
thinks should go to is ServletActionRedirectResult.
Cheers
On 17 Dec 2008, at 22:35, Nils-Helge Garli Hegvik wrote:
Does the action you're redire
Does the action you're redirecting from (not to) have the relevant getters?
Nils-H
On Wed, Dec 17, 2008 at 11:26 PM, Amin Mohammed-Coleman
wrote:
> Hi
>
> The ServletActionRedirectResult doesn;t have a contactId setter as this is
> Struts class. The ViewContact action has the relevant setters.
Hi
The ServletActionRedirectResult doesn;t have a contactId setter as
this is Struts class. The ViewContact action has the relevant setters.
Cheers
On 17 Dec 2008, at 22:16, Oscar Alvarez wrote:
2008/12/17 Amin Mohammed-Coleman
Hi
Sorry for sending this again, but I was wondering if
2008/12/17 Amin Mohammed-Coleman
> Hi
>
> Sorry for sending this again, but I was wondering if someone might be able
> to help?
>
>
> Thanks
>
> Begin forwarded message:
>
> From: Amin Mohammed-Coleman
>> Date: 24 November 2008 16:50:50 GMT
>> To: user-h...@struts-apache.org
>> Subject: Excepti
Hi
I do apologise, I didn't mean to send it three times. My email
program was doing some funny things and I thought that the email was
not sent.
The exception is thrown and fails to work.
Sorry again!
On 28 Nov 2008, at 20:34, Dave Newton wrote:
Sorry to be sending this again but I wa
Hi
Yes I do have these in the ViewContact action
Cheers
Paweł Wielgus wrote:
>
> Hi Amin,
> do You have:
> - getContactId()
> - getContactType()
> public methods in this action?
>
> Best greetings,
> Paweł Wielgus.
>
> 2008/11/27 amin1977 <[EMAIL PROTECTED]>:
>>
>> Hi
>>
>> I am trying to
Hi Amin,
do You have:
- getContactId()
- getContactType()
public methods in this action?
Best greetings,
Paweł Wielgus.
2008/11/27 amin1977 <[EMAIL PROTECTED]>:
>
> Hi
>
> I am trying to redirect the success of an action to another action using the
> following:
>
> @Results({
> @Result(name="succ
11 matches
Mail list logo