Questions tagged [datahandler]
63 questions
0
votes
2 answers
How do I clear/reset input data in a react.js form?
I'm working on a React.js project. It's a project based on entering case study details. I'm trying to implement a cancel button that will clear the inputs and revert the user back to the first step in entering details.
The issue I'm having is, the…

Fetcgubgs
- 97
- 6
0
votes
1 answer
Move existing pages into newly created pages with TYPO3 DataHandler
I am using the DataHandler to create and move pages like in this snippet. While new pages are created fine, existing subpages are not moved into their newly created parents.
This creates the new page but does not move the existing page
$data = [
…

Jonas Eberle
- 2,835
- 1
- 15
- 25
0
votes
1 answer
TYPO3: Change the value in a field depending on the value in another field
I have a table with the field 'map' (checkbox) and a field 'mapicon'.
If the field 'map' is checked, the field 'mapicon' should
automatically be filled with the string 'blueMarker.png' when
saving.
If the field 'map' is no longer checked, the…

Robert
- 561
- 3
- 20
0
votes
1 answer
TYPO3 DataHandler: PHP-programmatically get some ContentElement's translated ContentElement UID
I'm using TYPO3 9 LTS's CommandController infrastructure for preparing a "batch script" which will update a bunch of pages and content elements in my TYPO3 installation. For these updates I'm levaraging TYPO3's DataHandler.
My TYPO3 installation has…

Abdull
- 26,371
- 26
- 130
- 172
0
votes
1 answer
DataHandler for SOAP Binary Data in Linux Environment
I have a webapp which calls a soap service.
The soap service receives XML data in binary format and below is the code in one of the classes given by ws-import
@XmlElement(name = "Binary")
@XmlMimeType("application/octet-stream")
protected…

Sudhik
- 119
- 8
0
votes
2 answers
Java | method to write a datahandler to a file takes more time than expected
I am trying to read the mails from the MS Exchange by using camel and getting the attachments as DataHandler. A 10MB file takes around 3hrs to write into the location.
File outputFile = new File(someDirectory, someFileName);
DataHandler…

smilyface
- 5,021
- 8
- 41
- 57
0
votes
3 answers
TYPO3 get protected property from DataHandler
Im using a the hook
public function processDatamap_afterAllOperations(DataHandler &$pObj)
{
}
I want to read the protected mmHistoryRecords from the DataHandler Class.
How can I do this in my class? My class already extends BackendUtility

Ted Logan
- 404
- 1
- 4
- 15
0
votes
2 answers
Typo3 Datahandler create new sys_filemounts
I'm trying to add new filemounts for newly created user. Is it possible to use the Datahandler from Typo3? I tried the following but, it doesn't work:
$file_data['sys_filemounts']['NEW'] = array(
'base' => 2,
'description' => '',
…

hrdyy
- 1
0
votes
1 answer
FATAL EXCEPTION: java.lang.NoClassDefFoundError: javax.activation.DataHandler
I am building an email sending application for android OS. I have three jars: activation.jar, additional.jar, and mail.jar in my libs folder. I also have these three jar's included in the projects' build path, as "Referenced Libraries". When I run…

Programminghobby
- 105
- 1
- 6
- 16
0
votes
1 answer
DataHandler name not send to server side
I'm sending an attachment using Apache CXF implementation. Even if I set the name of the dataHandler I don't know why is not reveiced on the server side.
Map attachmentsMap = (Map)…

Aditzu
- 696
- 1
- 14
- 25
0
votes
1 answer
Using hashmap to display data in JTextField and update it
Below is code that creates items that have code number name, price and quantity respectively.
public class StockData {
private static class Item {
Item(String n, double p, int q) {
name = n;
price = p;
…

Higeath
- 541
- 5
- 20
0
votes
0 answers
Access in memory data structure in one program from another program c#
I currently have a program (winform) that both pulls in data (held in a list) and records/flushes to drive in a batch process(csv or hdf), and also performs analytics on the data in real time, the values of which are stored in memory.
I want to…

azuric
- 2,679
- 7
- 29
- 44
0
votes
1 answer
R rowsums if colnames match two arguments in a second attribute table
I want to calculate rowsums only if colnames (i.e. species) of my data frame match two arguments in a second attribute table. This means it shoul first match the name in a column of the attributes table AND have a certain entry in another column of…

Pharcyde
- 397
- 1
- 3
- 14
0
votes
0 answers
R: Efficient way to filter real booked observation (from booked and cancelled)
I'm confronting with a data-set where every single booking(status: 1) and cancellation(status: -1) is written:
Day Etage Table ID Status
1 1 A ABE 1
1 1 A ABE -1
1 1 A SSH 1
.
.
.
2 2 C DRO 1
2 3 A AMO 1
2 …

97m423
- 11
- 4
0
votes
1 answer
TYPO3: DataHandler::setHistory() and typoLink_URL()
I would now like to 'combine' DataHandler::setHistory() and typoLink_URL() in order to get the URL of whatever has been changed.
For a simple page, the below snippet does the trick:
$conf['parameter'] = 55;
typoLink_URL($conf);
To account for…

bernland
- 688
- 8
- 16