0

zk .mil page problem

asked 2010-05-18 08:40:16 +0800

Brand gravatar image Brand
32 1

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

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-05-18 09:20:58 +0800

santiago gravatar image santiago
42

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>

link publish delete flag offensive edit

answered 2010-05-18 20:25:52 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

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

link publish delete flag offensive edit

answered 2010-05-20 08:49:12 +0800

santiago gravatar image santiago
42

thanks for the support

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-05-18 08:40:16 +0800

Seen: 431 times

Last updated: May 20 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More