0

how to change page with button onclick with hiding ".zul" in url

asked 2017-05-26 15:27:27 +0800

ploychompoo gravatar image ploychompoo
3 1

I have two pages, one is login page and the other is home page.. The first time, I run my projects, it will show login page, but after I click login button. I'm using code like this:

<button label="Login" href="/home.zul"/>

but after I click login button, my url will change into:

localhost:8084/project/home.zul

I want that if I click login button, the url will change into:

localhost:8084/project/home

I don't have any idea, please help me to solve this problem. Thanks

delete flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2017-05-29 15:56:06 +0800

alexamm gravatar image alexamm
15

you don't want to view the extension ".zul"? that is the problem?

link publish delete flag offensive edit
0

answered 2017-06-18 07:22:33 +0800

ploychompoo gravatar image ploychompoo
3 1

yes, that's the problem.. can you give me the solution, please

link publish delete flag offensive edit
0

answered 2017-06-19 07:55:33 +0800

Darksu gravatar image Darksu
1991 1 4

Hello ploychompoo,

You could use tinyURL:

https://tinyurl.com/

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2017-05-26 15:27:27 +0800

Seen: 29 times

Last updated: Jun 19 '17

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