[ http://issues.apache.org/struts/browse/WW-1304?page=comments#action_37409 
] 

tm_jee commented on WW-1304:
----------------------------

To use css_xhtml theme with ajax capabilities one need to
  1] change xwork.xml, such that SAF knows we are using css_xhtml theme by 
default
        struts.ui.theme=css_xhtml
        struts.ui.templateDir=template
        struts.ui.templateSuffix=ftl
  2] change theme.properties under /<theme dir>/ajax/
        parent=css_xhtml
With this, using theme="ajax" should honour css_xhtml style such that no 
<table> <tr> etc are generated 

To use xhtml with ajax capabilities one need to 
    1] change xwork.xml, such that SAF knows we are using xhtml theme by default
         struts.ui.theme=xhtml
        struts.ui.templateDir=template
        struts.ui.templateSuffix=ftl
    2] change theme.properties under /<theme dir>/ajax/
        parent=xhtml
With this, using theme="ajax" should honour xhtml style such that no <span...> 
<div...> etc. are generated.


   

> ajax capabilities with css_xhtml theme
> --------------------------------------
>
>          Key: WW-1304
>          URL: http://issues.apache.org/struts/browse/WW-1304
>      Project: Struts Action 2
>         Type: Improvement

>   Components: Views
>     Versions: WW 2.2.2
>     Reporter: tm_jee
>     Assignee: tm_jee
>      Fix For: 2.0

>
> using ajax capabilities in css_xhtml theme sould be made as simple as 
> possible by just changing the parent in theme.properties eg. to css_xhtml and 
> everything should just work. Currently there's some issue with ajax 
> validation due to onblur being not generated properly. 
> see http://forums.opensymphony.com/thread.jspa?messageID=56214 for more info.

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

Reply via email to