Take a look in the source, I believe there are examples on how the theme
templates are tested.
/Ian
Mark P Ashworth wrote:
Good Day,
I am busy in the process of developing a theme that uses the css_xhtml theme
as the base and currently the process is
1. Make a change to the template
2. Deploy and run the application
3. Determine in the HTML why something does not look right
It would be cool if I could make a change and run a test case that shows the
output. This would help with some of the testing but of course I would still
need to run the theme in the application to determine if the theme rendered
correctly but I could cut out some of the testing iterations.
I guess another point is that a person only creates the theme once. Just
wondered how the Struts 2 developers were doing it.
Regards,
Mark P Ashworth
Laurie Harper wrote:
Mark P Ashworth wrote:
Is there a way to test how a tag like <form><textfield
/></form> will be processed by a custom theme. I would like to
get
all of the theme processing done during development instead of
integration
time with the actual pages.
What do you want to test, exactly? If you have a custom theme, then you
have defined how the tags will be processed (rendered). Are you looking
for an automated testing strategy for verifying your custom theme works
as intended, or something else?
L.
---------------------------------------------------------------------
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]