It is usable with any version of 2.0. The JAXB stuff is to parse out XML
files from the classpath called component.xml. These files allow
SmartURLs to handle actions and results (usually FreeMarker or Velocity)
bundled inside JARs in WEB-INF/lib. The XML looks like:
<component name="foo">
<action_package>com.example.component.news.action</action_package>
<base_result_location>/WEB-INF/component/news/content</base_result_location>
</component>
I should be pretty simple to migrate from JAXB to SAX or DOM. Other than
that, everything is working fine, just still haven't had time to
document it well and get it out into the community.
-bp
Vinny wrote:
What's the status on this? Is your plugin usable with struts 2.0.9?
Just out of curiosity , what was JAXB being used for in the plugin?
On 6/8/07, Brian Pontarelli <[EMAIL PROTECTED]> wrote:
I might not have moved the tests over yet. I am slowly getting enough
time to start working on documenting all this stuff. I'll probably have
a good first draft up on the Plugin Registry wiki next week.
The key to the components are component.xml files that are all loaded in
like the struts-plugin.xml files. These files setup the action packages
and result locations (JSP directories) for the components. That way you
can bundle up actions into JARs and ship them around. Works pretty well.
Anyways, I'll work on getting the docs written and then we can work more
on moving it into core. Probably first step is for me to undo JAXB2....
-bp
Musachy Barroso wrote:
This is cool, and I think it would be perfect to bring it into core,
+1 for
it. Is there any documentation around for the components? The tests
for them
seem to be empty.
regards
musachy
On 6/6/07, Brian Pontarelli <[EMAIL PROTECTED]> wrote:
Ted Husted wrote:
On 5/30/07, Ted Husted <[EMAIL PROTECTED]> wrote:
At this point, we have three Confluence spaces going
... and the S2 Documentation wiki (WW) is the only one that requires
a
CLA on file.
I put up the SmartURLs plugin on the plugin registry and I'm hoping to
get the documentation started soon. The latest working version is in
SubVersion over at google code (http://code.google.com/p/smarturls-s2)
and the JavaDoc is available over there as well. If anyone has
comments,
feedback, bugs, enhancements, let me know. And if we still want to move
this sucker into core, I'm down with that.
-bp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]