You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "tm_jee (JIRA)" <ji...@apache.org> on 2006/05/02 05:48:20 UTC

[jira] Created: (WW-1304) ajax capabilities with css_xhtml theme

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
     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


[jira] Assigned: (WW-1304) ajax capabilities with css_xhtml theme

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1304?page=all ]

tm_jee reassigned WW-1304:
--------------------------

    Assign To: tm_jee

> 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


[jira] Commented: (WW-1304) ajax capabilities with css_xhtml theme

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Commented: (WW-1304) ajax capabilities with css_xhtml theme

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/WW-1304?page=comments#action_37408 ] 

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

fixed.

changes are at :-

Sending        src/main/java/org/apache/struts/action2/components/template/FreemarkerTemplateEngine.java
Sending        src/main/java/org/apache/struts/action2/views/freemarker/FreemarkerResult.java
Sending        src/main/resources/template/ajax/controlheader.ftl
Sending        src/main/resources/template/ajax/form.ftl
Sending        src/main/resources/template/ajax/head.ftl
Sending        src/main/resources/template/ajax/submit-ajax.ftl
Sending        src/main/resources/template/ajax/submit.ftl
Sending        src/main/resources/template/ajax/textarea.ftl
Sending        src/main/resources/template/ajax/theme.properties
Sending        src/main/resources/template/css_xhtml/checkboxlist.ftl
Sending        src/main/resources/template/css_xhtml/combobox.ftl
Adding         src/main/resources/template/css_xhtml/control-close.ftl
Adding         src/main/resources/template/css_xhtml/control.ftl
Adding         src/main/resources/template/css_xhtml/controlheader-core.ftl
Sending        src/main/resources/template/css_xhtml/controlheader.ftl
Sending        src/main/resources/template/css_xhtml/datepicker.ftl
Sending        src/main/resources/template/css_xhtml/doubleselect.ftl
Sending        src/main/resources/template/css_xhtml/file.ftl
Sending        src/main/resources/template/css_xhtml/form-close.ftl
Sending        src/main/resources/template/css_xhtml/form.ftl
Sending        src/main/resources/template/css_xhtml/label.ftl
Sending        src/main/resources/template/css_xhtml/optiontransferselect.ftl
Sending        src/main/resources/template/css_xhtml/password.ftl
Sending        src/main/resources/template/css_xhtml/radiomap.ftl
Sending        src/main/resources/template/css_xhtml/richtexteditor.ftl
Sending        src/main/resources/template/css_xhtml/select.ftl
Sending        src/main/resources/template/css_xhtml/text.ftl
Sending        src/main/resources/template/css_xhtml/textarea.ftl
Sending        src/main/resources/template/css_xhtml/updownselect.ftl
Adding         src/main/resources/template/xhtml/control-close.ftl
Adding         src/main/resources/template/xhtml/control.ftl
Sending        src/main/resources/template/xhtml/form-close.ftl
Sending        src/main/resources/template/xhtml/form.ftl

> 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


[jira] Resolved: (WW-1304) ajax capabilities with css_xhtml theme

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1304?page=all ]
     
tm_jee resolved WW-1304:
------------------------

    Resolution: Fixed

> 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


[jira] Commented: (WW-1304) ajax capabilities with css_xhtml theme

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/WW-1304?page=comments#action_37408 ] 

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

fixed.

changes are at :-

Sending        src/main/java/org/apache/struts/action2/components/template/FreemarkerTemplateEngine.java
Sending        src/main/java/org/apache/struts/action2/views/freemarker/FreemarkerResult.java
Sending        src/main/resources/template/ajax/controlheader.ftl
Sending        src/main/resources/template/ajax/form.ftl
Sending        src/main/resources/template/ajax/head.ftl
Sending        src/main/resources/template/ajax/submit-ajax.ftl
Sending        src/main/resources/template/ajax/submit.ftl
Sending        src/main/resources/template/ajax/textarea.ftl
Sending        src/main/resources/template/ajax/theme.properties
Sending        src/main/resources/template/css_xhtml/checkboxlist.ftl
Sending        src/main/resources/template/css_xhtml/combobox.ftl
Adding         src/main/resources/template/css_xhtml/control-close.ftl
Adding         src/main/resources/template/css_xhtml/control.ftl
Adding         src/main/resources/template/css_xhtml/controlheader-core.ftl
Sending        src/main/resources/template/css_xhtml/controlheader.ftl
Sending        src/main/resources/template/css_xhtml/datepicker.ftl
Sending        src/main/resources/template/css_xhtml/doubleselect.ftl
Sending        src/main/resources/template/css_xhtml/file.ftl
Sending        src/main/resources/template/css_xhtml/form-close.ftl
Sending        src/main/resources/template/css_xhtml/form.ftl
Sending        src/main/resources/template/css_xhtml/label.ftl
Sending        src/main/resources/template/css_xhtml/optiontransferselect.ftl
Sending        src/main/resources/template/css_xhtml/password.ftl
Sending        src/main/resources/template/css_xhtml/radiomap.ftl
Sending        src/main/resources/template/css_xhtml/richtexteditor.ftl
Sending        src/main/resources/template/css_xhtml/select.ftl
Sending        src/main/resources/template/css_xhtml/text.ftl
Sending        src/main/resources/template/css_xhtml/textarea.ftl
Sending        src/main/resources/template/css_xhtml/updownselect.ftl
Adding         src/main/resources/template/xhtml/control-close.ftl
Adding         src/main/resources/template/xhtml/control.ftl
Sending        src/main/resources/template/xhtml/form-close.ftl
Sending        src/main/resources/template/xhtml/form.ftl

> 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


[jira] Commented: (WW-1304) ajax capabilities with css_xhtml theme

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Assigned: (WW-1304) ajax capabilities with css_xhtml theme

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1304?page=all ]

tm_jee reassigned WW-1304:
--------------------------

    Assign To: tm_jee

> 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


[jira] Resolved: (WW-1304) ajax capabilities with css_xhtml theme

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1304?page=all ]
     
tm_jee resolved WW-1304:
------------------------

    Resolution: Fixed

> 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