Top "Attributes" questions

The attributes tag should be used for any issues relating to a property of an object, element, or file, etc.

Meaning for attributes_for in FactoryGirl and Rspec Testing

Looking through a tutorial on controller testing the author gives an example of an rspec test testing a controller action. …

ruby-on-rails ruby-on-rails-3 rspec attributes factory-bot
How to use attrs attribute on Odoo to combine multiple attributes (invisible, readonly or required) into a single one?

In Odoo when you have an xpath you can add "attrs" to a field like required or invisible, when a …

xml attributes field odoo odoo-view
How to use standard attribute android:text in my custom view?

I wrote a custom view that extends RelativeLayout. My view has text, so I want to use the standard android:…

android attributes custom-controls
Getting the attributes of a field using reflection in C#

I wrote a method that extracts fields from an object like this: private static string GetHTMLStatic(ref Object objectX, ref …

c# reflection attributes fieldinfo
Is there any attribute relating to AJAX to be set for ASP.NET MVC controller actions?

I want to use partial views with AJAX calls in ASP.NET MVC, and this is the first time I'm …

asp.net-mvc asp.net-mvc-3 attributes aop
How to get attribute name instead of slug in variation?

I need to get attribute from woocommerce product variation. $terms = get_post_meta($value['variation_id'], 'attribute_pa_color', true); …

php variables attributes woocommerce slug
Magento: list all values of a single attribute

I'm trying to list up all the existing values of a newly created attribute in magento 1.7.0.2. (and make them clickable …

magento attributes mage
Magento - get filterable attributes by category

I have created a custom navigation module specifically for a website, but I really want to be able to list …

attributes magento filter categories
add element with attributes in minidom python

I want to add a child node with attributes to a specific tag. my xml is <deploy> </…

python python-2.7 attributes minidom
List view getListItemXmlAttributes method fails with child publication items

I have created a JS class to populate SG/Folder list view data, when items are modified. (As per Jaime's …

javascript listview methods attributes tridion