[OFBiz] Users - person object in viewprofile.ftl

N. Alex Rupp alex at nrfx.com
Mon Aug 9 15:00:39 EDT 2004


That's exactly what I was looking for--thanks!
--
Alex

bjfree at free-man.net wrote:

>there is no person object, parse.
>it is a party with 
>  <RoleType description="Person" hasTable="N" parentTypeId=""
>roleTypeId="PERSON_ROLE"/>
> found in the components\party\data\PartyTypeData.xml
>
>if you look at 
>components\ecommerce\webapp\ecommerce\WEB-INF\actions\customer\viewprofile.b
>sh
>
>
>-----Original Message-----
>From: N. Alex Rupp [mailto:alex at nrfx.com]
>Sent: Monday, August 09, 2004 11:02 AM
>To: users at ofbiz.dev.java.net
>Subject: [OFBiz] Users - person object in viewprofile.ftl
>
>
>Hi,
>
>I'm curious--where does the person object inside of the 
>/customer/viewprofile.ftl template get initialized?
>
>You use        
>       <#if person?exists>
>          ${person.personalTitle?if_exists}
>          ${person.firstName?if_exists}
>          ${person.middleName?if_exists}
>          ${person.lastName?if_exists}
>          ${person.suffix?if_exists}
>        <#else>
>
>To filter the output in case the person object does not exist, but when 
>I try to move this to another part of the application (the header, for 
>example), it shows nothing.  I can only conclude that the person object 
>is getting initialized somewhere.  It's not in the viewprofile.ftl 
>template, and I followed the controller.xml file to try to figure it 
>out, but I'm having some trouble tracking it down.
>
>Any help would be appreciated.
>
>--
>N. Alex Rupp
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at ofbiz.dev.java.net
For additional commands, e-mail: users-help at ofbiz.dev.java.net






More information about the Users mailing list