and all thanks goes to Alexei

On 9/15/11, Phyo Arkar <[email protected]> wrote:
> Finally it worked!
>
> even base is set . if thers no
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
>
> it dont work!
>
> so here is the code for everbody who have problem putting qxdoo app
> into web2py :
>
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
> <head>
>   <title>FastTract1.0</title>
>   <base href="{{='http://'+REQUEST.env.http_host+
> '/appname/static/build/'}}"></base>
>   <script type="text/javascript"
> src="/appname/static/build/script/ft_ui.js">
> //   qx.$$loader.init();
>   </script>
> </head>
> <body>
>
>
>
>
> </body>
> </html>
>
>
> On 9/15/11, Phyo Arkar <[email protected]> wrote:
>> Thanks alot!
>>
>> thats all you need? anything need to adjust at qxdoo application ?
>> inside config.json etc?
>>
>> what application type created in qxdoo ? default?
>>
>> On 9/15/11, Alexei Vinidiktov <[email protected]> wrote:
>>> Here is what I have in default/index.html view of Phonetizer:
>>>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "
>>> http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
>>> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
>>> <head>
>>> <base
>>> href="{{="http://www.phonetizer.com"+URL(r=request,c='static',f='phonetizer/build/')}}"
>>> />
>>>   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
>>>   <title>Add phonetic transcription to any English text with
>>> Phonetizer</title>
>>>
>>>   <link rel="shortcut icon" href="resource/phonetizer/favicon.ico">
>>>
>>>   <script type="text/javascript"
>>> src="{{=URL(r=request,c='static',f='phonetizer/build/script/phonetizer.js')}}"></script>
>>>
>>> </head>
>>> <body>
>>>
>>> </body>
>>> </html>
>>>
>>> On Thu, Sep 15, 2011 at 6:41 AM, Phyo Arkar
>>> <[email protected]>wrote:
>>>
>>>> i.body is null
>>>> http://localhost:8080/sExtract/static/ft/script/ft_ui.js
>>>> Line 3816
>>>>
>>>> exact error.
>>>>
>>>> Can you show me how u call it in ur example?
>>>>
>>>>
>>>> On 9/15/11, Phyo Arkar <[email protected]> wrote:
>>>> > i manage to build a Qooxdoo , only ui and i am quite impressed by its
>>>> > power.
>>>> >
>>>> > But when i put inside web2py , it dont load at all  what did i do
>>>> > wrong?
>>>> >
>>>> > in controller: /sExtract/default/ft
>>>> >
>>>> > def fasttract():
>>>> >       return dict(test="ok")
>>>> >
>>>> >
>>>> > in view:
>>>> >
>>>> > <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
>>>> > <head>
>>>> >   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"
>>>> > />
>>>> >   <title>FastTract1.0</title>
>>>> >   <script type="text/javascript"
>>>> > src="/sExtract/static/ft/script/ft_ui.js"></script>
>>>> > </head>
>>>> > <body></body>
>>>> > </html>
>>>> >
>>>> >
>>>> > Error on firebug is :
>>>> >
>>>> > ERROR: .body is null
>>>> > qx.bom.Document.isStandardMode(...ement.clientWidth:i.body.clientWidth;
>>>> > HELP!!!
>>>> >
>>>> > On 9/12/11, Alexei Vinidiktov <[email protected]> wrote:
>>>> >> I'm afraid it really does have a minimum of 600 KB.
>>>> >>
>>>> >> It's compiled with build.
>>>> >>
>>>> >> Too bad the server the app is hosted on is so unreliable.
>>>> >>
>>>> >> On Sun, Sep 11, 2011 at 11:16 PM, Phyo Arkar
>>>> >> <[email protected]>wrote:
>>>> >>
>>>> >>> that never runs , giving me error in json response , too bad.
>>>> >>>
>>>> >>> And the javascript alone really have 600KB ? is that compiled with
>>>> >>> source-all ?
>>>> >>>
>>>> >>> On 9/11/11, Alexei Vinidiktov <[email protected]> wrote:
>>>> >>> > You are right about the CAPTCHA. The reason I'm not using it is
>>>> >>> > that
>>>> >>> > at
>>>> >>> the
>>>> >>> > moment the site is only a playground where I'm getting familiar
>>>> >>> > with
>>>> >>> web2py
>>>> >>> > and qooxdoo and testing things out.
>>>> >>> >
>>>> >>> > Please try again. Registration should work this time.
>>>> >>> >
>>>> >>> > On Sun, Sep 11, 2011 at 7:20 PM, Phyo Arkar <
>>>> [email protected]
>>>> >>> >wrote:
>>>> >>> >
>>>> >>> >> That page should have a CAPCHA .  spambots will like to spam
>>>> >>> >> registration it till your mailserver down with registrations.
>>>> >>> >>
>>>> >>> >> One thing i am liking about qooxdoo is that really eliminate
>>>> >>> >> HTML
>>>> CSS
>>>> >>> >> and Graphics skills
>>>> >>> >> needed to develop a desktop like web-app easily. Normally
>>>> >>> >> desiging
>>>> >>> >> web2py app needs all those skills.
>>>> >>> >>
>>>> >>> >> I am good at linux , system engineering and python + js not at
>>>> >>> >> those
>>>> >>> >> art skills so i believes good intergration of qooxdoo with
>>>> >>> >> web2py
>>>> >>> >> will
>>>> >>> >> be perfect.
>>>> >>> >>
>>>> >>> >> On 9/11/11, Alexei Vinidiktov <[email protected]>
>>>> >>> >> wrote:
>>>> >>> >> > Oops, sorry. I'll see if I can fix it. It's been a long time
>>>> >>> >> > since
>>>> >>> >> > I
>>>> >>> >> touched
>>>> >>> >> > the app last.
>>>> >>> >> >
>>>> >>> >> > On Sun, Sep 11, 2011 at 7:05 PM, Phyo Arkar
>>>> >>> >> > <[email protected]
>>>> >>> >> >wrote:
>>>> >>> >> >
>>>> >>> >> >> AH sorry i write this post before read the previous post.
>>>> >>> >> >>
>>>> >>> >> >> Yeah as it seems all view code needs to go into Qooxdoo , and
>>>> >>> >> >> web2py
>>>> >>> >> >> as Json RPC only. hmm.. so half of web2py potential will only
>>>> >>> >> >> be
>>>> >>> used,
>>>> >>> >> >>
>>>> >>> >> >>
>>>> >>> >> >> pyjamas todo tutorial i cannot register at all , ur mail
>>>> >>> >> >> sender
>>>> >>> >> >> seems
>>>> >>> >> >> to be down. it saids unable to send email.
>>>> >>> >> >>
>>>> >>> >> >>
>>>> >>> >> >>
>>>> >>> >> >> On 9/11/11, Phyo Arkar <[email protected]> wrote:
>>>> >>> >> >> > Anyone have experience with qooxdoo?
>>>> >>> >> >> >
>>>> >>> >> >> > It seems that only way web2py applicable with QooXDoo is as
>>>> >>> >> >> > a
>>>> >>> >> >> > JSON-RPC
>>>> >>> >> >> > Server. Whole view logic will be  only in Qooxdoo , cannot
>>>> >>> >> >> > use
>>>> >>> >> >> > any
>>>> >>> >> >> > Template langauge of web2py i guess.
>>>> >>> >> >> >
>>>> >>> >> >> > If anyone have any expeirence , enlighten me.
>>>> >>> >> >> >
>>>> >>> >> >> > On 9/11/11, Phyo Arkar <[email protected]> wrote:
>>>> >>> >> >> >> Anyone have a working tutorial for web2py MVC and Qooxdoo
>>>> >>> >> >> >> ?
>>>> >>> >> >> >>
>>>> >>> >> >> >> I am wondering how to use Web2py's response.view template
>>>> >>> >> >> >> code
>>>> >>> >> >> >> inside
>>>> >>> >> >> >> JS files coz Qooxdoo's class definations are in JS file .
>>>> >>> >> >> >> Somthing
>>>> >>> i
>>>> >>> >> >> >> haven't tried.
>>>> >>> >> >> >>
>>>> >>> >> >> >
>>>> >>> >> >>
>>>> >>> >> >
>>>> >>> >> >
>>>> >>> >> >
>>>> >>> >> > --
>>>> >>> >> > Alexei Vinidiktov
>>>> >>> >> >
>>>> >>> >>
>>>> >>> >
>>>> >>> >
>>>> >>> >
>>>> >>> > --
>>>> >>> > Alexei Vinidiktov
>>>> >>> >
>>>> >>>
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Alexei Vinidiktov
>>>> >>
>>>> >
>>>>
>>>
>>>
>>>
>>> --
>>> Alexei Vinidiktov
>>>
>>
>

Reply via email to