Update of /cvsroot/phpwebapp/web_app/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18880/doc
Modified Files:
to_do.txt changes.txt ToDo.txt
Log Message:
Index: to_do.txt
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/doc/to_do.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** to_do.txt 29 Jul 2004 14:46:54 -0000 1.13
--- to_do.txt 12 Oct 2004 10:01:46 -0000 1.14
***************
*** 15,31 ****
onParse, onRender, init, eventHandler, on_event, etc.
- * - Add a function: WebApp::reloadPage($new_page) which stops
- processing the current page and starts loading the new
- page. This may be usefull when a webox redirects the event
- to another webbox or sends a new event to another webbox.
- E.g. in login, the login webox, after checking that the
- password is wrong, reloads another page.
- Probably is better to call it: WebApp::GoTo("tpl.html?etc"),
- to be consistent with the GoTo() JS function.
-
- - Add a function: WebApp::toHtml($tpl_page) which loads the
- given template, renders it (using any egzisting variables)
- and returns the HTML code.
-
* - Factor out from the classes all the debuging functions and
put them in a separate class or file.
--- 15,18 ----
Index: changes.txt
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/doc/changes.txt,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** changes.txt 8 Oct 2004 10:01:56 -0000 1.14
--- changes.txt 12 Oct 2004 10:01:46 -0000 1.15
***************
*** 41,44 ****
--- 41,51 ----
$name = window.open($url, $name, $features);
-------------------------------------------------------------------
+ * Added function:
+ WebApp::GoTo($target_page, $target_object =UNDEFINED,
+ $event_name =UNDEFINED, $event_args =UNDEFINED)
+ This function stops constructing the current page and starts
+ loading and constructing the given target page. Similar to
+ the JS function GoTo(), it can also send an event to the new
+ page that is going to be constructed.
-------------------------------------------------------------------
-------------------------------------------------------------------
Index: ToDo.txt
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/doc/ToDo.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** ToDo.txt 29 Jul 2004 14:46:54 -0000 1.8
--- ToDo.txt 12 Oct 2004 10:01:47 -0000 1.9
***************
*** 69,76 ****
The messages that have to be translated by the framework can be
! denoted like this: {{i)Hello World!}} Then a tool similar to
! xgettext can be used to extract all the messages from the
! templates. Then we can either continue in the same way that
! gettext does, or we can create a message file for each webbox.
In the second case we will have to create the files
--- 69,77 ----
The messages that have to be translated by the framework can be
! denoted like this: {{i)Hello World!}}, or like this: <i18n>Hello
! World!<i18n>. Then a tool similar to xgettext can be used to
! extract all the messages from the templates. Then we can either
! continue in the same way that gettext does, or we can create a
! message file for each webbox.
In the second case we will have to create the files
***************
*** 200,217 ****
WebApp::setRS("class_id", $rs);
-------------------------------------------------------------
- * ?? - Add a function: WebApp::reloadPage($new_page) which stops
- processing the current page and starts loading the new
- page. This may be usefull when a webox redirects the event
- to another webbox or sends a new event to another webbox.
- E.g. in login, the login webox, after checking that the
- password is wrong, reloads another page.
- Probably is better to call it: WebApp::GoTo("tpl.html?etc"),
- to be consistent with the GoTo() JS function.
-
- - Add a function: WebApp::toHtml($tpl_page) which loads the
- given template, renders it (using any egzisting variables)
- and returns the HTML code.
-
- -------------------------------------------------------------
* WebClass & WebObject
--- 201,204 ----
|