开发者

Loading a VIEW from the Welcome Page by clicking in an image in Eclipse Java Desktop Application

开发者 https://www.devze.com 2023-04-11 22:35 出处:网络
In the Welcome Page of my Java Eclipse application I keep different images. For this I use the code in the .xhtml file which is as follows:

In the Welcome Page of my Java Eclipse application I keep different images. For this I use the code in the .xhtml file which is as follows:

<div class="icon">
<img src="../icons/account.png" width="64" height="64" />
</div>

Now, I need to load a particular VIEW by clicking on the image of the Welcome Page. Each VIEW has a different Id which is defined in the MANIFEST.MF. Can anybody help me with the code after <img src="../icons/account.png" width="64" height="64" /> in the XHTML file. I have tried the code that we use for Website appl开发者_开发百科ication but it did not work.


The best you can do is to invoke an action from a link in the page. this section in the help shows you how to do that.

0

精彩评论

暂无评论...
验证码 换一张
取 消