Re: Trunk demo error

2011-12-02 Thread Tolu Williams
I am on Centos release 5.5 final
kernel is 2.6.18-xenU-ec2-v1.0
JDK is 1_6_29

Thanks!


>I upgraded Ubuntu and the linux kernel and restarted trunk and branch 
>10. 
>
>Jacques, can you see if t helped? 
>
>Regards, 
>Hans 
>
On 12/02/2011 12:55 PM, Jacques Le Roux wrote:

> This is not related to Hans's change below. It's a known problem but I 
> only reproduced on trunk demo so far. So it can be due to your OS 
> or/and JDK versions. 
> I wanted to show those information from trunk demo, but unfortunately, 
> for unknow reason so far, I have no access to the demo server this 
> morning :/ 
> 
> Coud you please send your OS and JDK information (very precise 
> versions) ? 
> 
> In the meantime you can revert r1202849 
> 
> Jacques 
> 
> From: "Tolu Williams" <[hidden email]> 
>> It looks like this is still an issue, i am on r1209279, the trunk 
>> will not 
>> build, it fails with the exact same error. 
>> 
>> The issue is the following error during run-install-seed 
>> 
>> classes: 
>>  [javac16] Compiling 20 source files to 
>> /opt/ofbiz/ofbiz/framework/testtools/build/classes 
>>  [javac16] 
>> /opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:101:
>>  
>> 
>> incompatible types 
>>  [javac16] found   : org.apache.http.conn.scheme.PlainSocketFactory 
>>  [javac16] required: org.apache.http.conn.scheme.SchemeSocketFactory 
>>  [javac16] SchemeSocketFactory sf = 
>> PlainSocketFactory.getSocketFactory(); 
>>  [javac16] 
>> ^ 
>>  [javac16] 
>> /opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:102:
>>  
>> 
>> cannot find symbol 
>>  [javac16] symbol  : constructor 
>> Scheme(java.lang.String,int,org.apache.http.conn.scheme.SchemeSocketFactory) 
>> 
>>  [javac16] location: class org.apache.http.conn.scheme.Scheme 
>>  [javac16] supportedSchemes.register(new Scheme("http", 80, 
>> sf)); 
>>  [javac16]   ^ 
>>  [javac16] 
>> /opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:165:
>>  
>> 
>> cannot find symbol 
>>  [javac16] symbol  : constructor 
>> ThreadSafeClientConnManager(org.apache.http.conn.scheme.SchemeRegistry) 
>>  [javac16] location: class 
>> org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager 
>>  [javac16] ClientConnectionManager ccm = new 
>> ThreadSafeClientConnManager(supportedSchemes); 
>>  [javac16]   ^ 
>>  [javac16] 
>> /opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:245:
>>  
>> 
>> cannot find symbol 
>>  [javac16] symbol  : method consume(org.apache.http.HttpEntity) 
>>  [javac16] location: class org.apache.http.util.EntityUtils 
>>  [javac16] EntityUtils.consume(entity); // release 
>> connection gracefully 
>>  [javac16]^ 
>>  [javac16] 4 errors 
>> 
>> I am on JDK 1_6_29 which is the latest available 
>> 
>> Thanks 
>> 
>> 
>>> Thanks Hans, 
>>> 
>>> Works well now from here indeed :o) 
>>> 
>>> The site is ok too. It takes 30 mins to updated once you have svn 
>>> updated 
>> people.a.o 
>> 
>> Cheers 
>> 
>> Jacques 
>> 
>> From: "Hans Bakker" <[hidden email]> 
>> 
>>> Hi Jaques, 
>>> 
>>> remove the '/login' from: 
>>> 
>>> https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=admin&PASSWORD=ofbiz&JavaScriptEnabled=Y
>>>   
>>> 
>>> 
>>> 
>>> I already did that in the website index.html and updated the site, 
>>> however the change does not come through 
>>> 
>>> Regards, 
>>> Hans 
>>> 
>>> 
>>> 
>>> On 11/20/2011 01:23 AM, Jacques Le Roux wrote: 
 On demo trunk server, I updated to HEAD and reproduced the same 
 compilation error. I reverted r1202849 and got rid of the error (not 
 sure it's safe for Selenium did not analysis). 
 I don't know from where it comes since locally ant clean-all 
 run-install run works like a charm. I can see only the JDK version 
 used: jdk1.6.0_23, but that sounds weird. I certainly miss something 
 but have not enough time to even think about it... 
 
 For now I will continue to stay at r1201941 for trunk demo, until this 
 issue is resolved. 
 
 There are also issues with the catalago/categories tree that I can't 
 reproduce locally. This seems to only appear when you enter 
 using parameters for credential and js state: 
 https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=admin&PASSWORD=ofbiz&JavaScriptEnabled=Y
   
 
 
 (then just try to click on  "Gizmos [BEST-SELL-1]" for instance) 
 
 It seems the tree problems are related to our demo instance since 
 nobody complains about them. So I think we can forget about them. On 
 the other hand, r1202849 is a blocker 
 
 HTH 
 
 Jacques 
 
> BTW I will make some tries on the trunk demo server right now. It 
> will be unavail

Re: Extending OFBiz: The BigFish eCommerce Project

2011-12-02 Thread Mike
I checked both of these out.

BigFish eCommerce: http://gmh.salmonllc.com/osafe/control/main
BigFish Admin Module: https://gmh.salmonllc.com/osafe-admin/control/main

I think this is a great idea.  I thought that creating a simplified UI
for such a complex system like OFBiz was a fantastic idea.  The only
thing that I saw that was lacking was an accounting system.

See, this is the big thing.  There are a lot of ecommerce "hosting"
services out there, and they are good shopping carts, but ZERO of them
have built-in accounting capabilities.  Not just orders, I mean
general ledgers. etc.  If you could expand BigFish to include
simplified accounting, THAT would be cool and would stand out in the
crowed ecommerce hosting solutions out there.


On Thu, Dec 1, 2011 at 10:42 AM, Len Shein  wrote:
>
>
> Yes mike we have a couple of on-line demo sites using 'BigFish eCommerce'
> and some live.  Take a look at the demo site and try the download as well;
> your feedback would be greatly appreciated!
>
>
>
> BigFish eCommerce
>
>
>
> http://gmh.salmonllc.com/osafe/control/main
>
>
>
> BigFish Admin Module
>
>
>
> https://gmh.salmonllc.com/osafe-admin/control/main
>
>
>
>
>
>
>
> -Original Message-
> From: Mike [mailto:mz4whee...@gmail.com]
> Sent: Thursday, December 01, 2011 2:39 AM
> To: user@ofbiz.apache.org
> Subject: Re: Extending OFBiz: The BigFish eCommerce Project
>
>
>
> Are there any on-line demos?
>
>
>
> On Wed, Nov 30, 2011 at 10:05 AM, Len Shein  wrote:
>
>> OFBiz Community:
>
>>
>
>> We have developed an eCommerce specific solution, something like a "Store
> In
>
>> a Box". We call it BigFish.
>
>>
>
>> Built on top of OFBiz; completely ready-to-go, with lots of flexibility
> and
>
>> configuration options. We are looking for adopters! We are looking for the
>
>> OFBiz community to download, support, critique, suggest improvements, and
>
>> validate our efforts.
>
>>
>
>> To participate take a look at
>
> http://www.salmonllc.com/website/downloads/bf_deploy.doc
>
>
>
>>
>
>>
>
>> *       BigFish eCommerce
>
>>
>
>> *       A fully functional eCommerce implementation (a real working "Store
>
>> In A Box")
>
>> *       Includes product categories, products, configurations, check-out
>
>> etc.
>
>> *       BigFish eCommerce is a single framework that can be used to
>
>> implement any number of eCommerce stores, all with their own products,
>
>> look-and-feel and behavior
>
>> *       The Product Catalog data drives all aspects of the shopping
>
>> experience
>
>> *       And look-and-feel is modified within the CSS styling and the
> BigFish
>
>> configuration
>
>> *       With flexible configuration options to fine-tune the user
> experience
>
>> and functionality (all easily maintained in the Admin Module)
>
>> *       Features:
>
>>
>
>> *       Flexible Home Page configuration
>
>> *       The OFBiz Product Catalog drives many aspects, including the main
>
>> navigation bar, listing and detail pages
>
>> *       Fully functional Product Listing Page (PLP), with options for
>
>> sorting and integration with SOLR for faceted navigation
>
>> *       Complete Product Detail Page, with options for Ratings and Reviews
>
>> *       Site Search: using SOLR
>
>> *       Complete Customer Account Management features, register, login,
>
>> forgot password, address book, order status
>
>> *       Complete Check-Out process
>
>> *       sitemap.xml generator
>
>> *       email generation for each relevant trigger
>
>> *       Flexible and powerful Static Page solution for About-Us, Terms and
>
>> Conditions etc.
>
>>
>
>> *        BigFish Admin Module
>
>>
>
>> *       The Admin Module exposes all the great back-end OFBiz
> functionality
>
>> that is applicable to our eCommerce store
>
>> *       Intended to be used by the business experts, without IT
> involvement
>
>> *       Features:
>
>>
>
>> *       Manage your Product Catalog
>
>> *       Customer Management
>
>> *       Order Management
>
>> *       Manage home page content
>
>> *       Approve customer reviews
>
>> *       Manage specific Page content spots
>
>> *       Control how the faceted navigation will behave
>
>> *       Maintain Static Pages
>
>> *       Manage email templates and generation
>
>> *       and more
>
>>
>
>> *       Coming Soon (scheduled into our dev team)
>
>>
>
>> *       Guest Checkout
>
>> *       Single Page Checkout
>
>> *       Store Locator
>
>> *       Manage Promotions
>
>> *       Full multi support:
>
>>
>
>> *       Language
>
>> *       Country Formatting (date, tel, address)
>
>> *       Currency
>
>>
>
>> *       Road Map
>
>>
>
>> *       SEO User Friendly URL's
>
>> *       You Previously Viewed
>
>> *       Flexible import and export features
>
>> *       Home Page "carousel"
>
>> *       Multi-Catalog, Multi-Site
>
>> *       Site Search:
>
>>
>
>> *       auto complete
>
>> *       spell-check
>
>> *       did you mean?
>
>> *       search non-catalog content
>
>> *       store Locator: click and collect

Re: How to a list index to use as row numbering ofbiz form widget

2011-12-02 Thread Adrian Crum

Maybe you should look at ModelForm.java lines 1480 and 1494.

-Adrian

On 12/2/2011 6:42 PM, Justin Robinson wrote:

BJ,

I appreciate your answers&  may of the things I've gleaned about ofbiz, to
date, have been aided by your answers to others in the mail archive.

The issue that Adrian described in a much more succinct nut shell (my
question was more like a bomb shell)

"Incrementing a field's value in the  element does not
increment the value - it remains the same."

Might have to do with the fact that 'itemIndex' is not a field but a
dynamic calculation, done by the hidden paginating mechanism.
Might be on the wrong track here, but it would explain how if there's a sub
list it pushes all the indexes up.

The missing piece of the puzzle for me as a general rule has always been
where is the code that reads the xml, many answers must be in there. So
I'll have a look in ScreenRender&  related classes.

Often just typing up a question to send to this user list, has helped me
frame a problem&  I suspect that people who search the mail archives find
their own problems framed therein, also.

Actually getting an answer is alway a bonus not an expectation. :)


On Fri, Dec 2, 2011 at 3:20 PM, BJ Freeman  wrote:


having had to learn from the code with no documentation, I don't have
much sympathy for those that wanted it handed to them on a plate.
the answer I gave you answers a lot. Sorry you are unable to glean the
info you need.

Justin Robinson sent the following on 12/2/2011 1:21 AM:

Thanks for your answer what you mentioned here can all be found in ofbiz
resources online, even the Apache Ofbiz cookbook&  Apache Ofbiz
Developement book only give you the basics, but without a precise
understanding of the inner workings, it's time consuming to reverse
engineer this information out, in order to get fine grain control of

ofbiz

widgets.

If you are able to give me some deeper insight into ofbiz widgets or a
place to find that info.it'd be much appreciated.

It seemed likely that "row-actions" would be executed before each row is
rendered. (I mean what else could "row-actions" be)

But the problem is that whenever it happens it must be before  itemIndex

is

set (though even that doesn't make complete sense, in view of the test
results)

Placing the groovy scriplet, see in the example, in "row-actions" results
in each row having the same number.

The following works, problem is this is not supposed to be a link.

  
   
  

I also see you can't get a field name with an expression, this must be
because of the data binding happening behind the scenes.



Any idea's what I'm missing?
Thanks, for the help.


On Fri, Dec 2, 2011 at 12:19 AM, BJ Freeman  wrote:


all the actions inside the “row-actions” section are executed before
each row is rendered; this tag is similar to the “actions” tag
the “service” action called within the row-actions, is a convenient way
to invoke a service: the service name is specified with the
“service-name” attribute, the “field-map” elements are used to pass the
input parameters to the service, the “result-map” attribute defines the
name of the output map
look in


specialpurpose\projectmgr\widget\forms\ProjectForms.xml#hoursNotYetBilled





also look at framework\widget\dtd\widget-form.xsd

Justin Robinson sent the following on 12/1/2011 9:46 AM:


list-name="AssetItems"

title="" paginate-target="createAsset" paginate="true">
 

 
 
 
 
 
 
 
 
 
 
 
 
 


  etc.

This restults in each row displaying the number '2' is there any way to

ref

the type="list" index.

Any clues would be helpful.










Re: How to a list index to use as row numbering ofbiz form widget

2011-12-02 Thread Justin Robinson
BJ,

I appreciate your answers & may of the things I've gleaned about ofbiz, to
date, have been aided by your answers to others in the mail archive.

The issue that Adrian described in a much more succinct nut shell (my
question was more like a bomb shell)

"Incrementing a field's value in the  element does not
increment the value - it remains the same."

Might have to do with the fact that 'itemIndex' is not a field but a
dynamic calculation, done by the hidden paginating mechanism.
Might be on the wrong track here, but it would explain how if there's a sub
list it pushes all the indexes up.

The missing piece of the puzzle for me as a general rule has always been
where is the code that reads the xml, many answers must be in there. So
I'll have a look in ScreenRender & related classes.

Often just typing up a question to send to this user list, has helped me
frame a problem & I suspect that people who search the mail archives find
their own problems framed therein, also.

Actually getting an answer is alway a bonus not an expectation. :)


On Fri, Dec 2, 2011 at 3:20 PM, BJ Freeman  wrote:

> having had to learn from the code with no documentation, I don't have
> much sympathy for those that wanted it handed to them on a plate.
> the answer I gave you answers a lot. Sorry you are unable to glean the
> info you need.
>
> Justin Robinson sent the following on 12/2/2011 1:21 AM:
> > Thanks for your answer what you mentioned here can all be found in ofbiz
> > resources online, even the Apache Ofbiz cookbook & Apache Ofbiz
> > Developement book only give you the basics, but without a precise
> > understanding of the inner workings, it's time consuming to reverse
> > engineer this information out, in order to get fine grain control of
> ofbiz
> > widgets.
> >
> > If you are able to give me some deeper insight into ofbiz widgets or a
> > place to find that info.it'd be much appreciated.
> >
> > It seemed likely that "row-actions" would be executed before each row is
> > rendered. (I mean what else could "row-actions" be)
> >
> > But the problem is that whenever it happens it must be before  itemIndex
> is
> > set (though even that doesn't make complete sense, in view of the test
> > results)
> >
> > Placing the groovy scriplet, see in the example, in "row-actions" results
> > in each row having the same number.
> >
> > The following works, problem is this is not supposed to be a link.
> >
> >  
> >   
> >  
> >
> > I also see you can't get a field name with an expression, this must be
> > because of the data binding happening behind the scenes.
> >
> >  > title="headerName">
> >
> > Any idea's what I'm missing?
> > Thanks, for the help.
> >
> >
> > On Fri, Dec 2, 2011 at 12:19 AM, BJ Freeman  wrote:
> >
> >> all the actions inside the “row-actions” section are executed before
> >> each row is rendered; this tag is similar to the “actions” tag
> >> the “service” action called within the row-actions, is a convenient way
> >> to invoke a service: the service name is specified with the
> >> “service-name” attribute, the “field-map” elements are used to pass the
> >> input parameters to the service, the “result-map” attribute defines the
> >> name of the output map
> >> look in
> >>
> specialpurpose\projectmgr\widget\forms\ProjectForms.xml#hoursNotYetBilled
> >>
> >>
> >>
> >>
> >>
> >> also look at framework\widget\dtd\widget-form.xsd
> >>
> >> Justin Robinson sent the following on 12/1/2011 9:46 AM:
> >>>  list-name="AssetItems"
> >>> title="" paginate-target="createAsset" paginate="true">
> >>> 
> >>>
> >>>  >>> value-field="assetHeader"/>
> >>>  >>> from-field="assetHeader.assetValueQty" type="Integer"/>
> >>>  >>> list="AssetItems">
> >>> 
> >>>  >>> operator="equals" from-field="parameters.orderId"/>
> >>>  >>> operator="equals" from-field="nullField"/>
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>>
> >>>
> >>>  etc.
> >>>
> >>> This restults in each row displaying the number '2' is there any way to
> >> ref
> >>> the type="list" index.
> >>>
> >>> Any clues would be helpful.
> >>>
> >>>
> >>
> >
> >
> >
>



-- 
Regards,
Justin
Venture-Net Research & Development


Re: How to a list index to use as row numbering ofbiz form widget

2011-12-02 Thread Adrian Crum

BJ,

I believe Justin understands the purpose of the  and 
 elements and their expected behavior. What he is trying to 
describe is unexpected behavior. Incrementing a field's value in the 
 element does not increment the value - it remains the same.


-Adrian

On 12/2/2011 1:20 PM, BJ Freeman wrote:

having had to learn from the code with no documentation, I don't have
much sympathy for those that wanted it handed to them on a plate.
the answer I gave you answers a lot. Sorry you are unable to glean the
info you need.

Justin Robinson sent the following on 12/2/2011 1:21 AM:

Thanks for your answer what you mentioned here can all be found in ofbiz
resources online, even the Apache Ofbiz cookbook&  Apache Ofbiz
Developement book only give you the basics, but without a precise
understanding of the inner workings, it's time consuming to reverse
engineer this information out, in order to get fine grain control of ofbiz
widgets.

If you are able to give me some deeper insight into ofbiz widgets or a
place to find that info.it'd be much appreciated.

It seemed likely that "row-actions" would be executed before each row is
rendered. (I mean what else could "row-actions" be)

But the problem is that whenever it happens it must be before  itemIndex is
set (though even that doesn't make complete sense, in view of the test
results)

Placing the groovy scriplet, see in the example, in "row-actions" results
in each row having the same number.

The following works, problem is this is not supposed to be a link.

  
   
  

I also see you can't get a field name with an expression, this must be
because of the data binding happening behind the scenes.



Any idea's what I'm missing?
Thanks, for the help.


On Fri, Dec 2, 2011 at 12:19 AM, BJ Freeman  wrote:


all the actions inside the “row-actions” section are executed before
each row is rendered; this tag is similar to the “actions” tag
the “service” action called within the row-actions, is a convenient way
to invoke a service: the service name is specified with the
“service-name” attribute, the “field-map” elements are used to pass the
input parameters to the service, the “result-map” attribute defines the
name of the output map
look in
specialpurpose\projectmgr\widget\forms\ProjectForms.xml#hoursNotYetBilled





also look at framework\widget\dtd\widget-form.xsd

Justin Robinson sent the following on 12/1/2011 9:46 AM:


 

 
 
 
 
 
 
 
 
 
 
 
 
 


  etc.

This restults in each row displaying the number '2' is there any way to

ref

the type="list" index.

Any clues would be helpful.







Re: How to a list index to use as row numbering ofbiz form widget

2011-12-02 Thread BJ Freeman
having had to learn from the code with no documentation, I don't have
much sympathy for those that wanted it handed to them on a plate.
the answer I gave you answers a lot. Sorry you are unable to glean the
info you need.

Justin Robinson sent the following on 12/2/2011 1:21 AM:
> Thanks for your answer what you mentioned here can all be found in ofbiz
> resources online, even the Apache Ofbiz cookbook & Apache Ofbiz
> Developement book only give you the basics, but without a precise
> understanding of the inner workings, it's time consuming to reverse
> engineer this information out, in order to get fine grain control of ofbiz
> widgets.
> 
> If you are able to give me some deeper insight into ofbiz widgets or a
> place to find that info.it'd be much appreciated.
> 
> It seemed likely that "row-actions" would be executed before each row is
> rendered. (I mean what else could "row-actions" be)
> 
> But the problem is that whenever it happens it must be before  itemIndex is
> set (though even that doesn't make complete sense, in view of the test
> results)
> 
> Placing the groovy scriplet, see in the example, in "row-actions" results
> in each row having the same number.
> 
> The following works, problem is this is not supposed to be a link.
> 
>  
>   
>  
> 
> I also see you can't get a field name with an expression, this must be
> because of the data binding happening behind the scenes.
> 
>  title="headerName">
> 
> Any idea's what I'm missing?
> Thanks, for the help.
> 
> 
> On Fri, Dec 2, 2011 at 12:19 AM, BJ Freeman  wrote:
> 
>> all the actions inside the “row-actions” section are executed before
>> each row is rendered; this tag is similar to the “actions” tag
>> the “service” action called within the row-actions, is a convenient way
>> to invoke a service: the service name is specified with the
>> “service-name” attribute, the “field-map” elements are used to pass the
>> input parameters to the service, the “result-map” attribute defines the
>> name of the output map
>> look in
>> specialpurpose\projectmgr\widget\forms\ProjectForms.xml#hoursNotYetBilled
>>
>>
>>
>>
>>
>> also look at framework\widget\dtd\widget-form.xsd
>>
>> Justin Robinson sent the following on 12/1/2011 9:46 AM:
>>> >> title="" paginate-target="createAsset" paginate="true">
>>> 
>>>
>>> >> value-field="assetHeader"/>
>>> >> from-field="assetHeader.assetValueQty" type="Integer"/>
>>> >> list="AssetItems">
>>> 
>>> >> operator="equals" from-field="parameters.orderId"/>
>>> >> operator="equals" from-field="nullField"/>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>>  etc.
>>>
>>> This restults in each row displaying the number '2' is there any way to
>> ref
>>> the type="list" index.
>>>
>>> Any clues would be helpful.
>>>
>>>
>>
> 
> 
> 


Re: How to a list index to use as row numbering ofbiz form widget

2011-12-02 Thread Adrian Crum
One of the advantages of open source software is that it gives you the 
ability to reverse engineer. Reverse engineering is not only a useful 
learning tool, it might even reveal bugs in the software. Maybe even in 
this case.


-Adrian

On 12/2/2011 9:21 AM, Justin Robinson wrote:

Thanks for your answer what you mentioned here can all be found in ofbiz
resources online, even the Apache Ofbiz cookbook&  Apache Ofbiz
Developement book only give you the basics, but without a precise
understanding of the inner workings, it's time consuming to reverse
engineer this information out, in order to get fine grain control of ofbiz
widgets.

If you are able to give me some deeper insight into ofbiz widgets or a
place to find that info.it'd be much appreciated.

It seemed likely that "row-actions" would be executed before each row is
rendered. (I mean what else could "row-actions" be)

But the problem is that whenever it happens it must be before  itemIndex is
set (though even that doesn't make complete sense, in view of the test
results)

Placing the groovy scriplet, see in the example, in "row-actions" results
in each row having the same number.

The following works, problem is this is not supposed to be a link.

  
   
  

I also see you can't get a field name with an expression, this must be
because of the data binding happening behind the scenes.



Any idea's what I'm missing?
Thanks, for the help.


On Fri, Dec 2, 2011 at 12:19 AM, BJ Freeman  wrote:


all the actions inside the “row-actions” section are executed before
each row is rendered; this tag is similar to the “actions” tag
the “service” action called within the row-actions, is a convenient way
to invoke a service: the service name is specified with the
“service-name” attribute, the “field-map” elements are used to pass the
input parameters to the service, the “result-map” attribute defines the
name of the output map
look in
specialpurpose\projectmgr\widget\forms\ProjectForms.xml#hoursNotYetBilled





also look at framework\widget\dtd\widget-form.xsd

Justin Robinson sent the following on 12/1/2011 9:46 AM:


 

 
 
 
 
 
 
 
 
 
 
 
 
 


  etc.

This restults in each row displaying the number '2' is there any way to

ref

the type="list" index.

Any clues would be helpful.







Re: How to a list index to use as row numbering ofbiz form widget

2011-12-02 Thread Justin Robinson
Thanks for your answer what you mentioned here can all be found in ofbiz
resources online, even the Apache Ofbiz cookbook & Apache Ofbiz
Developement book only give you the basics, but without a precise
understanding of the inner workings, it's time consuming to reverse
engineer this information out, in order to get fine grain control of ofbiz
widgets.

If you are able to give me some deeper insight into ofbiz widgets or a
place to find that info.it'd be much appreciated.

It seemed likely that "row-actions" would be executed before each row is
rendered. (I mean what else could "row-actions" be)

But the problem is that whenever it happens it must be before  itemIndex is
set (though even that doesn't make complete sense, in view of the test
results)

Placing the groovy scriplet, see in the example, in "row-actions" results
in each row having the same number.

The following works, problem is this is not supposed to be a link.

 
  
 

I also see you can't get a field name with an expression, this must be
because of the data binding happening behind the scenes.



Any idea's what I'm missing?
Thanks, for the help.


On Fri, Dec 2, 2011 at 12:19 AM, BJ Freeman  wrote:

> all the actions inside the “row-actions” section are executed before
> each row is rendered; this tag is similar to the “actions” tag
> the “service” action called within the row-actions, is a convenient way
> to invoke a service: the service name is specified with the
> “service-name” attribute, the “field-map” elements are used to pass the
> input parameters to the service, the “result-map” attribute defines the
> name of the output map
> look in
> specialpurpose\projectmgr\widget\forms\ProjectForms.xml#hoursNotYetBilled
>
>
>
>
>
> also look at framework\widget\dtd\widget-form.xsd
>
> Justin Robinson sent the following on 12/1/2011 9:46 AM:
> >  > title="" paginate-target="createAsset" paginate="true">
> > 
> >
> >  > value-field="assetHeader"/>
> >  > from-field="assetHeader.assetValueQty" type="Integer"/>
> >  > list="AssetItems">
> > 
> >  > operator="equals" from-field="parameters.orderId"/>
> >  > operator="equals" from-field="nullField"/>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> >
> >  etc.
> >
> > This restults in each row displaying the number '2' is there any way to
> ref
> > the type="list" index.
> >
> > Any clues would be helpful.
> >
> >
>



-- 
Regards,
Justin
Venture-Net Research & Development