Hmm, probably its reconciling the XML and the old annotations, sorry

On Fri, Apr 22, 2016 at 1:11 PM, Stephen Cameron <[email protected]
> wrote:

> Hi Dan, Jeroen
>
> Here are a couple more pics of what I assume is the same problem. The
> actions buttons appear more than once.
>
> http://expirebox.com/download/d38f977ebe3d396c0f1b6b278efa38c1.html
> http://expirebox.com/download/f09dd76628bf5a9b77cc741fe8838f9f.html
>
> I have another problem too, between the two images note that the Street
> Address value changes, Person2.png is what I see after selecting an link
> icon in a collection of Persons, Person3.png is what I see after simply
> refreshing the page.
>
> If I grab the Layout XML from that page this is what I get:
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <grid xsi:schemaLocation="http://isis.apache.org/applib/layout/component
> http://isis.apache.org/applib/layout/component/component.xsd
> http://isis.apache.org/applib/layout/grid/bootstrap3
> http://isis.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd";
> xmlns="http://isis.apache.org/applib/layout/grid/bootstrap3"; xmlns:ns2="
> http://isis.apache.org/applib/layout/component"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>     <row>
>         <col span="12" unreferencedActions="true">
>             <ns2:domainObject/>
>             <ns2:action id="clearHints"/>
>             <ns2:action id="downloadLayoutXml"/>
>             <ns2:action id="downloadJdoMetadata"/>
>             <ns2:action id="rebuildMetamodel"/>
>         </col>
>     </row>
>     <row>
>         <col span="12">
>             <tabGroup>
>                 <tab name="General">
>                     <row>
>                         <col span="6">
>                             <ns2:fieldSet name="General" id="general"
> unreferencedProperties="true">
>                                 <ns2:property id="salutationName"/>
>                                 <ns2:property id="firstname"/>
>                                 <ns2:property id="preferredname"/>
>                                 <ns2:property id="middlename"/>
>                                 <ns2:property id="surname"/>
>                                 <ns2:property id="birthdate"/>
>                                 <ns2:property id="englishSkill"/>
>                                 <ns2:property id="contactTypeName"/>
>                                 <ns2:property id="sex"/>
>                                 <ns2:property id="region"/>
>                                 <ns2:property id="contactType"/>
>                                 <ns2:property id="salutation"/>
>                             </ns2:fieldSet>
>                         </col>
>                         <col span="12" unreferencedCollections="true"/>
>                     </row>
>                 </tab>
>                 <tab name="Contact">
>                     <row>
>                         <col span="6">
>                             <ns2:fieldSet name="Contact"
> id="contactDetails">
>                                 <ns2:property id="homePhoneNumber"/>
>                                 <ns2:property id="mobilePhoneNumber"/>
>                                 <ns2:property id="emailAddress"/>
>                                 <ns2:property id="fixedPhoneNumber"/>
>                                 <ns2:property id="faxNumber"/>
>                                 <ns2:property id="streetAddress"/>
>                                 <ns2:property id="mailAddress"/>
>                             </ns2:fieldSet>
>                         </col>
>                         <col span="6">
>                             <ns2:fieldSet name="Address"
> id="addressDetails">
>                                 <ns2:action id="updateStreetAddress"
> position="PANEL"/>
>                                 <ns2:action id="updateMailAddress"
> position="PANEL"/>
>                                 <ns2:property id="streetAddress"/>
>                                 <ns2:property id="mailAddress"/>
>                                 <ns2:property id="location"/>
>                             </ns2:fieldSet>
>                         </col>
>                     </row>
>                 </tab>
>                 <tab name="Other">
>                     <row>
>                         <col span="4">
>                             <ns2:fieldSet name="Admin" id="admin">
>                                 <ns2:property id="oldId"/>
>                                 <ns2:property id="datanucleusIdLong"/>
>                                 <ns2:property id="datanucleusVersionLong"/>
>                                 <ns2:property
> id="datanucleusVersionTimestamp"/>
>                                 <ns2:property id="createdBy"/>
>                                 <ns2:property id="createdOn"/>
>                                 <ns2:property id="lastModifiedBy"/>
>                                 <ns2:property id="lastModifiedOn"/>
>                                 <ns2:property id="regionName"/>
>                             </ns2:fieldSet>
>                         </col>
>                     </row>
>                 </tab>
>             </tabGroup>
>         </col>
>     </row>
> </grid>
>
> My layout file is close to that but the system has added the
> position="PANEL" attribute.
>
> If you cannot duplicate this I'll create some fixtures to see if can so as
> to debug.
>
> I was hoping to make use of 1.12 for a demo next Tuesday, but time is now
> running out to sort these problems, I don't have any time on the weekend.
>
> But once any issues are resolved it will be very nice!
>
> Steve
>
> On Fri, Apr 22, 2016 at 8:45 AM, Stephen Cameron <
> [email protected]> wrote:
>
>> Also noted that @MemberOrder#sequence is not being followed but
>> @MemberOrder#sequence#name is fine obviously.
>>
>> On Fri, Apr 22, 2016 at 7:31 AM, Stephen Cameron <
>> [email protected]> wrote:
>>
>>>
>>> https://github.com/Stephen-Cameron-Data-Services/isis-chats/blob/master/dom/src/main/java/au/com/scds/chats/dom/module/general/Person.java
>>>
>>> On Thu, Apr 21, 2016 at 10:50 PM, Dan Haywood <
>>> [email protected]> wrote:
>>>
>>>> ok, thanks.  Is this code in a github repo? (and if so, can you remind
>>>> me
>>>> which)
>>>>
>>>>
>>>>
>>>> On 21 April 2016 at 13:30, Stephen Cameron <[email protected]>
>>>> wrote:
>>>>
>>>> > http://expirebox.com/download/468e0d012f6f71fe8c31003a9d65b853.html
>>>> >
>>>> > On Thu, Apr 21, 2016 at 10:07 PM, Jeroen van der Wal <
>>>> [email protected]>
>>>> > wrote:
>>>> >
>>>> > > Attachments are removed from mailing list messages, use a service
>>>> like
>>>> > > imugr to link screenshots.
>>>> > >
>>>> > > On 21 April 2016 at 13:59, Stephen Cameron <
>>>> [email protected]>
>>>> > > wrote:
>>>> > >
>>>> > > > Hi Dan,
>>>> > > >
>>>> > > > In the attached you can see that the 'Update Street Address' and
>>>> > 'Update
>>>> > > > Mail Address' action buttons are appearing twice.
>>>> > > >
>>>> > > > The should only appear in the Contact Details field-set.
>>>> > > >
>>>> > > > I'll all pages have tabs I think, but this is what the no layout
>>>> file
>>>> > is
>>>> > > > giving me.
>>>> > > >
>>>> > > > Steve
>>>> > > >
>>>> > > >
>>>> > > >
>>>> > > >
>>>> > > >
>>>> > >
>>>> >
>>>>
>>>
>>>
>>
>

Reply via email to