A process of keeping a particular fragment from entity while replacing the rest of it.
Questions tagged [preserve]
136 questions
0
votes
1 answer
httpd/mod_auth_form preserve & redirect with incoming uri after authentication
I am blocked with this issue:
Dealing with: Apache httpd, Tomcat, mod_auth_form and mod_jk.
issue:
currently using mod_auth_form to load login page in apache httpd for authentication. so on redirecting to login page, the incoming uri is lost.…

Satheesh K
- 132
- 2
- 16
0
votes
1 answer
Wicket: How can I rerender the current form without losing existing input?
I have a form with a combobox/drop down to select the user language. If the user changes the language, I'd like to update all the labels but leave the input elements alone.
In jQuery, I'd request a list of label IDs and the new texts via JSON and…

Aaron Digulla
- 321,842
- 108
- 597
- 820
0
votes
0 answers
With Javascript, how to replace words or senteces in textarea without broken layout and paragraph(structure of article)?
I want to create a program which fixes spell error, sentence structure error.
The problem is, when I execute this code, the article which was inserted into text area..lose its own paragraph structure with its original lay out. Yes, it is broken.…

newhistory
- 11
- 2
0
votes
2 answers
C# Windows Forms - Preserving data in dynamically created objects
I'm currently working on a windows form application in C# and was wondering how to preserve data between executions? My application starts with a blank form that has a button that dynamically creates user controls, each one just containing a text…

casual_coder
- 9
- 1
0
votes
1 answer
Preserve References in Visio (2010) Shapesheets
I have put together a function in a ShapeSheet to allow my users to right click an object & select from prederermined colours.
Along with Actions & Scratch, The "FillForeground" in the ShapeSheet entry…

Russ
- 47
- 8
0
votes
0 answers
Reserving static IP for existing Azure Virtual Machine
I have created 3 virtual machines which are already in operation and I forgot to first assign a static IP at time of creation. I am now encountering some issues when I am trying to do this.
I have created a reserved IP using the following…

Jay
- 3,012
- 14
- 48
- 99
0
votes
1 answer
Preserving Tab-Space with XSL-FO
I did not found an explicit question like the following:
I want to convert XML to PDF preserving tabspace (ASCII 009) in XSL-FO.
My looks like this:

VenoxX
- 35
- 1
- 7
0
votes
4 answers
Preserve value of an object instance
I think this problem is a value/reference instantiate problem in Object Oriented languages like C#. But I'm newbie and I don't know how to turnaround.
I have a method with this piece of code:
List listActionpropr =…

milheiros
- 621
- 2
- 14
- 34
0
votes
0 answers
php array preserve keys after sorting
I found this good old algorithm here PHP: find two or more numbers from a list of numbers that add up towards a given amount by Oezis
.
It works great, but to use it I need to modify it if possible.
Right now I input plain numbers and receive new…

mielech
- 19
- 2
0
votes
1 answer
Getting pythons ElementTree Library to preserve namespaces of parsed files
I need to manipulate XML-Files with a python-Script to generate testdata for a legacy application. That means open file, read it do some manipulations and write to file.
For the target system to be able to treat my testdata namespaces MUST be kept…

Mischa Obrecht
- 2,737
- 6
- 21
- 31
0
votes
0 answers
Preserving EXIF/metadata when converting TIFF or JPEG to new JPEG
In this context, "original files" are exportet from Adobe Photoshop Lightroom and may be .tif or .jpg
Here is my current portion of code to transfert properties
Image inputImage = Image.FromFile(currentFile.FullName);
...
[SomeTreatements including…

TTT
- 1,848
- 2
- 30
- 60
0
votes
1 answer
Preserve data during the login process-redirect in Laravel 4
I am creating a comments section in my site, and I want logged-in users only to be able to add comments. However, not logged-in ones can write them and click on the "add" button.
If the user is not logged-in, the laravel´s 'before' => 'auth' filter…

carlosbvz
- 163
- 2
- 14
0
votes
2 answers
How to preserve file permissions with Java across different operating systems?
I'm currently developing a cross-platform application (Windows, Mac OS X, Linux) with Java and building the project on Windows. During the build process, I construct a shell-script for Linux to "wrap" the executable jar-file.
I set the executable…

salocinx
- 3,715
- 8
- 61
- 110
0
votes
1 answer
Loop through folders and only copy files that match certain criteria
I am writing a program that copies certain files needed from one folder to another. However, I only want it to copy files that fit certain criteria, More specifically, it should only copy files that are not in the banned files, banned extensions, or…

marcus
- 81
- 12
0
votes
1 answer
JAXB: How to keep consecutive spaces as they are in source XML during unmarshalling
I am using JAXB to unmarshall an XML message. It seems to replace multiple consecutive spaces by a single space.
this is a test<\testfield>
(several spaces between a and test)
upon unmarshalling, the above becomes:
this is…

user3430180
- 1
- 2