Re: Wicket-Bootstrap Question

2014-01-10 Thread Joseph Mokenela
I would like to thank everyone for the quick responses. I really appreciate
it. Looks like I was calling the some of the css  Bootstrap 3 specific
classes from my pages, but what was actually loaded by the framework was
version 2.3.2.

Kind Regards,
Joseph


On Fri, Jan 10, 2014 at 1:42 PM, David Beer  wrote:

> Hi Joesph
>
> Take a look at this simple example project I did of getting
> wicket-bootstrap3 working.
> https://github.com/dmbeer/wicket-bootstrap-example
>
> Thanks
>
> David
>
> On 09/01/14 03:40, Joseph Mokenela wrote:
>
>> Hi,
>>
>> I am not sure whether this is the right place to ask
>> *wicket-bootstrap*specific questions, I apologize if its not.
>>
>>
>> Following is my question.
>>
>> I am building a wicket application and I am using wicket-bootstrap for
>> bootstrap layout.
>>
>> However I am not able to access some of the bootstrap classes from my
>> markup even though it looks like it has successfully pulled the css, i saw
>> this when i checked "view source" on the page.
>>
>> Is there any specific configuration i need to make in order to have access
>> to the css classes on my page?
>>
>> Another question: Is there support for bootstrap 3 yet?
>>
>> Thanks in advance,
>>
>> Kind Regards,
>> Joseph
>>
>>
>


-- 
*Joseph Mokenela*

*Systems ArchitectMMJ Microsystems*

*Write your code as if the person who maintains it is a homicidal maniac
who knows where you live.*

P please don't print this e-mail unless you really need to.


Re: Wicket-Bootstrap Question

2014-01-10 Thread David Beer

Hi Joesph

Take a look at this simple example project I did of getting 
wicket-bootstrap3 working.

https://github.com/dmbeer/wicket-bootstrap-example

Thanks

David
On 09/01/14 03:40, Joseph Mokenela wrote:

Hi,

I am not sure whether this is the right place to ask
*wicket-bootstrap*specific questions, I apologize if its not.

Following is my question.

I am building a wicket application and I am using wicket-bootstrap for
bootstrap layout.

However I am not able to access some of the bootstrap classes from my
markup even though it looks like it has successfully pulled the css, i saw
this when i checked "view source" on the page.

Is there any specific configuration i need to make in order to have access
to the css classes on my page?

Another question: Is there support for bootstrap 3 yet?

Thanks in advance,

Kind Regards,
Joseph





Re: Wicket-Bootstrap Question

2014-01-10 Thread Michael Haitz
if you want to use bootstrap on all your pages, then use 
settings.setAutoAppendResources(true) instead of renderHead() { 
Bootstrap.renderHead(response); }.

cheers,
Michael

Am 09.01.2014 um 19:32 schrieb Gabriel Landon :

> In the init() method of your application class :
> 
> final BootstrapSettings settings = new BootstrapSettings();
> //add theme (optional)
> settings.setThemeProvider(new
> SingleThemeProvider(BootswatchTheme.CERULEAN));
> Bootstrap.install(this, settings);
> 
> 
> In your page class :
> @Override
>public void renderHead(final IHeaderResponse response) {
>super.renderHead(response);
>Bootstrap.renderHead(response);
>// font-awesome (optional)
> 
> response.render(CssHeaderItem.forReference(FontAwesomeCssReference.instance()));
>}
> 
> Then you should have all the css and js needed in your page.
> 
> regards,
> Gabriel.
> 
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Wicket-Bootstrap-Question-tp4663565p4663591.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket-Bootstrap Question

2014-01-09 Thread Gabriel Landon
In the init() method of your application class :

final BootstrapSettings settings = new BootstrapSettings();
//add theme (optional)
settings.setThemeProvider(new
SingleThemeProvider(BootswatchTheme.CERULEAN));
Bootstrap.install(this, settings);


In your page class :
 @Override
public void renderHead(final IHeaderResponse response) {
super.renderHead(response);
Bootstrap.renderHead(response);
// font-awesome (optional)
   
response.render(CssHeaderItem.forReference(FontAwesomeCssReference.instance()));
}

Then you should have all the css and js needed in your page.

regards,
Gabriel.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Bootstrap-Question-tp4663565p4663591.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket-Bootstrap Question

2014-01-08 Thread Martin Grigorov
Hi,

Which CSS classes are missing and what .css files are loaded ?
Which theme do you use ? Twitter's default or any of the Bootswatch ones ?

Bootstrap 3 is available in 'bootstrap3' branch in the Git repo.
You can build it locally or use the deployed snapshot from Sonatype OSS
repo (the version is 0.9.0-SNAPSHOT).

Martin Grigorov
Wicket Training and Consulting


On Thu, Jan 9, 2014 at 5:40 AM, Joseph Mokenela
wrote:

> Hi,
>
> I am not sure whether this is the right place to ask
> *wicket-bootstrap*specific questions, I apologize if its not.
>
> Following is my question.
>
> I am building a wicket application and I am using wicket-bootstrap for
> bootstrap layout.
>
> However I am not able to access some of the bootstrap classes from my
> markup even though it looks like it has successfully pulled the css, i saw
> this when i checked "view source" on the page.
>
> Is there any specific configuration i need to make in order to have access
> to the css classes on my page?
>
> Another question: Is there support for bootstrap 3 yet?
>
> Thanks in advance,
>
> Kind Regards,
> Joseph
>


Wicket-Bootstrap Question

2014-01-08 Thread Joseph Mokenela
Hi,

I am not sure whether this is the right place to ask
*wicket-bootstrap*specific questions, I apologize if its not.

Following is my question.

I am building a wicket application and I am using wicket-bootstrap for
bootstrap layout.

However I am not able to access some of the bootstrap classes from my
markup even though it looks like it has successfully pulled the css, i saw
this when i checked "view source" on the page.

Is there any specific configuration i need to make in order to have access
to the css classes on my page?

Another question: Is there support for bootstrap 3 yet?

Thanks in advance,

Kind Regards,
Joseph