[Chiba-users] xforms fields not displaying
Creators discontinued Chiba & founded betterFORM http://betterform.de
Brought to you by:
chibaxforms,
windauer
From: anil <ani...@bt...> - 2007-12-21 15:02:58
|
Hi - I'm working with chiba-web (XFormsFilter) & cocoon 2.2 to try and produce an xforms based application, but I've hit a problem which I just can't seem to get around - unfortunately it's a fairly fundamental problem. When I open my from within a browser none of the form controls are displaying - for instance, I have in my xform: <xforms:group ref="/content"> <p><xforms:input ref="title" incremental="true"> <xforms:label>Title text:</xforms:label> </xforms:input></p> <p><xforms:textarea ref="text"> <xforms:label>Content:</xforms:label> </xforms:textarea></p> </xforms:group> which gets translated in to the following HTML: <form name="chibaform" action="http://localhost:8888/PlainHtml?sessionKey=1198247068171" onSubmit="return submitFunction();" method="POST" enctype="application/x-www-form-urlencoded"> <input type="hidden" id="chibaSessionKey" name="sessionKey" value="1198247068171"> <input type="submit" value="refresh page" class="refresh-button"> <div id="C5" class="group disabled readwrite optional valid"> <div style="display:none;"></div> <p> <div id="C6" class="input disabled readwrite optional valid incremental"> <label for="C6-value" id="C6-label" class="label">Title text:</label> <input id="C6-value" name="d_C6" type="text" value="" class="value"> </div> </p> <p> <div id="C8" class="textarea disabled readwrite optional valid"> <label for="C8-value" id="C8-label" class="label">Content:</label> <textarea id="C8-value" name="d_C8" rows="5" cols="30" class="value"></textarea> </div> </p> </div> <input id="C10-value" name="t_C10" type="submit" value="Save" class="value"> <input type="submit" value="refresh page" class="refresh-button"> </form> But none of the controls are actually visible on the page. Using firebug to disable certain CSS directives I can see that the form elements have been set to disabled but I have no idea why this would be done, or more importantly, how I can correct it programmatically. Has anyone seen this problem before? Many thanks, Anil. -- View this message in context: http://www.nabble.com/xforms-fields-not-displaying-tp14456892p14456892.html Sent from the chiba-users mailing list archive at Nabble.com. |