Hi,
I'm developing a windows application that updates item properties.
what should i have to do if a document library have a lookup field or a people editor?
what is the control to use?
Hello,
I've a form where you're able to add more input fields with jQuery.
<input type="text" id="task" name="task[]" />
I get an array when i print it with php after submitting the form.
I want to handle this with the $.ajax() but i've no idea how i can turn up my <input type="text" id="task" name="task[]" /> in an array in…
Hi Everyone,
Following on from a previous question:
I have created a config.yml file which is used to generate the content for the following:
<%= configatron.site_name %
So now, anywhere I have the above code snippet, will display the following:
development: &local
site_name: Survey Manager
site_url: localhost:3000
What I am…
Hello
I have a such model:
GENDER_CHOICES = ( ('M', 'Male'), ('F', 'Female') )
class Profile(models.Model):
user = models.ForeignKey(User)
gender = models.CharField(max_length=1, choices=GENDER_CHOICES)
class FrontPage(models.Model):
female = models.ForeignKey(User,related_name="female")
male =…
The data provider (ArrayCollection) for my data grid consists of objects with ByteArray (int) fields. How do I make the data field display as int without transforming my data provider?
I've wrote a PHP script to export a Foxpro database to other formats by using ADODB (http://phplens.com/lens/adodb) library to access Foxpro OLE DB provider.
Everything worked fine except the date fields are mangled and become like these:
11/17-/2-00
3/4/-20-08
By comparing to actual data I can guess that it…
I've always used ajax to load() the contents of a DOM element but now I'm trying set a form field value with the result of the following query:
$('#form_field').load(base_url+'ajax/get_yearly_fee', {
'q_value': $(this).val(),
'client_id': $("#fee_client_add").val()
});
What's the best way to do this?
How do we enforce cross field validation with hibernate validator 3.1.0.GA
create table user (id, start_date, end_date, ...)
e.g. college graduation finishing date for a student should be greater than the graduation start date
How do we enforce this, so that the validation messages can be shown in the UI on…
I have an entity context that includes three tables (see diagram here). The first is a table that contain products, the second contains recipes. The joining table has fields for IDs in both the products and recipes table as well as a 'bit' field called 'featured'.
I've searched and found no example on how to…
I read different documents how CRF(conditional random field) works but all the papers puts the formula only. Is there any one who can send me a paper that describes about CRF with examples like if we have a sentence
"Mr.Smith was born in New York. He has been working for the last 20 years in Microsoft…
Hi, Is there a way to get lookup value for a field in RDLC ( local ).
I have a categoryID in Products, and i want to get and display category name from Category dataset (ID, Name).
I know i can make join in original query, but is there any built in functionality for this common scenario ? (like in…
Hello all,
Just trying out Postgresql for the first time, coming from MySQL. In our Rails application we have a couple of locations with SQL like so:
SELECT * FROM `currency_codes` ORDER BY FIELD(code, 'GBP', 'EUR', 'BBD', 'AUD', 'CAD', 'USD') DESC, name ASC
It didn't take long to discover…
I have this Model:
class Occurrence(models.Model):
id = models.AutoField(primary_key=True, null=True)
reference = models.IntegerField(null=True, editable=False)
def save(self):
self.collection = self.id
super(Occurrence, self).save()
I want for the reference field…
I have a table a with a list of id's, and a user-defined function foo(id) that takes the id and returns a VARCHAR(20).
What I am trying to do is:
SELECT
id,
foo(id) AS 'text field'
FROM a
However, instead of calling the function for each ID number, like I desired, the text comes back the…
HI All,
I know this is bit strange question, but please suggest.
I want to create a link on website url content in input type"text" field not any other html tag,Is it possible and if yes how.
Regards & Thanks
Amit
Sorry for the unclear title, an example will clear things up:
TABLE: Scenario_victories
ID scenid timestamp userid side playdate
1 RtBr001 2010-03-15 17:13:36 7 1 2010-03-10
2 RtBr001 2010-03-15 17:13:36 7 1 2010-03-10
3 RtBr001 2010-03-15…
I have an addresses table with ZIP code field which has type VARCHAR.
I need to select all addresses form this table using ZIP codes range.
If I used next code:
select * from address where cast(zip as bigint) between 90210 and 90220
I get an error on fields where ZIP code cann't be…
Hi,
I want to programatically create new "Custom Field into Google Contact using Google Contact API (c#).
I used:
ExtendedProperty obj_ExtendedProperty = new ExtendedProperty();
obj_ExtendedProperty.Name = "Department";
obj_ExtendedProperty.Value =…
I'm getting an invalid assignment left hand side.
What I'm trying to do is, to use jscolor http://jscolor.com to define the color of polygons im drawing via Mapbender http://mapbender.org.
What I do: Select a polygon by clicking on it, then open the options dialog (seperate…
I am using Struts2 and a bunch of Validation with Annotations. How do I add a global error message as well on top of field validation errors. Thanks, Fedor
i have created an application that contains a list field(custom)
i want if a certain condition is satisfied then rowheight should be 100 else it should be 50
how can i do that
i tried setRowHeight(index,size);
but it dnt worked.Moreover its undocumented toooooooooo..
any…
I'm trying to integrate Haystack with Solr. When I try to build the index, I get an error
"Unknown field django_id" from SOLR. What's causing this to happen?
Hi,
it's about Rails and Formtastic.
How can I add a select box with formtastic without an initial/primary blank field? So that the initially selected item is the first item with content.
Thanks!
Yours,
Joern.
Hi,
I'm using INSERT INTO to copy rows of data from one table to another:
INSERT INTO tblNewCustomers (CustomerID, [Last Name], [First Name])
SELECT CustomerID, [Last Name], [First Name]
FROM tblOldCustomers
How can I set one of thefield values in tblNewCustomers for…