Cannot edit code for a DXL Layout column

Hi DOORS forum,

I am using DOORS ver. 9.3

I am a DXL newbie, and my first assignment for myself is that I want to add a DXL Layout column to an existing formal module which iterates through all outlinks on the current Object, looks for the True/False value of each linked target object of a specific attribute name and makes a logical or of that and presents that in the layout column.

Now, I know how to code that, I can write a DXL script for a current Module and iterate through the Objects in there and print out the result for each Object.

The problem is that I am lost making it as a DXL Layout script instead.

I have tried inserting a new column, and select "DXL Layout" in the radiogroup of possibilities. This enables a browse button, where I can access existing scripts (I do not find any options of adding a new script).

If I do not selecet an existing script, i get an error message when I try to create the column.

My next idea was then to selecet an existing script and then edit it to the form I want. However, if i try to edit the column I get back to the same dialog again, where my only option is to "Browse" for an existing script. I am missing an Edit... Button there.

There must be something obvious I have overlooked or misunderstood. Please advice.

Slaunger
Slaunger - Thu Jun 23 10:49:29 EDT 2011

Re: Cannot edit code for a DXL Layout column
Slaunger - Thu Jun 23 11:04:47 EDT 2011

I should probably have asked my teddy bear prior to asking here. It always help to formulate a question. I fugured that when you click browse, I get buttons for "New" and "Edit" and an editor opens and everything is OK.

I was just confused because I had to click browse first. It would seem more natural to have the new and edit options on the same pane, where you can browse.

Slaunger

Re: Cannot edit code for a DXL Layout column
llandale - Thu Jun 23 17:32:27 EDT 2011

Slaunger - Thu Jun 23 11:04:47 EDT 2011
I should probably have asked my teddy bear prior to asking here. It always help to formulate a question. I fugured that when you click browse, I get buttons for "New" and "Edit" and an editor opens and everything is OK.

I was just confused because I had to click browse first. It would seem more natural to have the new and edit options on the same pane, where you can browse.

Slaunger

Ha! I do this all the time. After I post a message I realize the answer and then experience a variety of colorful metaphores as I wish I could have the post back. I came to realize that I should write the post and then Save Draft and sleep on it.

I'm sure the Psychiatrist folks can explain this phenomenon, but I'm sure it has to do with the "fact" that putting your thoughts into words helps clarify them; something to do with Language being the primary mechanism for higher thought. Also, digressing, putting your feelings into words helps reduce the effect those feelings have over you. The monster under the bed loses power when the kid talks about or draws the monster. Boss got you upset? Find a friend and "vent" a little.

As for your Layout, you will need to add code that attempts to open up the target module, you can insert a wizard layout to see how that is done.

  • Louie

I image there are folks here who wish I would take my own advise more often!