Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Forms] Non-ASCII viewmodel generation
[EMF Forms] Non-ASCII viewmodel generation [message #1787606] Tue, 29 May 2018 22:45 Go to next message
Akira Tanaka is currently offline Akira TanakaFriend
Messages: 98
Registered: March 2010
Member
Hello EMF Forms experts,

Is there any way to apply EMF Forms to non-ASCII encoded ecore models? In my case, I was able to create non-ASCII (Japanese with UTF-8 setting) ecore model, which contains non-ASCII EClass name as well as non-ASCII attribute names. I was then able to generate model code and edit project (EMF works!). However, when i tried to generate EMF Form's viewmodel project, I got an error in viewmodel. The viewmodel in textual form is an XML file with ASCII as default coding. Although just changing "ASCII" to "UTF-8" did not work, I exported the viewmodel file, did edit with external editor and saved it as UTF-8 encoded file, imported it back to viewmodel project, it worked (EClass name was successfully shown but no control for attributes were generated).

My question is "is there any way to specify/generate UTF-8 encoded viewmodel?" How can I achieve this?

Thank you for your help in advance.
Akira
Re: [EMF Forms] Non-ASCII viewmodel generation [message #1787619 is a reply to message #1787606] Wed, 30 May 2018 07:48 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 111
Registered: September 2016
Senior Member
Hi,

if EMF itself works, there is probably no conceptional reason, why this shouldn't work for EMF Forms. Probably you need to check all loading/saving parts for the encoding. Could you report that as a BR? And: Do you consider a contribution or sponsored development for this issue?

Best regards,


Jonas Helming

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/


--
Jonas Helming
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMF Forms] Non-ASCII viewmodel generation [message #1795821 is a reply to message #1787619] Sun, 30 September 2018 07:24 Go to previous message
Akira Tanaka is currently offline Akira TanakaFriend
Messages: 98
Registered: March 2010
Member
Hi Jonas,

Sorry for very late submission of the bug report:. Here it is.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=539653

Akira
Previous Topic:[EMF Forms] Dynamic Auto-Complete on a single details page
Next Topic:[EMF Forms] Maven artefacts
Goto Forum:
  


Current Time: Thu Apr 25 00:57:27 GMT 2024

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

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

Back to the top