[jira] [Created] (ISIS-931) Make Isis faster to start.

2014-10-24 Thread Dan Haywood (JIRA)
Dan Haywood created ISIS-931:


 Summary: Make Isis faster to start.
 Key: ISIS-931
 URL: https://issues.apache.org/jira/browse/ISIS-931
 Project: Isis
  Issue Type: Improvement
  Components: Core
Affects Versions: core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: core-1.8.0


Using profiling etc.  JProfiler have provided us with an open source license.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-931) Make Isis faster to start.

2014-10-24 Thread Martin Grigorov (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182539#comment-14182539
 ] 

Martin Grigorov commented on ISIS-931:
--

One of the noticeable things is that Reflections logs several found X items in 
Y ms/secs. That means several Reflections instances are created to scan for 
different things. I guess this can be optimized to create just one Reflections 
and ask it for all things.

 Make Isis faster to start.
 --

 Key: ISIS-931
 URL: https://issues.apache.org/jira/browse/ISIS-931
 Project: Isis
  Issue Type: Improvement
  Components: Core
Affects Versions: core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: core-1.8.0


 Using profiling etc.  JProfiler have provided us with an open source license.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-928) Isis 1.8.0 release tasks

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182563#comment-14182563
 ] 

ASF subversion and git services commented on ISIS-928:
--

Commit 766670e4128d7211931fd59079b40a14259bab5d in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=766670e ]

ISIS-928: minor bug fix in ToDoItemSubscriptions.


 Isis 1.8.0 release tasks
 

 Key: ISIS-928
 URL: https://issues.apache.org/jira/browse/ISIS-928
 Project: Isis
  Issue Type: Task
  Components: Core, Viewer: Wicket
Affects Versions: archetype-todoapp-1.7.0, archetype-simpleapp-1.7.0, 
 viewer-wicket-1.7.0, core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: archetype-todoapp-1.8.0, archetype-simpleapp-1.8.0, 
 viewer-wicket-1.8.0, core-1.8.0






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-928) Isis 1.8.0 release tasks

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182564#comment-14182564
 ] 

ASF subversion and git services commented on ISIS-928:
--

Commit d177fba0e2ec0a3657a628e8ae6c0ddc42832542 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=d177fba ]

ISIS-928: marked Exploration annotation as deprecated, with a view to perhaps 
removing in Isis 2.0.


 Isis 1.8.0 release tasks
 

 Key: ISIS-928
 URL: https://issues.apache.org/jira/browse/ISIS-928
 Project: Isis
  Issue Type: Task
  Components: Core, Viewer: Wicket
Affects Versions: archetype-todoapp-1.7.0, archetype-simpleapp-1.7.0, 
 viewer-wicket-1.7.0, core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: archetype-todoapp-1.8.0, archetype-simpleapp-1.8.0, 
 viewer-wicket-1.8.0, core-1.8.0






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182562#comment-14182562
 ] 

ASF subversion and git services commented on ISIS-537:
--

Commit 6a5039a731d47794029c5ccc1fce1ae777bb52bc in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=6a5039a ]

ISIS-537: standardizing on use of CssClassFa facet value throughout (always 
include the fa  class).


 Convert Wicket viewer to use Bootstrap, so that it can be themed.
 -

 Key: ISIS-537
 URL: https://issues.apache.org/jira/browse/ISIS-537
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.2.0
Reporter: Dan Haywood
Assignee: Martin Grigorov
 Fix For: viewer-wicket-1.9.0


 forked to https://github.com/martin-g/isis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-703) Provide a switch in the Wicket viewer to make the positioning of a fields label either to the left or above the field.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182679#comment-14182679
 ] 

ASF subversion and git services commented on ISIS-703:
--

Commit 1766c7b11d9ec3c0e3399b427ffdf539c0ee77f8 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=1766c7b ]

ISIS-703: new LabelAt annotation and facet and facet factories.

Also moved some of the fallback facets to same package as FallbackFacetFactory.


 Provide a switch in the Wicket viewer to make the positioning of a fields 
 label either to the left or above the field.
 --

 Key: ISIS-703
 URL: https://issues.apache.org/jira/browse/ISIS-703
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.3.1
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: viewer-wicket-1.8.0


 Similar to ISIS-702, but whereas that relates to fine-tuning individual 
 fields, this ticket is about providing a global default.
 (have asked Martin for his opinion on whether this makes sense to roll into 
 ISIS-537).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ISIS-932) Use HTML5 history API so that the address URL reflects the object being viewed (including any sorting, view selection etc).

2014-10-24 Thread Dan Haywood (JIRA)
Dan Haywood created ISIS-932:


 Summary: Use HTML5 history API so that the address URL reflects 
the object being viewed (including any sorting, view selection etc).
 Key: ISIS-932
 URL: https://issues.apache.org/jira/browse/ISIS-932
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: viewer-wicket-1.9.0






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182696#comment-14182696
 ] 

ASF subversion and git services commented on ISIS-537:
--

Commit 67e2c7be1a13db682cd1467fde1693bf17aa5e4d in isis's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=67e2c7b ]

ISIS-537 Use bg-warning for prototype application actions


 Convert Wicket viewer to use Bootstrap, so that it can be themed.
 -

 Key: ISIS-537
 URL: https://issues.apache.org/jira/browse/ISIS-537
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.2.0
Reporter: Dan Haywood
Assignee: Martin Grigorov
 Fix For: viewer-wicket-1.9.0


 forked to https://github.com/martin-g/isis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182694#comment-14182694
 ] 

ASF subversion and git services commented on ISIS-537:
--

Commit 0618035be15a196a6a164f1034b9e0cc2ad81f26 in isis's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=0618035 ]

ISIS-537 Remove display: inline-block for .dropdown-menulia.menuLink so 
that the hover colors the whole line


 Convert Wicket viewer to use Bootstrap, so that it can be themed.
 -

 Key: ISIS-537
 URL: https://issues.apache.org/jira/browse/ISIS-537
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.2.0
Reporter: Dan Haywood
Assignee: Martin Grigorov
 Fix For: viewer-wicket-1.9.0


 forked to https://github.com/martin-g/isis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182692#comment-14182692
 ] 

ASF subversion and git services commented on ISIS-537:
--

Commit c8f4e9d7ba7cab9694bec28891d80442b826ba28 in isis's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=c8f4e9d ]

ISIS-537 Use ul for the additional links in AdditionalLinksPanel. Add some 
space at the bottom to draw a line between them


 Convert Wicket viewer to use Bootstrap, so that it can be themed.
 -

 Key: ISIS-537
 URL: https://issues.apache.org/jira/browse/ISIS-537
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.2.0
Reporter: Dan Haywood
Assignee: Martin Grigorov
 Fix For: viewer-wicket-1.9.0


 forked to https://github.com/martin-g/isis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182695#comment-14182695
 ] 

ASF subversion and git services commented on ISIS-537:
--

Commit 266f71a01d438157b4792ff12cb701722b1b37c3 in isis's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=266f71a ]

ISIS-537 Fix the javadoc of CssClassFaFacet


 Convert Wicket viewer to use Bootstrap, so that it can be themed.
 -

 Key: ISIS-537
 URL: https://issues.apache.org/jira/browse/ISIS-537
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.2.0
Reporter: Dan Haywood
Assignee: Martin Grigorov
 Fix For: viewer-wicket-1.9.0


 forked to https://github.com/martin-g/isis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182693#comment-14182693
 ] 

ASF subversion and git services commented on ISIS-537:
--

Commit 9b090880112186a3da18f1cb15b9b82797baf5c6 in isis's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=9b09088 ]

ISIS-537 Remove commented out CSS rules about colors in CssMenuPanel.css


 Convert Wicket viewer to use Bootstrap, so that it can be themed.
 -

 Key: ISIS-537
 URL: https://issues.apache.org/jira/browse/ISIS-537
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.2.0
Reporter: Dan Haywood
Assignee: Martin Grigorov
 Fix For: viewer-wicket-1.9.0


 forked to https://github.com/martin-g/isis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ISIS-933) Allow the RO viewer to be configured so that it can honour or ignore UI hints (in particular, the @Render(EAGERLY) facet).

2014-10-24 Thread Dan Haywood (JIRA)
Dan Haywood created ISIS-933:


 Summary: Allow the RO viewer to be configured so that it can 
honour or ignore UI hints (in particular, the @Render(EAGERLY) facet).
 Key: ISIS-933
 URL: https://issues.apache.org/jira/browse/ISIS-933
 Project: Isis
  Issue Type: New Feature
  Components: Core: Viewer: RestfulObjects
Affects Versions: core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: core-1.8.0


Currently in Estatio, retrieving a Property entity results in a 2.6Mb response. 
 This is  because its 'Units' collection is annotated as an eagerly rendered.

We expect that most RO clients to be data API clients, ie will make their own 
decisions about which data to retrieve and how. 

For this ticket, suggest simply a global configuration setting:

# whether to honor UI hints, in particular Render(EAGERLY).  Default to false.
#isis.viewer.restfulobjects.honorUiHints=false


~~~
In the future, this could be generalized/refined by having the RO client send 
an HTTP Accept header and have the RO viewer server respond appropriately.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-914) Wicket viewer doesn't show all String properties of a ViewModel instance

2014-10-24 Thread Vladimir Nisevic (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182786#comment-14182786
 ] 

Vladimir Nisevic commented on ISIS-914:
---

Hi, I have different behaviours when using ViewModel annotations and when I 
implement the ViewModel interface.

In both cases I have problems. 

When implement the ViewModel Interface, then the attributes do not appear. I 
other case I get 

{code}
org.apache.isis.core.runtime.persistence.PojoRecreationException
Could not recreate pojo for oid oid 
*sample.AddressAnnotated:PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPG1lbWVudG8-PGxrbXNJZD4xMjM8L2xrbXNJZD48aG91c2VOdW1iZXI-MUE8L2hvdXNlTnVtYmVyPjxzdHJlZXQuYm9va21hcms-c2FtcGxlLlN0cmVldEFubm90YXRlZDpQRDk0Yld3Z2RtVnljMmx2YmowaU1TNHdJaUJsYm1OdlpHbHVaejBpVlZSR0xUZ2lQejRLUEcxbGJXVnVkRzgtUEhOMGNtVmxkRzVoYldVLVUzUmxaWFF4UEM5emRISmxaWFJ1WVcxbFBqeHdiSG8tTVRJelBDOXdiSG8tUEM5dFpXMWxiblJ2UGc9PTwvc3RyZWV0LmJvb2ttYXJrPjwvbWVtZW50bz4=
org.apache.isis.core.runtime.persistence.adaptermanager.AdapterManagerDefault#adapterFor(AdapterManagerDefault.java:311)
org.apache.isis.viewer.wicket.model.mementos.ObjectAdapterMemento$Type$2#recreateAdapter(ObjectAdapterMemento.java:112)
org.apache.isis.viewer.wicket.model.mementos.ObjectAdapterMemento$Type#getAdapter(ObjectAdapterMemento.java:183)
org.apache.isis.viewer.wicket.model.mementos.ObjectAdapterMemento#getObjectAdapter(ObjectAdapterMemento.java:301)
org.apache.isis.viewer.wicket.m
{code}


Yes in both cases I use Address and Street as view models and I reference the 
Street from Address.

Should I stil provide you my code?

Regs,Vladimir

 Wicket viewer doesn't show all String properties of a ViewModel instance
 

 Key: ISIS-914
 URL: https://issues.apache.org/jira/browse/ISIS-914
 Project: Isis
  Issue Type: Bug
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.7.0
Reporter: Vladimir Nisevic
Assignee: Dan Haywood
 Attachments: screenshot-1.png


 Have this domain service method
 {code}
  @Prototype
 @Render(Type.EAGERLY)
 public Address retreiveAddressModelSample() {
 final Address address = 
 getContainer().newViewModelInstance(Address.class, 11);
 address.setHouseNumber(12);
 Street street = getContainer().newViewModelInstance(Street.class, 
 123);
 street.setStreetname(5th street);
 street.setPlz(1100);
 address.setStreet(street);
 return address;
 }
 {code}
 when calling thru wicket viewer appears see screenshot. 
 So I miss:
 - housenumber
 - Stret  (getTitle())



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-915) Framework should transparently allow view models to reference other view models.

2014-10-24 Thread Vladimir Nisevic (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182801#comment-14182801
 ] 

Vladimir Nisevic commented on ISIS-915:
---

Dan, thanks for your hint. I'll try to see if I can move forward on my own.

My comment on Isis-914 just before is obsolete.

Regs,Vladimir

 Framework should transparently allow view models to reference other view 
 models.
 

 Key: ISIS-915
 URL: https://issues.apache.org/jira/browse/ISIS-915
 Project: Isis
  Issue Type: Bug
  Components: Core
Affects Versions: core-1.6.0
Reporter: Vladimir Nisevic
Assignee: Dan Haywood
 Fix For: core-1.9.0


 The description below shows the current behaviour; the core tries to 
 interpret the Street reference as a persisted entity.
 The workaround is to have explicitly implement ViewModel (rather than 
 annotated with @ViewModel) and to traverse the graph manually.  Using 
 XmlSnapshotService could be one way to do this (or at least to provide 
 inspiration on how to accomplish this).
 Note though that ISIS-916 is a prereq in order to implement such as 
 workaround.
 ~~~
 Having this ViewModel annotated classes
 {code}
 @org.apache.isis.applib.annotation.ViewModel
 public class Address2 {
 public Address2(String lkmsId) {
 this.lkmsId = lkmsId;
 }
 public String title() {
 return Address lkmsId: + lkmsId;
 }
 public String iconName() {
 return Location_icon;
 }
 // {{ LkmsId (property)
 private String lkmsId;
 @MemberOrder(sequence = 1)
 public String getLkmsId() {
 return lkmsId;
 }
 public void setLkmsId(final String lkmsId) {
 this.lkmsId = lkmsId;
 }
 // }}
 // {{ Street (property)
 private Street2 street;
 @MemberOrder(sequence = 3)
 public Street2 getStreet() {
 return street;
 }
 public void setStreet(final Street2 street) {
 this.street = street;
 }
 // }}
 // {{ Housenumber (property)
 private String houseNumber;
 @MemberOrder(sequence = 2)
 public String getHouseNumber() {
 return houseNumber;
 }
 public void setHouseNumber(final String housenumber) {
 this.houseNumber = housenumber;
 }
 // }}
 }
 {code}
 and 
 {code}
 @ViewModel
 public class Street2 {
 public Street2(String lkmsId) {
 this.lkmsId = lkmsId;
 }
 public String title() {
 return Street lkmsId: + lkmsId;
 }
 // {{ LkmsId (property)
 private String lkmsId;
 @MemberOrder(sequence = 1)
 public String getLkmsId() {
 return lkmsId;
 }
 public void setLkmsId(final String lkmsId) {
 this.lkmsId = lkmsId;
 }
 // }}
 // {{ Streetname (property)
 private String streetname;
 @MemberOrder(sequence = 2)
 public String getStreetname() {
 return streetname;
 }
 public void setStreetname(final String aName) {
 this.streetname = aName;
 }
 // }}
 // {{ Plz (property)
 private String plz;
 @MemberOrder(sequence = 3)
 public String getPlz() {
 return plz;
 }
 public void setPlz(final String plz) {
 this.plz = plz;
 }
 // }}
 }
 {code}
 When calling the domain service method
 {code}
  @Prototype
 @Render(Type.EAGERLY)
 public Address2 retreiveAnnotatedAddressModelSample() {
 Address2 address = new Address2(11);
 address.setHouseNumber(12);
 Street2 street = new Street2(123);
 street.setStreetname(5th street);
 street.setPlz(1100);
 address.setStreet(street);
 return address;
 }
 {code}
 will bring this exception 
 {code}
 Handling the following exception
 org.apache.isis.core.runtime.persistence.PojoRecreationException: Could not 
 recreate pojo for oid oid 
 *a1.ase.viewmodel.annotated.Address2:PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPG1lbWVudG8-PGxrbXNJZD4xMTwvbGttc0lkPjxob3VzZU51bWJlcj4xMjwvaG91c2VOdW1iZXI-PHN0cmVldC5ib29rbWFyaz5hMS5hc2Uudmlld21vZGVsLmFubm90YXRlZC5TdHJlZXQyOlBEOTRiV3dnZG1WeWMybHZiajBpTVM0d0lpQmxibU52WkdsdVp6MGlWVlJHTFRnaVB6NEtQRzFsYldWdWRHOC1QR3hyYlhOSlpENHhNak04TDJ4cmJYTkpaRDQ4YzNSeVpXVjBibUZ0WlQ0MWRHZ2djM1J5WldWMFBDOXpkSEpsWlhSdVlXMWxQanh3YkhvLU1URXdNRHd2Y0d4NlBqd3ZiV1Z0Wlc1MGJ6ND08L3N0cmVldC5ib29rbWFyaz48L21lbWVudG8-
   at 
 org.apache.isis.core.runtime.persistence.adaptermanager.AdapterManagerDefault.adapterFor(AdapterManagerDefault.java:311)
 ...
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (ISIS-933) Allow the RO viewer to be configured so that it can honour or ignore UI hints (in particular, the @Render(EAGERLY) facet).

2014-10-24 Thread Dan Haywood (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182949#comment-14182949
 ] 

Dan Haywood edited comment on ISIS-933 at 10/24/14 3:37 PM:


Have added the following config properties:


# whether to honor UI hints, in particular Render(EAGERLY).  Defaults to false.
#isis.viewer.restfulobjects.honorUiHints=false



###
# Non-standard configuration settings.
#
# If enabled of the following are enabled then the viewer is deviating from the
# RO spec standard; compatibility may be compromised with RO clients.
###

# whether to show only object properties for object members
# (on the object representation only)
# Takes precedence over the other 'suppress' below.
#isis.viewer.restfulobjects.objectPropertyValuesOnly=true
isis.viewer.restfulobjects.objectPropertyValuesOnly=true

# whether to suppress describedby links.  Defaults to false.
#isis.viewer.restfulobjects.suppressDescribedByLinks=true

# whether to suppress update links.  Defaults to false.
#isis.viewer.restfulobjects.suppressUpdateLink=true

# whether to suppress id json-prop for object members.  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberId=true

# whether to suppress links json-prop for object members
# (on the object representation only).  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberLinks=true

# whether to suppress extensions json-prop for object members
# (on the object representation only).  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberExtensions=true

# whether to suppress disabledReason json-prop for object members
# (on the object representation only).  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberDisabledReason=true
isis.viewer.restfulobjects.suppressMemberDisabledReason=true

###



was (Author: danhaywood):
# whether to honor UI hints, in particular Render(EAGERLY).  Defaults to false.
#isis.viewer.restfulobjects.honorUiHints=false



###
# Non-standard configuration settings.
#
# If enabled of the following are enabled then the viewer is deviating from the
# RO spec standard; compatibility may be compromised with RO clients.
###

# whether to show only object properties for object members
# (on the object representation only)
# Takes precedence over the other 'suppress' below.
#isis.viewer.restfulobjects.objectPropertyValuesOnly=true
isis.viewer.restfulobjects.objectPropertyValuesOnly=true

# whether to suppress describedby links.  Defaults to false.
#isis.viewer.restfulobjects.suppressDescribedByLinks=true

# whether to suppress update links.  Defaults to false.
#isis.viewer.restfulobjects.suppressUpdateLink=true

# whether to suppress id json-prop for object members.  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberId=true

# whether to suppress links json-prop for object members
# (on the object representation only).  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberLinks=true

# whether to suppress extensions json-prop for object members
# (on the object representation only).  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberExtensions=true

# whether to suppress disabledReason json-prop for object members
# (on the object representation only).  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberDisabledReason=true
isis.viewer.restfulobjects.suppressMemberDisabledReason=true

###


 Allow the RO viewer to be configured so that it can honour or ignore UI hints 
 (in particular, the @Render(EAGERLY) facet).
 --

 Key: ISIS-933
 URL: https://issues.apache.org/jira/browse/ISIS-933
 Project: Isis
  Issue Type: New Feature
  Components: Core: Viewer: RestfulObjects
Affects Versions: core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: core-1.8.0


 Currently in Estatio, retrieving a Property entity results in a 2.6Mb 
 response.  This is  because its 'Units' collection is annotated as an eagerly 
 rendered.
 We expect that most RO clients to be data API clients, ie will make their 
 own decisions about which data to retrieve and how. 
 For this ticket, suggest simply a global configuration setting:
 # whether to honor UI hints, in particular Render(EAGERLY).  Default to 

[jira] [Commented] (ISIS-933) Allow the RO viewer to be configured so that it can honour or ignore UI hints (in particular, the @Render(EAGERLY) facet).

2014-10-24 Thread Dan Haywood (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182949#comment-14182949
 ] 

Dan Haywood commented on ISIS-933:
--

# whether to honor UI hints, in particular Render(EAGERLY).  Defaults to false.
#isis.viewer.restfulobjects.honorUiHints=false



###
# Non-standard configuration settings.
#
# If enabled of the following are enabled then the viewer is deviating from the
# RO spec standard; compatibility may be compromised with RO clients.
###

# whether to show only object properties for object members
# (on the object representation only)
# Takes precedence over the other 'suppress' below.
#isis.viewer.restfulobjects.objectPropertyValuesOnly=true
isis.viewer.restfulobjects.objectPropertyValuesOnly=true

# whether to suppress describedby links.  Defaults to false.
#isis.viewer.restfulobjects.suppressDescribedByLinks=true

# whether to suppress update links.  Defaults to false.
#isis.viewer.restfulobjects.suppressUpdateLink=true

# whether to suppress id json-prop for object members.  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberId=true

# whether to suppress links json-prop for object members
# (on the object representation only).  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberLinks=true

# whether to suppress extensions json-prop for object members
# (on the object representation only).  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberExtensions=true

# whether to suppress disabledReason json-prop for object members
# (on the object representation only).  Defaults to false.
#isis.viewer.restfulobjects.suppressMemberDisabledReason=true
isis.viewer.restfulobjects.suppressMemberDisabledReason=true

###


 Allow the RO viewer to be configured so that it can honour or ignore UI hints 
 (in particular, the @Render(EAGERLY) facet).
 --

 Key: ISIS-933
 URL: https://issues.apache.org/jira/browse/ISIS-933
 Project: Isis
  Issue Type: New Feature
  Components: Core: Viewer: RestfulObjects
Affects Versions: core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: core-1.8.0


 Currently in Estatio, retrieving a Property entity results in a 2.6Mb 
 response.  This is  because its 'Units' collection is annotated as an eagerly 
 rendered.
 We expect that most RO clients to be data API clients, ie will make their 
 own decisions about which data to retrieve and how. 
 For this ticket, suggest simply a global configuration setting:
 # whether to honor UI hints, in particular Render(EAGERLY).  Default to false.
 #isis.viewer.restfulobjects.honorUiHints=false
 ~~~
 In the future, this could be generalized/refined by having the RO client send 
 an HTTP Accept header and have the RO viewer server respond appropriately.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-914) Wicket viewer doesn't show all String properties of a ViewModel instance

2014-10-24 Thread Dan Haywood (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182962#comment-14182962
 ] 

Dan Haywood commented on ISIS-914:
--

Per Vladimir's comment on ISIS-915, the above comment is obsolete.

 Wicket viewer doesn't show all String properties of a ViewModel instance
 

 Key: ISIS-914
 URL: https://issues.apache.org/jira/browse/ISIS-914
 Project: Isis
  Issue Type: Bug
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.7.0
Reporter: Vladimir Nisevic
Assignee: Dan Haywood
 Attachments: screenshot-1.png


 Have this domain service method
 {code}
  @Prototype
 @Render(Type.EAGERLY)
 public Address retreiveAddressModelSample() {
 final Address address = 
 getContainer().newViewModelInstance(Address.class, 11);
 address.setHouseNumber(12);
 Street street = getContainer().newViewModelInstance(Street.class, 
 123);
 street.setStreetname(5th street);
 street.setPlz(1100);
 address.setStreet(street);
 return address;
 }
 {code}
 when calling thru wicket viewer appears see screenshot. 
 So I miss:
 - housenumber
 - Stret  (getTitle())



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-933) Allow the RO viewer to be configured so that it can honour or ignore UI hints (in particular, the @Render(EAGERLY) facet).

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182985#comment-14182985
 ] 

ASF subversion and git services commented on ISIS-933:
--

Commit d8492e2840e7dcbf7a5e7793516f045f47ad4cd2 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=d8492e2 ]

ISIS-933: config properties to override RO defaults for simplified/suppressed 
representations.


 Allow the RO viewer to be configured so that it can honour or ignore UI hints 
 (in particular, the @Render(EAGERLY) facet).
 --

 Key: ISIS-933
 URL: https://issues.apache.org/jira/browse/ISIS-933
 Project: Isis
  Issue Type: New Feature
  Components: Core: Viewer: RestfulObjects
Affects Versions: core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: core-1.8.0


 Currently in Estatio, retrieving a Property entity results in a 2.6Mb 
 response.  This is  because its 'Units' collection is annotated as an eagerly 
 rendered.
 We expect that most RO clients to be data API clients, ie will make their 
 own decisions about which data to retrieve and how. 
 For this ticket, suggest simply a global configuration setting:
 # whether to honor UI hints, in particular Render(EAGERLY).  Default to false.
 #isis.viewer.restfulobjects.honorUiHints=false
 ~~~
 In the future, this could be generalized/refined by having the RO client send 
 an HTTP Accept header and have the RO viewer server respond appropriately.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182981#comment-14182981
 ] 

ASF subversion and git services commented on ISIS-537:
--

Commit b66608514d07a2e5af5e6706db7c8ac07af7a6cd in isis's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=b666085 ]

ISIS-537 With the new layout for scalar panels' markup the input field is not 
anymore enclosed in a label.

Use fa-fw (fixed width) FontAwesome icons


 Convert Wicket viewer to use Bootstrap, so that it can be themed.
 -

 Key: ISIS-537
 URL: https://issues.apache.org/jira/browse/ISIS-537
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.2.0
Reporter: Dan Haywood
Assignee: Martin Grigorov
 Fix For: viewer-wicket-1.9.0


 forked to https://github.com/martin-g/isis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182983#comment-14182983
 ] 

ASF subversion and git services commented on ISIS-537:
--

Commit 4554613129bcb524eb9b2f354b9e81971421bc02 in isis's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=4554613 ]

ISIS-537 AddOrReplace the menu item' label because page refresh leads to an 
error that the link already has a label


 Convert Wicket viewer to use Bootstrap, so that it can be themed.
 -

 Key: ISIS-537
 URL: https://issues.apache.org/jira/browse/ISIS-537
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.2.0
Reporter: Dan Haywood
Assignee: Martin Grigorov
 Fix For: viewer-wicket-1.9.0


 forked to https://github.com/martin-g/isis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182982#comment-14182982
 ] 

ASF subversion and git services commented on ISIS-537:
--

Commit cc2b39fab138812abde3c91723a9942478e85e95 in isis's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=cc2b39f ]

ISIS-537 Replace all btn-default with btn-primary. btn-default is preserved for 
reset/cancel type links/buttons

Use fa-fw (fixed width) FontAwesome icons


 Convert Wicket viewer to use Bootstrap, so that it can be themed.
 -

 Key: ISIS-537
 URL: https://issues.apache.org/jira/browse/ISIS-537
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.2.0
Reporter: Dan Haywood
Assignee: Martin Grigorov
 Fix For: viewer-wicket-1.9.0


 forked to https://github.com/martin-g/isis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

2014-10-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182984#comment-14182984
 ] 

ASF subversion and git services commented on ISIS-537:
--

Commit e0da9557aa1598b132629540dd3897dd14f5d31f in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=e0da955 ]

ISIS-537: fixing a couple of unit tests for the CssClassFa stuff.


 Convert Wicket viewer to use Bootstrap, so that it can be themed.
 -

 Key: ISIS-537
 URL: https://issues.apache.org/jira/browse/ISIS-537
 Project: Isis
  Issue Type: New Feature
  Components: Viewer: Wicket
Affects Versions: viewer-wicket-1.2.0
Reporter: Dan Haywood
Assignee: Martin Grigorov
 Fix For: viewer-wicket-1.9.0


 forked to https://github.com/martin-g/isis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (ISIS-933) Allow the RO viewer to be configured so that it can honour or ignore UI hints (in particular, the @Render(EAGERLY) facet).

2014-10-24 Thread Dan Haywood (JIRA)

 [ 
https://issues.apache.org/jira/browse/ISIS-933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Haywood resolved ISIS-933.
--
Resolution: Fixed

 Allow the RO viewer to be configured so that it can honour or ignore UI hints 
 (in particular, the @Render(EAGERLY) facet).
 --

 Key: ISIS-933
 URL: https://issues.apache.org/jira/browse/ISIS-933
 Project: Isis
  Issue Type: New Feature
  Components: Core: Viewer: RestfulObjects
Affects Versions: core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: core-1.8.0


 Currently in Estatio, retrieving a Property entity results in a 2.6Mb 
 response.  This is  because its 'Units' collection is annotated as an eagerly 
 rendered.
 We expect that most RO clients to be data API clients, ie will make their 
 own decisions about which data to retrieve and how. 
 For this ticket, suggest simply a global configuration setting:
 # whether to honor UI hints, in particular Render(EAGERLY).  Default to false.
 #isis.viewer.restfulobjects.honorUiHints=false
 ~~~
 In the future, this could be generalized/refined by having the RO client send 
 an HTTP Accept header and have the RO viewer server respond appropriately.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)