You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by "Chohan, Dharmesh" <dh...@atos.net> on 2014/01/15 11:41:14 UTC
UI Labels only
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.
Also I want some of the text labels to appear as hyperlinks.
Thanks in advance
Dharmesh
Re: UI Labels only
Posted by Dan Haywood <da...@haywood-associates.co.uk>.
On 16 January 2014 10:21, Chohan, Dharmesh <dh...@atos.net> wrote:
> Hi Dan
>
> I understand providing a label only is going against the DDD! I required
> the label for only UI presentation purposes.
>
> ok, good to hear!
> The Hyperlink is to show some content data on the same page. The link
> works to hide/unhide content.
>
>
perhaps you could sketch this somehow and upload somewhere, so I can
understand better. NB: attachments are not allowed on the mailing list, so
upload a sketch to dropbox or your blog etc, and link to it.
Dan
RE: UI Labels only
Posted by "Chohan, Dharmesh" <dh...@atos.net>.
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:dan@haywood-associates.co.uk]
Sent: Thursday, January 16, 2014 9:56 AM
To: users
Subject: Re: UI Labels only
On 15 January 2014 10:41, Chohan, Dharmesh <dh...@atos.net> 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
>
>
>
>
Re: UI Labels only
Posted by Dan Haywood <da...@haywood-associates.co.uk>.
On 15 January 2014 10:41, Chohan, Dharmesh <dh...@atos.net> 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
>
>
>
>