Re: Bootstrap in framework folder

2015-06-02 Thread Julien NICOLAS


Le 02/06/2015 07:16, Taher Alkhateeb a écrit :

Hi Julien,

I remember in the earlier days of discussion on integrating bootstrap that you 
were the one who initially hesitated about putting bootstrap in the framework 
and you wanted the whole thing isolated outside in the theme
No, I was against to have menu and other html standard structure in the 
framework.



  (the description of OFBIZ-5840 shows that).

Are there any difficulties that you encountered which made you reconsider 
integrating at the framework level? Why not just apply classes to whatever you 
have in the framework (login screen etc) and then let CSS do its magic?
It could be interesting to have it in the framework to be able to add 
some tools. I just think about this kind of charts :
http://ironsummitmedia.github.io/startbootstrap-sb-admin-2/pages/index.html 
(area chart, bar chart and donut chart)


I plan to add each charts as a easy to use tool. And I think it could be 
logical to use a framework tool (bootstrap) and not a tool in an 
external theme for rendering...


Maybe I have to know what are the criteria to add something in the 
framework :)


Thanks for your help :)

Julien.


Taher Alkhateeb

- Original Message -

From: Adrian Crum adrian.c...@sandglass-software.com
To: dev@ofbiz.apache.org
Sent: Tuesday, 2 June, 2015 8:07:45 AM
Subject: Re: Bootstrap in framework folder

There is no need to put bootstrap in the framework folder. Any code that
needs it can use the one in the bootstrap theme.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 6/1/2015 12:45 PM, Julien NICOLAS wrote:

Hello,

I'm working on the bootstrap theme branch and I have a question that
seems to need a full topic.

I want to move the bootstrap framework from the theme folder to
ofbizroot/framework/image/webapp/image.

Why ?
Just because if we need any bootstrap rendering, it will be available in
the framework.
Even if it's for core tools.

I don't want to replace old theme but I want to be allow to use
bootstrap framework anywhere in the software :
- For the login page
- For charts widget
- For new theme

Want do you think ?

Thanks,

Julien.








Re: Font awesome in framework folder (branch bootstrap)

2015-06-02 Thread Julien NICOLAS

Hi Taher,

I think the topic of bootstrap in the framework will answer this point :)

Julien.

Le 02/06/2015 07:18, Taher Alkhateeb a écrit :

Hi Julien,

Font awesome is AWESOME! Good idea to incorporate, but again, why at the 
framework level and not the theme level just as in bootstrap?

Regards,

- Original Message -

From: Julien NICOLAS julien.nico...@nomaka.fr
To: OFBiz Dev dev@ofbiz.apache.org
Sent: Monday, 1 June, 2015 10:50:34 PM
Subject: Font awesome in framework folder (branch bootstrap)

Hi,

I'm using font awesome for my current projects.
 From the official website : Font Awesome gives you scalable vector
icons that can instantly be customized — size, color, drop shadow, and
anything that can be done with the power of CSS.

So it's very useful for a good looking GUI :)

Do you think it could be possible to push it in the
OFBizRoot/framework/images/webapp/images folder ?

Julien.






[jira] [Created] (OFBIZ-6442) Have relativeness regarding the location of screens, scripts, forms, and menus

2015-06-02 Thread Pierre Smits (JIRA)
Pierre Smits created OFBIZ-6442:
---

 Summary: Have relativeness regarding the location of screens, 
scripts, forms, and menus
 Key: OFBIZ-6442
 URL: https://issues.apache.org/jira/browse/OFBIZ-6442
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Pierre Smits


As per discussion in this thread: 
http://ofbiz.markmail.org/message/4now6pge77lytxvz



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6442) Have relativeness regarding the location of screens, scripts, forms, and menus

2015-06-02 Thread Pierre Smits (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Smits updated OFBIZ-6442:

Issue Type: Sub-task  (was: Bug)
Parent: OFBIZ-6314

 Have relativeness regarding the location of screens, scripts, forms, and menus
 --

 Key: OFBIZ-6442
 URL: https://issues.apache.org/jira/browse/OFBIZ-6442
 Project: OFBiz
  Issue Type: Sub-task
  Components: framework
Affects Versions: Trunk
Reporter: Pierre Smits

 As per discussion in this thread: 
 http://ofbiz.markmail.org/message/4now6pge77lytxvz



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6441) Have flexibleStringExpander work for form names

2015-06-02 Thread Pierre Smits (JIRA)
Pierre Smits created OFBIZ-6441:
---

 Summary: Have flexibleStringExpander work for form names
 Key: OFBIZ-6441
 URL: https://issues.apache.org/jira/browse/OFBIZ-6441
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Pierre Smits


Form names should able to be build with values from fields



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-4680) Add country flag icons from famfamfam

2015-06-02 Thread Pierre Smits (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14568982#comment-14568982
 ] 

Pierre Smits commented on OFBIZ-4680:
-

Is this not a theme aspect? If so, should this not be part of OFBIZ-6362? 
Otherwise, should we consider closing this issue?

 Add country flag icons from famfamfam
 -

 Key: OFBIZ-4680
 URL: https://issues.apache.org/jira/browse/OFBIZ-4680
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Affects Versions: Trunk
Reporter: Wai
Priority: Minor
 Attachments: famfamfam_flags.tar.gz, ofbiz-4680.patch


 import famfamfam country flag icons into ofbiz



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-2831) Allow fields to be set directly from a bsh scriptlet

2015-06-02 Thread Pierre Smits (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-2831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14568977#comment-14568977
 ] 

Pierre Smits commented on OFBIZ-2831:
-

Should we still keep this open, or is this sufficiently resolved?

 Allow fields to be set directly from a bsh scriptlet
 

 Key: OFBIZ-2831
 URL: https://issues.apache.org/jira/browse/OFBIZ-2831
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Affects Versions: Trunk
Reporter: Bob Morley
 Attachments: OFBIZ-2831.patch, OFBIZ-2831.patch


 We have made an improvement to the SetField class in Screen, Field, Menu, and 
 Tree.  You used to do something like this --
 set field=name value=${bsh:org.ofbiz.Foo.Bar()} type=Integer /
 A disadvantage of this technique is that the value is handled by a 
 FlexibleStringExpander (which will always return a string).  Implementation 
 of this expander will notice the bsh and parse out the scriptlet, interpret 
 and get an Object back, then convert the Object to a String.  The caller (say 
 ModelScreenAction) will then take this Object and do a simple type conversion 
 (on ObjectType) to the desired type for the user.  This works fine if the 
 function can return something that can convert to a String and then back to 
 the desired type.  When the return result can not (say a List) then you are 
 pooched.
 My proposed solution is make the grammar more clear in the xml for the Model 
 Action by explicitly stating that we will be providing a bsh scriptlet.  
 Moreover, since we directly call for the Object we can directly convert to 
 the desired object which will work properly for non-string serializable 
 objects like lists and maps.
 set field=name from-bsh=org.ofbiz.Foo.Bar() type=Integer /
 The implementation does treat the scriptlet as a FlexibleString so it will 
 convert inside for labels resolution and the like.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6439) script in form and screen: have 'invoke' functionality for groovy scripts

2015-06-02 Thread Pierre Smits (JIRA)
Pierre Smits created OFBIZ-6439:
---

 Summary: script in form and screen: have 'invoke' functionality 
for groovy scripts
 Key: OFBIZ-6439
 URL: https://issues.apache.org/jira/browse/OFBIZ-6439
 Project: OFBiz
  Issue Type: Sub-task
  Components: framework
Affects Versions: Trunk
Reporter: Pierre Smits


Currently in forms and screens scripts can be set to be executed. The 
associated xsd reference is:
{code}
xs:element name=script substitutionGroup=AllActions
xs:complexType
xs:attribute type=xs:string name=location use=required /
/xs:complexType
/xs:element
{code}

However, it is not possible to invoke a specific function of a groovy script.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6440) Have 'no-current-selected-key' available for 'check' fields

2015-06-02 Thread Pierre Smits (JIRA)
Pierre Smits created OFBIZ-6440:
---

 Summary: Have 'no-current-selected-key' available for 'check' 
fields
 Key: OFBIZ-6440
 URL: https://issues.apache.org/jira/browse/OFBIZ-6440
 Project: OFBiz
  Issue Type: Sub-task
  Components: framework
Affects Versions: Trunk
Reporter: Pierre Smits


Currently the element 'no-current-selected-key' is available for drop-down 
fields and radio fields.

This should also be available for check type fields. But in this scenario it 
should work with a list of checked options as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Possible Documentation and help solutions - DITA

2015-06-02 Thread Ron Wheeler

Anne Rockley is one of the top DITA experts and her webinars are excellent.
If you want to see how DITA could help improve the production and 
utilization of documentation for OFBiz, you might look for a webinar 
that relates to your particular concerns.


She is an expert in the pharmaceutical area but a lot of her concerns 
also apply to regulated industries or business functions that are 
regulated such as accounting (localization is a common issue).


19 June - Join Charles Cooper at ETC for his session on Software, 
Documentation and Agile Development 
http://r20.rs6.net/tn.jsp?f=001R3KFEYl9u4YXuWSn36IeeWypLQwhAjSruFHWEtyCLXWNyrGpgLHuVGCO8y5J0LCNrluDdwSUd4f9WqyMtVtzdU4iUvYLE8gHYaxHEp7GiHnXU91MZQlCvJQmSSxqW1qMS90KgOVj0jCZz7XUq4o8y2HrSIpCCC1pvty9zVdsbWad85_8zRNttYSNLZaji3a3c=ji_CL3u5I7wrq8E-36UYX-p1saH9RZwBYzb34hER04NnWuVlGp420g==ch=tgy69stNq6UApiTWE6T_W92FpfW1afoA1FjL-2Y35bbnhPW-qnWbDA== 
sounds like something that might be relevant to us.


The Intelligent Content: What Does Reusable Mean? 
http://r20.rs6.net/tn.jsp?f=001R3KFEYl9u4YXuWSn36IeeWypLQwhAjSruFHWEtyCLXWNyrGpgLHuVIKcq5t7_sGa_YrYZcPP_xveuxMDyIJOq0NL2T01f13TSS56TTCCpGDrgsZf35E_GQhKjAqaQZ-eok4xWgT8JGSSCXzPYsUu-Hf0EpZ6IVS8zUiX7UVwvOA9NZFpMGb5bQnx9PgZv04uStMHJAgB1UJqa-g_s8BLBacNZSXegB5Gov7l9r-kfBIvkx4sU3NZE7di-GHeu_0mlNG7OV1QMKYJ9yF0Mqoc01uZTFw-QnQzkdObw-tX4mo=c=ji_CL3u5I7wrq8E-36UYX-p1saH9RZwBYzb34hER04NnWuVlGp420g==ch=tgy69stNq6UApiTWE6T_W92FpfW1afoA1FjL-2Y35bbnhPW-qnWbDA== 
blog post addresses Jacques' question about how to use a library of 
reusable content much better than I did.



Ron



 Forwarded Message 


Having trouble viewing this email? Click here 
http://campaign.r20.constantcontact.com/render?ca=fcaa0b03-86df-4c67-bf37-d645ce38f8eac=8f7153c0-e1fa-11e4-a4b6-d4ae52844279ch=8f9c3450-e1fa-11e4-a4de-d4ae52844279 






http://r20.rs6.net/tn.jsp?f=001R3KFEYl9u4YXuWSn36IeeWypLQwhAjSruFHWEtyCLXWNyrGpgLHuVIz0RR4E3aPj1d7wqoOmD03Aya0ayMj7-AgoYI1Q8jMzgxi5OPHr-9kecHlyI_KcNsuYThWc0tgCI1JWLCg1_wkaYdETLixWpz_mA3YqzY4d90I3-fyVpA4=c=ji_CL3u5I7wrq8E-36UYX-p1saH9RZwBYzb34hER04NnWuVlGp420g==ch=tgy69stNq6UApiTWE6T_W92FpfW1afoA1FjL-2Y35bbnhPW-qnWbDA== 




*
*
*Webinars with Ann Rockley*
**
*Recently Recorded Webinars*

Results of the Second Annual Challenges of Creating and Managing Content 
in Life Sciences and Healthcare Survey 
http://r20.rs6.net/tn.jsp?f=001R3KFEYl9u4YXuWSn36IeeWypLQwhAjSruFHWEtyCLXWNyrGpgLHuVPAoxrJqBq8BsuVDhC1MXkBPtRuVcjavHIB69fqUJQc0XInBL8j6m1OqwvcE50qH7AClNrk1L6KHec3LO3_4IfyxzAq2BCTYgMrHmQvnEj-oC8_1T6u_4umpDR5elMhfypJuzjQzmNZZH06irReDYNKwY9uEhJ6HiAzfsAyyGIPuAQbH0J9taNgHIHV87AQlvd9bRzEFqHHa1RuOIAV_DUctsI2wCR4toOjyKztJhEoLjdTD4Y1Ren2vX3ZehMrhjBScQO1s5npvjaGD4gMUa2M=c=ji_CL3u5I7wrq8E-36UYX-p1saH9RZwBYzb34hER04NnWuVlGp420g==ch=tgy69stNq6UApiTWE6T_W92FpfW1afoA1FjL-2Y35bbnhPW-qnWbDA==


Localizing Regulated Content While Saving Time and Money 
http://r20.rs6.net/tn.jsp?f=001R3KFEYl9u4YXuWSn36IeeWypLQwhAjSruFHWEtyCLXWNyrGpgLHuVBVnHwvucfHT2zNvF1yPKz-NSvdYGJIul-7dtewqWjcn18DV-CMGgiz67VaaXrAnbGxcEphlVOUfA7iyRqmz3MJOvS60jTD9VX9GWA0F4hmIg-gVS8NhsxfPiZWO0IKTzMzMr2h12horjIiz66wAcvRqjmkzh3Wj4g==c=ji_CL3u5I7wrq8E-36UYX-p1saH9RZwBYzb34hER04NnWuVlGp420g==ch=tgy69stNq6UApiTWE6T_W92FpfW1afoA1FjL-2Y35bbnhPW-qnWbDA==


Bridging Pharma Content Silos: Managing Content from Clinical Through 
Labeling and Marketing https://www.brighttalk.com/webcast/9273/146095


Intelligently Managing the Complexities of the Core Data Sheet 
https://www.brighttalk.com/webcast/9273/146091



*Upcoming Events and Presentations*

*LocWorld 28 - Localization World 2015 in Berlin, Germany*

03 June - Join Ann Rockley and others for the Life Sciences Business 
Roundtable 
http://r20.rs6.net/tn.jsp?f=001R3KFEYl9u4YXuWSn36IeeWypLQwhAjSruFHWEtyCLXWNyrGpgLHuVGCO8y5J0LCNKkQku0rPdubcmGs9xZj-nU756cGD8h9GUq0niuPwDarZHhfLSyhyXG-TwKft5pJ4gYmRgftjttrmcQ_Pdb-g1syVUc4058f35z53DcsvP_-BV25Cw1yUYd2db4QnPe1d0JsoaDXGKTxnkedl-GtzB6zLwWhkZWerXTd1OF3vk8PXHCuojL_CRQ==c=ji_CL3u5I7wrq8E-36UYX-p1saH9RZwBYzb34hER04NnWuVlGp420g==ch=tgy69stNq6UApiTWE6T_W92FpfW1afoA1FjL-2Y35bbnhPW-qnWbDA==



04 June - Join Charles Cooper for his session on Content Strategy for 
Advanced Display and Localization 
http://r20.rs6.net/tn.jsp?f=001R3KFEYl9u4YXuWSn36IeeWypLQwhAjSruFHWEtyCLXWNyrGpgLHuVGCO8y5J0LCNCF4PQ26RGO5CT9b3f8FCBu3Ad8g5NgJ1Wq0YvckiFbP-1E3Zk43gAtqvYyyc4Sn7jTNAExWoQr69qY3NtkXYc-CQb5kHBUUdTpvzi3Yq6hZrB_tlzuVdIzmSkpuNJHI_bDkj0cDMbQ_m2Uf8NyYA4wl0Cnool6NQvhwGmNHaxSTh2MYNjh4Y5P7hPG96nxQDbDjZYeualr8=c=ji_CL3u5I7wrq8E-36UYX-p1saH9RZwBYzb34hER04NnWuVlGp420g==ch=tgy69stNq6UApiTWE6T_W92FpfW1afoA1FjL-2Y35bbnhPW-qnWbDA==


04 June - Join Charles Cooper, Diana Ballard, Laurence Dansokho and 
Michael Rosinski for Smart Products and Connected Devices Require 
Intelligent Localized Content 

Re: Bootstrap in framework folder

2015-06-02 Thread Pierre Smits
Having the theme behave as a self contained component gives you
configurability and flexibility. See
https://issues.apache.org/jira/browse/OFBIZ-6362. The Bootstrap theme can
be treated as such.

Best regards,

Pierre Smits

*ORRTIZ.COM http://www.orrtiz.com*
Services  Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail  Trade
http://www.orrtiz.com

On Tue, Jun 2, 2015 at 8:03 AM, Gavin Mabie kwikst...@gmail.com wrote:

 Hi Julien

 This idea was proposed before and it did not find favour with the community
 (including yourself). Anyway moving bootstrap theme resources to the
 framework container will not solve the login page issue. This is because
 the theme resources are linked to use preferences.  So when there is no
 logged in session Ofbiz uses the default theme which is defined in
 general.properties. try changing you default theme to bootstrap.

 Regards

 Gavin
 On 01 Jun 2015 9:46 PM, Julien NICOLAS julien.nico...@nomaka.fr wrote:
 
  Hello,
 
  I'm working on the bootstrap theme branch and I have a question that
 seems to need a full topic.
 
  I want to move the bootstrap framework from the theme folder to
 ofbizroot/framework/image/webapp/image.
 
  Why ?
  Just because if we need any bootstrap rendering, it will be available in
 the framework.
  Even if it's for core tools.
 
  I don't want to replace old theme but I want to be allow to use bootstrap
 framework anywhere in the software :
  - For the login page
  - For charts widget
  - For new theme
 
  Want do you think ?
 
  Thanks,
 
  Julien.
 
 



Re: Bootstrap in framework folder

2015-06-02 Thread Gavin Mabie
Hi Julien

This idea was proposed before and it did not find favour with the community
(including yourself). Anyway moving bootstrap theme resources to the
framework container will not solve the login page issue. This is because
the theme resources are linked to use preferences.  So when there is no
logged in session Ofbiz uses the default theme which is defined in
general.properties. try changing you default theme to bootstrap.

Regards

Gavin
On 01 Jun 2015 9:46 PM, Julien NICOLAS julien.nico...@nomaka.fr wrote:

 Hello,

 I'm working on the bootstrap theme branch and I have a question that
seems to need a full topic.

 I want to move the bootstrap framework from the theme folder to
ofbizroot/framework/image/webapp/image.

 Why ?
 Just because if we need any bootstrap rendering, it will be available in
the framework.
 Even if it's for core tools.

 I don't want to replace old theme but I want to be allow to use bootstrap
framework anywhere in the software :
 - For the login page
 - For charts widget
 - For new theme

 Want do you think ?

 Thanks,

 Julien.