Gili wrote:


Is there any reason we can't have the default HTML template have this functionality?

I think the reason is that the IDE attempts to guide you in making the right decision. Normally, except in web frameworks such as Wicket, the HTML file finds itself outside the source packages. So, the IDE prevents the developer making a mistake by not letting him/her create the HTML file in a source package. I think this makes sense. The fact that the Other category contains an HTML file that circumvents this, means that you have a choice to put it somewhere else, but only if you consciously choose that alternative HTML template.

-- Gj



Gili

Geertjan Wielenga wrote:



Gili,


Sounds like a great idea! One of the issues I opened up a while back is that you currently can't create an HTML file into "Source Packages". So you end up having to a file into "Web Pages" then moving it into the appropriate folder in "Source Packages". Fixing that would be nice ;)


Sorry I didn't tell you, but it's been fixed all along. If you go to the "Other" category, you'll find an HTML file there. (I.e., do not use the HTML fin the "Web" category", but in the "Other" category.) Then you can select where to put it -- including in a source package!

It would also go hand-in-hand with a single file template that creates two files.


Yup.



Other feature I would love to see is code-completion for <wicket:*> tags in the HTML editor. I believe we'll get this for free once we have a Wicket 1.2 DTD (I'm not sure whether this exists yet or not).


Cool idea. Definitely doable. I'll look into it.

Thanks for the ideas,

Gj



Gili

Geertjan Wielenga wrote:



Hi all,

Firstly, I want to apologize for not being a regular contributor to these Wicket lists (at all). Some time ago I blogged about Wicket quite a bit (http://blogs.sun.com/geertjan), but since then other work activities have taken up my time.

I work as a technical writer for NetBeans in Prague, Czech Republic.

I'm going to be at JavaOne, where I will do a presentation called "Developing an Editor for your Favorite Web Framework".

Basically, I'll show how you can strip the NetBeans IDE to its bare essentials, and then add plug-ins for the editor functionality specific to whatever web framework you want to use, and then finish off with some branding -- adding a splash screen, creating an executable, and then running the resulting executable with just the NetBeans core plus your plug-ins.

So, that's where Wicket comes in! I'm going to use Wicket as my example web framework for purposes of this presentation at JavaOne.

For this reason, I'd really appreciate your help. When you think of: "Wicket IDE", what would be some of the features that you'd like to be there? I'm thinking of:

-- project templates
-- project samples
-- a single file template that creates two source files: HTML file and Java source file -- a palette that lets you drag components into the HML file, while simultaneously generating the associated Java code in the Java source file -- being able to jump for the HTML code to the related Java code, using a shortcut key or menu item in the editor

Do the above make sense to you? Are there other things you can think of?

Any help would be appreciated.

Thanks,

Geertjan



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to