Re: [jira] Reopened: (SHALE-321) Update TilesViewHandler to support new Tiles 2 Snapshot

2006-11-06 Thread Greg Reddin
Yeah, I suspect this ticket will reopen and close many times before  
it's done.  We haven't cut a new Snapshot of Tiles yet, so that's why  
I haven't kept the Shale-Tiles integration in sync with it.  I'm  
waiting for the latest round of major changes to be complete before I  
tackle it.  It still builds against the latest published snapshot,  
right?


Greg


On Nov 6, 2006, at 3:23 PM, Wendy Smoak (JIRA) wrote:


 [ http://issues.apache.org/struts/browse/SHALE-321?page=all ]

Wendy Smoak reopened SHALE-321:
---


I'm having trouble building Shale Tiles against  r471763 of Tiles 2.

[INFO] Building Shale Tiles Integration
[INFO]task-segment: [install]
[INFO]  
-- 
---

---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 1 source file to e:\svn\shale\framework\shale-tiles\target 
\classes
[INFO]  
-- 
--

[ERROR] BUILD FAILURE
[INFO]  
-- 
--

[INFO] Compilation failure

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[35,24] cannot find symbol
symbol  : class ComponentDefinition
location: package org.apache.tiles

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[36,24] cannot find symbol
symbol  : class DefinitionsFactoryException
location: package org.apache.tiles

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[37,24] cannot find symbol
symbol  : class NoSuchDefinitionException
location: package org.apache.tiles

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[38,24] cannot find symbol
symbol  : class TilesRequestContext
location: package org.apache.tiles

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[39,24] cannot find symbol
symbol  : class TilesUtil
location: package org.apache.tiles

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[253,11] cannot find symbol
symbol  : class ComponentDefinition
location: class org.apache.shale.tiles.TilesViewHandler

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[302,31] cannot find symbol
symbol  : class ComponentDefinition
location: class org.apache.shale.tiles.TilesViewHandler

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[130,6] cannot find symbol
symbol  : class ComponentDefinition
location: class org.apache.shale.tiles.TilesViewHandler

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[262,6] cannot find symbol
symbol  : class ComponentDefinition
location: class org.apache.shale.tiles.TilesViewHandler

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[264,8] cannot find symbol
symbol  : class TilesRequestContext
location: class org.apache.shale.tiles.TilesViewHandler

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[265,12] cannot find symbol
symbol  : method createRequestContext 
(java.lang.Object,java.lang.Object,java.lan

g.Object)
location: class org.apache.tiles.context.BasicTilesContextFactory

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[267,15] cannot find symbol
symbol  : variable TilesUtil
location: class org.apache.shale.tiles.TilesViewHandler

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[268,15] cannot find symbol
symbol  : class NoSuchDefinitionException
location: class org.apache.shale.tiles.TilesViewHandler

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[270,15] cannot find symbol
symbol  : class DefinitionsFactoryException
location: class org.apache.shale.tiles.TilesViewHandler

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[307,6] cannot find symbol
symbol  : class TilesRequestContext
location: class org.apache.shale.tiles.TilesViewHandler

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie

wHandler.java:[308,10] cannot find symbol
symbol  : method createRequestContext 
(java.lang.Object,java.lang.Object,java.lan

g.Object)
location: class org.apache.tiles.context.BasicTilesContextFactory

e:\svn\shale\framework\shale-tiles\src\main\java\org\apache\shale 
\tiles\TilesVie
wHandler.java:[312,23] org.apache.tiles.ComponentContext is  
abstract; cannot be

instantiated




Update TilesViewHandler to support new Tiles 2 Snapshot

Re: [jira] Reopened: (SHALE-321) Update TilesViewHandler to support new Tiles 2 Snapshot

2006-11-06 Thread Wendy Smoak

On 11/6/06, Greg Reddin [EMAIL PROTECTED] wrote:

Yeah, I suspect this ticket will reopen and close many times before
it's done.  We haven't cut a new Snapshot of Tiles yet, so that's why
I haven't kept the Shale-Tiles integration in sync with it.  I'm
waiting for the latest round of major changes to be complete before I
tackle it.  It still builds against the latest published snapshot,
right?


Well, no, since I just published a snapshot. :)  IMO, the snapshot
repo should always have the latest-- Continuum ought to be publishing
a new one every time code is checked in, or at least nightly.

On [EMAIL PROTECTED], we've talked about switching to timestamped snapshots,
so that other projects could depend on a particular Tiles snapshot,
and not necessarily the latest.

--
Wendy


Need help with a custom validation example

2006-11-06 Thread Wendy Smoak

I need help figuring out why I get a NPE if I enter an odd number in
the Priority field.  (This is a new section on the Commons Validation
Integration page of the use cases example app.)

See:  http://issues.apache.org/struts/browse/SHALE-325 and
http://svn.apache.org/viewvc?view=revrev=471907

I'm following the instructions on the wiki, which may be out of date.
I know this used to work...

http://wiki.apache.org/shale/ShaleValidation

Thanks!
--
Wendy


Re: Need help with a custom validation example

2006-11-06 Thread Craig McClanahan

On 11/6/06, Wendy Smoak [EMAIL PROTECTED] wrote:


I need help figuring out why I get a NPE if I enter an odd number in
the Priority field.  (This is a new section on the Commons Validation
Integration page of the use cases example app.)

See:  http://issues.apache.org/struts/browse/SHALE-325 and
http://svn.apache.org/viewvc?view=revrev=471907

I'm following the instructions on the wiki, which may be out of date.
I know this used to work...

http://wiki.apache.org/shale/ShaleValidation



Haven't looked at the code yet, but the fact that the NPE is happening
inside MessageFormat implies maybe a message parameter is not being
specified in your validator configuration rules?

Thanks!

--
Wendy




Craig