-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a pdf file that is located at folder: webapp/file/test.pdf
Here is my zul file:
<window title="new page title" border="normal">
<a id="a" target="_blink" href="/file/test.pdf"
image="/img/view.png">
</a>
</window>
When I click on the image, browser will open the pdf file in a new tab, and URL will contains file path like that: localhost:8080/file/test.pdf
How can I hide /file/test.pdf in URL? Thanks.
Hello bkstorm,
You could try using a Url Rewrite Filter. Please check the following:
Best Regards,
Darksu
hey i have a problem i am using wildfly 8.2 final and zkoss on java 1.8 i am using ... <image width="90px" height="90px" src="search1.png"> </image>
the page is loading but corresponding java controller is not working i am using doAfterCompose ()
Hello kislay,
Have you connected the view with the controller?
Please refer to the following:
https://www.zkoss.org/wiki/ZKDeveloper'sReference/MVC
Best Regards,
Darksu
Asked: 2014-12-14 14:49:47 +0800
Seen: 46 times
Last updated: Nov 26 '16
wrong valueException come in front of modal popup [closed]
Use parameters in a conditional @command
Problems with multiple press and onCtrlKey
MVVM @save on the fly [closed]
Unable to activate destroyed desktop
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException
How to put a image or Letter over image on a specific XY Coordinate