Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jwt-dev] AW: Custom Properties

Hi Sachin,

 

so basically what you will need for your aspects is to set the multiple-property in the metamodel to true. This provides the possibility to have different values for each action whereas multiple=false says that each action would have the same e.g. “wait time”.

Concerning the change listener, I’m not the expert here, but I guess that it evaluates the toString-value of the field and maybe with a drop down box it always stays the same? Maybe Chris or Marc can assist you here...

Concerning the automatic display or hiding properties in the custom properties dialog Marc is definitely the right person to ask – I don’t have an idea about that; sorry!

 

Best regards,

 

Florian

 

Von: Sachin N. Chavan [mailto:Sachin.Chavan@xxxxxxxxxx]
Gesendet: Freitag, 23. Oktober 2009 08:55
An: Florian Lautenbacher
Cc: 'Java Workflow Toolbox'
Betreff: Custom Properties

 

Hi Florian,

 

We have a requirement where in we wanted to display a set of custom properties based on the “Executed By Application” property value of the selected “Action”.

 

The value of the custom properties would be different for each node in the process.

For e.g. Lets say I have a “Wait” Action in my process. The value of  “wait time” custom property would be different for each Action (node) in the process.

 

In order to achieve the functionality similar to the one described above, we were trying to extend the org.eclipse.jwt.we.changeListener and also to change the aspects (custom properties of Action being implemented using aspects) dynamically in the Listener implementation.

 

As described in the jwt-we-helpers-application example, the Change Notification Listener worked for “feature” like name (which was a string and plain textbox) by extending the org.eclipse.jwt.we.changeListener. But in case of the dropdown (list box), the notification is not effected and the Listener implementation doesn’t appear to work if the value of the dropdown is changed.

 

Are we missing something here? Also is there a way to invoke/display/hide certain aspects (custom properties) dynamically based on the user selection (in this case selection of a particular drop-down value from the list).

 

Any ideas/pointers/examples/comments to achieve such functionality are highly appreciated.

 

Thanks & Regards,

Sachin

 


MASTEK LTD.
Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 


Back to the top