Re: List of all people and the company they work for

2013-02-22 Thread James Piechota
/ /condition-list condition-expr entity-alias=REL field-name=partyRelationshipTypeId operator=equals value=EMPLOYMENT/ /condition-list /entity-condition /view-entity On Thu, Feb 21, 2013 at 9:22 PM, James Piechota piech...@gmail.com wrote: I

Re: List of all people and the company they work for

2013-02-22 Thread James Piechota
, James Piechota wrote: Solved (I couldn't let it go). For anyone else looking to do something similar, the following will create a view-entity with two columns (person and group) and populated with all EMPLOYMENT relationships (you can adjust the condition at the end to grab other relationships

Re: List of all people and the company they work for

2013-02-16 Thread James Piechota
On 2/15/2013 7:24 PM, James Piechota wrote: Thanks, Adrian! Yeah, I'd looked at PartyRelationshipAndDetail view entity (actually started my journey through the source there), but it seems like it only considers the PartyRelationship.partyIdTo side of the connection, not the partyIdFrom

Re: List of all people and the company they work for

2013-02-15 Thread James Piechota
Update: I may be able to so what I need using complex aliases (basically map a fromPerson and toPerson column to a single person column - assuming that only one of the two will be non-null for a given row). I'll give it a go. James On Thursday, February 14, 2013, James Piechota wrote: Thank

Re: List of all people and the company they work for

2013-02-15 Thread James Piechota
to Party. Person and PartyGroup are Party subtypes. So, if you want your code to work with all Party subtypes, you need a view entity that includes both Person and PartyGroup. The PartyRelationshipAndDetail view entity is a good example. -Adrian On 2/15/2013 3:47 PM, James Piechota wrote

Re: List of all people and the company they work for

2013-02-14 Thread James Piechota
for example. Nicolas Le 14/02/2013 00:09, James Piechota a écrit : Hi, What's the recommended approach to getting a list of Persons and the Party Group that they are in an EMPLOYMENT relationship with? Some context: Since a Person can be on either end of a PartyRelationship the SQL

Re: CSS stylesheets link order

2013-02-13 Thread James Piechota
**STYLESHEET resourceValue=/path/to/my/**custom/stylesheet.css sequenceId=99/ -Adrian On 2/12/2013 11:50 PM, James Piechota wrote: Thanks, Adrian. You mean add something like the following in my application: set field=layoutSettings.VT_RTL_**STYLESHEET[] value=/path/to/my/custom/**stylesheet.css

Re: CSS stylesheets link order

2013-02-12 Thread James Piechota
at 10:10 PM, Adrian Crum adrian.c...@sandglass-software.com wrote: Add the style sheets to the theme data. -Adrian On 2/11/2013 8:12 PM, James Piechota wrote: Hi, I noticed recently that the visual themes were clobbering some of the CSS styles I'd created. The maincss.css in the visual

CSS stylesheets link order

2013-02-11 Thread James Piechota
Hi, I noticed recently that the visual themes were clobbering some of the CSS styles I'd created. The maincss.css in the visual theme resets a lot of styles, and the stylesheet link order defined in header.ftl loads custom style sheets (i.e. those in layoutSettings.styleSheets) before the Visual