Re: about chinese encoding

2009-12-24 Thread Shi Jinghai
The reason is simple. It's read in ISO-8859-1, after reading, you have
to change the xml content to UTF-8. Something like:
xmlcontent = new String(xmlcontent.getBytes(), "UTF-8");

Regards,

Shi Jinghai/Beijing Langhua Ltd.


在 2009-12-25五的 09:39 +0800,Zhang Shiqian写道:
> hi all,
> 
> When i use the XML Data Import function, the xml file which contains Chinese
> charactors was imported successfully, but when i checked the data in the
> pages, the Chinese charactors were replaced with '??',  the file encoding is
> utf-8, and the xml header encoding also 'utf-8', i tried to copy the content
> in the XML data import page directly, but it not work, does anyone know how
> to solve this problem? Thanks.
> 
> -- 



[Fwd: Re: baseSecureUrl is returning a IP address instead of domain.]

2009-12-24 Thread BJ Freeman
sorry time was off on puter.

 Original Message 
Subject: Re: baseSecureUrl is returning a IP address instead of domain.
Date: Sat, 24 Oct 2009 17:52:56 -0700
From: BJ Freeman 
Reply-To: user@ofbiz.apache.org
To: user@ofbiz.apache.org
References: <3487375.201761245059512950.javamail.r...@free-man.net>
<9a0a796fd27b48caadb398d4914d4...@inspiron530>
<1261380170737-976064.p...@n4.nabble.com>
<27285245.671101261684376506.javamail.r...@free-man.net>
<31908374.673411261702987768.javamail.r...@free-man.net>

https://issues.apache.org/jira/browse/OFBIZ-2657
is in the trunk. Hans gave the trunk version he made this change.
of if you look up that commit you can use that to change you code.
you may have to do more, not sure since I don't use ver 4.0 anymore.

Hope that is clearer.

Ps my comment in the jira is not in the ofbiz svn but in my own
redistribution under the Strategic Power office label.I would not help you.


rohit sent the following on 12/24/2009 5:02 PM:
> I am not sure i understand your mail correctly, can you please clarify.
> rohit
> 
> --- On Fri, 12/25/09, BJ Freeman [via OFBiz] 
>  wrote:
> 
> From: BJ Freeman [via OFBiz] 
> Subject: Re: baseSecureUrl is returning a IP address instead of domain.
> To: "rohit" 
> Date: Friday, December 25, 2009, 1:23 AM
> 
> 
> 
> I think Rohit is use ver 4. he can implement the changes hans made.
> 
> 
> Jacques Le Roux sent the following on 12/24/2009 3:56 AM:
> 
>> Thanks Rohit,
> 
> 
>> Hopefully BJ, will have a look when he will get a chance
> 
>> But I wonder now if it's not related to
> 
>> https://issues.apache.org/jira/browse/OFBIZ-2657 and then no longer an
> 
>> issue
> 
> 
>> Jacques
> 
> 
>> From: "rohit" <[hidden email]>
> 
> 
>>> Hi,
> 
> 
>>> The general.properties file in framework/common/config has the following:
> 
> 
> 
>>> # -- The default domainname used in the notification emails links
> 
>>> # as 'baseUrl' and 'baseSecureUrl' are set in the url.properties file.
> 
>>> but there is no entry for them in the url.properties file.
> 
> 
>>> This could be perhaps the place where the problem lies.
> 
> 
>>> Thanks,
> 
> 
>>> Rohit
> 
> 
> 
>>> Jacques Le Roux wrote:
> 
> 
 Hi BJ,
> 
> 
 Did you work it out ?
> 
> 
 Jacques
> 
> 
 From: "BJ Freeman" <[hidden email]>
> 
> baseSecureUrl is used in a template for  Subscription Verify Email in
> 
> specialpurpose\ecommerce\widget\EmailContactListScreens.xml
> 
> 
> value="${baseSecureUrl}/ecommerce/control/"/>
> 
> 
> so the email URL shows an IP instead of the domain name.
> 
> still digging through code to find if this is changable.
> 
> any help appreciated.
> 
> 
> 
> 
> -- 
> 
> BJ Freeman
> 
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>
> 
> Systems Integrator.
> 
> 
> 
> 
> 
> 
>>> -- 
> 
>>> View this message in context:
> 
>>> http://n4.nabble.com/baseSecureUrl-is-returning-a-IP-address-instead-of-domain-tp160778p976064.html
>>>
> 
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> View message @ 
> http://n4.nabble.com/baseSecureUrl-is-returning-a-IP-address-instead-of-domain-tp160778p978588.html
> 
> 
> To unsubscribe from Re: baseSecureUrl is returning a IP address instead of 
> domain., click here.
> 
> 
> 
> 





Re: baseSecureUrl is returning a IP address instead of domain.

2009-12-24 Thread BJ Freeman
https://issues.apache.org/jira/browse/OFBIZ-2657
is in the trunk. Hans gave the trunk version he made this change.
of if you look up that commit you can use that to change you code.
you may have to do more, not sure since I don't use ver 4.0 anymore.

Hope that is clearer.

Ps my comment in the jira is not in the ofbiz svn but in my own
redistribution under the Strategic Power office label.I would not help you.


rohit sent the following on 12/24/2009 5:02 PM:
> I am not sure i understand your mail correctly, can you please clarify.
> rohit
> 
> --- On Fri, 12/25/09, BJ Freeman [via OFBiz] 
>  wrote:
> 
> From: BJ Freeman [via OFBiz] 
> Subject: Re: baseSecureUrl is returning a IP address instead of domain.
> To: "rohit" 
> Date: Friday, December 25, 2009, 1:23 AM
> 
> 
> 
> I think Rohit is use ver 4. he can implement the changes hans made.
> 
> 
> Jacques Le Roux sent the following on 12/24/2009 3:56 AM:
> 
>> Thanks Rohit,
> 
> 
>> Hopefully BJ, will have a look when he will get a chance
> 
>> But I wonder now if it's not related to
> 
>> https://issues.apache.org/jira/browse/OFBIZ-2657 and then no longer an
> 
>> issue
> 
> 
>> Jacques
> 
> 
>> From: "rohit" <[hidden email]>
> 
> 
>>> Hi,
> 
> 
>>> The general.properties file in framework/common/config has the following:
> 
> 
> 
>>> # -- The default domainname used in the notification emails links
> 
>>> # as 'baseUrl' and 'baseSecureUrl' are set in the url.properties file.
> 
>>> but there is no entry for them in the url.properties file.
> 
> 
>>> This could be perhaps the place where the problem lies.
> 
> 
>>> Thanks,
> 
> 
>>> Rohit
> 
> 
> 
>>> Jacques Le Roux wrote:
> 
> 
 Hi BJ,
> 
> 
 Did you work it out ?
> 
> 
 Jacques
> 
> 
 From: "BJ Freeman" <[hidden email]>
> 
> baseSecureUrl is used in a template for  Subscription Verify Email in
> 
> specialpurpose\ecommerce\widget\EmailContactListScreens.xml
> 
> 
> value="${baseSecureUrl}/ecommerce/control/"/>
> 
> 
> so the email URL shows an IP instead of the domain name.
> 
> still digging through code to find if this is changable.
> 
> any help appreciated.
> 
> 
> 
> 
> -- 
> 
> BJ Freeman
> 
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>
> 
> Systems Integrator.
> 
> 
> 
> 
> 
> 
>>> -- 
> 
>>> View this message in context:
> 
>>> http://n4.nabble.com/baseSecureUrl-is-returning-a-IP-address-instead-of-domain-tp160778p976064.html
>>>
> 
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> View message @ 
> http://n4.nabble.com/baseSecureUrl-is-returning-a-IP-address-instead-of-domain-tp160778p978588.html
> 
> 
> To unsubscribe from Re: baseSecureUrl is returning a IP address instead of 
> domain., click here.
> 
> 
> 
> 



about chinese encoding

2009-12-24 Thread Zhang Shiqian
hi all,

When i use the XML Data Import function, the xml file which contains Chinese
charactors was imported successfully, but when i checked the data in the
pages, the Chinese charactors were replaced with '??',  the file encoding is
utf-8, and the xml header encoding also 'utf-8', i tried to copy the content
in the XML data import page directly, but it not work, does anyone know how
to solve this problem? Thanks.

-- 
-- 
Regards,

Zhang Shiqian

Wizitsoft Information Technology Ltd.
www.wizitsoft.com | Phone: (8610)6267 0653 ext 604 | Mobile: (86)13264158885


Re: baseSecureUrl is returning a IP address instead of domain.

2009-12-24 Thread rohit

I am not sure i understand your mail correctly, can you please clarify.
rohit

--- On Fri, 12/25/09, BJ Freeman [via OFBiz] 
 wrote:

From: BJ Freeman [via OFBiz] 
Subject: Re: baseSecureUrl is returning a IP address instead of domain.
To: "rohit" 
Date: Friday, December 25, 2009, 1:23 AM



I think Rohit is use ver 4. he can implement the changes hans made.


Jacques Le Roux sent the following on 12/24/2009 3:56 AM:

> Thanks Rohit,

> 

> Hopefully BJ, will have a look when he will get a chance

> But I wonder now if it's not related to

> https://issues.apache.org/jira/browse/OFBIZ-2657 and then no longer an

> issue

> 

> Jacques

> 

> From: "rohit" <[hidden email]>

>>

>> Hi,

>>

>> The general.properties file in framework/common/config has the following:

>>

>>

>> # -- The default domainname used in the notification emails links

>> # as 'baseUrl' and 'baseSecureUrl' are set in the url.properties file.

>> but there is no entry for them in the url.properties file.

>>

>> This could be perhaps the place where the problem lies.

>>

>> Thanks,

>>

>> Rohit

>>

>>

>> Jacques Le Roux wrote:

>>>

>>> Hi BJ,

>>>

>>> Did you work it out ?

>>>

>>> Jacques

>>>

>>> From: "BJ Freeman" <[hidden email]>

 baseSecureUrl is used in a template for  Subscription Verify Email in

 specialpurpose\ecommerce\widget\EmailContactListScreens.xml

                >>> value="${baseSecureUrl}/ecommerce/control/"/>



 so the email URL shows an IP instead of the domain name.

 still digging through code to find if this is changable.

 any help appreciated.







 -- 

 BJ Freeman

 http://www.businessesnetwork.com/automation
 http://bjfreeman.elance.com
 http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro


 Systems Integrator.



>>>

>>>

>>>

>>

>> -- 

>> View this message in context:

>> http://n4.nabble.com/baseSecureUrl-is-returning-a-IP-address-instead-of-domain-tp160778p976064.html
>>

>> Sent from the OFBiz - User mailing list archive at Nabble.com.

>>

> 

> 







View message @ 
http://n4.nabble.com/baseSecureUrl-is-returning-a-IP-address-instead-of-domain-tp160778p978588.html


To unsubscribe from Re: baseSecureUrl is returning a IP address instead of 
domain., click here.




-- 
View this message in context: 
http://n4.nabble.com/baseSecureUrl-is-returning-a-IP-address-instead-of-domain-tp160778p978663.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: how retrive data through dynamic view entity

2009-12-24 Thread BJ Freeman
The beginners tutorial
http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+%28Hello+World...%29


Gnanashankar Shanmugam sent the following on 12/23/2009 11:59 PM:
> hi friends,
>   I am new for ofbiz, I created  component in hot-deploy.. in that component
> i created testscreen, in that screen i am having *two text fields*,
> one submit(*create*) *button*, i want to store value of two fields in *
> database* through *java code*, after clicking submit button, the value
> should display *below of screen or different screen* through
> *.ftl*file..Given an Example code of above scenario..thanks in
> advance..
> 



Re: baseSecureUrl is returning a IP address instead of domain.

2009-12-24 Thread BJ Freeman
I think Rohit is use ver 4. he can implement the changes hans made.

Jacques Le Roux sent the following on 12/24/2009 3:56 AM:
> Thanks Rohit,
> 
> Hopefully BJ, will have a look when he will get a chance
> But I wonder now if it's not related to
> https://issues.apache.org/jira/browse/OFBIZ-2657 and then no longer an
> issue
> 
> Jacques
> 
> From: "rohit" 
>>
>> Hi,
>>
>> The general.properties file in framework/common/config has the following:
>>
>>
>> # -- The default domainname used in the notification emails links
>> # as 'baseUrl' and 'baseSecureUrl' are set in the url.properties file.
>> but there is no entry for them in the url.properties file.
>>
>> This could be perhaps the place where the problem lies.
>>
>> Thanks,
>>
>> Rohit
>>
>>
>> Jacques Le Roux wrote:
>>>
>>> Hi BJ,
>>>
>>> Did you work it out ?
>>>
>>> Jacques
>>>
>>> From: "BJ Freeman" 
 baseSecureUrl is used in a template for  Subscription Verify Email in
 specialpurpose\ecommerce\widget\EmailContactListScreens.xml
>>> value="${baseSecureUrl}/ecommerce/control/"/>

 so the email URL shows an IP instead of the domain name.
 still digging through code to find if this is changable.
 any help appreciated.



 -- 
 BJ Freeman
 http://www.businessesnetwork.com/automation
 http://bjfreeman.elance.com
 http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro

 Systems Integrator.

>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://n4.nabble.com/baseSecureUrl-is-returning-a-IP-address-instead-of-domain-tp160778p976064.html
>>
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
> 
> 



Re: Creating a new Role / Changing a Role

2009-12-24 Thread Jacques Le Roux
I think that at this point you should read 
http://cwiki.apache.org/confluence/display/OFBTECH/OFBiz+security


Jacques

From: "Alexander1893" 

Hi Jacques,

thanks a lot for your reply!
Perhaps I didn't understand the concept...

I followed the links - and I added a role. But I don't know where I can
associate permissions with my new role... 
Perhaps I try again to describe what I'd like to do:

When a person registers in the shop-frontend he gets the role "CUSTOMER".
I want to change the permissons of this role


I haven't found any place where I can see the permissions that are related
to the role "CUSTOMER" (I can see them in the database - but not in the
backend) and I don't know where I can add or remove permissions to / from
that role.

Thanks for any further help!
Alexander


Jacques Le Roux wrote:


From: "Alexander1893" 

Hi all,

after searching a lot I still haven't found an answer...

I understood the differences between security groups and roles. My
question
is:
Where can I change a role? 


Have a look at
https://localhost:8443/partymgr/control/viewroles?partyId=admin
Bottom for new own Role


For example: I want to give more permissions to a
CUSTOMER or create my own Role?


and https://localhost:8443/partymgr/control/FindSecurityGroup
to give permissions

But I wonder if it really answer your questions since you understood the
differences between them

Jacques


Thanks a lot for any help!

Alexander
--
View this message in context:
http://n4.nabble.com/Creating-a-new-Role-Changing-a-Role-tp977965p977965.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







--
View this message in context: 
http://n4.nabble.com/Creating-a-new-Role-Changing-a-Role-tp977965p978432.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: Creating a new Role / Changing a Role

2009-12-24 Thread Alexander1893

Hi Jacques,

thanks a lot for your reply!
Perhaps I didn't understand the concept...

I followed the links - and I added a role. But I don't know where I can
associate permissions with my new role... 
Perhaps I try again to describe what I'd like to do:
> When a person registers in the shop-frontend he gets the role "CUSTOMER".
> I want to change the permissons of this role

I haven't found any place where I can see the permissions that are related
to the role "CUSTOMER" (I can see them in the database - but not in the
backend) and I don't know where I can add or remove permissions to / from
that role.

Thanks for any further help!
Alexander


Jacques Le Roux wrote:
> 
> From: "Alexander1893" 
>> Hi all,
>> 
>> after searching a lot I still haven't found an answer...
>> 
>> I understood the differences between security groups and roles. My
>> question
>> is:
>> Where can I change a role? 
> 
> Have a look at
> https://localhost:8443/partymgr/control/viewroles?partyId=admin
> Bottom for new own Role
> 
>>For example: I want to give more permissions to a
>> CUSTOMER or create my own Role?
> 
> and https://localhost:8443/partymgr/control/FindSecurityGroup
> to give permissions
> 
> But I wonder if it really answer your questions since you understood the
> differences between them
> 
> Jacques
> 
>> Thanks a lot for any help!
>> 
>> Alexander
>> -- 
>> View this message in context:
>> http://n4.nabble.com/Creating-a-new-Role-Changing-a-Role-tp977965p977965.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: 
http://n4.nabble.com/Creating-a-new-Role-Changing-a-Role-tp977965p978432.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: baseSecureUrl is returning a IP address instead of domain.

2009-12-24 Thread Jacques Le Roux

Thanks Rohit,

Hopefully BJ, will have a look when he will get a chance
But I wonder now if it's not related to 
https://issues.apache.org/jira/browse/OFBIZ-2657 and then no longer an issue

Jacques

From: "rohit" 


Hi,

The general.properties file in framework/common/config has the following:


# -- The default domainname used in the notification emails links
# as 'baseUrl' and 'baseSecureUrl' are set in the url.properties file. 


but there is no entry for them in the url.properties file.

This could be perhaps the place where the problem lies.

Thanks,

Rohit


Jacques Le Roux wrote:


Hi BJ,

Did you work it out ?

Jacques

From: "BJ Freeman" 

baseSecureUrl is used in a template for  Subscription Verify Email in
specialpurpose\ecommerce\widget\EmailContactListScreens.xml
   

so the email URL shows an IP instead of the domain name.
still digging through code to find if this is changable.
any help appreciated.



--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.







--
View this message in context: 
http://n4.nabble.com/baseSecureUrl-is-returning-a-IP-address-instead-of-domain-tp160778p976064.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: how retrive data through dynamic view entity

2009-12-24 Thread Gnanashankar Shanmugam
hi rishi,
thanku for your reply, i can not understand that groovy file, and my
scenario follows below,

persondetails


1. first name-- text field
2. surname-- test field
3. create- submit button.

i want display below,

Firstname  surname
---
gnanashankar s
Rishi  solanki
sachintendulkar

like that i want print same screen or next screen.. using groovy r java..

On Thu, Dec 24, 2009 at 2:51 PM, Rishi Solanki wrote:

> Refer
>
> /applications/product/webapp/facility/WEB-INF/actions/facility/CountFacilityInventoryByProduct.groovy
> Here you got the code reference for creating a dynamic view getting data
> from it and then getting list which can be displayed on ftl/form-widget.
>
> HTH!
>
> Rishi Solanki
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
>
>
> On Thu, Dec 24, 2009 at 2:42 PM, Gnanashankar Shanmugam <
> gn...@formativesolutions.co.in> wrote:
>
> > hi rishi,
> > thanks for your reply, can you send example of simple java code for
> dynamic
> > view creating to text field and one submit botton..
> >
> > On Thu, Dec 24, 2009 at 2:35 PM, Rishi Solanki  > >wrote:
> >
> > > Hi Gnanashankar,
> > > After making the dynamic view in groovy/java file you can get the eli
> by
> > > applying findListIteratorByCondition method of delegator object.
> > > then on eli you have methods eli.getPartialList and eli.getCompleteList
> > > will
> > > gives you the list which then put into context or service result or
> > > request.
> > > On ftl you can then easly iterate that list and make display logic
> using
> > > the
> > >
> > > <#list anyList as entry>
> > >  ${entry.key}
> > > 
> > > Here key is field of that particular dynamic view prepared by you.
> > >
> > > Rishi Solanki
> > > Enterprise Software Developer
> > > HotWax Media Pvt. Ltd.
> > >
> > >
> > > On Thu, Dec 24, 2009 at 1:29 PM, Gnanashankar Shanmugam <
> > > gn...@formativesolutions.co.in> wrote:
> > >
> > > > hi friends,
> > > >  I am new for ofbiz, I created  component in hot-deploy.. in that
> > > component
> > > > i created testscreen, in that screen i am having *two text fields*,
> > > > one submit(*create*) *button*, i want to store value of two fields in
> *
> > > > database* through *java code*, after clicking submit button, the
> value
> > > > should display *below of screen or different screen* through
> > > > *.ftl*file..Given an Example code of above scenario..thanks in
> > > > advance..
> > > >
> > > > --
> > > > Gnanashankar Shanmugam
> > > > Formative Software Solutions Pvt. Ltd.,
> > > > Chennai-61
> > > >
> > >
> >
> >
> >
> > --
> > Gnanashankar Shanmugam
> > Formative Software Solutions Pvt. Ltd.,
> > Chennai-61
> >
>



-- 
Gnanashankar Shanmugam
Formative Software Solutions Pvt. Ltd.,
Chennai-61


Re: how retrive data through dynamic view entity

2009-12-24 Thread Rishi Solanki
Refer
/applications/product/webapp/facility/WEB-INF/actions/facility/CountFacilityInventoryByProduct.groovy
Here you got the code reference for creating a dynamic view getting data
from it and then getting list which can be displayed on ftl/form-widget.

HTH!

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Thu, Dec 24, 2009 at 2:42 PM, Gnanashankar Shanmugam <
gn...@formativesolutions.co.in> wrote:

> hi rishi,
> thanks for your reply, can you send example of simple java code for dynamic
> view creating to text field and one submit botton..
>
> On Thu, Dec 24, 2009 at 2:35 PM, Rishi Solanki  >wrote:
>
> > Hi Gnanashankar,
> > After making the dynamic view in groovy/java file you can get the eli by
> > applying findListIteratorByCondition method of delegator object.
> > then on eli you have methods eli.getPartialList and eli.getCompleteList
> > will
> > gives you the list which then put into context or service result or
> > request.
> > On ftl you can then easly iterate that list and make display logic using
> > the
> >
> > <#list anyList as entry>
> >  ${entry.key}
> > 
> > Here key is field of that particular dynamic view prepared by you.
> >
> > Rishi Solanki
> > Enterprise Software Developer
> > HotWax Media Pvt. Ltd.
> >
> >
> > On Thu, Dec 24, 2009 at 1:29 PM, Gnanashankar Shanmugam <
> > gn...@formativesolutions.co.in> wrote:
> >
> > > hi friends,
> > >  I am new for ofbiz, I created  component in hot-deploy.. in that
> > component
> > > i created testscreen, in that screen i am having *two text fields*,
> > > one submit(*create*) *button*, i want to store value of two fields in *
> > > database* through *java code*, after clicking submit button, the value
> > > should display *below of screen or different screen* through
> > > *.ftl*file..Given an Example code of above scenario..thanks in
> > > advance..
> > >
> > > --
> > > Gnanashankar Shanmugam
> > > Formative Software Solutions Pvt. Ltd.,
> > > Chennai-61
> > >
> >
>
>
>
> --
> Gnanashankar Shanmugam
> Formative Software Solutions Pvt. Ltd.,
> Chennai-61
>


Re: how retrive data through dynamic view entity

2009-12-24 Thread Gnanashankar Shanmugam
hi rishi,
thanks for your reply, can you send example of simple java code for dynamic
view creating to text field and one submit botton..

On Thu, Dec 24, 2009 at 2:35 PM, Rishi Solanki wrote:

> Hi Gnanashankar,
> After making the dynamic view in groovy/java file you can get the eli by
> applying findListIteratorByCondition method of delegator object.
> then on eli you have methods eli.getPartialList and eli.getCompleteList
> will
> gives you the list which then put into context or service result or
> request.
> On ftl you can then easly iterate that list and make display logic using
> the
>
> <#list anyList as entry>
>  ${entry.key}
> 
> Here key is field of that particular dynamic view prepared by you.
>
> Rishi Solanki
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
>
>
> On Thu, Dec 24, 2009 at 1:29 PM, Gnanashankar Shanmugam <
> gn...@formativesolutions.co.in> wrote:
>
> > hi friends,
> >  I am new for ofbiz, I created  component in hot-deploy.. in that
> component
> > i created testscreen, in that screen i am having *two text fields*,
> > one submit(*create*) *button*, i want to store value of two fields in *
> > database* through *java code*, after clicking submit button, the value
> > should display *below of screen or different screen* through
> > *.ftl*file..Given an Example code of above scenario..thanks in
> > advance..
> >
> > --
> > Gnanashankar Shanmugam
> > Formative Software Solutions Pvt. Ltd.,
> > Chennai-61
> >
>



-- 
Gnanashankar Shanmugam
Formative Software Solutions Pvt. Ltd.,
Chennai-61


Re: how retrive data through dynamic view entity

2009-12-24 Thread Rishi Solanki
Hi Gnanashankar,
After making the dynamic view in groovy/java file you can get the eli by
applying findListIteratorByCondition method of delegator object.
then on eli you have methods eli.getPartialList and eli.getCompleteList will
gives you the list which then put into context or service result or request.
On ftl you can then easly iterate that list and make display logic using the

<#list anyList as entry>
  ${entry.key}

Here key is field of that particular dynamic view prepared by you.

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Thu, Dec 24, 2009 at 1:29 PM, Gnanashankar Shanmugam <
gn...@formativesolutions.co.in> wrote:

> hi friends,
>  I am new for ofbiz, I created  component in hot-deploy.. in that component
> i created testscreen, in that screen i am having *two text fields*,
> one submit(*create*) *button*, i want to store value of two fields in *
> database* through *java code*, after clicking submit button, the value
> should display *below of screen or different screen* through
> *.ftl*file..Given an Example code of above scenario..thanks in
> advance..
>
> --
> Gnanashankar Shanmugam
> Formative Software Solutions Pvt. Ltd.,
> Chennai-61
>