2009-04-06 1 views
0

Firefox 확장 기능을 만들고 있습니다. 나는 팝업 안에 텍스트 상자를 추가했다. 툴바 버튼을 클릭하면 팝업 창이 열립니다. 텍스트 상자가 나타나지만 편집 할 수 없습니다. 나는 읽기 전용 속성을 부여하지 않았습니다.XUL Textbox in Popup이 작동하지 않습니다.

<popupset id="myPopupSet"> 
    <popup id="trial-popup" noautohide="true" position="after_start"> 
    <vbox> 
    <label value="Enter your name:"/> 
    <textbox id="identfier_box" value="This is some text."/> 
    </vbox> 
    </popup> 
    </popupset> 

<toolbarpalette id="BrowserToolbarPalette"> 
<toolbarbutton id="mybutton" 
    class="toolbarbutton-1" 
    label="Identifier" 
    popup="trial-popup" 
insertbefore="urlbar-container" /> 

사람이 문제가 이유를 알려 수 있습니다 여기에 코드인가? 감사합니다.

+0

코드는 어디에 있습니까? – pc1oad1etter

답변

0

정말 원하는 것은 패널이고 팝업이 아닙니다.

변경 <popup>에서 <panel>으로 변경하고 원하는 것을 갖췄습니다.