Re: [web2py] New site on web2py

2017-06-19 Thread Ovidio Marinho
Congratulations, very good!





   [image: http://itjp.net.br] 
 http://itjp.net.b r
  *Ovidio Marinho Falcao Neto*
 ovidio...@gmail.com
Brasil


2017-06-14 10:36 GMT-03:00 Ian Ryder :

> Hi all, not sure if it's OK to do this - slap me down if not!
>
> We're just about to launch a new tool / site based on web2py -
> https://www.wherecani.live
>
> Any feedback appreciated and if it's useful to anyone looking to live in
> different parts of the world, great stuff.
>
> Thanks Massimo et al for the great framework :)
>
> Cheers
> Ian
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: gae issue when using two independent apps with same data model under one project

2017-06-19 Thread Karoly Kantor
You can definitely create a new project, that is sure to work.

Otherwise, I am also somewhat confused with the nomenclature, so I asked 
the question in the Google App Engine forum, you can follow any potential 
explanations here:

https://groups.google.com/forum/?fromgroups#!topic/google-appengine/UKfHKEOG7yc



On Friday, June 16, 2017 at 5:11:34 PM UTC+2, 98u...@gmail.com wrote:
>
> Hello,
> I uploaded a simple web2py app named 'mynotes', (based on markmin app 
> example) to gae under a project 'projectnotes' to keep my notes in. Very 
> simple model:
> db.define_table('tblpage',
> Field('page_title','string',label='Title'),
> Field('page_text','text',label='Text'))
> All works fine in gae.
> Then I was working on a different app and I decided to keep notes in gea 
> for it as well. So I created a new web2py app named 'mechnotes' based on 
> 'mynotes' app. Everything the same except their names. I uploaded both apps 
> to gae under the same project name: 'projectnotes'.
> Here is the problem: the second app uses the table and the content of the 
> first app! So I cannot create separate, independent notes in my second app.
> Could the 'rname' parameter in the table definition be used to create 
> application unique table names? 
> Thank you in advance.
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: web2py 2.15.1

2017-06-19 Thread Richard Vézina
Go ahead and integrate it... We shouldn't wait for that before launch long
awaiting new web2py version to me.

Richard

On Fri, Jun 16, 2017 at 11:05 AM, Oasis Agano  wrote:

> I think that *flatpickr* should be the default datetime picker for the
> next Web2py it looks awesome
>
> On Monday, June 5, 2017 at 10:39:11 AM UTC+2, Karoly Kantor wrote:
>>
>> Dear Massimo,
>>
>> I saw your question in the developers group where I cannot post,
>> therefore i do it here.
>>
>> I am currently aware of the following issues to be fixed:
>>
>> 1. Google 2nd generation SQL is definitely a problem. Please note I made
>> a temporary hack to fix it, described here: https://groups.google.co
>> m/forum/?fromgroups=#!topic/web2py/vs39zZpaH7g
>>
>> 2. We have a long overdue issue with the password reset emails not
>> sending on GAE. I am using a temporary dirty workaround that sends a plain
>> text new password, search for the issue about "lazyT object being passed to
>> GAE".
>>
>> 3. I am having trouble making the date picker work nicely across all
>> browsers, especially where there is a native solution. Microsoft Edge is
>> the worst case. In general, would be good to have a nicer date picker
>>
>> 4. General comment: We have "batteries included", however, some of those
>> batteries now have newer versions than included, e.g. bootstrap
>>
>>
>>
>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: smartgrid links

2017-06-19 Thread T.R.Rajkumar
Am I not clear in my question?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: smartgrid links

2017-06-19 Thread Anthony
I don't think that is supported. You can instead use server-side DOM 
manipulation 

 
to remove the unwanted DOM elements after the grid is created (or hide them 
via Javascript).

Anthony

On Wednesday, June 14, 2017 at 12:48:06 AM UTC-4, T.R.Rajkumar wrote:
>
> In grid we have this in book. links_in_grid if set to False, links will 
> only be displayed in the "details" and "edit" page (so, not on the main 
> grid). 
>
> I want the reverse, the links to be displayed in the main grid and not in 
> the edit or details page. And that too in the parent gird only, not in the 
> children grid. Thank you in advance for the help.
>
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] New site on web2py

2017-06-19 Thread Tito Garrido
Cool! Seems that the autocomplete after the first "Next" is crashing on
Firefox, example:

https://www.wherecani.live/data_wizard?born=Brazil

Using Chrome it works.

Regards,

Tito

On Mon, Jun 19, 2017 at 8:44 AM, Ovidio Marinho  wrote:

> Congratulations, very good!
>
>
>
>
>
>[image: http://itjp.net.br] 
>  http://itjp.net.b r
>   *Ovidio Marinho Falcao Neto*
>  ovidio...@gmail.com
> Brasil
>
>
> 2017-06-14 10:36 GMT-03:00 Ian Ryder :
>
>> Hi all, not sure if it's OK to do this - slap me down if not!
>>
>> We're just about to launch a new tool / site based on web2py -
>> https://www.wherecani.live
>>
>> Any feedback appreciated and if it's useful to anyone looking to live in
>> different parts of the world, great stuff.
>>
>> Thanks Massimo et al for the great framework :)
>>
>> Cheers
>> Ian
>>
>> --
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to web2py+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Linux User #387870
.
 _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:___

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] New site on web2py

2017-06-19 Thread Ian Ryder
Thanks Tito - fixed :)

On Monday, 19 June 2017 18:00:18 UTC+2, Tito Garrido wrote:
>
> Cool! Seems that the autocomplete after the first "Next" is crashing on 
> Firefox, example:
>
> https://www.wherecani.live/data_wizard?born=Brazil
>
> Using Chrome it works.
>
> Regards,
>
> Tito
>
> On Mon, Jun 19, 2017 at 8:44 AM, Ovidio Marinho  > wrote:
>
>> Congratulations, very good!
>>
>>
>>
>>
>>
>>[image: http://itjp.net.br] 
>>  http://itjp.net.b r
>>   *Ovidio Marinho Falcao Neto*
>>  ovid...@gmail.com 
>> Brasil
>>  
>>
>> 2017-06-14 10:36 GMT-03:00 Ian Ryder > >:
>>
>>> Hi all, not sure if it's OK to do this - slap me down if not!
>>>
>>> We're just about to launch a new tool / site based on web2py - 
>>> https://www.wherecani.live
>>>
>>> Any feedback appreciated and if it's useful to anyone looking to live in 
>>> different parts of the world, great stuff.
>>>
>>> Thanks Massimo et al for the great framework :)
>>>
>>> Cheers
>>> Ian
>>>
>>> -- 
>>> Resources:
>>> - http://web2py.com
>>> - http://web2py.com/book (Documentation)
>>> - http://github.com/web2py/web2py (Source code)
>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "web2py-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to web2py+un...@googlegroups.com .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Linux User #387870
> .
>  _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:___
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: gae issue when using two independent apps with same data model under one project

2017-06-19 Thread 98ujko9
Thank you for your input. By creating a separate project the issue goes 
away. However it seems to me that in this way more resources are consumed. 
Such discussion would be beyond my competence level. Thanks

On Monday, June 19, 2017 at 8:29:14 AM UTC-4, Karoly Kantor wrote:
>
> You can definitely create a new project, that is sure to work.
>
> Otherwise, I am also somewhat confused with the nomenclature, so I asked 
> the question in the Google App Engine forum, you can follow any potential 
> explanations here:
>
>
> https://groups.google.com/forum/?fromgroups#!topic/google-appengine/UKfHKEOG7yc
>
>
>
> On Friday, June 16, 2017 at 5:11:34 PM UTC+2, 98u...@gmail.com wrote:
>>
>> Hello,
>> I uploaded a simple web2py app named 'mynotes', (based on markmin app 
>> example) to gae under a project 'projectnotes' to keep my notes in. Very 
>> simple model:
>> db.define_table('tblpage',
>> Field('page_title','string',label='Title'),
>> Field('page_text','text',label='Text'))
>> All works fine in gae.
>> Then I was working on a different app and I decided to keep notes in gea 
>> for it as well. So I created a new web2py app named 'mechnotes' based on 
>> 'mynotes' app. Everything the same except their names. I uploaded both apps 
>> to gae under the same project name: 'projectnotes'.
>> Here is the problem: the second app uses the table and the content of the 
>> first app! So I cannot create separate, independent notes in my second app.
>> Could the 'rname' parameter in the table definition be used to create 
>> application unique table names? 
>> Thank you in advance.
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Conditional IS_IN_DB

2017-06-19 Thread Carl Petersen
Hello,

I have a screen that updates a code cross-reference table which contains a 
code-type field.  That code-type field has a master table.  What I want to 
do is validate the cross referenced codes in the code cross reference table 
against various master tables depending on the value of the code-type 
field.  For instance:

This is the code cross-reference:






Values:

code_type source_system_id source_code target_code 
target_source_system_id code_type_id source_system_dwid target_system_dwid 
id
TM V UPS 3 DAY SELECT 3DS   
  PS 8 (null)   
  (null) 797
TM V UPS NEXT DAY AIR NDA PS   
  8 (null) 
(null) 798
DT V COD - COLLECT Collect   
  MG 9 (null)   
  (null) 799
DT V COLLECT Collect   
  MG 9 (null)   
  (null) 800

This is the code type table:




Values:


code_type code_description  id

ML UNKNOWN   1

PT Payment Terms   2

CT Country   3

PC Profit Center   4

DP Department   5

SL Ship Location   6

SM GP Ship Method   7

TM Transport Mode   8

DT Delivery Terms   9

TC Transport Carrier 10

PlantCust Plants to Customers 12

II Ignore Inventory Plant 13

MC Shipping Country 11


What I would like is for the source and target code fields to be validated 
against different master tables based on the value of the code-type field. 
 For instance, if the code-type were "CT", I'd like the source and target 
codes validated against the country code master, but if the code-type field 
were "PC", then I'd like the source and target codes validated against the 
GL Profit Center table (ie... IS_IN_DB()).


Thanks,


Carl

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: gae issue when using two independent apps with same data model under one project

2017-06-19 Thread Dave S


On Friday, June 16, 2017 at 8:11:34 AM UTC-7, 98u...@gmail.com wrote:
>
> Hello,
> I uploaded a simple web2py app named 'mynotes', (based on markmin app 
> example) to gae under a project 'projectnotes' to keep my notes in. Very 
> simple model:
> db.define_table('tblpage',
> Field('page_title','string',label='Title'),
> Field('page_text','text',label='Text'))
> All works fine in gae.
> Then I was working on a different app and I decided to keep notes in gea 
> for it as well. So I created a new web2py app named 'mechnotes' based on 
> 'mynotes' app. Everything the same except their names. I uploaded both apps 
> to gae under the same project name: 'projectnotes'.
> Here is the problem: the second app uses the table and the content of the 
> first app! So I cannot create separate, independent notes in my second app.
> Could the 'rname' parameter in the table definition be used to create 
> application unique table names? 
> Thank you in advance.
>


Does any of the multi-tenancy stuff help?

 
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Common-fields-and-multi-tenancy>
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Common-filters>

/dps

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.