-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Im having a problem with netbeans when trying to create a .mil page for a wap site im developing. The current project that is already live is a normal java web application using zul pages, but when i try and add a .mil page to the web pages folder in the project it doesnt give an option to. I have to create a blank file with the .mil extension and because of this the code completion box doesnt work because netbeans isnt recognising the .mil file. I already downloaded the mil.jar file needed and added it to the projects library folder and edited the web.xml file appropriately. What else do i need to do in order to get the code completion box working or for netbeans to recognise the .mil file. Please help. Thanks
Hello, I have the same problem, and edit the file like a notepad
menu.mil
<frame id="win" title="Ventana de Menu"
use="login.Menu" visible="true" >
<attribute name="onCommand">
String id=event.getCommand().getId();
if(id.equals("ok")){
win.valida();
return ;
}else{
win.regresar();
}
</attribute>
<listbox id="lista" label="Menu" widthHint="expand" defaultLayout="true">
<attribute name="onSelect">
self.setLabel(self.getSelectedItem().getLabel());
</attribute>
<listitem label="Venta/Cobranza" value="/modulos/busqueda/busqueda.mil"/>
<listitem label="Consulta/Stock" value="/modulos/consulta/consulta.mil"/>
<listitem label="Resumen Cobranza" value="/modulos/consulta/resumen.mil"/>
</listbox>
<command id="regresar" label="Regresar" type="back" />
<command id="ok" label="Aceptar" type="ok" />
</frame>
Hi Brand and santiago,
I assume you guys are using REM - a NetBeans Module for ZK. REM feature list does not list code completion feature for .mil files. You might want to put a feature request for it on sf.net
Thanks
- Ashish
Asked: 2010-05-18 08:40:16 +0800
Seen: 431 times
Last updated: May 20 '10