I've been following the "Build your second iOS app" tutorial step for step and I have run into this error after the tutorial promised that all the errors would go away, but the error didn't show up until after the other errors were all corrected and I tried to compile it.
The error:
The document "MainStoryboard_iPhone.storyboard" could not be opened. Failed to unarchive element named "UITableViewController".
Here is a link to the tutorial.
Here is my storyboard in XML format
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="1.1" toolsVersion="2182" systemVersion="11D50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="3">
<dependencies>
<deployment defaultVersion="1296" identifier="iOS"/>
<development defaultVersion="4200" identifier="xcode"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1179"/>
</dependencies>
<scenes>
<!--Navigation Controller-->
<scene sceneID="11">
<objects>
<placeholder placeholderIdentifier="IBFirstResponder" id="10" sceneMemberID="firstResponder"/>
<navigationController id="3" sceneMemberID="viewController">
<navigationBar key="navigationBar" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" id="4">
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<connections>
<segue destination="12" kind="relationship" relationship="rootViewController" id="19"/>
</connections>
</navigationController>
</objects>
<point key="canvasLocation" x="-1" y="64"/>
</scene>
<!--Hello World Master View Controller - Master-->
<scene sceneID="18">
<objects>
<placeholder placeholderIdentifier="IBFirstResponder" id="17" sceneMemberID="firstResponder"/>
<tableViewController storyboardIdentifier="" title="Master" id="12" customClass="HelloWorldMasterViewController" sceneMemberID="viewController">
<tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="13">
<rect key="frame" x="0.0" y="64" width="320" height="416"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="BirdSightingCell" textLabel="phq-AM-6qj" detailTextLabel="d2j-B0-0IP" style="IBUITableViewCellStyleSubtitle" id="lJ0-d7-vTF">
<rect key="frame" x="0.0" y="22" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="300" height="43"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Bird Sightings" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="phq-AM-6qj">
<rect key="frame" x="10" y="2" width="123" height="22"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</label>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Subtitle" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="d2j-B0-0IP">
<rect key="frame" x="10" y="24" width="47" height="18"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="calibratedRGB"/>
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</view>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<connections>
<segue destination="21" kind="push" identifier="ShowSightingDetails" id="w1o-hR-DXB"/>
</connections>
</tableViewCell>
</prototypes>
<sections/>
<connections>
<outlet property="dataSource" destination="12" id="16"/>
<outlet property="delegate" destination="12" id="15"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="Bird Sightings" id="36"/>
</tableViewController>
</objects>
<point key="canvasLocation" x="459" y="64"/>
</scene>
<!--Hello World Detail View Controller - Detail-->
<scene sceneID="24">
<objects>
<placeholder placeholderIdentifier="IBFirstResponder" id="23" sceneMemberID="firstResponder"/>
<viewController storyboardIdentifier="" title="Detail" id="21" customClass="HelloWorldDetailViewController" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="22">
<rect key="frame" x="0.0" y="64" width="320" height="416"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="bJd-7W-8nV">
<rect key="frame" x="0.0" y="0.0" width="320" height="445"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<sections>
<tableViewSection headerTitle="" id="Ihs-Gj-deH">
<cells>
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="6ax-NG-pEn">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Bird Name:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="eba-dh-Ofl">
<rect key="frame" x="20" y="11" width="125" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="PBz-NZ-g9m">
<rect key="frame" x="153" y="11" width="147" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</view>
</tableViewCell>
</cells>
</tableViewSection>
<tableViewSection headerTitle="" id="YGG-h0-ybX">
<cells>
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="oYs-Dm-zlN">
<rect key="frame" x="0.0" y="44" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Location:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="mbD-Wl-CEY">
<rect key="frame" x="20" y="11" width="125" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="A69-jC-WXb">
<rect key="frame" x="153" y="11" width="147" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</view>
</tableViewCell>
</cells>
</tableViewSection>
<tableViewSection headerTitle="" id="zi6-o7-XN3">
<cells>
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="gsv-CZ-0go">
<rect key="frame" x="0.0" y="88" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Date:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="K2s-9i-tfj">
<rect key="frame" x="20" y="11" width="125" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="PTf-Ge-Hjf">
<rect key="frame" x="153" y="11" width="147" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</view>
</tableViewCell>
</cells>
</tableViewSection>
</sections>
</tableView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
<navigationItem key="navigationItem" title="Sightings" id="26"/>
<connections>
<outlet property="lblBirdName" destination="PBz-NZ-g9m" id="KgV-rg-2MY"/>
<outlet property="lblDate" destination="PTf-Ge-Hjf" id="Scy-nS-Sot"/>
<outlet property="lblLocation" destination="A69-jC-WXb" id="hwm-Zv-8QE"/>
</connections>
</viewController>
</objects>
<point key="canvasLocation" x="902" y="64"/>
</scene>
</scenes>
<classes>
<class className="HelloWorldDetailViewController" superclassName="UITableViewController">
<source key="sourceIdentifier" type="project" relativePath="./Classes/HelloWorldDetailViewController.h"/>
<relationships>
<relationship kind="outlet" name="lblBirdName" candidateClass="UILabel"/>
<relationship kind="outlet" name="lblDate" candidateClass="UILabel"/>
<relationship kind="outlet" name="lblLocation" candidateClass="UILabel"/>
</relationships>
</class>
<class className="HelloWorldMasterViewController" superclassName="UITableViewController">
<source key="sourceIdentifier" type="project" relativePath="./Classes/HelloWorldMasterViewController.h"/>
</class>
</classes>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination"/>
</simulatedMetricsContainer>
</document>
I am completely new to objective c and Xcode so I'm not sure what I'm doing wrong or even really where to begin with an error like that. If anyone knows how to fix this error, or a better (online) resource for learning both objective c and iOS development at the same time, I would really appreciate either one.
Here is my project if anyone wants to take a look at it for me.
I was able to find out what I did wrong on the tutorial. Rather than drag the TableViewController and delete the DetailViewController I dragged a table onto the controller on top of the detail view. I'm not sure how I missed that, I must have been really tired yesterday.
Also, anyone who is stuck on the apple iPhone development tutorial, I highly recommend the "Stanford iPhone development" series on iTunes. I'm going through it right now and it is amazing. It explains things that the apple tutorial never did (like when to use strong vs weak in properties, atomic vs nonatomic also in properties). I know I'm starting to understand objective c because I actually know what to google when I get stuck.
Related
I am new to the camunda workflow modeller. I am trying to create a workflow with bpmn 2.0 as follows
In the receive task I also added the correlation message as follows
But the workflow is expecting to businessKey or CorrelationKey for receive tasks. Camunda documentation says its possible as per the link
https://docs.camunda.io/docs/1.1/guides/message-correlation/
But I don't any such options could be set in my camunda modeller as shown in my second diagram . Is there a problem with my camunda version I use I am not sure. Due to this I am not able to correlate my message in receive task.
Any help here is much appreciated.
Adding my camunda bpmn also.
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ol3ys3" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
<bpmn:process id="Process_1gdubba" isExecutable="true">
<bpmn:sequenceFlow id="Flow_1gzqzne" sourceRef="StartEvent_1" targetRef="bookPackage" />
<bpmn:endEvent id="Event_1ymhad0">
<bpmn:incoming>Flow_1j5ss28</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_105dr0i" sourceRef="bookPackage" targetRef="WaitForBookingOrder" />
<bpmn:serviceTask id="bookPackage" name="Book Package" camunda:asyncBefore="true">
<bpmn:extensionElements>
<camunda:connector>
<camunda:inputOutput>
<camunda:inputParameter name="headers">
<camunda:map>
<camunda:entry key="content-type">application/json</camunda:entry>
</camunda:map>
</camunda:inputParameter>
<camunda:inputParameter name="payload">${OrderDetails}</camunda:inputParameter>
<camunda:inputParameter name="method">POST</camunda:inputParameter>
<camunda:inputParameter name="url">http://localhost:8080/order/bookOrder</camunda:inputParameter>
</camunda:inputOutput>
<camunda:connectorId>http-connector</camunda:connectorId>
</camunda:connector>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1gzqzne</bpmn:incoming>
<bpmn:outgoing>Flow_105dr0i</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:startEvent id="StartEvent_1" name="Booking Details Entered" camunda:initiator="initiator-1">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_0vq0vhv" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:outgoing>Flow_1gzqzne</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1j5ss28" sourceRef="WaitForBookingOrder" targetRef="Event_1ymhad0" />
<bpmn:receiveTask id="WaitForBookingOrder" name="Wait for Order Booking" camunda:asyncBefore="true" messageRef="Message_0uzf0py">
<bpmn:incoming>Flow_105dr0i</bpmn:incoming>
<bpmn:outgoing>Flow_1j5ss28</bpmn:outgoing>
</bpmn:receiveTask>
</bpmn:process>
<bpmn:message id="Message_077dwge" />
<bpmn:message id="Message_1j9gxjh" />
<bpmn:message id="Message_0k2uuhr" />
<bpmn:message id="Message_1k0sfyp" name="Message_126eokf" />
<bpmn:signal id="Signal_04rb9k9" name="Signal_1kupnq8" />
<bpmn:message id="Message_0kmdk8v" name="Message_1m6is76" />
<bpmn:message id="Message_0bg1bci" name="Message_273179n" />
<bpmn:message id="Message_16e0u8x" name="Message_2dj35ou" />
<bpmn:message id="Message_12k4481" name="Message_3fq29kb" />
<bpmn:message id="Message_00ax63g" name="Message_0odalie" />
<bpmn:message id="Message_0waz31j" name="Message_005vg07" />
<bpmn:message id="Message_06yphqu" name="Message_35sf91n" />
<bpmn:message id="Message_0m445do" name="Message_2vut7h6" />
<bpmn:message id="Message_04gasop" name="Message_2n54vi8" />
<bpmn:message id="Message_088ugzc" name="Message_1b531ct" />
<bpmn:message id="Message_1rvnt8b" name="Message_3d4pilp" />
<bpmn:message id="Message_0xi2an8" name="Message_2bdedqe" />
<bpmn:message id="Message_1gvhqy2" name="Message_3aujnko" />
<bpmn:message id="Message_1q13r23" name="Message_09b9rf6" />
<bpmn:message id="Message_0uzf0py" name="WaitForBookingOrder">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="correlationKey" value="orderId" />
</camunda:properties>
</bpmn:extensionElements><?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ol3ys3" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
<bpmn:process id="Process_1gdubba" isExecutable="true">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="correlationKey" value="orderId" />
</camunda:properties>
</bpmn:extensionElements>
<bpmn:sequenceFlow id="Flow_1gzqzne" sourceRef="StartEvent_1" targetRef="bookPackage" />
<bpmn:endEvent id="Event_1ymhad0">
<bpmn:incoming>Flow_1j5ss28</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_105dr0i" sourceRef="bookPackage" targetRef="WaitForBookingOrder" />
<bpmn:serviceTask id="bookPackage" name="Book Package" camunda:asyncBefore="true">
<bpmn:extensionElements>
<camunda:connector>
<camunda:inputOutput>
<camunda:inputParameter name="headers">
<camunda:map>
<camunda:entry key="content-type">application/json</camunda:entry>
</camunda:map>
</camunda:inputParameter>
<camunda:inputParameter name="payload">${OrderDetails}</camunda:inputParameter>
<camunda:inputParameter name="method">POST</camunda:inputParameter>
<camunda:inputParameter name="url">http://localhost:8080/order/bookOrder</camunda:inputParameter>
</camunda:inputOutput>
<camunda:connectorId>http-connector</camunda:connectorId>
</camunda:connector>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1gzqzne</bpmn:incoming>
<bpmn:outgoing>Flow_105dr0i</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:startEvent id="StartEvent_1" name="Booking Details Entered" camunda:initiator="initiator-1">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_0vq0vhv" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:outgoing>Flow_1gzqzne</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1j5ss28" sourceRef="WaitForBookingOrder" targetRef="Event_1ymhad0" />
<bpmn:receiveTask id="WaitForBookingOrder" name="Wait for Order Booking" camunda:asyncBefore="true" messageRef="Message_0uzf0py">
<bpmn:incoming>Flow_105dr0i</bpmn:incoming>
<bpmn:outgoing>Flow_1j5ss28</bpmn:outgoing>
</bpmn:receiveTask>
</bpmn:process>
<bpmn:message id="Message_077dwge" />
<bpmn:message id="Message_1j9gxjh" />
<bpmn:message id="Message_0k2uuhr" />
<bpmn:message id="Message_1k0sfyp" name="Message_126eokf" />
<bpmn:signal id="Signal_04rb9k9" name="Signal_1kupnq8" />
<bpmn:message id="Message_0kmdk8v" name="Message_1m6is76" />
<bpmn:message id="Message_0bg1bci" name="Message_273179n" />
<bpmn:message id="Message_16e0u8x" name="Message_2dj35ou" />
<bpmn:message id="Message_12k4481" name="Message_3fq29kb" />
<bpmn:message id="Message_00ax63g" name="Message_0odalie" />
<bpmn:message id="Message_0waz31j" name="Message_005vg07" />
<bpmn:message id="Message_06yphqu" name="Message_35sf91n" />
<bpmn:message id="Message_0m445do" name="Message_2vut7h6" />
<bpmn:message id="Message_04gasop" name="Message_2n54vi8" />
<bpmn:message id="Message_088ugzc" name="Message_1b531ct" />
<bpmn:message id="Message_1rvnt8b" name="Message_3d4pilp" />
<bpmn:message id="Message_0xi2an8" name="Message_2bdedqe" />
<bpmn:message id="Message_1gvhqy2" name="Message_3aujnko" />
<bpmn:message id="Message_1q13r23" name="Message_09b9rf6" />
<bpmn:message id="Message_0uzf0py" name="WaitForBookingOrder">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="correlationKey" value="orderId" />
</camunda:properties>
</bpmn:extensionElements>
</bpmn:message>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1gdubba">
<bpmndi:BPMNEdge id="Flow_1j5ss28_di" bpmnElement="Flow_1j5ss28">
<di:waypoint x="720" y="127" />
<di:waypoint x="792" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_105dr0i_di" bpmnElement="Flow_105dr0i">
<di:waypoint x="470" y="127" />
<di:waypoint x="620" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gzqzne_di" bpmnElement="Flow_1gzqzne">
<di:waypoint x="208" y="127" />
<di:waypoint x="370" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_1ymhad0_di" bpmnElement="Event_1ymhad0">
<dc:Bounds x="792" y="109" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1sgn7mg_di" bpmnElement="bookPackage">
<dc:Bounds x="370" y="87" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ktohbs_di" bpmnElement="StartEvent_1">
<dc:Bounds x="172" y="109" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="152" y="152" width="77" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0abkrtc_di" bpmnElement="WaitForBookingOrder">
<dc:Bounds x="620" y="87" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
</bpmn:message>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1gdubba">
<bpmndi:BPMNEdge id="Flow_1j5ss28_di" bpmnElement="Flow_1j5ss28">
<di:waypoint x="720" y="127" />
<di:waypoint x="792" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_105dr0i_di" bpmnElement="Flow_105dr0i">
<di:waypoint x="470" y="127" />
<di:waypoint x="620" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gzqzne_di" bpmnElement="Flow_1gzqzne">
<di:waypoint x="208" y="127" />
<di:waypoint x="370" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_1ymhad0_di" bpmnElement="Event_1ymhad0">
<dc:Bounds x="792" y="109" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1sgn7mg_di" bpmnElement="bookPackage">
<dc:Bounds x="370" y="87" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ktohbs_di" bpmnElement="StartEvent_1">
<dc:Bounds x="172" y="109" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="152" y="152" width="77" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0abkrtc_di" bpmnElement="WaitForBookingOrder">
<dc:Bounds x="620" y="87" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Not sure if you already have the answer or not, but the documentation that you refers is camunda 8.0, while yours is camunda 7.
I'm not sure about camunda 8, but in camunda 7, you can correlate with business key or variables.
https://docs.camunda.org/javadoc/camunda-bpm-platform/7.14/org/camunda/bpm/engine/runtime/MessageCorrelationBuilder.html
I want to use fontawsome icons in my project. I'm using JavaFx (java8) and the fontawesomefx-8.9 library. Unfortunately the icons don't change when I change them in the "Glyph Name" section of SceneBuilder.
I have integrated the fontawesomefx-8.9.jar into my project. After that I was able to use FontAwsomeIconView in sceneBuilder.
But unfortunately the default icon does not change if I select another icon.
Main:
package main;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
#Override
public void start(Stage primaryStage) throws Exception{
Parent root = FXMLLoader.load(getClass().getResource("freelancerdashboardgui.fxml"));
primaryStage.setTitle("Freelancer Dashboar");
primaryStage.setScene(new Scene(root, 600, 875));
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
.fxml:
<?xml version="1.0" encoding="UTF-8"?>
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.VBox?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="756.0" prefWidth="1159.0" xmlns="http://javafx.com/javafx/8.0.172-ea" >
<padding>
<Insets left="50.0" />
</padding>
<VBox prefHeight="756.0" prefWidth="276.0" style="-fx-background-color: #202A2F;">
<children>
<Button alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="68.0" prefWidth="276.0" stylesheets="#css/styling.css" text="Überblick" textFill="WHITE">
<graphic>
<FontAwesomeIconView fill="WHITE" glyphName="GEAR" text="" />
</graphic>
<opaqueInsets>
<Insets />
</opaqueInsets>
<padding>
<Insets left="50.0" />
</padding>
</Button>
<Button alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="68.0" prefWidth="276.0" stylesheets="#css/styling.css" text="Kunde einpflegen" textFill="WHITE">
<graphic>
<FontAwesomeIconView fill="WHITE" text="" />
</graphic>
<opaqueInsets>
<Insets />
</opaqueInsets>
<padding>
<Insets left="50.0" />
</padding>
</Button>
<Button alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="68.0" prefWidth="276.0" stylesheets="#css/styling.css" text="Kunden" textFill="WHITE">
<graphic>
<FontAwesomeIconView fill="WHITE" text="" />
</graphic>
<opaqueInsets>
<Insets />
</opaqueInsets>
<padding>
<Insets left="50.0" />
</padding>
</Button>
<Button alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="68.0" prefWidth="276.0" stylesheets="#css/styling.css" text="Einstellungen" textFill="WHITE">
<graphic>
<FontAwesomeIconView fill="WHITE" glyphName="address-card" text="" />
</graphic>
<opaqueInsets>
<Insets />
</opaqueInsets>
<padding>
<Insets left="50.0" />
</padding>
</Button>
</children>
</VBox>
</AnchorPane>
Does anyone know this case or what I'm doing wrong?
Bro just empty the text field and it will work i've had the same problem.
I am having fxml, which have top row where all my update / delete / save buttons resides. Beneath it I am having one TreeTableView where my data display.
Problem is when I am resing my window from top to bottom my header row disappear/missing/not showing/hidden/ovelap. I am finding the solution where from certain widht/height user cannot resize the window and whatever component is essential those can be visible after resize from anywhere.
Here is my code:
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.*?>
<?import javafx.collections.*?>
<?import javafx.scene.control.cell.*?>
<?import javafx.scene.shape.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.text.*?>
<?import javafx.geometry.*?>
<?import java.lang.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.control.TreeTableView?>
<?import javafx.scene.control.Accordion?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.shape.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.text.*?>
<?import javafx.geometry.*?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.cell.PropertyValueFactory?>
<?import javafx.collections.FXCollections ?>
<?import javafx.scene.control.CustomMenuItem?>
<VBox prefHeight="780.0" prefWidth="1120.0" stylesheets="#../Cls.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<children>
<AnchorPane id="topAnchopane">
<children>
<HBox fillHeight="false" nodeOrientation="RIGHT_TO_LEFT" prefHeight="27.0" prefWidth="400.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="3.0" StackPane.alignment="TOP_RIGHT">
<children>
<Button fx:id="tmpl_reset" minHeight="16.0" minWidth="16.0" mnemonicParsing="false" onAction="#onResetColumnConfig" prefHeight="16.0" prefWidth="16.0" text="">
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
<styleClass>
<String fx:value="icon" />
<String fx:value="clear" />
</styleClass>
<HBox.margin>
<Insets left="5.0" top="4.0" />
</HBox.margin>
</Button>
<Button fx:id="tmpl_clear" minHeight="16.0" minWidth="16.0" mnemonicParsing="false" onAction="#onClearTemplate" prefHeight="16.0" prefWidth="16.0" text="">
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
<styleClass>
<String fx:value="icon" />
<String fx:value="reset" />
</styleClass>
<HBox.margin>
<Insets left="5.0" top="4.0" />
</HBox.margin>
</Button>
<Button fx:id="tmpl_delete" minHeight="16.0" minWidth="16.0" mnemonicParsing="false" onAction="#onDeleteTemplate" prefHeight="16.0" prefWidth="16.0" text="">
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
<styleClass>
<String fx:value="icon" />
<String fx:value="delete" />
</styleClass>
<HBox.margin>
<Insets left="5.0" top="4.0" />
</HBox.margin>
</Button>
<Button fx:id="tmpl_save" minHeight="16.0" minWidth="16.0" mnemonicParsing="false" onAction="#onSaveTemplate" prefHeight="16.0" prefWidth="16.0" text="">
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
<styleClass>
<String fx:value="icon" />
<String fx:value="save" />
</styleClass>
<HBox.margin>
<Insets left="5.0" top="4.0" />
</HBox.margin>
</Button>
<Button fx:id="tmpl_search" minHeight="16.0" minWidth="16.0" mnemonicParsing="false" onAction="#advancedSearch" prefHeight="16.0" prefWidth="16.0" text="">
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
<styleClass>
<String fx:value="icon" />
<String fx:value="search" />
</styleClass>
<HBox.margin>
<Insets left="5.0" top="4.0" />
</HBox.margin>
</Button>
</children>
</HBox>
<HBox fillHeight="false" nodeOrientation="LEFT_TO_RIGHT" prefHeight="27.0" prefWidth="980.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="140.0" AnchorPane.topAnchor="3.0" StackPane.alignment="TOP_LEFT">
<children>
<HBox prefHeight="24.0">
<children>
<Text text="Template Name">
<HBox.margin>
<Insets left="10.0" top="7.0" />
</HBox.margin></Text>
<ComboBox fx:id="templateNameComboBox" promptText="Select Template Name">
<HBox.margin>
<Insets left="5.0" />
</HBox.margin></ComboBox>
</children>
</HBox>
<HBox prefHeight="24.0">
<children>
<Label styleClass="seperator" text="">
<HBox.margin>
<Insets left="5.0" right="5.0" />
</HBox.margin></Label>
</children>
</HBox>
<HBox prefHeight="24.0">
<children>
<Text text="Template Type ">
<HBox.margin>
<Insets top="7.0" />
</HBox.margin></Text>
<Label fx:id="templateTypeComboBox">
<HBox.margin>
<Insets left="5.0" top="5.0" />
</HBox.margin></Label>
</children>
</HBox>
<HBox prefHeight="24.0">
<children>
<Label styleClass="seperator" text="">
<HBox.margin>
<Insets left="5.0" right="5.0" />
</HBox.margin></Label>
</children>
</HBox>
<HBox prefHeight="24.0">
<children>
<CheckBox fx:id="defaultTemplate" disable="true">
<HBox.margin>
<Insets top="4.0" />
</HBox.margin></CheckBox>
<Text text="Default Template">
<HBox.margin>
<Insets top="7.0" />
</HBox.margin></Text>
</children>
</HBox>
</children>
</HBox>
</children>
</AnchorPane>
<HBox prefWidth="850.0">
<children>
<AnchorPane minWidth="-Infinity" prefWidth="484.0" HBox.hgrow="ALWAYS">
<children>
<TreeTableView fx:id="treeTableView" layoutX="1.0" layoutY="1.0" minHeight="400.0" minWidth="754.0" prefHeight="752.0" prefWidth="754.0" styleClass="k-table-view" AnchorPane.bottomAnchor="43.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" HBox.hgrow="ALWAYS" VBox.vgrow="ALWAYS">
<columns>
<TreeTableColumn style="-fx-font-family: Calibri; -fx-font-size: 11px;" text="Message Type">
<cellValueFactory>
<TreeItemPropertyValueFactory property="messageType" />
</cellValueFactory>
</TreeTableColumn>
<TreeTableColumn prefWidth="110.0" style="-fx-font-family: Calibri; -fx-font-size: 11px;" text="MessageId">
<cellValueFactory>
<TreeItemPropertyValueFactory property="messageId" />
</cellValueFactory>
</TreeTableColumn>
<TreeTableColumn prefWidth="115.0" style="-fx-font-family: Calibri; -fx-font-size: 11px;" text="Originator Reference">
<cellValueFactory>
<TreeItemPropertyValueFactory property="originatorRef" />
</cellValueFactory>
</TreeTableColumn>
<TreeTableColumn prefWidth="115.0" style="-fx-font-family: Calibri; -fx-font-size: 11px;" text="Search Key">
<cellValueFactory>
<TreeItemPropertyValueFactory property="searchKey" />
</cellValueFactory>
</TreeTableColumn>
<TreeTableColumn style="-fx-font-family: Calibri; -fx-font-size: 11px;" text="Message Description">
<cellValueFactory>
<TreeItemPropertyValueFactory property="guiMessageStatusDesc" />
</cellValueFactory>
</TreeTableColumn>
<TreeTableColumn style="-fx-font-family: Calibri; -fx-font-size: 11px;" text="Message Reason">
<cellValueFactory>
<TreeItemPropertyValueFactory property="guiMessageStatus" />
</cellValueFactory>
</TreeTableColumn>
<TreeTableColumn prefWidth="100.0" style="-fx-font-family: Calibri; -fx-font-size: 11px;" text="Updated Date Time">
<cellValueFactory>
<TreeItemPropertyValueFactory property="updateTime" />
</cellValueFactory>
</TreeTableColumn>
<TreeTableColumn prefWidth="100.0" style="-fx-font-family: Calibri; -fx-font-size: 11px;" text="XML Link">
<cellValueFactory>
<TreeItemPropertyValueFactory property="xmlMessage" />
</cellValueFactory>
</TreeTableColumn>
</columns>
<columnResizePolicy>
<TreeTableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
</TreeTableView>
<HBox layoutX="2.0" layoutY="745.0" prefHeight="50.0" prefWidth="474.0">
<children>
<Label text="Page Count">
<HBox.margin>
<Insets top="17.0" />
</HBox.margin>
</Label>
<TextField fx:id="itemsPerPage" maxWidth="-Infinity" minWidth="-Infinity" prefHeight="22.0" prefWidth="40.0" text="50">
<HBox.margin>
<Insets left="8.0" top="14.0" />
</HBox.margin>
</TextField>
<Pagination fx:id="pagination" maxWidth="-Infinity" minWidth="-Infinity" prefHeight="42.0" prefWidth="235.0" translateX="1.0" translateY="1.0">
<HBox.margin>
<Insets top="8.0" />
</HBox.margin>
</Pagination>
<Label fx:id="displayInfo">
<HBox.margin>
<Insets top="17.0" />
</HBox.margin>
</Label>
</children>
</HBox>
</children>
</AnchorPane>
</children>
</HBox>
</children>
<styleClass>
<!-- <String fx:value="Sapphire" /> -->
<String fx:value="defaultFont" />
</styleClass>
</VBox>
These are the images before and after
Before Resize:
After Resize
I think I am having a problem with evaluation time. In this example, you see the variable $P{REPORT_PARAMETERS_MAP}.get("LastPageNumber") reflecting the last page correctly; it updates correctly. But when I use it for the "printWhenExpression" of a detail band field (experiment) or for the page header band (my goal) it does not work.
I am using "page" evaluation time throughout which seems to work for the variable itself. But the printWhenExpressions are not working using this variable.
Here is my xml file :
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report3" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<queryString>
<![CDATA[select * from users]]>
</queryString>
<field name="userName" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<pageHeader>
<band height="23" splitType="Stretch">
<textField evaluationTime="Page">
<reportElement x="120" y="0" width="238" height="20">
<printWhenExpression><![CDATA[!$V{PAGE_NUMBER}.equals($P{REPORT_PARAMETERS_MAP}
.get("LastPageNumber"))]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA["please don't print on last page - page header"]]></textFieldExpression>
</textField>
<textField evaluationTime="Page">
<reportElement x="380" y="0" width="175" height="20"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA["last page variable is: " + $V{PAGE_NUMBER}.equals($P{REPORT_PARAMETERS_MAP}
.get("LastPageNumber"))]]></textFieldExpression>
</textField>
<textField>
<reportElement x="2" y="2" width="100" height="20"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA["Page header"]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="21" splitType="Stretch">
<textField evaluationTime="Page">
<reportElement x="381" y="0" width="174" height="20"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA["last page variable is: " + $V{PAGE_NUMBER}.equals($P{REPORT_PARAMETERS_MAP}
.get("LastPageNumber"))]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="0" width="100" height="20"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{userName}]]></textFieldExpression>
</textField>
<textField evaluationTime="Page">
<reportElement x="119" y="0" width="191" height="20">
<printWhenExpression><![CDATA[!$V{PAGE_NUMBER}.equals($P{REPORT_PARAMETERS_MAP}
.get("LastPageNumber"))]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA["please don't print on last page - detail"]]></textFieldExpression>
</textField>
</band>
</detail>
<lastPageFooter>
<band height="50">
<line>
<reportElement x="188" y="21" width="100" height="1">
<printWhenExpression><![CDATA[new Boolean($P{REPORT_PARAMETERS_MAP}.put("LastPageNumber",
$V{PAGE_NUMBER}))]]></printWhenExpression>
</reportElement>
</line>
<textField evaluationTime="Page">
<reportElement x="380" y="2" width="174" height="20"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA["last page variable is: " + $V{PAGE_NUMBER}.equals($P{REPORT_PARAMETERS_MAP}
.get("LastPageNumber"))]]></textFieldExpression>
</textField>
</band>
</lastPageFooter>
</jasperReport>
My solution was to make two reports (one for the last page) and then join them (jasperPrints) using the array list option for he jasper exporter:
List jasperPrintList = new ArrayList();
JasperPrint jasperPrint1 =
JasperFillManager.fillReport(
jasperReport1,
parameters,
c
);
JasperPrint jasperPrint2 =
JasperFillManager.fillReport(
jasperReport2,
parameters,
c
);
jasperPrintList.add(jasperPrint1);
jasperPrintList.add(jasperPrint2);
JRPdfExporter exporter = new JRPdfExporter();
ByteArrayOutputStream byte_report = new ByteArrayOutputStream();
exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, jasperPrintList);
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, "test_report_name");
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, byte_report);
exporter.exportReport();
I want to add bullet point to my static text and to a text field, i added style tag to the jrxml but it didn't work for me :
Here's the example :
TextField :
<textField isBlankWhenNull="true">
<reportElement uuid="cfd514bc-d1c5-4369-b10d-71042b046e37" x="11" y="0" width="400" height="12"/>
<textElement/>
<textFieldExpression><![CDATA[<style size="40">.</style>$F{LMSG}]]></textFieldExpression>
</textField>
StaticText:
<staticText>
<reportElement uuid="c1485aba-09a4-4c7b-9106-0893341f1368" x="44" y="107" width="309" height="15"/>
<textElement>
<font size="9"/>
</textElement>
<text><![CDATA[<style size="40">.</style>Je déduis cet avoir de ma commande]]></text>
</staticText>
You can use styled markup.
Try to use <li> tag.
The sample
The jrxml file:
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="bullet_sample" language="groovy" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="aa7ced41-689a-4b8d-94aa-ee79c243a7a8">
<title>
<band height="79" splitType="Stretch">
<textField>
<reportElement uuid="bf39def6-a3a7-4fa1-9e99-e488b3567974" x="159" y="31" width="100" height="20"/>
<textElement markup="styled"/>
<textFieldExpression><![CDATA["<li>Text with bullet</li>"]]></textFieldExpression>
</textField>
</band>
</title>
</jasperReport>
The result will be (via preview in iReport):
In case using field, the right expression will be:
<textField>
<reportElement x="171" y="0" width="100" height="20"/>
<textElement markup="styled"/>
<textFieldExpression><![CDATA["<li>" + $F{fieldName} + "</li>"]]></textFieldExpression>
</textField>
Note:
You can find more info about styled text in Style a text field in JasperReports post and in Styled Text sample
I used the <li> tag, but it introduced padding which did not look good. So, I used "\u2022" which gives a round symbol like
<textFieldExpression><![CDATA["\u2022 Line1\n\u2022 Line2"]]></textFieldExpression>
So, this looks much cleaner