Not logged in. · Lost password · Register
Forum: agsXMPP RSS
nothing rendering
Avatar
ThomWill #1
Member since Mar 2010 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: xdatacontrol with formtype http://jabber.org/protocol/pubsub#meta-data
I have the xdatacontrol working fine for viewing / updating node configurations.   But when I wanted to just display the metadata, I find I get a blank control.

Any help?

<x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE"><value>http://jabber.org/protocol/pubsub#meta-data</value></field><field label="Short name for the node" var="pubsub#title"><value /></field><field label="Description of the node" var="pubsub#description"><value /></field><field label="Allow subscriptions to node" var="pubsub#subscribe"><value>1</value></field><field label="New subscriptions require configuration" var="pubsub#subscription_required"><value>0</value></field><field label="Deliver payloads with event notifications" var="pubsub#deliver_payloads"><value>1</value></field><field label="Notify subscribers when the node configuration changes" var="pubsub#notify_config"><value>1</value></field><field label="Notify subscribers when the node is deleted" var="pubsub#notify_delete"><value>1</value></field><field label="Notify subscribers when items are removed from the node" var="pubsub#notify_retract"><value>1</value></field><field label="Only deliver notifications to available users" var="pubsub#presence_based_delivery"><value>0</value></field><field label="Type of payload data to be provided at this node" var="pubsub#type"><value /></field><field label="Message body XSLT" var="pubsub#body_xslt"><value /></field><field label="Payload XSLT" var="pubsub#dataform_xslt"><value /></field><field label="Specify who may subscribe and retrieve items" var="pubsub#access_model"><value>open</value></field><field label="Publisher model" var="pubsub#publish_model"><value>publishers</value></field><field label="Roster groups allowed to subscribe" var="pubsub#roster_groups_allowed" /><field label="People to contact with questions" var="pubsub#contact" /><field label="Default language" var="pubsub#language"><value>English</value></field><field label="Node owners" var="pubsub#owner"><value>publisher@d194137</value></field><field label="Node publishers" var="pubsub#publisher" /><field label="Select entity that should receive replies to items" var="pubsub#itemreply"><value>owner</value></field><field label="Multi-user chat room to which replies should be sent" var="pubsub#replyroom" /><field label="Users to which replies should be sent" var="pubsub#replyto" /><field label="Send items to new subscribers" var="pubsub#send_item_subscribe"><value>1</value></field><field label="Persist items to storage" var="pubsub#persist_items"><value>1</value></field><field label="Max number of items to persist" var="pubsub#max_items"><value>20000</value></field><field label="Max payload size in bytes" var="pubsub#max_payload_size"><value>8000</value></field></x>
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
the XDataControl wasn't designed to display form results. Only to show forms and submit them. If you want to show results you have to extend or modify the XDataControl.

Alex
Avatar
ThomWill #3
Member since Mar 2010 · 9 posts
Group memberships: Members
Show profile · Link to this post
Ok will do.

Thanks, Alex.

Thom
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS