You need to sign in to do that
Don't have an account?

Issues with inlineEditSupport.
I'm writing a visualforce page that is intended to edit values displayed in a table. I'm having some issues with the inlineEditSupport tag, though, in particular with multi-select picklists. If I try to put a column like this in the table,
<apex:column styleClass="dataCell"> <apex:facet name="header">Subtype</apex:facet> <apex:outputField value="{!mask.subtype__c}"> <apex:inlineEditSupport event="ondblclick"/> </apex:outputField> </apex:column>
then the page loads with a garbage dialog underneath the table that I can't seem to find in the page source:
Then if I double-click on the field, the dialog gets replaced with a picklist window that's too far off to the left to really see its contents.
Anyone know what's going on?
I think your page does not load the standard stylesheets that position and style this element? If so, maybe you can enable the standard stylesheets for a while and copy the style classes that this element uses and put these in your own page!
All Answers
I think your page does not load the standard stylesheets that position and style this element? If so, maybe you can enable the standard stylesheets for a while and copy the style classes that this element uses and put these in your own page!
Ah, looks like enabling the standard stylesheets does pretty much fix the issue, so now I just need to dig through them and figure out how to copy that functionality. Any idea where I can find it?
Looks like I've run into another problem: editing a multi-select picklist inline doesn't update the value. Even when using the standard stylesheets, if I make a change to the field's value and save it, the change isn't registered in the controller. Is this a bug, or is there a workaround for this?
...and, turns out that I didn't have all the elements grouped under the same form tag.
Thanks for the help. Everything looks good now.