By Date: <-- -->
By Thread: <-- -->

[Bug 5415] New: <xar /> tags do not allow overidding the class property



Please do not reply directly to this message. All additional comments should
be made in the comments box of this bug report.

http://bugs.xaraya.com/show_bug.cgi?id=5415

           Summary: <xar /> tags do not allow overidding the class property
           Product: App - Core
           Version: Weekly Tarball
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: feature_request
          Priority: P3 - Standard
         Component: DynamicData
        AssignedTo: mikespub (at) xaraya.com
        ReportedBy: fcd (at) mac.com


Xaraya Version:    1.0 monotone branch ed951db827a373bb1f8a17936a20022878657ef5
PHP version:       5.0.4
WebServer:         apache 2.0.54

It would seem most of the <xar:data /> tags do not allow overriding the class used in the template.  
Even looking at some of the templates this was the desired functionality, and in general makes template 
writing much easier.  I have fixes that appear to work for some, and will add additional fixes as I come 
across additional problems.  While I have filed this bug as DD, it exists in the base module as well (for 
the base module's property types).

First for showinput of the TextBox property in /modules/base/xarproperties/
Dynamic_TextBox_Property.php add after line 102:
        if (!empty($class)) {
            $data['class']    = $class;
        }
The template for showinput of this tag already supports this.

Similarly for the <xar:data-label /> tag.  Tried to fix this in a similar chance to the properites class and 
a template change, haven't been able to get that to work yet...


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Xaraya_bugs mailing list
Xaraya_bugs (at) xaraya.com
http://xaraya.com/mailman/listinfo/xaraya_bugs