Questions tagged [detach]

303 questions
0
votes
1 answer

Wicket - ListView not getting updatet, when new instances are added

Inside my panel I am adding a listView to a table with a detachable Model: Edit: public class TaskDetailsPanel extends Panel { ... public TaskDetailsPanel(String id, CompoundPropertyModel model) { super(id, model); …
David Sonnenfeld
  • 688
  • 5
  • 17
  • 31
0
votes
1 answer

OnDetach/onAttach fragment recreate fragment activity

I want to detach/attach my fragments, but how to set, that fragment not recreate, after I attach. In fragment I have WebView; when I select and unselect tabs, webview load startpage. There is my code: public class MainActivity extends Activity…
Nass
  • 51
  • 3
  • 10
0
votes
2 answers

How to append all detached rows back to their initial place?

I want to detach a row from a table after a button is clicked. However, I cannot manage to append it back to where it was. I ended up with the code below to detach the row that the "delete" button belongs to: $(".removeTR").live('click', function…
otinanai
  • 3,987
  • 3
  • 25
  • 43
0
votes
1 answer

Hibernate: Detach is not cascaded to collection

I am currently doing some testing on using Hibernates detached objects as DTOs. But i have the problem that the detach of the parent bean is not cascaded to the beans contained within a collection of the parent bean (although CascadeType.ALL is…
Werzi2001
  • 2,035
  • 1
  • 18
  • 41
0
votes
1 answer

Should we detach shared memory before termination of a forked process

Suppose we have requested shared memory and attached it to the main process of our program. This program creates several processes. As the manual of shmat says After a fork(2) the child inherits the attached shared memory segments. So we don't…
Chris
  • 3,619
  • 8
  • 44
  • 64
0
votes
1 answer

Detaching an image then appending it back to where it was detached from

My experience level - I am making a custom slider and this is my first experience with jQuery, but I think I have a pretty good handle as to what html,css and jquery do together but, still have my noob-ness going on. My Problem - I have 17 div's…
0
votes
1 answer

webstorage & serialisation of the object returned by the new jquery detach method

I'm developping a small web client application using jquery The App at the first page of session contains only the app menu which trigger ajax requests, display data received in a new tab (within the page) and set event handlers via callbacks. When…
mikakun
  • 2,203
  • 2
  • 16
  • 24
0
votes
1 answer

jQuery: Detach without string selector

I'm trying to detach a DOM element to append it to another DOM element. But jQuery refuses to do anything, silently. Thing is, I can't use a string selector, because I don't know how to select this element. I've stored it in a variable when I first…
ArtPulse
  • 365
  • 4
  • 16
0
votes
1 answer

Using .detach() with multiple ajax elements on a page

I'm loading content from a database into a page with jQuery ajax. I have multiple divs of content, but would only like to view one div at a time. I've managed to successfully detach the elements from the dom, but I can not figure out how to manage…
Yahreen
  • 1,639
  • 7
  • 24
  • 38
-1
votes
2 answers

Problem when put a element in array, using detach and append to another element using jquery click doesn't work

Having a problem , can't explain because not sure what is happening. Just can only simplify the problem in this example What hapening I'm putting the element in a array temporally, then when I put again doesn't have the click event. How to…
Ricardo Rodrigues
  • 2,633
  • 5
  • 29
  • 31
-1
votes
1 answer

simple question about standard c++ multithreading

hi i am newbie learning c++ multithreading this ques may look stupid but just curious why it's happening would be amazing if somebody points out what is going on underhood so, class background_task { public: void operator()() const { …
KIM CHANGJUN
  • 99
  • 11
-1
votes
1 answer

Issue getting correct $(this) element to append to a list

I have an div field that when clicked in, creates a drop down menu. Whenever you click on the drop down option choices, the name will go to the div field #proposal-type. You can keep clicking to add additional option choices. My issue is, when I…
Paul
  • 3,348
  • 5
  • 32
  • 76
-1
votes
1 answer

appending detached div within a funtction

I am trying to re-append some div´s after detaching but it is not working for hours now...i can´t find my mistake... Sitution: There is an input field with a livesearch function ( onkeydown ).. On the function i am querying for some data. lets say…
Phil LA
  • 163
  • 1
  • 2
  • 10
-1
votes
2 answers

Delete inner UL and Li elements with jQuery

I have structured UL/Li like this
Alex
  • 685
  • 3
  • 9
  • 20
-1
votes
1 answer

Exit cleanly from Perl threads

The memory consumption of the following code increases in the course of its execution. What could be going wrong ? Is there something else I need to do to exit cleanly from the thread ? #!/usr/bin/perl -w use strict; my ($i,$URL); my …
Jean
  • 21,665
  • 24
  • 69
  • 119
1 2 3
20
21