Tiles not working, I'm using a recent nightly build.

2002-02-28 Thread Eric Boudreau

I'm starting to integrate Tiles into an application that has been built with
Struts. I built a simple test page but it won't display in the browser. I'm
not getting any exceptions or useful diagnostic info.

I've tried the following nightly builds:
20020205
20020228

Running on Weblogic 6.1

Browser error message:

There is a problem with the page you are trying to reach and it cannot be
displayed.

Weblogic output:

28 Feb 2002 12:50:49,899
INFO   on
 Delegating via forward to 'task.current.page'
[ExecuteThread: '13' for queue: 'default'](Log4JCategoryLog.java:148)

struts config snippet:

!-- Test Tiles --
actionpath=/testtiles
forward=task.current.page
/action

Tiles config:

?xml version=1.0 encoding=ISO-8859-1?
component-definitions

  !--= Base Pages --

  !-- Basic Layout: for plain pages without menu  --
  definition name=mainLayout path=/layout/mainLayout.jsp
put name=header value=/includes/logo.inc/
put name=footer value=/includes/footer.inc/
put name=menu value=/
put name=breadcrumb value=/
put name=body value=/
  /definition

  !-- Menu Layout: for pages with menu  --
  definition name=menuLayout extends=mainLayout
put name=menu value=/includes/left_nav.jsp/
  /definition

  !-- Task Pages --

  !-- Current Task List --
  definition name=task.current.page extends=menuLayout
put name=title value=Current Tasks/
  /definition

/component-definitions


Any clues? 

Should I be using a different nightly build?

Thanks.
-Eric

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




How do I use non-string values in logic:equal ... ?

2001-10-26 Thread Eric Boudreau

Do I have to convert the value to a string first? Is there a cleaner way to
handle this situation?
The result of my attempt is shown below:

C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
ver_myserver_contentweb\jsp_servlet\__tasks.java:326: cannot resolve symbol
probably occurred due to an error in /tasks.jsp line 149:
logic:equal name=task property=priority
value=%=WorkItem.PRIORITY_HIGH%

C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
ver_myserver_contentweb\jsp_servlet\__tasks.java uses or overrides a
deprecated API.

Full compiler error(s):
C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
ver_myserver_contentweb\jsp_servlet\__tasks.java:326: cannot resolve symbol
symbol  : method setValue  (int)
location: class org.apache.struts.taglib.logic.EqualTag
_logic_equal1.setValue(WorkItem.PRIORITY_HIGH);
//[ /tasks.jsp; Line: 149]
 ^
Note:
C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
ver_myserver_contentweb\jsp_servlet\__tasks.java uses or overrides a
deprecated API.
Note: Recompile with -deprecation for details.
1 error


Thanks.
-Eric