Hi Team, Currently I’m facing an issue with the Class names and Id’s that are assigned to the controls while the html rendering in the browser. For eg.( xf-6$oldpassword). <div style="width: 748px;"> <div class="xbl-component xbl-fr-accordion" id="xf-6"><span class="fr-accordion-lnf xforms-group" id="xf-6$fr-accordion-group"><span style="display: none;" class="xbl-fr-accordion-open-closes-others
xforms-control xforms-output" id="xf-6$xf-9">true</span><span style="display: none;" class="xbl-fr-accordion-operation xforms-control xforms-output" id="xf-6$xf-10"></span><dl class="xbl-fr-accordion-dl" id="xf-6$dl"> <dt class="a-m-t a-m-t-expand">Watchwoord MijnKPN glasvezel wijzigen</dt> <dd class="a-m-d a-m-d-expand" style=""> <div class="bd"><span class="xforms-group" id="xf-6$xf-11"> <p>Loerm ipsum dolor sit amet.consectetur adipiscing elit.</p> <div class="background-grey0"> <div> <h3>wachtwoord</h3> </div> <p>Loerm ipsum dolor sit amet.consectetur adipiscing elit.</p> <div class="margincenter"> <div> <label for="xf-6$oldpassword" id="xf-6$oldpassword$$l" class="labelwrapper xforms-label">huidig wachtwoord:</label><input type="password" value="" name="xf-6$oldpassword"
class="xforms-control xforms-secret xforms-invalid xforms-invalid-visited" id="xf-6$oldpassword"><span id="xf-6$oldpassword$$a" class="xforms-alert-active xforms-alert xforms-alert-active-visited">Please enter a valid password</span><span id="xf-6$oldpassword$$t"
class="xforms-hint">minimal 8 en maximaal 16 tekens</span> </div> <div> <label for="xf-6$newpassword" id="xf-6$newpassword$$l" class="labelwrapper xforms-label">Nieuw wachtwoord:</label><input type="password" value="" name="xf-6$newpassword"
class="xforms-control xforms-secret xforms-invalid" id="xf-6$newpassword"><span id="xf-6$newpassword$$t" class="xforms-hint">minimal 8 en maximaal 16 tekens</span> </div> <div> <label for="xf-6$confirmpassword" id="xf-6$confirmpassword$$l" class="labelwrapper xforms-label">Herhaal wachtwoord:</label><input type="password" value="" name="xf-6$confirmpassword"
class="xforms-control xforms-secret xforms-invalid" id="xf-6$confirmpassword"><span id="xf-6$confirmpassword$$t" class="xforms-hint">minimal 8 en maximaal 16 tekens</span> </div> <div class="centerscreen"> <div> <p>Loerm ipsum dolor sit amet.consectetur adipiscing elit.Loerm ipsum dolor sit amet.consectetur adipiscing elit.Loerm ipsum dolor sit amet.consectetur adipiscing elit.Loerm ipsum dolor sit amet.consectetur adipiscing elit. </p> </div> <div class="buttonwrapper"> <button disabled="" type="button" class="button-blue xforms-control xforms-trigger xforms-invalid xforms-readonly" id="xf-6$xf-19">opslaan</button>
<button type="button" class="button-grey xforms-control xforms-trigger" id="xf-6$xf-22">annuleren</button>
</div> </div> </div> </div> </span></div> </dd> </dl></span></div> </div>. Is there any other way to have a custom id names for the controls. Because even if we provide any id and class names in the xthml (oldpassword), the default orbeon provided class names is getting appended to it.
For eg(xf-6$oldpassword) And also while Creating jQuery, the ‘’$’’ symbol that is there in the id becomes a problem. It is showing the following error(“uncaught exception: Syntax error, unrecognized expression: $oldpassword”). And also tell me where the following css file resides. “xforms-yuicalendar-min.css”. I thought it is getting generated automatically. I request somebody to clarify me. Please do the needful asap. Thanks and Regards, Lingesh P Developer, Mahindra Satyam. DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Lingesh,
It's not possible to prevent the use of the "$" sign at this time. However, the first part of the id, here "xf-6$" without the trailing "$", is controllable: it is the id of the enclosing component. So here if you give the accordion an id, i.e. "my-accordion", you should get "my-accordion$oldpassword". Is there no way to escape the "$" with jQuery? xforms-yuicalendar-min.css is generated dynamically so it does not reside anywhere, really. In Orbeon Forms 3.9, the name has changed and now has a hash instead, something like: orbeon-89574b046e069a16542fbcf0f0e1bb0283ce3b24.css But if you set the oxf.xforms.cache-combined-resources property to true, the combined resources files will be output to disk. See: http://wiki.orbeon.com/forms/doc/developer-guide/xforms-javascript-css-resources -Erik On Wed, May 4, 2011 at 1:46 AM, Lingesh_Palanivelu <[hidden email]> wrote: > Hi Team, > > > > Currently I’m facing an issue with the Class names and Id’s that are > assigned to the controls while the html rendering in the browser. For eg.( > xf-6$oldpassword). > > > > <div style="width: 748px;"> > > > > <div class="xbl-component xbl-fr-accordion" id="xf-6"><span > class="fr-accordion-lnf xforms-group" id="xf-6$fr-accordion-group"><span > style="display: none;" class="xbl-fr-accordion-open-closes-others > xforms-control xforms-output" id="xf-6$xf-9">true</span><span > style="display: none;" class="xbl-fr-accordion-operation xforms-control > xforms-output" id="xf-6$xf-10"></span><dl class="xbl-fr-accordion-dl" > id="xf-6$dl"> > > > > <dt class="a-m-t a-m-t-expand">Watchwoord MijnKPN glasvezel wijzigen</dt> > > <dd class="a-m-d a-m-d-expand" style=""> > > <div class="bd"><span class="xforms-group" id="xf-6$xf-11"> > > > > > > > > <p>Loerm ipsum dolor sit amet.consectetur adipiscing elit.</p> > > > > <div class="background-grey0"> > > > > <div> > > <h3>wachtwoord</h3> > > </div> > > > > <p>Loerm ipsum dolor sit amet.consectetur adipiscing elit.</p> > > > > <div class="margincenter"> > > > > <div> > > <label for="xf-6$oldpassword" id="xf-6$oldpassword$$l" class="labelwrapper > xforms-label">huidig wachtwoord:</label><input type="password" value="" > name="xf-6$oldpassword" class="xforms-control xforms-secret xforms-invalid > xforms-invalid-visited" id="xf-6$oldpassword"><span id="xf-6$oldpassword$$a" > class="xforms-alert-active xforms-alert xforms-alert-active-visited">Please > enter a valid password</span><span id="xf-6$oldpassword$$t" > class="xforms-hint">minimal 8 en maximaal 16 tekens</span> > > > > </div> > > > > <div> > > <label for="xf-6$newpassword" id="xf-6$newpassword$$l" class="labelwrapper > xforms-label">Nieuw wachtwoord:</label><input type="password" value="" > name="xf-6$newpassword" class="xforms-control xforms-secret xforms-invalid" > id="xf-6$newpassword"><span id="xf-6$newpassword$$t" > class="xforms-hint">minimal 8 en maximaal 16 tekens</span> > > > > </div> > > > > <div> > > <label for="xf-6$confirmpassword" id="xf-6$confirmpassword$$l" > class="labelwrapper xforms-label">Herhaal wachtwoord:</label><input > type="password" value="" name="xf-6$confirmpassword" class="xforms-control > xforms-secret xforms-invalid" id="xf-6$confirmpassword"><span > id="xf-6$confirmpassword$$t" class="xforms-hint">minimal 8 en maximaal 16 > tekens</span> > > > > </div> > > > > <div class="centerscreen"> > > > > <div> > > > > <p>Loerm ipsum dolor sit amet.consectetur adipiscing elit.Loerm ipsum dolor > sit amet.consectetur adipiscing elit.Loerm ipsum > > dolor sit amet.consectetur adipiscing elit.Loerm ipsum dolor sit > amet.consectetur adipiscing elit. > > </p> > > > > </div> > > > > <div class="buttonwrapper"> > > <button disabled="" type="button" class="button-blue xforms-control > xforms-trigger xforms-invalid xforms-readonly" > id="xf-6$xf-19">opslaan</button> > > <button type="button" class="button-grey xforms-control xforms-trigger" > id="xf-6$xf-22">annuleren</button> > > > > </div> > > > > </div> > > > > </div> > > > > </div> > > </span></div> > > </dd> > > > > </dl></span></div> > > > > </div>. > > > > > > Is there any other way to have a custom id names for the controls. Because > even if we provide any id and class names in the xthml (oldpassword), the > default orbeon provided class names is getting appended to it. For > eg(xf-6$oldpassword) > > > > > > And also while Creating jQuery, the ‘’$’’ symbol that is there in the id > becomes a problem. It is showing the following error(“uncaught exception: > Syntax error, unrecognized expression: $oldpassword”). > > > > > > And also tell me where the following css file resides. > “xforms-yuicalendar-min.css”. I thought it is getting generated > automatically. I request somebody to clarify me. > > > > Please do the needful asap. > > > > Thanks and Regards, > > Lingesh P > > Developer, > > Mahindra Satyam. > > > > ________________________________ > DISCLAIMER: > This email (including any attachments) is intended for the sole use of the > intended recipient/s and may contain material that is CONFIDENTIAL AND > PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or > distribution or forwarding of any or all of the contents in this message is > STRICTLY PROHIBITED. If you are not the intended recipient, please contact > the sender by email and delete all copies; your cooperation in this regard > is appreciated. > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |