Questions tagged [creation]

Do not use. Too vague to be of any possible significance.

Do not use. Too vague to be of any possible significance. Tag should be removed.

481 questions
4
votes
1 answer

XSL Loop inside a template

I am trying to create a loop inside a template. I found 2 methods, but both of them did not work: Method 1: 1
www
  • 586
  • 1
  • 14
  • 29
4
votes
2 answers

jQuery plugin creation and public facing methods

I have created a plugin to convert an HTML select box into a custom drop down using DIV's. All works well, but i'd like to make it a little better. see my jsFiddle At the end of the plugin I have 2 methods, slideDownOptions & slideUpOptions, I would…
sygad1
  • 1,392
  • 3
  • 12
  • 19
4
votes
1 answer

Rename a file in unix to include $ sign (ie a java class file)

I have a java class file that is causing problems because of the length of the name: GroundTransportationProductType$GroundTransportationOptions$GroundTransportationProductOption$GroundTransportationOptionProviderLinks$ProviderLinks.class I have…
km2000
  • 305
  • 2
  • 10
3
votes
2 answers

Magento - default values at productcreation

kan anyone tell me if/how its possible to predefine some default values when creating a product. Like: default taxclass, product is "visible" and "in stock". I hope someone can help me. Ik have magento 1.6.2 CE
Ronny
  • 531
  • 14
  • 36
3
votes
1 answer

Create div with script tag inside with jquery

I have content that I load dynamicaly with jquery. The content is HTML with a script tag in it. So I have something like this. var content = '
mydiv
'; I want to…
Chris
  • 1,610
  • 3
  • 18
  • 37
3
votes
1 answer

Constraint component parent on creation

I want to be able to limit where a component is created. Like for instance, TMyChild could be a TButton, and TMyParent could be a TPanel, and when I drop MyChild onto some other component I want MyChild to check if it is being created in a…
xaid
  • 740
  • 6
  • 18
3
votes
2 answers

Dynamic two or more levels sub-menu generation in vb6

Friends, Tell me how to generate more than 1 levels of sub-menu in VB6 at runtime? Explain in brief? Any specific controls are there? But i dont want to use external controls!
Srinivasan MK
  • 801
  • 2
  • 10
  • 20
3
votes
3 answers

R name column when creating data frame

I'm taking the columns from a data frame and using them to create another data frame, but the names keep getting jumbled instead of keeping the original name. How do I avoid this? > newDigit1 <- data.frame((security_id = rsPred1$security_id)) >…
screechOwl
  • 27,310
  • 61
  • 158
  • 267
3
votes
3 answers

How to create nested DIVs with jQuery?

i have this jquery script: $('#add').click(function(){ $('
') .text( num++ ) .appendTo( document.body ) .css({ top: $( window ).height() - 500 , left:$(…
Patrioticcow
  • 26,422
  • 75
  • 217
  • 337
3
votes
2 answers

Bulk account creation from text file

I have the following script, it reads from users.txt the first and second fields and uses them to generate the username and password and creates the accounts for each line. the problem is that the script is only creating accounts for the first 2…
anon
3
votes
2 answers

Create a user profile upon registration add profile form fields to devise registrations#new form

I have a rails 3.1 app with devise: User has_one profile Profile belongs_to user Overruled the devise registration_controller Custom registration views all working fine, registration works fine Now I could like to add this: On the registration…
Rubytastic
  • 15,001
  • 18
  • 87
  • 175
3
votes
4 answers

Java: Convert a collection of classA to collection of classB

Given a List of Foo myFoos, I need to map those to a collection of a different class, say Bar. I do it like this now: List myBars = new... for(Foo f : foos) { Bar b = new Bar(); b.setAProperty(f.getProperty); …
llappall
  • 2,852
  • 3
  • 23
  • 26
3
votes
3 answers

Is there a way I can create a variable number of arrays using a loop in java?

I am wondering if there is a way to create arrays in java based on a variable amount. So if I needed to create 10 arrays a loop would make 10(all named sequentially). But if I did not need 10 arrays the loop would create and many as needed. I am…
Andrew
  • 45
  • 2
  • 5
3
votes
5 answers

When returning an object, why put the creation+initialization and the return as two seperate statements instead of one?

Example: Foo make_foo(int a1, int a2){ Foo f(a1,a2); return f; } Having seen such functions several times, is it just a matter of coding style / preference or is there more to it than meets the eye? Specifically this answer got me thinking with…
Xeo
  • 129,499
  • 52
  • 291
  • 397
3
votes
2 answers

Easiest way to create a custom linux distribution

Can someone guide me how I can create a custom linux system in the easiest way? I would like to add programs and libraries of my choice on top of a base platform and offer it for free for download.
Jumbo
  • 533
  • 3
  • 8
  • 15