Re: Page Redirection

2010-10-12 Thread Naveen Kumar
Hi Jacques,

Currently i have implemented using request-redirect only, But I want to give
the user Go Back link which should take them back to parent page.

Example:- Back button in the browser will always take back to the parent
page.

Regards,
Naveen.

On Tue, Oct 12, 2010 at 12:48 AM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 Did you try request-redirect? There are plenty of examples

 Jacques

 From: Naveen Kumar naveen.new...@gmail.com

  Hi Bilgin,

 Thanks for the information, I know this trick, but I want to handle it
 differently like http-redirect.

 Regards,
 Naveen.

 On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com wrote:

  There is no automatic way to change this behavior in the whole project at
 once.
 You have to do it manually by changing the controller.xml of the
 application
 you want changed. In general you have to change the success respond to
 go
 to the same edit/create screen.

 Bilgin

 On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.com
 wrote:

  Hi All,
 
  I have a problem with redierction.
 
  In ofbiz, after all the creation and update processes, the page is not
  redirected to the original page where the request for creation or
 update
 is
  invoked. Instead it stays on the new updated or created page.
 
  Is there any way to redirect the page to the parent page which actually
  invoked the CRUD operation?
 
  Regards,
  Naveen.
 






Re: Inventory -- facility question

2010-10-12 Thread Info Olagos
ok that's clear.

Thanks,
Heidi

2010/10/12 james_sg snowme...@hotmail.com


 Hi Heidi,

 If the same product is stored in different facilities and you want to
 allocate part of the product inventory from facility 1 and another part
 from
 facility 2 in your order, then you will need code customization.

 Regards,
 James


 Info Olagos wrote:
 
  Hello,
 
  I want to have two facilities with each one inventory.
  The two facilities are each in another city.
 
  My question:
  If i input a manual order into ofbiz, release 09.04, can i make it that
  part
  of my products are taken from the one inventory in facility 1 and other
  products are taken from the inventory from facility 2?
 
  Regards,
  Heidi
  http://www.olagos.eu
 
 

 --
 View this message in context:
 http://ofbiz.135035.n4.nabble.com/Inventory-facility-question-tp2989604p2991046.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: REST API with Ofbiz

2010-10-12 Thread james_sg

found this:
http://ofbiz.135035.n4.nabble.com/rest-support-td1582987.html#a1582987


alexander.reel...@lusini.com wrote:
 
 Hello
 
 I am currently looking for possibilities to create a REST api for certain
 ofbiz functionalities. Several possibilities popup:
 
 1. Using an own written servlet - doing all the parsing by hand. That is
 not a real option is it poses too much work.
 2. Taking a look at the axis2 rest capabilities looks as if it is not real
 rest, but just something similar - also integrating deeper urls with ofbiz
 seems not a simple step after a first look.
 3. Taking a look at the wink example - looks quite interesting
 4. Splitting the API from ofbiz system (and use something like resteasy or
 enunciate) and just do calls using RMI (or HTTP - can anyone enlighten me
 on efficiency for both?) - this could also scale  if your api calls get
 bigger (and you could offload logic checks and xml parsing to them in
 order to save cycles on ofbiz nodes)
 
 any experiences with options 3 or 4 or other ideas?
 
 Thanks for any pointers and help.
 
 
 Regards, Alexander
 

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/REST-API-with-Ofbiz-tp2991306p2991348.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ajaxAutoCompleter

2010-10-12 Thread Bilgin Ibryam
If your application is based on ecommerse I suppose you use ftl but not form
widget to create that field.
Autocompleter is added automatically to lookup fields generated by form
widget. For ftl generated fields, you have to add the javascript part
yourself.

HTH
Bilgin

On Tue, Oct 12, 2010 at 8:58 AM, Gavin Mabie gavin.ma...@urbannex.co.zawrote:

 Hi all



 I am having problems creating a ajaxAutocomplete dropdown list.  My app is
 based on the ecommerce component.  In it I try to use a keywordsearch such
 as in the catalogscreen - keywordsearchbox.ftl  example.  The dropdown does
 however not work.  Looking at the webpage source I see that - script
 language=JavaScript

 type=text/javascriptajaxAutoCompleter('productJumpFormProductId,/catalog/
 control/LookupProduct,ajaxLookup=Yamp;searchValueField=productId',
 true);/script - does not get generated although selectall.js get
 loaded.
 Is there a place where I can set ajaxEnabled to on/true/y or is this not
 the problem here?

 Thanks for the help.

 Gavin






Re: REST API with Ofbiz

2010-10-12 Thread BJ Freeman

my understanding of Representational State Transfer (REST) is more like the
specialpurpose\oagis
it is a SOAP protocol not a API

=
BJ Freeman
Strategic Power Office with Supplier Automation  
http://www.businessesnetwork.com/automation/viewforum.php?f=52
Specialtymarket.com  http://www.specialtymarket.com/
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


alexander.reel...@lusini.com sent the following on 10/12/2010 12:43 AM:

Hello

I am currently looking for possibilities to create a REST api for certain ofbiz 
functionalities. Several possibilities popup:

1. Using an own written servlet - doing all the parsing by hand. That is not a 
real option is it poses too much work.
2. Taking a look at the axis2 rest capabilities looks as if it is not real 
rest, but just something similar - also integrating deeper urls with ofbiz 
seems not a simple step after a first look.
3. Taking a look at the wink example - looks quite interesting
4. Splitting the API from ofbiz system (and use something like resteasy or 
enunciate) and just do calls using RMI (or HTTP - can anyone enlighten me on 
efficiency for both?) - this could also scale  if your api calls get bigger 
(and you could offload logic checks and xml parsing to them in order to save 
cycles on ofbiz nodes)

any experiences with options 3 or 4 or other ideas?

Thanks for any pointers and help.


Regards, Alexander





Re: Page Redirection

2010-10-12 Thread Jacques Le Roux

Naveen,

See how it's done at
https://localhost:8443/partymgr/control/editcontactmech?partyId=DemoCustomercontactMechId=9015

Jacques

From: Naveen Kumar naveen.new...@gmail.com

Hi Jacques,

Currently i have implemented using request-redirect only, But I want to give
the user Go Back link which should take them back to parent page.

Example:- Back button in the browser will always take back to the parent
page.

Regards,
Naveen.

On Tue, Oct 12, 2010 at 12:48 AM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:


Did you try request-redirect? There are plenty of examples

Jacques

From: Naveen Kumar naveen.new...@gmail.com

 Hi Bilgin,


Thanks for the information, I know this trick, but I want to handle it
differently like http-redirect.

Regards,
Naveen.

On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com wrote:

 There is no automatic way to change this behavior in the whole project at

once.
You have to do it manually by changing the controller.xml of the
application
you want changed. In general you have to change the success respond to
go
to the same edit/create screen.

Bilgin

On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.com
wrote:

 Hi All,

 I have a problem with redierction.

 In ofbiz, after all the creation and update processes, the page is not
 redirected to the original page where the request for creation or
update
is
 invoked. Instead it stays on the new updated or created page.

 Is there any way to redirect the page to the parent page which actually
 invoked the CRUD operation?

 Regards,
 Naveen.













Permissions

2010-10-12 Thread Shereen

Hi all 
I want to make a little change in sfa and I'm wondering if anyone can help
me
I want ONLY the accounting manager to be able to view the the all accounts I
don't want other sales persons to view all accounts
first I commented the the part of code that includes the list of accounts in
the default accounts page.
I want to keep the find screen but only the sfa admin should be able to see
it .
can anyone please help me how to do that?
I have only basic information about permissions and services with
permissions
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Permissions-tp2991515p2991515.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Permissions

2010-10-12 Thread james_sg

To show/hide a screen according to permission, you can use the
if-has-permission tag.


Shereen wrote:
 
 Hi all 
 I want to make a little change in sfa and I'm wondering if anyone can help
 me
 I want ONLY the accounting manager to be able to view the the all accounts
 I don't want other sales persons to view all accounts
 first I commented the the part of code that includes the list of accounts
 in the default accounts page.
 I want to keep the find screen but only the sfa admin should be able to
 see it .
 can anyone please help me how to do that?
 I have only basic information about permissions and services with
 permissions
 

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Permissions-tp2991515p2991569.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Not able to take print orders list from Order manager

2010-10-12 Thread Ravindra Mandre
Thanks Jacques for reply its works only in case if your selected printer is
ON , but If I dont have my printer ON and still wants to take print then it
does not gives an option to take this output in pdf file, as generally
expected.
I also tried 'create file' option but not able to find out where it creates
file and stores.
I will be thankful to you , if you can give some more light on this.


Regards
Ravindra Mandre


Re: Demos down

2010-10-12 Thread Jacques Le Roux

Demos are back

Enjoy

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

FYI, the reason the demos are still down (from r777930 in infra)

+ofbiz-vm 8.10apt-get is 
broken


from this snippet:

On Nyx:

-name: release: kernel: date last reboot:
+name: release: kernel: date last reboot:   notes:

-audit 10.04.1 LTS 
+audit 10.04.1 LTS Machine Turned off
bb-vm1 10.04.1 LTS 2.6.32-25.44 2010-10-08 
-ofbiz-vm 8.10

-photoark-vm 10.04.1 LTS
+ofbiz-vm 8.10apt-get is 
broken
+photoark-vm 10.04.1 LTS 2.6.32-24.432010-10-08
vmbuild 10.04.1 LTS 2.6.32-24.43 2010-10-08
-vmgump 10.04.1 LTS
-wcmdemo 10.04.1 LTS
-wookie-vm ?? 
+vmgump 10.04.1 LTS 2.6.32-24.43 2010-10-08

+wcmdemo 10.04.1 LTS Machine Turned 
off
+wookie-vm 10.04.1 LTS 2.6.32-24.432010-10-08


Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Yes, it worked yesterday for few hours then was down again. I asked infra team 
and Gav told me this
he host is still playing up, waiting for another round of attention. Hopefully 
later on.

So they are aware and we just can wait...

Jacques

From: BJ Freeman bjf...@free-man.net

show red to me looks like for 10hours

Jacques Le Roux sent the following on 10/10/2010 2:18 AM:



They are back

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

FYI, the demo server is down due to upgrade
http://monitoring.apache.org/status/

Jacques














Re: Not able to take print orders list from Order manager

2010-10-12 Thread Jacques Le Roux

From: Ravindra Mandre raviof...@gmail.com

Thanks Jacques for reply its works only in case if your selected printer is
ON , but If I dont have my printer ON and still wants to take print then it
does not gives an option to take this output in pdf file, as generally
expected.
I also tried 'create file' option but not able to find out where it creates
file and stores.
I will be thankful to you , if you can give some more light on this.


Yes, OOTB it's suppose a printer driver ready. For PFD you may use a PDF generator like https://sourceforge.net/projects/pdfcreator/ 
(I use it on Windows, try http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/ on Linux).

Advantage : it's always turned on ;o)

Jacques



Regards
Ravindra Mandre






Re: Page Redirection

2010-10-12 Thread Naveen Kumar
Jacques,

I have one doubt here,

In ofbiz, for creation of new contact and update of old contact, it uses
same 
editcontactmechhttps://localhost:8443/partymgr/control/editcontactmech?partyId=DemoCustomercontactMechId=9015,
which has Go Back link, which will redirect to viewprofile.

This behaviour is fine in Update process, because viewprofile is the parent
page, but when creation, it will ask to select contact type based on contact
type, new form will be generated, which has a Go Back link, which will again
redirect to viewprofile.

But, consider this scenario: I selected Contact Type as Domain Name instead
of Email Address. So, now I hit the go back button, to change the
contactmech and when I do so, it redirects me to viewprofile page instead
of editconatctmech page.

Regards,
Naveen.

On Tue, Oct 12, 2010 at 2:09 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 Naveen,

 See how it's done at

 https://localhost:8443/partymgr/control/editcontactmech?partyId=DemoCustomercontactMechId=9015


 Jacques

 From: Naveen Kumar naveen.new...@gmail.com

 Hi Jacques,

 Currently i have implemented using request-redirect only, But I want to
 give
 the user Go Back link which should take them back to parent page.

 Example:- Back button in the browser will always take back to the parent
 page.

 Regards,
 Naveen.

 On Tue, Oct 12, 2010 at 12:48 AM, Jacques Le Roux 
 jacques.le.r...@les7arts.com wrote:

  Did you try request-redirect? There are plenty of examples

 Jacques

 From: Naveen Kumar naveen.new...@gmail.com

  Hi Bilgin,


 Thanks for the information, I know this trick, but I want to handle it
 differently like http-redirect.

 Regards,
 Naveen.

 On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com
 wrote:

  There is no automatic way to change this behavior in the whole project
 at

 once.
 You have to do it manually by changing the controller.xml of the
 application
 you want changed. In general you have to change the success respond
 to
 go
 to the same edit/create screen.

 Bilgin

 On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar 
 naveen.new...@gmail.com
 wrote:

  Hi All,
 
  I have a problem with redierction.
 
  In ofbiz, after all the creation and update processes, the page is
 not
  redirected to the original page where the request for creation or
 update
 is
  invoked. Instead it stays on the new updated or created page.
 
  Is there any way to redirect the page to the parent page which
 actually
  invoked the CRUD operation?
 
  Regards,
  Naveen.
 









Re: Demos down

2010-10-12 Thread Jacques Le Roux

Though not the Ecommerce yet, we are working on it...

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Demos are back

Enjoy

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

FYI, the reason the demos are still down (from r777930 in infra)

+ofbiz-vm 8.10apt-get is 
broken


from this snippet:

On Nyx:

-name: release: kernel: date last reboot:
+name: release: kernel: date last reboot:   notes:

-audit 10.04.1 LTS 
+audit 10.04.1 LTS Machine Turned off
bb-vm1 10.04.1 LTS 2.6.32-25.44 2010-10-08 
-ofbiz-vm 8.10

-photoark-vm 10.04.1 LTS
+ofbiz-vm 8.10apt-get is 
broken
+photoark-vm 10.04.1 LTS 2.6.32-24.432010-10-08
vmbuild 10.04.1 LTS 2.6.32-24.43 2010-10-08
-vmgump 10.04.1 LTS
-wcmdemo 10.04.1 LTS
-wookie-vm ?? 
+vmgump 10.04.1 LTS 2.6.32-24.43 2010-10-08

+wcmdemo 10.04.1 LTS Machine Turned 
off
+wookie-vm 10.04.1 LTS 2.6.32-24.432010-10-08


Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Yes, it worked yesterday for few hours then was down again. I asked infra team 
and Gav told me this
he host is still playing up, waiting for another round of attention. Hopefully 
later on.

So they are aware and we just can wait...

Jacques

From: BJ Freeman bjf...@free-man.net

show red to me looks like for 10hours

Jacques Le Roux sent the following on 10/10/2010 2:18 AM:



They are back

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

FYI, the demo server is down due to upgrade
http://monitoring.apache.org/status/

Jacques














Exception while implementing find screen

2010-10-12 Thread Shereen

Hi all
I want to implement my new module in accounting and I want the home page as
the default page:
1- create new
2- search fields
3- list of search results
 while doing the search parts I faced the following exception:
EntityListIterator Exception
 here's my list

form name=LGList type=list list-name=LGList
paginate-target=FindLetterOfGuarantee paginate=true
odd-row-style=alternate-row default-table-style=basic-table hover-bar
header-row-style=header-row-2
actions
set field=entityName value=LetterOfGuarantee/
service service-name=performFind result-map=result
result-map-list=LGList
field-map field-name=inputFields
from-field=parameters/
field-map field-name=entityName from-field=entityName/
field-map field-name=orderBy
from-field=parameters.sortField/
field-map field-name=viewIndex from-field=viewIndex/
field-map field-name=viewSize from-field=viewSize/
/service
/actions
  auto-fields-entity entity-name=LetterOfGuarantee
default-field-type=display/

  field name=LGId widget-style=buttontext
   hyperlink description=${LGId} target=EditLetterOfGuarantee
   parameter param-name=LGId/
   /hyperlink
/field
  field name=Namedisplay//field
  !-- field name=FromPartydisplay//field --
field name=FromParty title=${uiLabelMap.AccountingFromParty}
display-entity entity-name=PartyNameView
key-field-name=partyId description=${groupName}${firstName},${lastName}
sub-hyperlink target=/partymgr/control/viewprofile
target-type=inter-app description=[${FromParty}] 
parameter param-name=partyId from-field=FromParty/
/sub-hyperlink
/display-entity
/field
  
  !--  field name=ToPartydisplay//field --
   field name=ToParty title=${uiLabelMap.AccountingFromParty}
display-entity entity-name=PartyNameView
key-field-name=partyId description=${groupName}${firstName},${lastName}
sub-hyperlink target=/partymgr/control/viewprofile
target-type=inter-app description=[${ToParty}] 
parameter param-name=partyId from-field=ToParty/
/sub-hyperlink
/display-entity
/field
  
  field name=updateLink title=${uiLabelMap.CommonEmptyHeader}
widget-style=buttontext
hyperlink target=EditLetterOfGuarantee
description=${uiLabelMap.CommonUpdate} also-hidden=false
parameter param-name=LGId/
/hyperlink
 /field
  field name=deleteLink title=${uiLabelMap.CommonEmptyHeader}
widget-style=buttontext
   hyperlink target=RemoveLetterOfGuarantee
description=${uiLabelMap.CommonRemove} also-hidden=false
parameter param-name=LGId/
   /hyperlink
  /field
/form

 here's my find form

form name=FindLettersOfGuarantee type=single
target=FindLetterOfGuarantee
header-row-style=header-row default-table-style=basic-table
field name=noConditionFindhidden value=Y/!-- if this isn't
there then with all fields empty no query will be done --/field
field name=LGIdtext-find ignore-case=true//field
field name=LGStatusId title=${uiLabelMap.CommonStatus}
drop-down allow-empty=true current=selected
entity-options description=${LGStatusId}
entity-name=LGStatus
entity-order-by field-name=LGStatusId/
/entity-options
/drop-down
/field
field position=1 name=partyIdFromlookup
target-form-name=LookupPartyName//field
field position=2 name=partyIdTolookup
target-form-name=LookupPartyName//field
field position=1 name=amounttext//field
field name=searchButton title=${uiLabelMap.CommonFind}
widget-style=smallSubmitsubmit button-type=button//field
/form
this is the screen
screen name=FindLetterOfGuarantee
section
actions
set field=titleProperty value=LetterOffGuarantee/
/actions
widgets
decorator-screen name=main-decorator
location=${parameters.mainDecoratorLocation}
decorator-section name=body
section
condition
 if-service-permission
service-name=acctgAgreementPermissionCheck main-action=VIEW/
/condition
widgets
decorator-screen name=FindScreenDecorator
location=component://common/widget/CommonScreens.xml
decorator-section name=menu-bar
container style=button-bar
link 
target=EditLetterOfGuarantee text=New Letter
Of Guarantee style=buttontext create/

/container
   

Re: Exception while implementing find screen

2010-10-12 Thread Shereen

this is the stack trace if anyone can help
Error closing the result, connection, etc in finalize SQLProcessor
Exception: java.lang.NullPointerException
Message: null
 stack trace
---
java.lang.NullPointerException
org.apache.commons.dbcp.managed.ManagedConnection.close(ManagedConnection.java:147)
org.ofbiz.entity.jdbc.SQLProcessor.close(SQLProcessor.java:224)
org.ofbiz.entity.jdbc.SQLProcessor.finalize(SQLProcessor.java:820)
java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
java.lang.ref.Finalizer.access$100(Finalizer.java:14)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)


2010-10-12 16:01:06,116 (Finalizer) [ EntityListIterator.java:543:ERROR] 

 EntityListIterator Not Closed for Entity [LetterOfGuarantee], caught in
Finalize
 

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Exception-while-implementing-find-screen-tp2991964p2991985.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Exception while implementing find screen

2010-10-12 Thread Shereen

I'm thankful for any one who tried to help I figured out just by chance that
I must name my list ListIT that's why the list iterator was not working
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Exception-while-implementing-find-screen-tp2991964p2992016.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Demos down

2010-10-12 Thread Jacques Le Roux

All is OK, thanks to Hans

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Though not the Ecommerce yet, we are working on it...

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Demos are back

Enjoy

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

FYI, the reason the demos are still down (from r777930 in infra)

+ofbiz-vm 8.10apt-get is 
broken


from this snippet:

On Nyx:

-name: release: kernel: date last reboot:
+name: release: kernel: date last reboot:   notes:

-audit 10.04.1 LTS 
+audit 10.04.1 LTS Machine Turned off
bb-vm1 10.04.1 LTS 2.6.32-25.44 2010-10-08 
-ofbiz-vm 8.10

-photoark-vm 10.04.1 LTS
+ofbiz-vm 8.10apt-get is 
broken
+photoark-vm 10.04.1 LTS 2.6.32-24.432010-10-08
vmbuild 10.04.1 LTS 2.6.32-24.43 2010-10-08
-vmgump 10.04.1 LTS
-wcmdemo 10.04.1 LTS
-wookie-vm ?? 
+vmgump 10.04.1 LTS 2.6.32-24.43 2010-10-08

+wcmdemo 10.04.1 LTS Machine Turned 
off
+wookie-vm 10.04.1 LTS 2.6.32-24.432010-10-08


Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Yes, it worked yesterday for few hours then was down again. I asked infra team 
and Gav told me this
he host is still playing up, waiting for another round of attention. Hopefully 
later on.

So they are aware and we just can wait...

Jacques

From: BJ Freeman bjf...@free-man.net

show red to me looks like for 10hours

Jacques Le Roux sent the following on 10/10/2010 2:18 AM:



They are back

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

FYI, the demo server is down due to upgrade
http://monitoring.apache.org/status/

Jacques
















Re: Exception while implementing find screen

2010-10-12 Thread Jacques Le Roux

You must close the EntityListIterator and enclose its use in a Transaction.

Have a look at PosTransaction.searchClientProfile
Jacques

From: Shereen sheri_ash...@hotmail.com

this is the stack trace if anyone can help
Error closing the result, connection, etc in finalize SQLProcessor
Exception: java.lang.NullPointerException
Message: null
 stack trace
---
java.lang.NullPointerException
org.apache.commons.dbcp.managed.ManagedConnection.close(ManagedConnection.java:147)
org.ofbiz.entity.jdbc.SQLProcessor.close(SQLProcessor.java:224)
org.ofbiz.entity.jdbc.SQLProcessor.finalize(SQLProcessor.java:820)
java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
java.lang.ref.Finalizer.access$100(Finalizer.java:14)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)


2010-10-12 16:01:06,116 (Finalizer) [ EntityListIterator.java:543:ERROR] 


EntityListIterator Not Closed for Entity [LetterOfGuarantee], caught in
Finalize


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Exception-while-implementing-find-screen-tp2991964p2991985.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: Permissions

2010-10-12 Thread BJ Freeman

https://cwiki.apache.org/OFBTECH/ofbiz-security.html
also check Role limited (or based) permissions
and the notes at the end of the document.



=
BJ Freeman
Strategic Power Office with Supplier Automation  
http://www.businessesnetwork.com/automation/viewforum.php?f=52
Specialtymarket.com  http://www.specialtymarket.com/
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man

james_sg sent the following on 10/12/2010 3:23 AM:



To show/hide a screen according to permission, you can use the
if-has-permission tag.


Shereen wrote:


Hi all
I want to make a little change in sfa and I'm wondering if anyone can help
me
I want ONLY the accounting manager to be able to view the the all accounts
I don't want other sales persons to view all accounts
first I commented the the part of code that includes the list of accounts
in the default accounts page.
I want to keep the find screen but only the sfa admin should be able to
see it .
can anyone please help me how to do that?
I have only basic information about permissions and services with
permissions





Re: Demos down

2010-10-12 Thread BJ Freeman

thanks everyone


Jacques Le Roux sent the following on 10/12/2010 7:33 AM:

All is OK, thanks to Hans

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Though not the Ecommerce yet, we are working on it...

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Demos are back

Enjoy

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

FYI, the reason the demos are still down (from r777930 in infra)

+ofbiz-vm 8.10 apt-get is broken


from this snippet:

On Nyx:

-name: release: kernel: date last reboot:
+name: release: kernel: date last reboot: notes:

-audit 10.04.1 LTS +audit 10.04.1 LTS Machine Turned off
bb-vm1 10.04.1 LTS 2.6.32-25.44 2010-10-08 -ofbiz-vm 8.10
-photoark-vm 10.04.1 LTS
+ofbiz-vm 8.10 apt-get is broken
+photoark-vm 10.04.1 LTS 2.6.32-24.43 2010-10-08
vmbuild 10.04.1 LTS 2.6.32-24.43 2010-10-08
-vmgump 10.04.1 LTS
-wcmdemo 10.04.1 LTS
-wookie-vm ?? +vmgump 10.04.1 LTS 2.6.32-24.43 2010-10-08
+wcmdemo 10.04.1 LTS Machine Turned off
+wookie-vm 10.04.1 LTS 2.6.32-24.43 2010-10-08


Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Yes, it worked yesterday for few hours then was down again. I asked
infra team and Gav told me this
he host is still playing up, waiting for another round of
attention. Hopefully later on.

So they are aware and we just can wait...

Jacques

From: BJ Freeman bjf...@free-man.net

show red to me looks like for 10hours

Jacques Le Roux sent the following on 10/10/2010 2:18 AM:



They are back

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

FYI, the demo server is down due to upgrade
http://monitoring.apache.org/status/

Jacques



















Re: Exception while implementing find screen

2010-10-12 Thread BJ Freeman

documenting this in FAQ might be good Idea.

Shereen sent the following on 10/12/2010 7:26 AM:


I'm thankful for any one who tried to help I figured out just by chance that
I must name my list ListIT that's why the list iterator was not working




Re: Not able to take print orders list from Order manager

2010-10-12 Thread Ravindra Mandre
Thanks Jacques , I will try this



Ravindra Mandre

On Tue, Oct 12, 2010 at 5:19 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 From: Ravindra Mandre raviof...@gmail.com

 Thanks Jacques for reply its works only in case if your selected printer
 is

 ON , but If I dont have my printer ON and still wants to take print then
 it
 does not gives an option to take this output in pdf file, as generally
 expected.
 I also tried 'create file' option but not able to find out where it
 creates
 file and stores.
 I will be thankful to you , if you can give some more light on this.


 Yes, OOTB it's suppose a printer driver ready. For PFD you may use a PDF
 generator like https://sourceforge.net/projects/pdfcreator/ (I use it on
 Windows, try 
 http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/http://www.physik.uni-wuerzburg.de/%7Evrbehr/cups-pdf/on
  Linux).
 Advantage : it's always turned on ;o)

 Jacques


 Regards
 Ravindra Mandre






Re: Demos down

2010-10-12 Thread Jacques Le Roux

Not sure why I had just to restart trunk (after 7 min down)

Jacques

From: BJ Freeman bjf...@free-man.net

thanks everyone


Jacques Le Roux sent the following on 10/12/2010 7:33 AM:

All is OK, thanks to Hans

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Though not the Ecommerce yet, we are working on it...

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Demos are back

Enjoy

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

FYI, the reason the demos are still down (from r777930 in infra)

+ofbiz-vm 8.10 apt-get is broken


from this snippet:

On Nyx:

-name: release: kernel: date last reboot:
+name: release: kernel: date last reboot: notes:

-audit 10.04.1 LTS +audit 10.04.1 LTS Machine Turned off
bb-vm1 10.04.1 LTS 2.6.32-25.44 2010-10-08 -ofbiz-vm 8.10
-photoark-vm 10.04.1 LTS
+ofbiz-vm 8.10 apt-get is broken
+photoark-vm 10.04.1 LTS 2.6.32-24.43 2010-10-08
vmbuild 10.04.1 LTS 2.6.32-24.43 2010-10-08
-vmgump 10.04.1 LTS
-wcmdemo 10.04.1 LTS
-wookie-vm ?? +vmgump 10.04.1 LTS 2.6.32-24.43 2010-10-08
+wcmdemo 10.04.1 LTS Machine Turned off
+wookie-vm 10.04.1 LTS 2.6.32-24.43 2010-10-08


Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Yes, it worked yesterday for few hours then was down again. I asked
infra team and Gav told me this
he host is still playing up, waiting for another round of
attention. Hopefully later on.

So they are aware and we just can wait...

Jacques

From: BJ Freeman bjf...@free-man.net

show red to me looks like for 10hours

Jacques Le Roux sent the following on 10/10/2010 2:18 AM:



They are back

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

FYI, the demo server is down due to upgrade
http://monitoring.apache.org/status/

Jacques





















Re: Page Redirection

2010-10-12 Thread Jacques Le Roux

You should have a look at save-home-view and such in site-conf.xsd...

Jacques

From: Naveen Kumar naveen.new...@gmail.com

Jacques,

I have one doubt here,

In ofbiz, for creation of new contact and update of old contact, it uses
same 
editcontactmechhttps://localhost:8443/partymgr/control/editcontactmech?partyId=DemoCustomercontactMechId=9015,
which has Go Back link, which will redirect to viewprofile.

This behaviour is fine in Update process, because viewprofile is the parent
page, but when creation, it will ask to select contact type based on contact
type, new form will be generated, which has a Go Back link, which will again
redirect to viewprofile.

But, consider this scenario: I selected Contact Type as Domain Name instead
of Email Address. So, now I hit the go back button, to change the
contactmech and when I do so, it redirects me to viewprofile page instead
of editconatctmech page.

Regards,
Naveen.

On Tue, Oct 12, 2010 at 2:09 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:


Naveen,

See how it's done at

https://localhost:8443/partymgr/control/editcontactmech?partyId=DemoCustomercontactMechId=9015


Jacques

From: Naveen Kumar naveen.new...@gmail.com


Hi Jacques,

Currently i have implemented using request-redirect only, But I want to
give
the user Go Back link which should take them back to parent page.

Example:- Back button in the browser will always take back to the parent
page.

Regards,
Naveen.

On Tue, Oct 12, 2010 at 12:48 AM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 Did you try request-redirect? There are plenty of examples


Jacques

From: Naveen Kumar naveen.new...@gmail.com

 Hi Bilgin,



Thanks for the information, I know this trick, but I want to handle it
differently like http-redirect.

Regards,
Naveen.

On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com
wrote:

 There is no automatic way to change this behavior in the whole project
at


once.
You have to do it manually by changing the controller.xml of the
application
you want changed. In general you have to change the success respond
to
go
to the same edit/create screen.

Bilgin

On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar 
naveen.new...@gmail.com
wrote:

 Hi All,

 I have a problem with redierction.

 In ofbiz, after all the creation and update processes, the page is
not
 redirected to the original page where the request for creation or
update
is
 invoked. Instead it stays on the new updated or created page.

 Is there any way to redirect the page to the parent page which
actually
 invoked the CRUD operation?

 Regards,
 Naveen.