Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rüdiger Engelberger

Pages: [1] 2
1
General Board / Re: Avoid HTML escaping in HTML report
« on: April 05, 2013, 05:37:01 pm »
Hi,

Just got an answer from Sparx Systems support ... it's a bug and it will be fixed in one of the future releases. In the meantime you can use the simple workaround described in the following mail:

Hi Rüdiger,

Thank you for your note.
 
This issue has been reported previously by another user also and is logged as a bug to be fixed.  We cannot yet say when (in which build) the fix will be implemented.

Reference Number: 13045026

In our tests the error occurs only in FireFox.  If you are using a different browser and still seeing this error please let us know.

As a current workaround you should be able to avoid the issues in FireFox by doing the following...

1. Open Resources window. 'Project | Resources'
2. Select in the Resource tree. 'Resources | Templates | Web Style Templates'
3. Right click to open context menu and select 'Create HTML Template'. (Name your template in popup dialog) ok 4. In 'HTML and CSS Style Editor' that opens, select 'Javascript' from the Templates list.
5. Find' function initPage(src)'
6. Comment out condition '//if (toc.document == null)' on line 260 7. Comment out condition '//if (cont.document == null)' on line 263 8. Save changes and close editor 9. Now when you generate your HTML report, select your new template in the 'Style' field of the 'Publish as HTML' dialog.
10. Navigate HTML report with FireFox

If you have further questions or issues please let us know.

Best Regards,

Simon Cotching
Sparx Systems Pty Ltd
[email protected]
http://www.sparxsystems.com


Rüdiger Engelberger

2
General Board / Re: Avoid HTML escaping in HTML report
« on: April 04, 2013, 10:11:26 pm »
I just reported a bug to Sparx Systems.

I'll keep you informed ... hopefully they have a solution.

Thx!

Rüdiger Engelberger

3
General Board / Re: Avoid HTML escaping in HTML report
« on: April 04, 2013, 07:09:25 pm »
Hi,

Many thanks for your hint.

This would be a workaround for the problem.

But in my opinion this HTML escaping shouldn't be done by EA when publishing as HTML.

The formatting is done by EA itself. It's just nonsense to escape that.

Does anybody know if it's possible to prevent that.

Thx!

Rüdiger

4
General Board / Re: Avoid HTML escaping in HTML report
« on: April 03, 2013, 01:02:13 am »
Sorry, maybe I didn't get your answer.

Do you mean that I should add an id into the div tag like:

<div class="ObjectDetailsNotes" id="someId">

And which kind of Javascript code do you mean?

Maybe I wasn't able to present my problem:

The problem is that anything written in an element's notes is HTML escaped in the HTML report (Publish as HTML). The div tag is just for formatting the HTML output.

Thx
Rüdiger

5
General Board / Avoid HTML escaping in HTML report
« on: April 02, 2013, 09:26:43 pm »
Hi,

When I publish my project as HTML I notes of an element always get HTML escaped.

e.g.:

I enter "Auszug ELKA-Benutzerdoku:" then 2 line breaks and then a link to the notes rich text field of a mind map topic. And I underline the first sentence.

Then I always get the following in the HTML report:

&lt;u&gt;Auszug ELKA-Benutzerdoku:&lt;/u&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://svn.r-services.at/repos/

So all formatting done by the EA rich text editor is HTML escaped.

When I look into the resources the web style template of "Content - Notes" looks like:

<div class="ObjectDetailsNotes">#VALUE#</div>

=> #VALUE# is the content of the note.

So I don't see how I can influence that behaviour. It doesn't make sense at all.

Thanks!

Rüdiger Engelberger

6
General Board / Re: Assign shape script to topic of mind map
« on: April 04, 2013, 10:59:58 pm »
Hi,

Thx once more.

I figured out that the MDG for mindmapping consists of the file MindMapping.xml in C:\Program Files\Sparx Systems\EA\MDGTechnologies.

And I just found possibilities to activate / deactivate that MDG. For me it seems that there are no means to modify a MDG.

Only possibility to see is to manipulate the XML file. But shape scripts are binary, so little bit tricky.

Beside that ... if I modify that file then those changes relate to ALL my EA projects. And other people working on the same project doesn't have those changes until I provide the file to them.

Am I right or did I miss something?

Thx
Rüdiger Engelberger

7
General Board / Re: Assign shape script to topic of mind map
« on: April 04, 2013, 02:53:58 am »
The shape script works if I assign it to a custom stereotype and assign that stereotype to an object without stereotype (e.g.: class).

It also works when I assign it to a class with stereotype "table". So in that case 2 stereotypes are assigned ... "table" and my custom stereotype.

But when I assign my custom stereotype to a Topic (Mindmap) then it doesn't work. The rendering of the topic is not influenced by the shape script at all. In that case also 2 stereotypes are assigned: "Topic" and my custom stereotype.

So for me that whole stereotype stuff in combination with rendering seems a little bit strange to me.

Is there some logic which I don't understand!?

Thx!

Rüdiger





8
General Board / Re: Assign shape script to topic of mind map
« on: April 03, 2013, 01:11:49 am »
Hi Paulus,

Many thanks for your answer.

I think I got your hint to create a custom stereotype and additionally assign that to the element.

The only problem is that then you always have to assign that additional stereotype too.

What I basically want to do:

I want that topics (of a mind map) render differently (e.g.: different background color) if the status or the version has a specific value.

My idea was to have a shape script for the stereotype "Topic" which checks those attributes (status, version) and define a different color for  specific values.

I'm not even sure if it's possible to check for status and version. There are 2 methods HasTag and HasProperty ... is it possible to check those attributes with one of those methods?

Does anybody have an idea to solve my problem without additionally assigning custom stereotypes (which you would forget usually).

Thx!

Rüdiger

9
General Board / Assign shape script to topic of mind map
« on: March 20, 2013, 11:29:50 pm »
Hi,

I think I don't understand the basic concept of profiles / stereotypes in EA.

What I would like to do:

Assign a shape script to a topic of a mind map.

My idea to do this:

When I create a new topic in a mind map the stereotype "Topic" is assigned by default. When I click on the button next to the stereotype field in the properties dialog then I see that there are several profiles. One of them is called "MindMapping". When I choose that then I see that the stereotype "Topic" is checked. Clear for me.

Then my idea was to find the stereotype "Topic" and define a shape script for that stereotype.

But the only way to define layout settings for stereotypes I found is in "Settings" / "UML Types". But in this dialog you only find UML stereotypes.

Does anybody have an idea how to access other "built in" stereotypes like "Topic" of profile "MindMapping"?

Thanks!

Rüdiger Engelberger

10
General Board / Re: Search in linked documents
« on: January 29, 2011, 12:20:02 am »
Ok, thanks a lot for your hint ... I'll do that!

Rüdiger

11
General Board / Re: Search in linked documents
« on: January 28, 2011, 11:24:37 pm »
I guessed that this should be an out-of-the-box feature of EA.

If not ...

@Sparx Systems guys

Please add this feature to the next release. It's really important to be able to search in linked documents !!!

Thanks!

12
General Board / Search in linked documents
« on: January 28, 2011, 07:14:28 pm »
Hi,

How is it possible to extend the search ("Find in model") to linked documents?

I'm using linked documents for use case descriptions and it's critical to me to search in those documents. At the moment I don't have an idea how I can do that.

Many thanks in advance.

Rüdiger

13
General Board / Extend search to linked  documents
« on: November 15, 2010, 06:08:13 pm »
Hi,

How is it possible to extend the project search (Edit / Find in model) to linked documents.

It's critical to me when I want to change specification.

Thanks!

Rüdiger Engelberger

14
General Board / Re: Avoid HTML escaping when generating DDL
« on: June 02, 2010, 05:29:33 am »
Hi Geert,

Thanks a lot for the hint. I'll do that.

Cheers Rüdiger

15
General Board / Avoid HTML escaping when generating DDL
« on: June 01, 2010, 02:14:49 am »
Hi,

We want do define check constraints for a database table, but when generating the DDL (Project / Database Engineering / Generate Package DDL) "<" and ">" characters are transformed to URL encoded counterparts.

e.g.:

MEBO_FROM >= MEBO_TO

will be transfored to:

MEBO_FROM &gt;= MEBO_TO

How can we avoid this? In any case ... it doesn't make sense to convert anything in a SQL script to HTML encoded characters!?

Many thanks!

Rüdiger Engelberger

Pages: [1] 2