$(document).ready(function(){
$("a[href*='http://']:not([href*='"+location.hostname+"'])").attr("target","_blank");
$("a[target!='_blank'][target!='_top']").live('click', function(){
$("#actualcontent").html('<center><img src="/deltasite/uploads/smallloader.gif"></center>');
var url=$(this).attr("href")+'?jquery=1';
$("#actualconten...
I've just downloaded the dynamic object framework Clay and am running into issues regarding castle project versions. Clay uses functionality from v2.0 of "castle" whilst I have a project which has been started referencing v2.5. Needless to say just to make matters more interesting I'm a complete beginner in all things "Castle" and IoC.
...
Say I have a file Foo.php:
<?php
interface ICommand
{
function doSomething();
}
class Foo implements ICommand
{
public function doSomething()
{
return "I'm Foo output";
}
}
?>
If I want to create a class of type Foo I could use:
require_once("path/to/Foo.php") ;
$bar = new Foo();
But say that I've create...
Hi,
Im trying to have a searchbox on the top of my list view. But I want this searchbox to disapear sometimes and the listview to resize to regain space. Is there a way I can do that without reloading another and different layout ???
is there a way to add and remove a component from the current view ?I have been playing with setvisibil...
Student Table
UserId
Name
Surname
Results Table
ID
UserId
Year
Symbol
Student has many results. There is a one-to-many relationship on the UserId fields.
I am using Dynamic data for my admin section. When I go to the list page for students in dynamic data, I want to be able to click on a Student and then view that Student's resul...
hi i'm developing a site you can check it from here: www.wikima4.com
and i want to have the multilingual integrate in the site. there is already a link at the upper right corner, for English, German and French.
My problem is if I click this one, the 3rd column is not changing it seems it is static. Any idea how can i have it change as...
I would like to be able to access the value of an object property to any depth having only the string-key of the property. Also, if possible, using collection indexing on List properties.
So, If I have the string "Person.Surname" then I could get the value "Smith" from and instanciated CaseConductor object. So given some setup code like...
I'd like to implement a method which allows me to access a property of an unknown/anonymous object (-graph) in a late-bound / dynamic way (I don't even know how to correctly call it).
Here's an example of what I'd like to achieve:
// setup an anonymous object
var a = new { B = new { C = new { I = 33 } } };
// now get the value of a.B....
I'm using a wizard control, step 1 has a list box with a list box containing entries 1-10. Step 2 then dynamically build and displays 1 list box per entry. Each list box in step 2 contains 5 entries each. I have one more step that needs to read the list boxes from step 2 and get their values to display 3 radio buttons per choosen entry f...
I'm trying to get this to work, but it doesn't:
var i;
i.test = function() {
alert("hello");
}
i.test();
I expect the code to alert 'hello', but instead, the Firefox error console shows:
missing } in XML expression
alert("hello");
---------------^
How do I fix this...
...
I'm working on an AIR application which generates a dynamic client presentation, pulling all necessary data from a PHP framework API. In the process, I download a large number of images and store them locally in the user's app-storage (air.File.applicationStorageDirectory).
Side note: the HTML view I am dynamically populating is locat...
Is it possible to overload how a type resolves properties when cast to dynamic?
Basically what I am trying to do is something like ExpandoObject where you can access new properties on the fly, but instead of those properties being whatever gets assigned to them, I want them all to be collections of strings, and when you access one, it c...
I have a dynamic ASP.NET form which I recreate evertime I postback. My values persist no problem.
I am however having a challenge maintaining attributes on Postback. For example, I have user defined code which may enable or disable a field when someone is first presented with the form. If a user posts the form I need an easy way to...
This is the dynamic example jsFiddle dynamic DEMO CLICK ME
and This is static example jsFiddle static DEMO CLICK ME
When I load markup dynamically into div it is not working in IE7.
But if it is a static it works fine.
Yesterday I was unable to s...
I would like to construct a dynamic Subsonic 3 query using code to get a collection of a type. The SQL would like this:
select * from @tableName where @columnName1 = @columnValue1
The subsonic query would look like this:
List<object> = new DB.Select.From<getTypeClass(tableName)>.Where(columnName1).IsEqualTo(columnValue1).ExecuteTypeL...
I've seen a couple examples out there that could possibly help me, but I don't have that much time to explore them as I just found out today that my bosses have to demo this a week earlier than planned, and I want to add this new functionality. I'll try and keep this short and sweet.
Ok, this is like my 10th time trying to right this t...
I'm having an issue with this script and for the life of me I can't figure out what's wrong with it. Quick run through what I have:
The HTML:
<ul>
<li id="wildcard_1">
<div>
<a href="#">test</a>
</div>
</li>
</ul>
<a href="#" class="reset">reset</a>
The jQuery:
// Main function
$("[id^=wildcard_]"...
In current project I need to create a panel that will contain an HTML content created by the user elsewhere in the application. This content can be easily inserted like this:
<h:outputText value="#{myBean.dynamicHTMLContent}" escape="false"/>
An example content:
<p>User text</p>
Now we need to give the user more freedom and allow h...
Hi there,
I want to create a dynamic menu that will get it's items from a certain node type. I thought I could do this by creating a view of the titles and putting it in a block. However, when someone clicks on one of these titles I want to highlight it, and so want a way of adding an active class to the link. I know Drupal does this au...
I have a flash form with different components (input, checkbox, dropdownlist etc.).
Some values of the components should be dynamic depending on user input. E.g. user can select 1 of 5 categories in a dropdownlist. Depending on his selection the sencond dropdownlist should have other values.
What is the easiest way to do that with act...