Problem: db field uses type='list:reference *other_table*', multiple=True.
I need to an easy-to-use UI to search the referenced table, offer
auto-complete and create a separate input for each selection to make
selecting multiple options deliberate and obvious.
I started out with something along
Any issues with using jQuery?
In your controller:
INPUT(_name='left', requires=[IS_NOT_EMPTY(), IS_HEXSTR()], _id=
'activation_left'),
And in your view:
jQuery('#activation_left').width(50);
You could also attempt to solve the root problem (css) by adding your own
custom css that takes preceden
It appears as though '2pm' and '2 pm' validate differently while '2:00 pm'
and '2:00pm' validate the same.
In my quick testing, removing all spaces still allows the IS_TIME()
validator to pass any tests.
Am I missing any international time entry methods where the spaces would be
critical or wo
I just saw the addition of a JSON Field type. Is this safe to use as a
(mostly) drop in replacement for text + filter or should I continue to use
filtering?
I didn't see much of a discussion in -users, and a quick search in
-developers didn't show much either.
--
Resources:
- http://web2py.c
How do I implement the alternate method site-wide?
Is it as simple as matching the Mail() signature?
What are the minimum parameters that would need to be in place for it to
work site-wide? (Thinking of Auth, specifically)
Is this a bad idea?
As far as specifics go, I'm looking at the Elastic
After using import_from_csv_file(), additional quotes are showing up in the
db.
Should I be using some different quoting in export_to_csv_file() or is this
an inherent problem with specifying filter_out in in the model, or am I
completely off the mark?
Exporting db = 2.4.6
Importing db = 2.5.1
y
>
> On Thursday, May 30, 2013 6:44:59 PM UTC-4, Wes Hall wrote:
>>
>> I need to verify that the right person can get to the grid, but once that
>> is established, let the grid handle verification.
>>
>> Something along the lines of this would be the best acti
ify the
> signature to prevent any access to the function at all, you can directly
> call the URL.verify() function within the other() function.
>
> Anthony
>
> On Thursday, May 30, 2013 2:12:31 AM UTC-4, Wes Hall wrote:
>>
>> Using MDP's example from here:
>>
Using MDP's example from here:
https://groups.google.com/d/msg/web2py/VBrm6B6-Pdk/sG_h9Ane8zQJ and the
manual's suggestion for digitally signed urls:
@auth.requires_membership('admin'):
def index()
link = URL('other',user_signature=True) #1
return dict(link=link)
@auth.requires_signatur
Along these same lines:
response.menu += [
(T('External Sites',), False, A('Web2Py', _href="http://web2py.com/",_target
="_blank"), []),
]
Gives the expected result of a new tab/window
However, the following loads the link in both the current tab/window as
well as the new one.
response
Packing and reinstalling the application solved the problem.
Any clues as to what might've happened?
On Wednesday, December 19, 2012 4:59:52 PM UTC-5, Wes Hall wrote:
>
> I was successfully working with a controller 'b.py'.
>
> I am no longer able to use the i
I was successfully working with a controller 'b.py'.
I am no longer able to use the included editor to edit this controller.
Attempting to access the controller results in a never-ending attempt to
load.
Suspecting the file contents, I renamed the controller and .bak to c.py and
c.py.bak (the
Find anything?
On Monday, October 8, 2012 3:03:52 AM UTC-4, lyn2py wrote:
>
> Per the subject line, I can click to drop down the links but I can't click
> on them.
> This is on production and using stable.
>
> May I know how to resolve? Thanks!
>
--
re great.
>
> On Tuesday, November 27, 2012 10:23:13 AM UTC-7, Wes Hall wrote:
>>
>> Understood, this is a database issue. My expense comment was referring
>> to frequently checking the db for changes, not the actual query.
>>
>> Friendly names should < 10, te
Any luck with this?
On Tuesday, September 4, 2012 3:02:07 AM UTC-4, Johan Börjesson wrote:
>
> I am using selectable in SQLFORM.grid to create checkboxes and a submit
> button, it's working fine.
> But I would like to have two submit buttons where each button calls a
> different function, depend
> On Tuesday, 27 November 2012 10:25:32 UTC-6, Wes Hall wrote:
>>
>> Since I obfuscated the real application, I can't fault this answer.
>> However, in the current usage, it doesn't feel like the best solution.
>> Teachers are being inserted into the data
ber 27, 2012 10:53:39 AM UTC-5, Massimo Di Pierro wrote:
>
> I would suggest that when a user register you check if they have "friendly
> sounding" first name and flag it, then search using the flag.
>
> On Tuesday, 27 November 2012 09:48:48 UTC-6, Wes Hall wrote:
>>
I want to select teachers that have taught for more than one year, are
getting paid and have a friendly sounding first name.
The friendly sounding names are stored in a table, along with their
expected position in the name.
Currently I'm using this:
teacher_query = db.teachers.years_taught!=0
I have been having the same issue and was able to try trunk just now.
The error persists.
My working powerTable code on 1.99.3 no longer works on 2.0.9.
On Monday, October 1, 2012 1:23:54 PM UTC-4, Massimo Di Pierro wrote:
>
> Can you please try the trunk version?
>
> On Sunday, 30 September 201
You're right. In short, I was just looking for the typical, easy web2py
method for http-equiv; something similar to response.meta.refresh().
I think if I spend some more time wrapping my head around response, I'll be
able to better determine what I should do. In simple terms, I want to issue
m
Unless I'm missing something, session.flash() and response.flash() will not
load a new page, only flash a message. Am I wrong?
If I try to load the thank_you view and then redirect to the download, it
doesn't load the page, but goes straight to the download. (a response exits
the function, righ
I'm afraid I'm missing something very basic here.
When a user clicks a link to download a file, how to start the download
after directing to the thank-you page? I can do either, but have not
figured out how to do both.
Obviously, this won't work, but the desired behavior is something like this.
Anthony,
Aha, thanks for the wisdom. From the CLI and if I build the table manually,
you are correct, it works as expected. It appears as though the powertable
plugin has some specific column requirements, so I'm now referencing the
fields/columns as such:
table.columns = [str(count1),'events.
Pat,
I have a hard time hanging with you west-coasters some time.
Thank you for your assistance. I was able to reference the field directly
into the columns with 'COUNT(events.email)', but wasn't finding it when I
was in the Virtual class. _extra was the key.
def event_list():
> class
I am trying to show a grouped count in a powertable. How do I
reference the count's storage object?
def event_list():
class Virtual(object):
@virtualsettings(label='Count')
def email_count(self):
return ??? # What do I need to reference?
report_id = in
25 matches
Mail list logo