the trunk partyscreens.xml
this was added
<section>
<condition>
<not><if-empty field-name="party"/></not>
</condition>
<widgets>
<section>
<condition>
<if-compare field-name="showOld"
operator="equals" value="true" type="Boolean"/>
</condition>
<widgets>
<container>
<link
target="viewprofile?partyId=${party.partyId}"
text="${uiLabelMap.PartyHideOld}" style="smallSubmit"/>
</container>
</widgets>
<fail-widgets>
<container>
<link
target="viewprofile?partyId=${party.partyId}&SHOW_OLD=true"
text="${uiLabelMap.PartyShowOld}" style="smallSubmit"/>
</container>
</fail-widgets>
</section>
<include-screen name="Party"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="Contact"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="LoyaltyPoints"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="PaymentMethods"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="AvsSettings"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="FinAccounts"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="UserLogin"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="Attributes"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="Visits"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="Cart"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen
name="SerializedInventory"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="Subscriptions"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="Content"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="ShipperAccount"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
<include-screen name="Notes"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
</widgets>
<fail-widgets>
<container>
<label
style="head3">${uiLabelMap.PartyNoPartyFoundWithPartyId}:
${parameters.partyId}</label>
</container>
</fail-widgets>
</section>
Jonathon -- Improov sent the following on 11/29/2007 5:32 PM:
> That's odd. The <condition> element should come before <actions>, which
> in turn comes before <widgets>. This error message is odd.
>
> Unless... a screen in there has 2 <condition> elements, maybe you could
> get this error then.
>
> Jonathon
>
> BJ Freeman wrote:
>> think I fould something
>> not sure where to go from here.
>> [UtilXml.java:649:ERROR] XmlFileLoader:
>> /applications/party/widget/partymgr/PartyScreens.xml process error.
>> Line: 725. Error message: cvc-complex-type.2.4.a: Invalid content was
>> found starting with element 'condition'. One of '{actions, widgets}' is
>> expected.
>>
>> BJ Freeman sent the following on 11/29/2007 9:53 AM:
>>> trace through your log.
>>>
>>>
>>> Bilgin Ibryam sent the following on 11/29/2007 7:47 AM:
>>>> Thanks guys.
>>>>
>>>> I still donot know where to search this not well formed xml...
>>>
>>>
>>
>>
>
>
>
>