Sorry I was slow to get back to this, I haven't learned yet how to 
subscribe to a post. Never used google groups before.

I did get the problem to go away by clicking the gear icon on the right for 
w2p admin interface settings. I had to disable "Enable Close Tag". This 
must be the functionality your reply was referring to, but it isn't working 
on my computer for some reason. OK, I don't mind typing my own close tags 
since 'smart' features tend to get in my way anyhow. I don't have a guess 
as to what caused this feature to not work on my computer but if turned off 
I can now type close tags normally.

Side Note: I just watched a series of 5 videos that somebody put on you 
tube, a presentation Massimo did a while back, and I am happy that I will 
be able to copy what he did and tweak it to adapt it to my needs. This 
templating from completed/tested packages is how programming should be 
taught in my opinion because it is motivating to know that your code should 
work. In fact this is the scientific method: make one change at a time and 
observe the results. Vs. the university "prerequisite mode" which filters 
out impatient people like me who won't sit still for the long way of 
getting it done by learning how to read minds of teachers who dole out info 
one drop at a time and make you play guessing games. Some very smart people 
can't learn that way, but rather need working examples and complete 
instructions. Thanks to rare philanthropic geniuses like Massimo we can all 
get to the starting gate a lot quicker and start making things happen.

Scott

On Thursday, February 19, 2015 at 5:22:19 AM UTC+8, Dave S wrote:
>
>
>
> On Wednesday, February 18, 2015 at 7:56:04 AM UTC-8, dangne...@juno.com 
> wrote:
>>
>> Day 1 newbie. I feel I have entered a new wonderland of capabilities, and 
>> lucky to have found web2py, with all the noise being made about flask and 
>> django. Flask is all "now to do this you have to install that" and django's 
>> "awesome documentation" made me want to give up. Web2py on the other hand 
>> seems to be teaching itself, and the tutorial I'm watching is great. But 
>> one problem:
>>
>> I typed this html correctly (see closing tags) but this is what shows up 
>> on the screen, and I can't save it because web2py knows it's wrong:
>>
>>     def hello():
>>         return <html><body><h1>Hello World<h1><body><html>
>>
>> Neither the forward slash on the main keyboard or the number pad works in 
>> the editor:
>>
>
> Not sure if this is what's zapping you, but the web2py "ide" editor likes 
> to provide close tags as soon as you've entered the open tag.  You could 
> have a close tag for BODY and HTML sitting there when you try to type your 
> own close tag.
>
> My vague memory of something I did last week says "it will let you", but 
> maybe not.
>
> You can, of course, edit the file outside of the "ide" editor; I often use 
> emacs on a linux system.  Notepad on Windows isn't so good (doesn't 
> understand linux line endings), but I think Wordpad works, and certainly 
> NoteTab Light.
>
> Good luck!
>
> /dps
>
>  
>
>>
>> http://127.0.0.1:8000/admin/default/edit/app1/controllers/test.py?id=controllers__test__py
>>
>> Tested the key, it works. The question mark works in general and on the 
>> editor, it types a forward slash anywhere else including the url bar of the 
>> same page. I have never encountered this anywhere before.
>>
>> I made a different test file in controllers and also a test file in view, 
>> no forward slash is possible in either editor.
>>
>> Nothing wrong with this keyboard: 
>> ////////////////////////////////////////////////////////////////////
>>
>> Thanks.
>>
>> Scott
>>
>

-- 
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.

Reply via email to