Front End Framework for wicket

2016-09-18 Thread Ricardo Roman Rodriguez Saldaña

Hi List, i have been usign wicket for about 3 years now, at the beginning i 
would use some custom css and js for the ui and look and feel of the 
application, latter,  started using bootstrap mostly, but lastly it seems that 
all the new front end frameworks are being made/updated with angular in mind , 
so i would like to ask you what are you using as a front-end, is it just 
bootstrap raw or modified ? im aware of wicket-bootsrap btw, even used it in a 
couple of projects but it would've cool to have other options.

Sorry for bad english


Re: Wicket 6 - How to fill form based on listview selected row

2016-09-18 Thread Pedro Santos
Hi,

you can construct a link using both a reference to ListView item's model
and the form, so when clicked it gets the new form value from the selected
item.

cheers

e.g.

populateItem(item){
  item.add(new SelectItemLink("id", item.getDefaultModel(), form));
}

class SelectItemLink{
  onClick(){
form.setDefaultModelObject(itemModel.getObject());
  }
}


Pedro Santos

On Sat, Sep 17, 2016 at 3:05 PM, Iamuser  wrote:

> Hello,
>
> I have a page with a :
> 1. a listview
> 2. an input form
>
> When first entering the page, the listview displays all the rows from a
> table, and the input form is empty.
> One of the columns inside the listview is a link component, that when
> clicked should refresh the model of the form and show the data for that row
> in order to be able to edit it.
>
> Could you please give me some guidance on how to refresh the model of the
> form and show the data for the selected row?
>
> Thank you.
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Wicket-6-How-to-fill-form-based-on-listview-
> selected-row-tp4675519.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: Indicating dialog button don't stop

2016-09-18 Thread Maxim Solodovnik
Hello Sebastien,

sorry for the late response was too busy to check :((
Everything works as expected in samples, will check my code
Thanks a lot for the fix!

On Tue, Sep 13, 2016 at 3:01 AM, Sebastien  wrote:

> Hi Maxim,
>
> This is not intended that the dialog flickers... This is weird and I don't
> see any reason (and I don't see this on my side...)
>
> Can you run the "upload dialog" sample of wicket-jquery-ui-samples to see
> if you do repro it ?
>
> > git clone https://github.com/sebfz1/wicket-jquery-ui.git
> > cd wicket-jquery-ui
> > mvn clean install
> > cd wicket-jquery-ui-samples
> > mvn jetty:run
> (AFAIR)
>
> Thanks in advance,
> Sébastien
>



-- 
WBR
Maxim aka solomax