Re: About BasePage's BrandName setting

2015-01-12 Thread Hasan Çelik
Thank you so so much :) Yes now it works Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544 640 96 25 Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Balgat Ankara On Mon, Jan 12, 2015 at 6:00 PM, Martin Grigorov wrote: > https://github.com/c

Re: About BasePage's BrandName setting

2015-01-12 Thread Martin Grigorov
https://github.com/cortix/project/pull/1 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Jan 12, 2015 at 3:52 PM, Hasan Çelik wrote: > Sorry about that, it's my fault, I didn't know that it was about > wicket-bootstrap... By the way > > I googled and I have

Re: About BasePage's BrandName setting

2015-01-12 Thread Hasan Çelik
Sorry about that, it's my fault, I didn't know that it was about wicket-bootstrap... By the way I googled and I have found that https://github.com/l0rdn1kk0n/wicket-bootstrap/issues/385 But I didnt override newBrandNameLink in the BasePage...Where should I override it ? Thank you so much for th

Re: About BasePage's BrandName setting

2015-01-12 Thread Martin Grigorov
Hi, Please read again what I've explained in my previous mail. Your 'brandName' component is broken. 1) It is a . Must be 2) It is not needed at all. You see Bootstrap's brandName link in the produced UI. Your custom brand name produces without any text so you don't see it in the UI at all. 3) r

Re: About BasePage's BrandName setting

2015-01-12 Thread Hasan Çelik
Hi Martin, The reason why I'm using two BasePage, When the members visit the website , I want to show only BasePage1 menu When the visitor login in , I want to show the Management Page menu (BasePage2)... but problem is, when they login in, if they click the brandname, wicket forward them to Home

Re: About BasePage's BrandName setting

2015-01-11 Thread Martin Grigorov
Hi, Yes, it works. It produces HTML like (check the produced HTML in your app): Not sure why but you use your custom HTML element for the brand name, and it is a : https://github.com/cortix/project/blob/master/src/main/java/web/BasePage.html#L13 I see you use Wicket-Bootstrap. It's Navbar compo

Re: About BasePage's BrandName setting

2015-01-11 Thread Hasan Çelik
Hi Martin, Thanks for reply, In the future I may use these pages...brandname link doesn't work...Afer I click Management.page, I check the brandlink but again it forward the Homepage... What I want to do, when I click ManagementPage, brandlink ---> /management when I click HomePage, brandlink ---

Re: About BasePage's BrandName setting

2015-01-11 Thread Martin Grigorov
Hi, There is no need to provide BasePage1.html and BasePage2.html at all. If there is no specific html for a page then Wicket will use the markup of the parent page (i.e. BasePage.html) Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Jan 9, 2015 at 4:09 PM,

About BasePage's BrandName setting

2015-01-09 Thread Hasan Çelik
*Hi,* * I replied my old question but it didn't exist in the forum and I choosed this way, sorry about that, I wanted to remind dioalog...Anyway I asked this question before,* -- Hi, Normally I have one Base Page, but I want to creat

Fwd: About BasePage's BrandName setting

2015-01-09 Thread Hasan Çelik
Hi Martin, Apologize for delay, I tried to learn to create quick start project on the github... https://github.com/cortix/project Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544 640 96 25 Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Bal

Re: About BasePage's BrandName setting

2015-01-09 Thread Hasan Çelik
Hi Martin, Apologize for delay, I tried to learn to create quick start project on the github... https://github.com/cortix/project Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544 640 96 25 Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Bal

Re: About BasePage's BrandName setting

2015-01-09 Thread Hasan Çelik
Hi Martin, Apologize for delay, I tried to learn to create quick start project on the github... https://github.com/cortix/project Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544 640 96 25 Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Ba

Re: About BasePage's BrandName setting

2015-01-03 Thread Martin Grigorov
Hi, Please create a quickstart application at GitHub and give us the url. On Sat, Jan 3, 2015 at 6:37 PM, Hasan Çelik wrote: > *Hi,* > > *I asked this question before,* > > Hi, > > Normally I have one Base Page, but I want to create more than one.. > > For example > > LoginPage extend BasePage1

About BasePage's BrandName setting

2015-01-03 Thread Hasan Çelik
*Hi,* *I asked this question before,* Hi, Normally I have one Base Page, but I want to create more than one.. For example LoginPage extend BasePage1 ManagmentPage extend BasePage2 A user login in the website, redirect to ManagementPage... but when user click BrandName, redirect to LoginPage

Fwd: About BasePage's BrandName setting

2015-01-03 Thread Hasan Çelik
Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544 640 96 25 Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Balgat Ankara -- Forwarded message -- From: Hasan Çelik Date: 29 December 2014 at 22:47 Subject: Re: About BasePage&#

Re: About BasePage's BrandName setting

2015-01-01 Thread Hasan Çelik
Is there any idea? Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544 640 96 25 Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Balgat Ankara On 29 December 2014 at 22:47, Hasan Çelik wrote: > Hi Martin, > > If I use these construction, How c

Re: About BasePage's BrandName setting

2014-12-29 Thread Hasan Çelik
Hi Martin, If I use these construction, How can I change my BasePage markup and java class Normally my BasePage.html https://gist.github.com/cortix/68b584310e9be62de4c6 ​and BasePage.java https://gist.github.com/cortix/7a5453cddac75b90f29a According your code, I tried to create new BasePage,

Re: About BasePage's BrandName setting

2014-12-18 Thread Martin Grigorov
Hi, class BasePage { @Override protected void onInitialize() {super.onInitialize(); add(brandLink("brandLink"))} protected abstract AbstractLink brandLink(String id); } class BasePage1 extend BasePage { ... protected BookmarkablePageLink brandLink(String id) {return new BookmarkablePage

About BasePage's BrandName setting

2014-12-17 Thread Hasan Çelik
Hi, Normally I have one Base Page, but I want to create more than one.. For example LoginPage extend BasePage1 ManagmentPage extend BasePage2 A user login in the website, redirect to ManagementPage... but when user click BrandName, redirect to LoginPage ...Can I change the brandname for other