Questions tagged [addattribute]

38 questions
0
votes
1 answer

Magento - how to get more values from addAttributeToFilter?

Hello I hope someone can help me figure out what to do! I need to get several results from magento. The following code works: private $_orderstatusToFilter = array("processing", "done"); ->addAttributeToFilter('status',array('eq' =>…
Myron
  • 120
  • 6
0
votes
2 answers

Load XML File in PHP and add Child if not exists

i want to load XML data into my php file with address data. Each address should also have coordinates - if not they should be added. So i am doing the following: $xmlDatei = "AddressData.xml"; $xml = simplexml_load_file($xmlDatei); …
Tim Döring
  • 41
  • 1
  • 8
0
votes
1 answer

Adding multiple StyleConstants to an AttributeSet

I have a string of text: "This is a || mountain to || on." I want || and || to appear red, italic, FontSize 9. I've set individual AttributeSets StyleContext myProtected = StyleContext.getDefaultStyleContext(); AttributeSet…
0
votes
1 answer

wso2 governance registry 4.6 add attibute to a table with maxoccurs via api

I created a table with maxoccurs="unbounded" to set the operations of a service. The table has a input-text and a textarea. Operation
0
votes
1 answer

Adding attributes to certificate request, java + bouncycastle 1.48

I'm currently working on creating attribute certificate requests using bouncycastle 1.48. Since there were some changes in API (and I'm beginner in this matter) I am unnable to add attributes to created request My current code is …
user2354654
  • 1
  • 1
  • 2
0
votes
1 answer

Creating XML File using simplexml_load_string, addChild, and addAttribute

This is what I have so far: This is the output I am receiving: http://i.imgur.com/mGRAJPe.gif It seems all of the subfield nodes are becoming a child of the 1st datafield element, instead of being nested in their respective datafield parent. Any…
rtd1123
  • 482
  • 2
  • 7
0
votes
2 answers

Add attribute based on image dimensions

I'm working for a client who's using a third-party platform which only allows me to override CSS and partially edit the HTML templates. I can also make changes by adding Javascript, and in this instance I need to append classes and IDs based on the…
-1
votes
3 answers

xcode iOS NSMutableAttributedString add attribute more than one time

I want to show the english date styled. I made the following code to get the characters to "redesign": - (NSMutableAttributedString *)attributedInfoString:(NSString *)string; { NSMutableAttributedString *attString =…
Christian
  • 506
  • 4
  • 14
1 2
3