Hi Ranganath,

The page you are referring to says: "at this writing this capability
does not exist for properties that have dependencies. Instead, make
the properties read-only (using@Disabled) and provide an action to
update them instead". So you need to provide functionality in the
Wicket viewer to make this work.

In our Isis related projects we disable the possibility to edit
properties by annotating the class with @Immutable and only make
changes through actions. In your case I can imagine that there is a
"moveTo" action which will update your fields (and potentially do
more).

HTH

Cheers,

Jeroen



On Wed, Jun 18, 2014 at 1:19 PM,  <[email protected]> wrote:
>
>
> Like dependent choices for action params: 
> http://isis.apache.org/how-tos/how-to-03-022-How-to-specify-dependent-choices-for-action-parameters.html,
>  Do we have the same for properties.
> I have a domain object with two correlated properties: Meaning: One property 
> has dependency on the other property.
> Eg:
> OmSite has properties Organisation and GeoLocation.  Both of these be 
> displayed in drop-down list. GeoLocation choices are dependent on 
> Organisation.
>
> That means after I select Organisation, its corresponding GeoLocation choices 
> to be displayed.
>
> I can do this with action method and using choices method for params. But I 
> need the same concept for properties as well. Because I open this OmSite 
> object from the list page. There I can see Edit button.
> In the Edit view also I could see the GeoLocation choices depending on 
> Organisation chosen.
>
> Please help
>
> BR
> Ranganath Varma
>
>
>
> The information contained in this electronic message and any attachments to 
> this message are intended for the exclusive use of the addressee(s) and may 
> contain proprietary, confidential or privileged information. If you are not 
> the intended recipient, you should not disseminate, distribute or copy this 
> e-mail. Please notify the sender immediately and destroy all copies of this 
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should 
> check this email and any attachments for the presence of viruses. The company 
> accepts no liability for any damage caused by any virus transmitted by this 
> email.
>
> www.wipro.com

Reply via email to