On Apr 24, 1:27 pm, Gary <[email protected]> wrote:
> OK. So I've studied a little more and tried some stuff like a custom
> form, which loses the ability to enforce restrictions and read the
> source code, which is beyond my newbie comprehension and downloaded
> Wing IDE to step through the code hoping that it would be easier to
> understand what's happening. But, I'm still stumped regarding the the
> substitution of a modified SQLFORM.
I do not understand. who said that ?
> For example, what if I only
> wanted to display a subset of fields in the 'read' function.
>
> Looking at the code, it appears that there is no parameter to replace
> the 'form' variable and trying to affect it in a similar fashion to
> the the 'settings.create_next' (I tried crud.form = SQLFORM(...))
> doesn't seem to work (although I could be using the wrong syntax).
>
> Once again, help would be greatly appreciated.
>
> Thanks in advance.
>
> On Apr 23, 6:28 pm, Álvaro Justen [Turicas] <[email protected]>
> wrote:
>
> > On Thu, Apr 23, 2009 at 7:17 PM, Gary <[email protected]> wrote:
> > > Thank you Alvaro.
>
> > > Is there a document that details the properties and methods of the
> > > CRUD classes or is it necessary to read the source?
>
> > You can access web2py
> > epydoc:http://localhost:8000/examples/static/epydoc/index.html
> > And inside this, you can browse source of funtions/classes.
>
> > You also can learn with Auth and Crud examples
> > at:http://localhost:8000/examples/default/tools
>
> > > Is there and equally easy fix for replacing the SQLForm used in the
> > > update/add controller function?
>
> >http://www.web2py.com/AlterEgo/default/show/205
>
> > > Thanks again for the quick response.
>
> > You're welcome.
>
> > --
> > Álvaro Justen
> > Peta5 - Telecomunicações e Software Livre
> > 21 3021-6001 / 9898-0141
> > http://www.peta5.com.br/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---