cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] ReinhardHorn WoodyScratchpad Tue Feb 10 20:00:15 2004
Date Tue, 10 Feb 2004 19:00:16 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=ReinhardHorn , version: 4 on Tue Feb 10 18:56:19
2004 by ReinhardHorn

- And last but not least read the intoduction to [database actions|http://localhost:8080/cocoon/docs/userdocs/actions/database-actions.html]
+ And last but not least read the introduction to [database actions|http://localhost:8080/cocoon/docs/userdocs/actions/database-actions.html]
?                                    +

- \\Attention: If you don't see any data keep in mind that XML-Tags are case sensitive. Some
database systems return fieldnames in lower cases. In this case replace "BAND_ID" in the value-of-tag
with "band_id" and do the same with bands.
?                                                                                        
                                                                           ^       ^     
                    ^       ^

+ \\Attention: If you don't see any data keep in mind that XML-Tags are case sensitive. Some
database systems return fieldnames in lower cases. In this case replace ''BAND_ID'' in the
value-of-tag with ''band_id'' and do the same with bands.
?                                                                                        
                                                                           ^^       ^^   
                      ^^       ^^

- The connection-tag refers to your datasource in the cocoon.xconf file. The table-tag is
self explaining. The name  attribute must be identical to the name of your database table.
In this case the table name is "bands". The name 
?                                                                                        
                                                                                         
                                ^     ^

+ The connection-tag refers to your datasource in the cocoon.xconf file. The table-tag is
self explaining. The name  attribute must be identical to the name of your database table.
In this case the table name is ''bands''. The name 
?                                                                                        
                                                                                         
                                ^^     ^^

- attribute matches the datatype of your table. Typically "int" is used to map numeric fields
and "string" to map 
?                                                         ^   ^                          
        ^      ^

+ attribute matches the datatype of your table. Typically ''int'' is used to map numeric fields
and ''string'' to map 
?                                                         ^^   ^^                        
          ^^      ^^

- character fields like "char", "varchar" or "varchar2" (Oracle). How does the database action
find your input parameters 
?                       ^    ^  ^       ^    ^        ^

+ character fields like ''char'', ''varchar'' or ''varchar2'' (Oracle). How does the database
action find your input parameters 
?                       ^^    ^^  ^^       ^^    ^^        ^^

- from band.html? Well, acording to the Cocoon documention modular database actions default
to "tablename.columnname". 
?                                                                                        
     ^                    ^

+ from band.html? Well, acording to the Cocoon documention modular database actions default
to ''tablename.columnname''. 
?                                                                                        
     ^^                    ^^

- In this case "bands.band_id" and "bands.band" (see band.html).
?              ^             ^     ^          ^

+ In this case ''bands.band_id'' and ''bands.band'' (see band.html).
?              ^^             ^^     ^^          ^^

+ ''sitemap.xmap''
+ \\
+ ''sitemap.xmap''
- *"html" for the html page
?  ^    ^

+ * ''html'' for the html page
?  ^^^    ^^

- *"xml" for the config file
?  ^   ^

+ * ''xml'' for the config file
?  ^^^   ^^

- *"xsp" for the band view
?  ^   ^

+ * ''xsp'' for the band view
?  ^^^   ^^

- *"xslt" for the stylesheet
?  ^    ^

+ * ''xslt'' for the stylesheet
?  ^^^    ^^

-        if the action parameter has a value of "Delete", otherwise the outer pipeline will
be executed. The
?                                               ^      ^

+        if the action parameter has a value of ''Delete'', otherwise the outer pipeline will
be executed. The
?                                               ^^      ^^

-        a value of "true".       
?                   ^    ^

+        a value of ''true''.       
?                   ^^    ^^



Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyScratchpad , version: 7 on Tue Feb 10 18:30:53
2004 by TimLarson

+ Questions:
+ *Where should imports be allowed?
+ **Top of the form definition.
+ **Top of any container widget definition.
+ **Anywhere a widget definition is allowed.
+ *Where should imported types be registered (affects namespace)?
+ **Children of the form definition.
+ **Children of the container widget definition that contains the import statement.
+ *What should be importable?
+ **Widget definition prototypes.
+ **Widget definitions that will have instances created.
+ **Other?



Mime
View raw message