Hi  Dan

I understand providing a label only is going against the DDD! I required the 
label for only UI presentation purposes.

The Hyperlink is to show some content data on the same page.  The link works to 
hide/unhide content.

Thanks
Dharmesh

-----Original Message-----
From: Dan Haywood [mailto:[email protected]] 
Sent: Thursday, January 16, 2014 9:56 AM
To: users
Subject: Re: UI Labels only

On 15 January 2014 10:41, Chohan, Dharmesh <[email protected]> wrote:

> Hi
>
> For some of the UI screens, I just want to add labels without the text 
> fields.  I understand I can name the labels with @Named annotations 
> but is there anything in ISIS to hide text field only.
>
>
I'm not quite sure what it means, semantically, to render an object's 
property's name (label) without its value (the text fields)... I suspect that 
there's a deeper reason for doing this, and understanding what the deeper 
reason is might help improve the domain model.

But, yes, you can hack it if you want.  I've just posted a new page on our site 
to show how [1], linked to from the (recently revamped) documentation page [2], 
"More advanced topics"




> Also I want some of the text labels to appear as hyperlinks.
>
>
> Hyperlinks to where, exactly?  If it's to a static page (eg as a help 
> page
explaining that link), then we could probably extend the @DescribedAs 
annotation for this.  If it's to dynamically generated content, then you'll 
need to explain where the href value comes from.

Dan


[1]
http://isis.apache.org/applib-guide/how-tos/how-to-tweak-the-ui-using-css-classes.html
[2] http://isis.apache.org/documentation.html

Thanks in advance
> Dharmesh
>
>
>
>

Reply via email to