Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFForms] Values Vanish when using Show Rule
[EMFForms] Values Vanish when using Show Rule [message #1606235] Sat, 07 February 2015 21:56 Go to next message
Eclipse UserFriend
Hello There

I have a 2 Class Model called as Payment -> Deposit Details
So in Payment Class i have a Payment_Status_Enum which has 2 Enum
Literals : Collected & Deposited.

When the Payment_Status_Enum is set to Deposited i have a Show Rule to
show Deposit Details as a Group where the user fills in Bank Name and
Date of Deposit. All works great till here. Thanks to ECP.

Now the user fills in the Bank Deposit Details, saves the record.
Then by mistake changes the Payment_Status_Enum to Collected and the
Deposit Details UI vanishes, which is also the correct behaviour. And
then comes back to Bank, but this time the Bank Deposit Details are empty.

Shouldnt we retain the values of the previous save. My customer has a
major problem with this as he makes this mistake often. Or atleast we
should prompt that the values would be removed. Can someone tell me how
to implement the Prompt ?

Regards
Malai
Re: [EMFForms] Values Vanish when using Show Rule [message #1606956 is a reply to message #1606235] Sun, 08 February 2015 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

could you report that as a BR please?

Cheers

Jonas

Am 08.02.2015 um 03:56 schrieb Annamalai:
> Hello There
>
> I have a 2 Class Model called as Payment -> Deposit Details
> So in Payment Class i have a Payment_Status_Enum which has 2 Enum
> Literals : Collected & Deposited.
>
> When the Payment_Status_Enum is set to Deposited i have a Show Rule to
> show Deposit Details as a Group where the user fills in Bank Name and
> Date of Deposit. All works great till here. Thanks to ECP.
>
> Now the user fills in the Bank Deposit Details, saves the record.
> Then by mistake changes the Payment_Status_Enum to Collected and the
> Deposit Details UI vanishes, which is also the correct behaviour. And
> then comes back to Bank, but this time the Bank Deposit Details are empty.
>
> Shouldnt we retain the values of the previous save. My customer has a
> major problem with this as he makes this mistake often. Or atleast we
> should prompt that the values would be removed. Can someone tell me how
> to implement the Prompt ?
>
> Regards
> Malai


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Values Vanish when using Show Rule [message #1607053 is a reply to message #1606956] Sun, 08 February 2015 11:17 Go to previous message
Eclipse UserFriend
BR Raised : https://bugs.eclipse.org/bugs/show_bug.cgi?id=459379

Regards
Malai

On 2/8/2015 8:12 PM, Jonas Helming wrote:
> I have a 2 Class Model called as Payment -> Deposit Details
>>So in Payment Class i have a Payment_Status_Enum which has 2 Enum
>>Literals : Collected & Deposited.
>>
>>When the Payment_Status_Enum is set to Deposited i have a Show Rule to
>>show Deposit Details as a Group where the user fills in Bank Name and
>>Date of Deposit. All works great till here. Thanks to ECP.
>>
>>Now the user fills in the Bank Deposit Details, saves the record.
>>Then by mistake changes the Payment_Status_Enum to Collected and the
>>Deposit Details UI vanishes, which is also the correct behaviour. And
>>then comes back to Bank, but this time the Bank Deposit Details are empty.
>>
>>Shouldnt we retain the values of the previous save. My customer has a
>>major problem with this as he makes this mistake often. Or atleast we
>>should prompt that the values would be removed. Can someone tell me how
>>to implement the Prompt ?
Previous Topic:[EMFForms] template styling capability
Next Topic:[EMFForms] Custom ECPRendererTester
Goto Forum:
  


Current Time: Sat Jul 05 10:12:47 EDT 2025

Powered by FUDForum. Page generated in 0.10117 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top