Tiles and resource bundle support for struts
--------------------------------------------

         Key: XDP-73
         URL: http://jira.codehaus.org/browse/XDP-73
     Project: XDoclet 2 Plugins
        Type: New Feature
    Reporter: Eduardo Franceschi
    Priority: Minor
 Attachments: struts.patch.zip

ApplicationResources.properties: Create a property file (like
externalizer, but generates a single one). I've based this plugin as
possible as I can in externalizer plugin and  I've used (copied) some
code of externalizer plugin as they are very similar.

Example

/**
* @struts.msg key="variant_message"
*   msg="Standartmeldung, deutsche Sprache, Deustschland, Hessen"
*   lang="de" country="DE" variant="he"
*/

produces ApplicationResources_de_DE_he.properties with the content:
variant_message=Standartmeldung, deutsche Sprache, Deustschland, Hessen

TILES: Generate tiles-defs.xml for tiles.

Example

/**
* @struts.tiles name="mytile" path="/mytile.jsp"
* @struts.tiles-put name="prop1" value="value1"
* @struts.tiles-put name="prop2" value="value2"
*/

produces:

<tiles-definitions>
 <definition name="mytile" path="/mytile.jsp">
   <put name="prop1" value="value1" />
   <put name="prop2" value="value2" />
 </definition>
</tiles-definitions>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to