The examples for 1.5.x are online again.
On Tue, Jan 29, 2013 at 8:54 AM, Martin Grigorov mgrigo...@apache.orgwrote:
The examples for 6.x are OK -
http://www.wicket-library.com/wicket-examples-6.0.x/index.html
I'll see what is the problem with 1.5.x
On Tue, Jan 29, 2013 at 1:31 AM, Paul
Hi Ernesto, Hi Martin,
IMHO, it would make more sense to have that feature as a behavior instead
of a panel... that way you are not forcing an inheritance
For this point, I was not sure whether to make a WebMarkupContainer or a
Panel that, you are true, force the inheritance.
But actually the
Hi Sebastien,
I think the more flexible way is to have the callbacks in the behavior:
class ResizeableBehavior extends JQueryAjaxBehavior {
protected void onAjax(AjaxRequestTarget target) {
int top, left, width, height = ...; // use the request parameters to
extract the values
Hi,
On Tue, Jan 29, 2013 at 10:26 AM, Sebastien seb...@gmail.com wrote:
Hi Ernesto, Hi Martin,
IMHO, it would make more sense to have that feature as a behavior instead
of a panel... that way you are not forcing an inheritance
For this point, I was not sure whether to make a
Hi Ernesto, Hi Martin,
Thank you very much for your inputs!! Then, I agree on the architecture,
and will generalize this, as part of the upgrade to jQuery UI 1.10.
@Ernesto, glad to read you like the demo app! :) I would like to redesign
it in a little bit more sexy way, but I don't do what I
Hi,
On Tue, Jan 29, 2013 at 1:16 PM, Sebastien seb...@gmail.com wrote:
Hi Ernesto, Hi Martin,
Thank you very much for your inputs!! Then, I agree on the architecture,
and will generalize this, as part of the upgrade to jQuery UI 1.10.
@Ernesto, glad to read you like the demo app! :) I
Hi all,
I'm using Select/SelectOptions with model-objects that have a semantic
equality but their #equals() method is not overriden :/.
What is the recommended way to the have the correct option preselected,
given that I cannot add #equals() to the implementation?
Select#isSelected() has
OK... but how do I pass the current UserBean from one page to another? I
cannot bind it to Guice as I don't know what it is when I'm setting up my
Guice Module.
Currently I used setRedirectPage(new MyPage(currentUser)). From what I
understand you're saying I can switch to
Hi,
Most people use the session approach. Keep an id (private key) as a field
in the Wicket Session and load the real object on demand when needed.
Similar solution is to make your bean Session scoped. The DI framework
cares to extract it from the session for you.
Some people prefer to be as
Sorry, I got the source code
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/editable-tree-table-make-an-editable-row-rather-than-an-editable-cell-tp4655768p4655879.html
Sent from the Users forum mailing list archive at Nabble.com.
You can do that by using the decorator pattern : write a wrapper for the
object and redefine equals and hashcode.
François
On Tue, Jan 29, 2013 at 2:38 PM, Sven Meier s...@meiers.net wrote:
Hi all,
I'm using Select/SelectOptions with model-objects that have a semantic
equality but their
Ok, that would be a tedious solution ;).
I think I would prefer an overrideable method in Select.
Sven
On 01/29/2013 04:04 PM, francois meillet wrote:
You can do that by using the decorator pattern : write a wrapper for the
object and redefine equals and hashcode.
François
On Tue, Jan 29,
Try to use that project out of the box, and if you find bugs or
improvements feel free to contribute back :)
It's better that way as it is mainted by a wide range of members rather
than just your or your team.
~ Thank you,
Paul Bors
On Tue, Jan 29, 2013 at 9:54 AM, grazia
Thank you sir!
On Tue, Jan 29, 2013 at 3:04 AM, Martin Grigorov mgrigo...@apache.orgwrote:
The examples for 1.5.x are online again.
On Tue, Jan 29, 2013 at 8:54 AM, Martin Grigorov mgrigo...@apache.org
wrote:
The examples for 6.x are OK -
You were close, this is what I did to support ACC in simple tables:
@Override
protected ItemIColumnT newCellItem(final String id, final int index,
final IModelIColumnT model) {
ItemIColumnT item = super.newCellItem(id, index, model);
item.add(new AttributeModifier(class, new
Now that the live examples are back up, take a look at:
http://www.wicket-library.com/wicket-examples/ajax/
To see how to swap out panels, see the Tabbed Panel example:
http://www.wicket-library.com/wicket-examples/ajax/tabbed-panel?2
Have fun!
~ Thank you,
Paul Bors
-
~ Thank you,
How can I display a set of DataTable. I don't known the tables number.
es:
T1|S1 T2|S1 T3|S1
1 23 23 2
1 23 23 2
1 23 23 2
1 23 23 2
1 23 23 2
bye
--
View this message in
Hi,
Use another repeater, like RepeatingView or ListView, that has DataTable`s
as children.
On Tue, Jan 29, 2013 at 4:57 PM, lc991 lorenzoc...@live.it wrote:
How can I display a set of DataTable. I don't known the tables number.
es:
T1|S1 T2|S1 T3|S1
1 23 2
Thanks for your reply,
there is only one method in class DataTable, but it is not called. Maybe
it's because i work with wicket 1.4.7.
protected ItemT newRowItem(final String id, int index, final IModelT
model)
{
return new ItemT(id, index, model);
}
--
View this message in context:
I create and inizialize a ListdefaultDataTable tables;
then i create a ListView l = new ListView(list,table){
the problem is in the populateItem method of ListView. what should I write
in this method.
}
excuse me for the bad english.
--
View this message in context:
You should not make a list of DataTable objects but a list of data for the
datatable.
On Tue, Jan 29, 2013 at 5:06 PM, lc991 lorenzoc...@live.it wrote:
I create and inizialize a ListdefaultDataTable tables;
then i create a ListView l = new ListView(list,table){
the problem is in the
Why don't you just switch your code to use it and then put it to a test. See
if it dose what you need, and if it's not then feel free to steal as much
code from it as you please.
I believe it's open source under the same license as Wicket (Apache 2.0).
I don't use that particular editable tree
Thanks for your help .
The only way I could get the getObject method called in the panel was by
adding the getDefaultModelObject call in the Timer as follows .
ajaxTimer = new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)){
public void
ByteArrayResource pdfRes = new
ByteArrayResource(application/pdf,myService.getPDF();
PopupSettings popupSettings = new PopupSettings(FILENAME,
PopupSettings.RESIZABLE|
PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
ResourceLink pdfLink = (ResourceLink) new ResourceLink(pdfLink,
I needed a better way to select a data range and thus integrated Wicket 1.5.x
with jQuery-Continuous-Calendar.
http://Wicket-Continuous-Calendar.GoogleCode.com/
This is quite a young project so feel free to contribute.
To see some life examples:
Webapps are excellent candidates for injecting into the 'thread' rather
than providing every injectable class with its own special constructor
(a lot of boring, mechanical work and problem not as run time efficient)
and then setting up XML or annotations to configure the inject
mechanisms.
A
@Martin sounds like session is the way to go because passing something as a
page parameter means that the user could just simply change the ID to
whatever they want... never trust the client :-)
@Chris interesting project, I'll have to take a look.
Thank you both!
Bill-
On Tue, Jan 29, 2013
Hi,
Override ByteArrayResource#configureResponse(final ResourceResponse
response, final Attributes attributes) and do:
response.setCacheDuration(Duration.NONE);
On Wed, Jan 30, 2013 at 12:07 AM, Celia Xu wwx@gmail.com wrote:
ByteArrayResource pdfRes = new
28 matches
Mail list logo