You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Dan Haywood <da...@haywood-associates.co.uk> on 2014/04/22 14:43:25 UTC

Re: ISIS Service / ViewModel method calling twice

Can you prepare raise a ticket on JIRA and provide a small example on
github demonstrating the problem?

Thx
Dan



On 22 April 2014 13:36, <ch...@wipro.com> wrote:

> Hi,
>
> Isis service or ViewModel method getting called twice.
>
> For ex:
> I have one Hidden service which has lookup method with @HomePage returning
>  a ViewModel instance using newViewModelInstance(..) method and that
> renders one action method taking Blob parameter as button. It's basically
> upload button to upload a file. When I click on upload button, this upload
> method called and completed the uploading and again getting called second
> time by itself. And this is inconsistent behavior. Some times its
> working(meaning called only once) but some other times it's not.
>
> So I tried this upload action with service class by extending
> AbstractService which appears in the menu with Upload action. Here also
> it's the same issue.
>
>
>
> BR
> Ranganath Varma
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>

Re: ISIS Service / ViewModel method calling twice

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
thx



On 23 April 2014 08:05, <ch...@wipro.com> wrote:

>
> Hi Dan,
>
> I created ISIS-766 for this issue.
>
> BR
> Ranganath Varma
>
> -----Original Message-----
> From: Dan Haywood [mailto:dan@haywood-associates.co.uk]
> Sent: Tuesday, April 22, 2014 6:13 PM
> To: users
> Subject: Re: ISIS Service / ViewModel method calling twice
>
> Can you prepare raise a ticket on JIRA and provide a small example on
> github demonstrating the problem?
>
> Thx
> Dan
>
>
>
> On 22 April 2014 13:36, <ch...@wipro.com> wrote:
>
> > Hi,
> >
> > Isis service or ViewModel method getting called twice.
> >
> > For ex:
> > I have one Hidden service which has lookup method with @HomePage
> > returning  a ViewModel instance using newViewModelInstance(..) method
> > and that renders one action method taking Blob parameter as button.
> > It's basically upload button to upload a file. When I click on upload
> > button, this upload method called and completed the uploading and
> > again getting called second time by itself. And this is inconsistent
> > behavior. Some times its working(meaning called only once) but some
> other times it's not.
> >
> > So I tried this upload action with service class by extending
> > AbstractService which appears in the menu with Upload action. Here
> > also it's the same issue.
> >
> >
> >
> > BR
> > Ranganath Varma
> >
> >
> > The information contained in this electronic message and any
> > attachments to this message are intended for the exclusive use of the
> > addressee(s) and may contain proprietary, confidential or privileged
> > information. If you are not the intended recipient, you should not
> > disseminate, distribute or copy this e-mail. Please notify the sender
> > immediately and destroy all copies of this message and any attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The recipient
> > should check this email and any attachments for the presence of viruses.
> > The company accepts no liability for any damage caused by any virus
> > transmitted by this email.
> >
> > www.wipro.com
> >
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>

RE: ISIS Service / ViewModel method calling twice

Posted by ch...@wipro.com.
Hi Dan,

I created ISIS-766 for this issue.

BR
Ranganath Varma

-----Original Message-----
From: Dan Haywood [mailto:dan@haywood-associates.co.uk] 
Sent: Tuesday, April 22, 2014 6:13 PM
To: users
Subject: Re: ISIS Service / ViewModel method calling twice

Can you prepare raise a ticket on JIRA and provide a small example on github demonstrating the problem?

Thx
Dan



On 22 April 2014 13:36, <ch...@wipro.com> wrote:

> Hi,
>
> Isis service or ViewModel method getting called twice.
>
> For ex:
> I have one Hidden service which has lookup method with @HomePage 
> returning  a ViewModel instance using newViewModelInstance(..) method 
> and that renders one action method taking Blob parameter as button. 
> It's basically upload button to upload a file. When I click on upload 
> button, this upload method called and completed the uploading and 
> again getting called second time by itself. And this is inconsistent 
> behavior. Some times its working(meaning called only once) but some other times it's not.
>
> So I tried this upload action with service class by extending 
> AbstractService which appears in the menu with Upload action. Here 
> also it's the same issue.
>
>
>
> BR
> Ranganath Varma
>
>
> The information contained in this electronic message and any 
> attachments to this message are intended for the exclusive use of the 
> addressee(s) and may contain proprietary, confidential or privileged 
> information. If you are not the intended recipient, you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient 
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus 
> transmitted by this email.
>
> www.wipro.com
>

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com