Hello ! The previous page might not be available (actually components created dynamically might not be aware of other dynamically created components, as it's the case with pages). You can communicate the page as a property to the new page:
Page { id: somepage ... pageStack.push(Qt.resolvedUrl("NewPage.qml"), {"parentPage": somePage}) ... } NewPage.qml Page { property Item parentPage ... Button { onClicked: { parentPage.topic = "Test"; pageStack.pop(); } } ----- Mail original ----- De: i...@flyingfischer.ch À: "Sailfish OS Developers" <devel@lists.sailfishos.org> Envoyé: Jeudi 5 Juin 2014 15:19:38 Objet: Re: [SailfishDevel] pageStack.pop() - send paramater to prev page Thanks, but I am still stuck. This is what I do PreviousPage.qml Page { id: previous property string topic: "default value" ... Topics.qml Page { id: topics property string topic ... Button { id: topic0 text: qsTr("Topic 0") anchors.horizontalCenter: parent.horizontalCenter onClicked: { // PreviousPage.topic = "Test"; // reference error previous.topic = "Test"; // reference error pageStack.pop(); } } Thanks again! Markus _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org