I'll try to hit both questions

1) The answer to your first question is easy:

http://svn.apache.org/repos/asf/struts/sandbox/trunk/

2) a) yes, a lot has changed. Tiles2 is a revolution, not an evolution

b) yes, we now require 1.5, though the plan is to provide retro weaver distributions. I can't say I've tried them though

c) TilesContext is now managed by the TilesContainer, and yes, they are both created by configured factories. If you don't specify one in your configuration, defaults will be used.

   d) your changes look good to me

e) if you want to try the most recent versions of the snapshots, they are located in the maven snapshot repo: http://people.apache.org/repo/m2-snapshot-repository/

f) I believe that the log message "INFO: CONFIG FILES DEFINED IN WEB.XML" was removed after the container refactoring was complete, yet you're using the context_factory configuration that was added during that refactoring. . .that would lead me to believe that you're using a snapshot that doesn't necessarily match the binary. Try using the '2.0-r480013-SNAPSHOT' version in the repo.

Let me know how it goes! Thanks for trying out the bleeding edge.


David

Stone, Sam wrote:
I got my entire app working on Websphere 5 (servlet 1.2, jsp 2.3, jdk
1.4.2) using the tiles-core-2.0-SNAPSHOT.jar from 9/14/2006 (filesize:
128880, CRC: 3F46E3BF). I did have to use jstl.jar and standard.jar (not
the 1.1.2 versions) because of this WebSphere environment.

I'd like to either:
A)      find the source code for this exact build
OR
B)      migrate to the latest Tiles 2 snapshot

For option A: can anybody help me pin down this source code?

Option B
-----------
I see a lot has change since Sep 2006. First and foremost is that Tiles
2 is now built on JDK 1.5. I also see that tiles:insert has become
tiles:insertDefinition and that TilesContext now is factory generated.

I am having little luck migrating and getting not much to go on
log-message-wise. This is what I've tried:

1)      changed all my tiles-defs to use tiles-config_2_0.dtd instead of
1.1
2)      changed all my tiles:insert statements to tiles:insertDefinition
3)      added the following to my web.xml:
   <context-param>
        <param-name>org.apache.tiles.CONTEXT_FACTORY</param-name>
        <param-value>
            org.apache.tiles.context.enhanced.EnhancedContextFactory
       </param-value>
         </context-param>
4)      retrotranslated the current tiles-core-2.0-SNAPSHOT.jar and
tiles-api-2.0-SNAPSHOT.jar and put these into my web-inf/lib directory
and removed the old jar.
5)      Retrotranslated and tossed in the current xml-apis-1.0.b2.jar as
well

None of my pages come up and I get no messages. All I see in the log is
messages to the effect that initDefinitionsFactory has started (I
think).
INFO: CONFIG FILES DEFINED IN WEB.XML
INFO: initializing definitions factory...

When I purposely mess up a definition I get a message directing me to
the problem so I think this is working.

What steps have I missed? If the taglib included in the current jar
going to work for me?

Any advice is appreciated.

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



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

Reply via email to