Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Sun, 08 February 2015 02:56 Go to next message
Annamalai Chockalingam is currently offline Annamalai ChockalingamFriend
Messages: 121
Registered: July 2009
Senior Member
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 14:42 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
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 16:17 Go to previous message
Annamalai Chockalingam is currently offline Annamalai ChockalingamFriend
Messages: 121
Registered: July 2009
Senior Member
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: Mon Jun 01 23:44:15 GMT 2020

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

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

Back to the top