Hello,
have you defined the ResourceServlet?
The example for using themes with the ResourceServlet is
the blank example webapp.
See:
http://svn.apache.org/repos/asf/myfaces/tobago/trunk/example/blank/
Regards
Bernd
Nils Drews schrieb:
Hello,
I'm just trying to get a simple, normal tobago sheet to work, but
getting problems.
I hope this is the right place to ask questions about tobago too.
I'm using the follwoing code, but i don't get the expected result:
<tc:panel>
<f:facet name="layout">
<tc:gridLayout />
</f:facet>
<tc:box label="#{msg.admin_title_sheet}">
<f:facet name="layout">
<tc:gridLayout />
</f:facet>
<tc:sheet value="#{loginBean.users}" id="sheet"
columns="3*;3*;3*;1*" var="usa">
<tc:column label="ID" id="id" sortable="true">
<tc:out value="#{usa.id}" id="t_id" />
</tc:column>
<tc:column label="Name" id="name" sortable="true">
<tc:out value="#{usa.name}" id="t_name" />
</tc:column>
<tc:column label="Passwort" sortable="true">
<tc:out value="#{usa.passwort}"
id="t_passwort" />
</tc:column>
<tc:column label="IsAdmin" sortable="true">
<tc:out value="#{usa.isAdmin}" id="t_isAdmin" />
</tc:column>
</tc:sheet>
</tc:box>
</tc:panel>
The Result i get looks like the following picture:
-- BOXTITEL ---------------------------------------
| ID
|
| Name
|
|
Passwort |
| IsAdmin
|
|
|
| 1234567890 Admin dummyPassword true |
|
|
|
|
-------------------------------------------------------
The Column Titels are stacked up and are no real column-titels and all
together there is no real sheet getting displayed ??
What is my problem? I'm using the themes packaged as jars, as far as i
know that is rather new, so perhaps this is the problem ??
I'm also getting JSP-Errors in MSIE6:
'Tobago' is undefined (in german)
'TbgTimer' is undefined (also in german)
Thx in advance,
Nils Drews
--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333