Hi,
I have a sample xml as;
<?xml version="1.0" encoding="iso-8859-9"?>
<DropDownControl id="dd1" name="ShowValues" choices="choice1,choice2,choice3,choice4">
</DropDownControl >
I need to create a UI representation of this XML using XSL. I want to fill the drop down list with values specified in choices attribute.
Does anyone have any idea about this ?
Thanks in advance :)
Hi,
I'm using ASP.NET MVC and have a model which has an image (byte array) in one of the fields. I'm trying to output this image into the src attribute of the img tag. I'm looking to do something like '. How can I do this?
I am looking to skip a certain statement in my unit tests eg:
if (MessageBox.Show("Are you sure you want to remove " + contact.CompanyName + " from the contacts?", "Confirm Delete", MessageBoxButton.YesNo, MessageBoxImage.Question, MessageBoxResult.Yes) == MessageBoxResult.Yes)
is there an attribute i can place above the statement to avoid the unit test executing it?
Hey Guys,
I want to round up all images that have a specific attribute and place. My images look like this:
<img src='http...' border=3 class=grid_pic>
And here is my attempt:
$('.grid_pic:has(border=3)').each(function(){alert(1);});
But the alert doesn't shout. If I remove the has:border/has:border=3, it shouts.
Any ideas?
I have a Core Data entity which has a date attribute. I would like to write a predicate to extract all dates within a specific month, e.g. July, irrespective of year. How can this be achieved? Thanks
I have a Core Data entity which has a date attribute. I would like to write a predicate to extract all dates within a specific month, e.g. July, irrespective of year. How can this be achieved? Thanks
I dont think this is possible but maybe someone knows a way to achieve this. I want to attach an event to an html element to listen to attribute change. So say for instance that I want something to happen when a visibility of a div changes. The reason is that I have no control over the javascript that is switching the visibility, hence the need for an event.
Thanks
Hello All,
I am using xsl to generate an o/p in xml. while creating element I have specified following
when o/p is getting created - it is appending a default attribute called xmlns="" with the element... Any idea why ???
o/p--
any value here
Thanks in advance...
While validating this snipit:
<script type="text/javascript" charset="utf-8">
/* <![CDATA[ */
jQuery.post('http://domain.com/dev/wp-admin/admin-ajax.php', {action: 'wpp_update', token: '2e85204387', id: 214});
/* ]]> */
</script>
I am getting the validation error: "Element script is missing required attribute src."
The page has an HTML5 doctype and is encoded as utf-8.
Is it possible to update an EXEs AssemblyInformationalVersion attribute? I'm trying to include additional information in the setup.exe output from an InstallAware project rather than just the standard 4 digit version info.
hi,
I'm using hillelcoren:AutoComplete component (hillelcoren.com/flex-autocomplete) in my Flex application.
It is really cool, however the text attribute doesn't work:
<hillelcoren:AutoComplete id="filterTag" dataProvider="{ dataManager.retrievedTagsList }"
labelField="name" keyUp="filterItems(filterTag.searchText)"
/>
while for the normal TextInput component it works:
<mx:TextInput id="filterTag" width="100%" keyUp="filterItems(filterTag.text)" />
1) I've tried keyUp="Alert.show(filterTag.searchText)" and I can read the text
2) I've tried filterItems(filterTag.text.toString())... still not working
3) the filterItems function works, because it works with a normal TextInput
thanks
Hi,
I want to create a re-usable library. I was going to use extension methods however I run into some issues in some cases for the client to have to specify in the calling method the types.
QUESTION - If I use an abstract base class as the basis, can I specify an attribute/property in the class to be generic (e.g. the key property might be an 'int' in one case, or a 'string' in another)?
We have link to some page (with html code), that page have one img, which attributes title and alt are equal.
Script must open link, grab the src attribute of img which title=alt, and throw the value into some variable.
How to do it?
Thanks.
Hi
Can anyone tell me what exactly the batch debug option in web.config (attribute) does? I can tell it debugs in batches ( 1) but I cannot find anymore background info on this setting.
Thanks
Hello everyone, I am trying to figure out the best way of getting the record and update in to gridview using ado.net entity framework in C#. I need implement Next & Previous button in gridview and based on pagesize i want to navigate records using Next&Back button. Any one give simple example for this context.
i am call a web service which is locate on https protocol.
and i get "failed to load external entity" error while calling it.
as i search on google it is because in PHP5, SOAP class will not parse WSDL file located on a secure HTTPS connection.
what is the solution? i don't want to use http instead of https.
When you try to set the userPassword attribute by using an LDAP Data Interchange Format (LDIF) file, you receive an error message that is similar to the following:
Add error on line 34: Unwilling To Perform
How to reslove this ?
Hi,
My WCF Service when hosted is throwing an error:
WCF Service PayThisException: Required attribute 'binding' not found. (C:\Temp\WCFVirtualDirPath\web.config line 278)
Please help me with some solution.
Cheers,
Ravi Santlani
I am new to using Magento, this is my fist site using it.
I want to display the attribute set for a particular product on the product view page but cannot work out what code I need for this.
I am trying to get the Django Shell working with the Google App Engine. Unfortunately, I am getting the following error:
AttributeError: type object 'RegistrationTestModel' has no attribute '_deferred'
Does anyone have any idea of how to fix this?
I know there is some syntax with ? to optionally render attribute.
But I can't find it now that I need it ...
Something like:
< input checked=<%? model.IsActivated % > ...
Thanks.
Hi,
I'm trying to persist an object into the database using Cayenne Entity Manager. And unfortunately I get the following error:
org.apache.cayenne.CayenneRuntimeException: [v.3.0 Apr 26 2010 09:59:17] Commit Exception
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'myDatabase.auto_pk_support' doesn't exist
Any idea how i could solve this issue? Thanks.
I have a Flex/Actionscript 3 application that displays RSS feeds in a Text element. It strips out any HTML formatting present, but it's not handling HTML special entity codes properly -- it's rendering &mdash as the literal string instead of replacing it with an em-dash, etc. Is there any systematic way I can make it handle those codes properly, or am I going to need to manually replace those strings regex style?