- Revision
- 286
- Author
- mward
- Date
- 2007-07-26 14:50:55 -0500 (Thu, 26 Jul 2007)
Log Message
Updated team list web page, minor refactoring (removed tabs)
Modified Paths
- trunk/distribution/src/site/content/team-list.html
- trunk/distribution/src/site/templates/skin.html
- trunk/examples/mydvds-example/resources/js/searchDvd.js
- trunk/examples/mydvds-example/resources/js/utils.js
- trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/interceptor/AuthorizationInterceptor.java
- trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/model/Dvd.java
- trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/model/DvdType.java
- trunk/waffle.ipr
Diff
Modified: trunk/distribution/src/site/content/team-list.html (285 => 286)
--- trunk/distribution/src/site/content/team-list.html 2007-07-26 17:36:59 UTC (rev 285) +++ trunk/distribution/src/site/content/team-list.html 2007-07-26 19:50:55 UTC (rev 286) @@ -24,63 +24,59 @@ <tr class="a"> <th>Id</th> <th>Name</th> - <th>Email</th> - <th>URL</th> - <th>Organization</th> - <th>Organization URL</th> <th>Roles</th> <th>Time Zone</th> <th>Actual Time (GMT)</th> - <th>Properties</th> </tr> <tr class="b"> - <td>m2ward</td> + <td>mward</td> <td>Michael Ward</td> - <td>-</td> - <td>-</td> - <td>-</td> - <td>-</td> <td>administrator, developer</td> <td>-6</td> <td><span id="developer-0">-6</span></td> - <td>-</td> </tr> <tr class="a"> <td>mauro</td> <td>Mauro Talevi</td> - <td>-</td> - <td>-</td> - <td>-</td> - <td>-</td> <td>developer</td> <td>0</td> <td><span id="developer-1">0</span></td> - <td>-</td> </tr> <tr class="b"> <td>paul</td> <td>Paul Hammant</td> - <td>-</td> - <td>-</td> - <td>-</td> - <td>-</td> <td>developer</td> <td>-6</td> <td><span id="developer-2">-6</span></td> - <td>-</td> </tr> <tr class="a"> <td>gas</td> <td>Guilherme Silviera</td> - <td>-</td> - <td>-</td> - <td>-</td> - <td>-</td> <td>developer</td> <td>-3</td> <td><span id="developer-3">-3</span></td> - <td>-</td> </tr> + <tr class="a"> + <td>fabio.kung</td> + <td>Fabio Kung</td> + <td>developer</td> + <td>-3</td> + <td><span id="developer-4">-3</span></td> + </tr> + <tr class="a"> + <td>paulosilveira</td> + <td>Paulo Silveira</td> + <td>developer</td> + <td>-3</td> + <td><span id="developer-5">-3</span></td> + </tr> + <tr class="a"> + <td>steppat</td> + <td>Nico Steppat</td> + <td>developer</td> + <td>-3</td> + <td><span id="developer-6">-3</span></td> + </tr> </table> </div> <h3>Contributors</h3> @@ -104,6 +100,9 @@ offsetDate('developer-1', '0'); offsetDate('developer-2', '-6'); offsetDate('developer-3', '-3'); + offsetDate('developer-4', '-3'); + offsetDate('developer-5', '-3'); + offsetDate('developer-6', '-3'); } window.
Modified: trunk/distribution/src/site/templates/skin.html (285 => 286)
--- trunk/distribution/src/site/templates/skin.html 2007-07-26 17:36:59 UTC (rev 285) +++ trunk/distribution/src/site/templates/skin.html 2007-07-26 19:50:55 UTC (rev 286) @@ -27,7 +27,7 @@ </div> <div id="breadcrumbs"> - <div class="left"> Last Published: July 19, 2007</div> + <div class="left"> Last Published: July 25, 2007</div> <div class="clear"></div> </div>
Modified: trunk/examples/mydvds-example/resources/js/searchDvd.js (285 => 286)
--- trunk/examples/mydvds-example/resources/js/searchDvd.js 2007-07-26 17:36:59 UTC (rev 285) +++ trunk/examples/mydvds-example/resources/js/searchDvd.js 2007-07-26 19:50:55 UTC (rev 286) @@ -1,15 +1,15 @@ $(document).ready(function() { - var url = "" - $("#dvdTitle").ajaxError( - function(request, settings){ - //alert(settings.getAllResponseHeaders()); - //i18n ???? - erroText = settings.getResponseHeader("SessionTimeOut"); - if(erroText != null) { - alert(erroText); - } else { - alert("Could not complete ajax request"); - } - } - ).autocomplete(url, "dvd.title", { minChars:2 }); + var url = "" + $("#dvdTitle").ajaxError( + function(request, settings){ + //alert(settings.getAllResponseHeaders()); + //i18n ???? + erroText = settings.getResponseHeader("SessionTimeOut"); + if(erroText != null) { + alert(erroText); + } else { + alert("Could not complete ajax request"); + } + } + ).autocomplete(url, "dvd.title", { minChars:2 }); }); \ No newline at end of file
Modified: trunk/examples/mydvds-example/resources/js/utils.js (285 => 286)
--- trunk/examples/mydvds-example/resources/js/utils.js 2007-07-26 17:36:59 UTC (rev 285) +++ trunk/examples/mydvds-example/resources/js/utils.js 2007-07-26 19:50:55 UTC (rev 286) @@ -1,5 +1,5 @@ function fireMethod(methodName, formId) { - form = document.getElementById(formId); + form = document.getElementById(formId); createElementSubmitForm(form, methodName); }
Modified: trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/interceptor/AuthorizationInterceptor.java (285 => 286)
--- trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/interceptor/AuthorizationInterceptor.java 2007-07-26 17:36:59 UTC (rev 285) +++ trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/interceptor/AuthorizationInterceptor.java 2007-07-26 19:50:55 UTC (rev 286) @@ -31,12 +31,13 @@ } } - public boolean accept(Method method) { return !this.skippedMethods.contains(method); } - public Object intercept(ControllerDefinition controllerDefinition, Method method, InterceptorChain chain, + public Object intercept(ControllerDefinition controllerDefinition, + Method method, + InterceptorChain chain, Object... arguments) throws IllegalAccessException, InvocationTargetException { // TODO logging System.out.println("Trying to authenticate ...");
Modified: trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/model/Dvd.java (285 => 286)
--- trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/model/Dvd.java 2007-07-26 17:36:59 UTC (rev 285) +++ trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/model/Dvd.java 2007-07-26 19:50:55 UTC (rev 286) @@ -11,55 +11,55 @@ @Entity public class Dvd implements Comparable<Dvd> { - @Id - @GeneratedValue - private Long id; + @Id + @GeneratedValue + private Long id; - private String title; + private String title; - private String description; + private String description; - @ManyToMany - private Set<User> users = new HashSet<User>(); + @ManyToMany + private Set<User> users = new HashSet<User>(); - @Enumerated(EnumType.STRING) - private DvdType type; + @Enumerated(EnumType.STRING) + private DvdType type; - public String getDescription() { - return description; - } + public String getDescription() { + return description; + } - public void setDescription(String description) { - this.description = description; - } + public void setDescription(String description) { + this.description = description; + } - public Long getId() { - return id; - } + public Long getId() { + return id; + } - public void setId(Long id) { - this.id = id; - } + public void setId(Long id) { + this.id = id; + } - public String getTitle() { - return title; - } + public String getTitle() { + return title; + } - public void setTitle(String title) { - this.title = title; - } + public void setTitle(String title) { + this.title = title; + } - public DvdType getType() { - return type; - } + public DvdType getType() { + return type; + } - public void setType(DvdType type) { - this.type = type; - } + public void setType(DvdType type) { + this.type = type; + } - public Set<User> getUsers() { - return users; - } + public Set<User> getUsers() { + return users; + } public boolean equals(Object o) { if (this == o) return true; @@ -68,9 +68,7 @@ Dvd dvd = (Dvd) o; if (title != null ? !title.equals(dvd.title) : dvd.title != null) return false; - if (type != dvd.type) return false; - - return true; + return type == dvd.type; } public int hashCode() {
Modified: trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/model/DvdType.java (285 => 286)
--- trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/model/DvdType.java 2007-07-26 17:36:59 UTC (rev 285) +++ trunk/examples/mydvds-example/src/main/java/org/codehaus/waffle/example/mydvds/model/DvdType.java 2007-07-26 19:50:55 UTC (rev 286) @@ -1,5 +1,5 @@ package org.codehaus.waffle.example.mydvds.model; public enum DvdType { - MUSIC, VIDEO, GAME; + MUSIC, VIDEO, GAME }
Modified: trunk/waffle.ipr (285 => 286)
--- trunk/waffle.ipr 2007-07-26 17:36:59 UTC (rev 285) +++ trunk/waffle.ipr 2007-07-26 19:50:55 UTC (rev 286) @@ -317,9 +317,9 @@ <module fileurl="file://$PROJECT_DIR$/core/core.iml" filepath="$PROJECT_DIR$/core/core.iml" /> <module fileurl="file://$PROJECT_DIR$/examples/freemarker-example/freemarker-example.iml" filepath="$PROJECT_DIR$/examples/freemarker-example/freemarker-example.iml" /> <module fileurl="file://$PROJECT_DIR$/examples/jruby-example/jruby-example.iml" filepath="$PROJECT_DIR$/examples/jruby-example/jruby-example.iml" /> + <module fileurl="file://$PROJECT_DIR$/examples/mydvds-example/mydvds-example.iml" filepath="$PROJECT_DIR$/examples/mydvds-example/mydvds-example.iml" /> <module fileurl="file://$PROJECT_DIR$/examples/paranamer-example/paranamer-example.iml" filepath="$PROJECT_DIR$/examples/paranamer-example/paranamer-example.iml" /> <module fileurl="file://$PROJECT_DIR$/root.iml" filepath="$PROJECT_DIR$/root.iml" /> - <module fileurl="file://$PROJECT_DIR$/plugins/rspec-maven-plugin/rspec-maven-plugin.iml" filepath="$PROJECT_DIR$/plugins/rspec-maven-plugin/rspec-maven-plugin.iml" /> <module fileurl="file://$PROJECT_DIR$/examples/simple-example/simple-example.iml" filepath="$PROJECT_DIR$/examples/simple-example/simple-example.iml" /> <module fileurl="file://$PROJECT_DIR$/extensions/taglib/taglib.iml" filepath="$PROJECT_DIR$/extensions/taglib/taglib.iml" /> </modules>
To unsubscribe from this list please visit:
