That is because you are using normal links / form submits. If you use
ajax and stay on the same page (do some panel replacement) you won't
get that message.
Alternatively i do believe there is a setting to turn that message
off, somewhere.
Maurice
On Nov 29, 2007 12:51 AM, narup [EMAIL
DTO is a design that can be not only in J2EE.
I like the idea that Wicket can manipulate directly domain objects but
not to give many objects to wicket page's.
I like that
public class APage extends WebPage {
public APage(ADomainBean bean) {.. }
But not
public class APage extends
Indeed!
Thank you.
On Nov 28, 2007 9:46 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
why not just
...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I have this situation:
View.html
border
..
child/
..
/border
TableView.html (extends of View)
extend
..
child/
..
/extend
MyTableView.html (extends of TableView)
extend
..
/extend
In this case, MyTableView is extending by default the markup of TableView,
because I'm extending
Hi!
We use DateTimeField for hours and minutes.
Gabor Szokoli
On Nov 29, 2007 8:38 AM, Nili Adoram [EMAIL PROTECTED] wrote:
Hi all,
I am upgrading wicket from 1.2.2 to 1.3 (Cheers for 1.3).
The previous DatePicker was able to display hours and minutes.
However, I could not support the same
Thanks for the hint.
Sometimes you can't see the forest for the trees.
Heiko
igor.vaynberg wrote:
do you have a JobOverviewPage$ActionPanel.html next to
JobOverviewPage.java?
-igor
On Nov 28, 2007 9:52 AM, Heiko [EMAIL PROTECTED] wrote:
Hi,
according to the DataTable Example
I have generated a Jasper Report as an InputStream. I would like to provide
this as a download, ideally I don't want to store the report as a file, it
is as an InputStream. I have looked at the Wicket ResourceLink class, but
that takes in a Wicket Resource, and I have a java.io.InputStream.
How
I don't really understand the desire to pack js.
For who do you want to reduce the overall traffic? The client, or the
hoster?
I experimented with the packed js, but in general I hardly notice the
overhead for some js (the sum of the size of images is often bigger than
the sum of all the
I find it very useful to be able to add a favicon reference easily, using
HeaderContributor. What do you think?
Note:
Favicon is a link with the following attributes: rel: shortcut icon
type: image/x-icon.
For example: link rel=shortcut icon type=image/x-icon
It would be nice to have 2 versions of each js: original packed.
For instance: wicket-ajax.js wicket-ajax.pack.js
Also to use the packed version in DEPLOYMENT model. This is applicable to
other js from the wicket-core wicket-extensions.
Any thoughts?
Alex
--
View this message in context:
Use the different constructor your self:
*public* DiskPageStore(File fileStoreFolder, *int* maxSizePerPagemap,
*int*maxSizePerSession,
*int* fileChannelPoolCapacity)
On Nov 29, 2007 7:13 AM, Eelco Hillenius [EMAIL PROTECTED] wrote:
Look at DiskPageStore#getDefaultFileStoreFolder. I looks
What do you mean by unpacked?
packing = minified, using Rhino Shrinksafe of JSMin or Yahoo tool for
this purpose.
It is indeed does not result in a performance boost, but it is still an
improvement.
Sebastiaan van Erk wrote:
I don't really understand the desire to pack js.
For who do you
Hi,
I have a form with three WebMarkupContainers that show/hide some parts of
the form. Inside the form there are three buttons used to change
WebMarkupConatiners visibility. I need validation when the user press submit
button, but visitor for form components does not check validation when the
I think DynamicWebResource (with an appropriate override for
getResourceState()) will provide the connection you need between InputStream
ResourceLink. This is how the existing Wicket-Jasper integration project
works. Check through previous mails for a link to the source.
--
View this message
how to add .css (class) to dataview.
any one can give me the example in this regard
--
View this message in context:
http://www.nabble.com/how-to-add-.css-%28class%29-to-dataview-tf4896390.html#a14023397
Sent from the Wicket - User mailing list archive at Nabble.com.
Thanks Dipu , I did it with the help of your code.
have a look at the attached files, thats based on your code snippet,
you will get the idea.
regards
dipu
--
View this message in context:
I'm talking about packers (like the jQuery packed version):
What I see in jQuery.pack.js:
eval(function(p,a,c,k,e,r){e=function(c){return(ca?'':e(parseInt(c/a)))+
((c=c%a)35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,
Wicket already strips whitespace and comments in deployment mode.
Using another tool to pack the javascript doesn't gives much advantage
and introduces another dependency.
-Matej
On Nov 29, 2007 11:17 AM, Alex Objelean [EMAIL PROTECTED] wrote:
It would be nice to have 2 versions of each js:
Use the different constructor your self:
*public* DiskPageStore(File fileStoreFolder, *int* maxSizePerPagemap,
*int*maxSizePerSession,
*int* fileChannelPoolCapacity)
I don't know how I missed that constructor. Looked with my butt it seems.
Eelco
There is a difference between a hidden component and invisible component.
When component is not visible, it's markup is not rendered, thus the
component is not validated. On the other hand, the hidden (in terms of css:
visibility='hidden') means that markup is rendered and validated.
Regards,
Hi all,
All is in the title. I have a DatePicker that works but i need to give
it a personnal style. How can i do that ?
Thanks
add(new AttributeAppender(class, fancyDataView, ));
Regards,
Alex.
wicketshafi wrote:
how to add .css (class) to dataview.
any one can give me the example in this regard
--
View this message in context:
You can do it in the following way:
1) Pure client side js handling
2) Using Ajax to update the components you are interested in.
Sergio García wrote:
Alex Objelean wrote:
There is a difference between a hidden component and invisible component.
When component is not visible, it's
Alex Objelean wrote:
There is a difference between a hidden component and invisible component.
When component is not visible, it's markup is not rendered, thus the
component is not validated. On the other hand, the hidden (in terms of
css: visibility='hidden') means that markup is
You can do this by directly using IHeaderResponse.renderString().
e.g. make a custom behavior that implements IHeaderContributor and
call this from it's renderHead.
I don't think we need this in HeaderContributor itself. But others
might have different opinion.
-Matej
On Nov 29, 2007 11:08 AM,
Sebastiaan, Matej, I think you get me wrong.
I do not suggest to minify the js files in runtime. What I suggest, is to
have both, for instance: wicket-ajax.js wicket-ajax.pack.js, in the
distributed jar. And include the wicket related js this way:
if (Application.DEVELOPMENT
Hi Naaman ,
I am also in the same boat. If it did work at your end, could you please
let me know.
Thanks,
Franklin.
Johan Compagner wrote:
Wat you could try to do is make that markup container a
transparantresolver. Then the components can be added to the page
itself
2007/11/18,
But that would mean maintaining two files for every script. Which
means at least a compilation time dependency. And I still don't see
good reason for this.
-Matej
On Nov 29, 2007 1:26 PM, Alex Objelean [EMAIL PROTECTED] wrote:
Sebastiaan, Matej, I think you get me wrong.
I do not suggest to
I agree with you. It is quite hard to maintain two files for every script. I
was just thinking out loud :)..
Alex.
Matej Knopp-2 wrote:
But that would mean maintaining two files for every script. Which
means at least a compilation time dependency. And I still don't see
good reason for
take a look at the CheckBoxMultipleChoicePage in the wicket examples,
that will give you the idea, i have not used it myself though.
regards
-dipu
On Nov 29, 2007 12:49 PM, tsuresh [EMAIL PROTECTED] wrote:
Hello every body,
I have got the problem again, I have a form to add new Role which
Also this can be done extending PackagedResourceReference, but this is not
the point.
I found myself copying the same code from one project to another, just
because wicket core does not provide a common way to add favicons. I think,
that since HeaderContributor has already: forCss
We do also serve javascript gzipped, so there is no reason for using
mod_gzip either.
-Matej
On Nov 29, 2007 1:48 PM, Sebastiaan van Erk [EMAIL PROTECTED] wrote:
I'm with Matej on this one.
2 files to maintain, extra code logic in Wicket itself to maintain,
extra complexity, with no real
hi,
just add a wicket:id to html and then within your page:
---
MarkupContainer html, container;
html = new WebMarkupContainer( html )
{
private static final long serialVersionUID = 1L;
@Override
public boolean isTransparentResolver()
{
return true;
I'm with Matej on this one.
2 files to maintain, extra code logic in Wicket itself to maintain,
extra complexity, with no real gain. Wicket markup can already be
minimified (see Matej's other mail), and I really think using
something like mod_gzip is a much better option: separation of
Hello every body,
I have got the problem again, I have a form to add new Role which has
name, description and list of permissions. Role name and description are in
text fields and permissions are as checkboxmultiplechoice, I am having
difficult time in getting the values of the checked boxes.
Didn't know that; that's nice. :-) Learn something new every day.
Do you also serve the HTML gzipped?
Regards,
Sebastiaan
Matej Knopp wrote:
We do also serve javascript gzipped, so there is no reason for using
mod_gzip either.
-Matej
On Nov 29, 2007 1:48 PM, Sebastiaan van Erk [EMAIL
Matej Knopp wrote:
No. Only javascript resources. They are static and the gzipped version
is cached. Gzipping generated html every time seems like a waste of
resources to me.
Actually I use mod_gzip a lot in production because I have apache
proxying stuff anyway. Jetty has a gzip filter and
Hi Arje,
RFC: could we move the 17.30 Func. session to the empty 16.30 slot? One
of our developers present will have to leave early, and as he'll best be
able to answer questions he should be present during our talk.
thanks!
Wouter
--
Wouter Huijnink
Func. Internet Integration
W
-1 for this.
I'm very much against the current static util pattern that the
HeaderContributor object is headed. I would much rather have this
behavior moved into the appropriate class (ex:
JavascriptResource.headerContribution()) instead of bloating
HeaderContributor. this is how i designed the
That's nice idea. My opinion that any type of abstraction that helps a
developer to write a simpler code is good.
Alex
Ryan Sonnek-2 wrote:
-1 for this.
I'm very much against the current static util pattern that the
HeaderContributor object is headed. I would much rather have this
If you want you could use the yuicompressor-maven-plugin to minified (more
than just strip whitespace) at build time.
http://alchim.sf.net/yuicompressor-maven-plugin
Other features:
* aggregate js
* minified css
So you could test/run with minified in development and/or deployment mode
Since you want to redefine the markup of the TableView.html, why just not to
extend the View.html?
buealb wrote:
Hi,
I have this situation:
View.html
border
..
child/
..
/border
TableView.html (extends of View)
extend
..
child/
..
/extend
MyTableView.html
Very interesting. Would be nice to have also aggregate css.
Regards,
Alex.
David Bernard-2 wrote:
If you want you could use the yuicompressor-maven-plugin to minified
(more than just strip whitespace) at build time.
http://alchim.sf.net/yuicompressor-maven-plugin
Other features:
*
Thanks jan a million. Its working now!!!
Just to add for more information sake
The wicket:id attribute should be as follows
html wicket:id=html
/html
Also I used a SimpleAttributeModifier and its working!!!
Thanks,
Franklin.
Jan Kriesten wrote:
hi,
just add a wicket:id to html
Sure, no problem :)
See you all tomorrow!!
-- Arje
-Original Message-
From: Wouter Huijnink [mailto:[EMAIL PROTECTED]
Sent: donderdag 29 november 2007 14:17
To: users@wicket.apache.org
Subject: Re: Amsterdam meetup: the agenda!
Hi Arje,
RFC: could we move the 17.30 Func.
Because I have a lot of functionality in TableView that I want to use...
Alex Objelean wrote:
Since you want to redefine the markup of the TableView.html, why just not
to extend the View.html?
buealb wrote:
Hi,
I have this situation:
View.html
border
..
child/
..
you have to add it to items not to the dataview itself
-igor
On Nov 29, 2007 3:40 AM, Alex Objelean [EMAIL PROTECTED] wrote:
add(new AttributeAppender(class, fancyDataView, ));
Regards,
Alex.
wicketshafi wrote:
how to add .css (class) to dataview.
any one can give me
if your subclass' markup doesnt start with wicket:extend tag it will
not extend but rather override the parent's markup entirely
-igor
On Nov 29, 2007 12:53 AM, buealb [EMAIL PROTECTED] wrote:
Hi,
I have this situation:
View.html
border
..
child/
..
/border
TableView.html
I'm very much against the current static util pattern that the
HeaderContributor object is headed. I would much rather have this
behavior moved into the appropriate class (ex:
JavascriptResource.headerContribution()) instead of bloating
HeaderContributor. this is how i designed the wicket
Hi Martijn
I can give you an use case. Your current webapp is developed in
struts. You are tired of it and want to migrate to wicket. Because
this is a big task it could actually be nice only to migrate very
small parts.
I have tried to migrate full pages and the communication between
struts and
Thanks, btw as of now what is the default value set for the remaining three
fields..maxSizePerPageMap,maxSizePerSession and fileChannelPoolCapacity ?
Farhan.
Eelco Hillenius wrote:
Use the different constructor your self:
*public* DiskPageStore(File fileStoreFolder, *int*
On Nov 29, 2007 10:19 AM, mfs [EMAIL PROTECTED] wrote:
Thanks, btw as of now what is the default value set for the remaining three
fields..maxSizePerPageMap,maxSizePerSession and fileChannelPoolCapacity ?
do you not have the source code?
-igor
Farhan.
Eelco Hillenius wrote:
Use
i guess thats what i have to do..look at the source.
igor.vaynberg wrote:
On Nov 29, 2007 10:19 AM, mfs [EMAIL PROTECTED] wrote:
Thanks, btw as of now what is the default value set for the remaining
three
fields..maxSizePerPageMap,maxSizePerSession and fileChannelPoolCapacity ?
do you
I'm having some trouble with with a button - I'm new to wicket and web
development in general and apologize for the silly question.
The button enables/disables things based on their current state, so I
use a model to set the value to Enable or Disable accordingly.
OnSubmit then redraws the
On Nov 29, 2007 10:39 AM, mfs [EMAIL PROTECTED] wrote:
i guess thats what i have to do..look at the source.
yeah...horrible right?
-igor
igor.vaynberg wrote:
On Nov 29, 2007 10:19 AM, mfs [EMAIL PROTECTED] wrote:
Thanks, btw as of now what is the default value set for the
aint that..its just with so much going on one wishes to get solutions to
certain things rather quickly.
igor.vaynberg wrote:
On Nov 29, 2007 10:39 AM, mfs [EMAIL PROTECTED] wrote:
i guess thats what i have to do..look at the source.
yeah...horrible right?
-igor
igor.vaynberg
On Nov 29, 2007 11:04 AM, mfs [EMAIL PROTECTED] wrote:
aint that..its just with so much going on one wishes to get solutions to
certain things rather quickly.
so your idea of quickly is having us look in the code for you...nice.
waste our time for something you can easily do yourself.
-igor
well thats certainly is not the idea, since not for everything one comes to
the need of looking into the source code...some times people have worked on
the same stuff and know the answers already...and that was the idea when
initially posted this one..
igor.vaynberg wrote:
On Nov 29,
I don't quite understand this...
Instead of having to know a ton of classes, you just have to know this one.
I really struggled with wicket originally when trying to do these
header contributions. I was using the IDE and searching for
Javascript* or CSS* and nothing relevant came up. Instead, I
On Nov 29, 2007 11:37 AM, Ryan Sonnek [EMAIL PROTECTED] wrote:
I don't quite understand this...
Instead of having to know a ton of classes, you just have to know this one.
I really struggled with wicket originally when trying to do these
header contributions. I was using the IDE and
well, i was using this replacement technique and custom button panels when i
was in wicket1.2.6. I just did an upgrade to 1.3 to get rid of all those
custom . but quite sad...
thanks
Mr Mean wrote:
That is because you are using normal links / form submits. If you use
ajax and stay on the
Understood. Just want to make it aware that the current pattern makes
it impossible for other projects (wicketstuff) to add header
contributions in the standard/supported way. When I created the
FeedResource, it became painfully obvious that the current pattern
should be changed for the sake of
On Nov 29, 2007 7:17 PM, loren [EMAIL PROTECTED] wrote:
What am I missing?
I think the problem is you set the enabled/disabled model value once,
statically, in the constructor, so it forever maintains the value
correct at that time.
The simplest way to work around this is to set the model
Butterfingers.
On Nov 29, 2007 9:21 PM, Gabor Szokoli [EMAIL PROTECTED] wrote:
toggle.true=Disable
toggle.false=Disable
The second one should be Enable of course.
IModel action = new StringResourceModel(toggle.${account.enabled},
this, new Model(user));
and the embedded model must
On Nov 29, 2007 12:15 PM, Ryan Sonnek [EMAIL PROTECTED] wrote:
Understood. Just want to make it aware that the current pattern makes
it impossible for other projects (wicketstuff) to add header
contributions in the standard/supported way. When I created the
FeedResource, it became painfully
I have a panel that updates regularly like this:
updatingPanel.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(3)));
Now, if I have a page that includes an AjaxLink that does a replace of
one panel in the page to the panel that have the update behaviour it
does not update.
Is this because
Hi,
I have a link tag in the head for a css file and the generated
link includes the locale. Sometimes this is mystyles_en_US.css and
sometimes mystyles_en_GB.css. When it is the later, the file is not
found. How should I configure this correctly? Can I disable the
locale from being
Sorry for my bad explanation. No the other way around. I have a dumb
panel which I then replace with the self updating one.
The SelfUpdating panel is displayed but it triggers no update of itself.
If I just add the self updating panel to the page (no AjaxLink to
replace it in) it updates itself.
you replace the component that has the updating behavior with another
one that doesnt and then it doesnt update? because the new panel
doesnt have the updating behavior added to it
-igor
On Nov 29, 2007 12:34 PM, Johan Maasing [EMAIL PROTECTED] wrote:
I have a panel that updates regularly
what wicket version are you using? and in the output see if the
javascript to update it is included...
-igor
On Nov 29, 2007 12:44 PM, Johan Maasing [EMAIL PROTECTED] wrote:
Sorry for my bad explanation. No the other way around. I have a dumb
panel which I then replace with the self updating
I am using frames in a page(Home), call them left frame and right frame.
In the left frame i have a form(target is parent), and on submitting the
form the page(home) with updated right frame is rendered.
After the form is submitted there are two conditions,
1- update the right frame or
2- pop-up
Could it be possible, until the 1.4 appears, to add forFavicon static utility
method?
Eelco Hillenius wrote:
On Nov 29, 2007 12:15 PM, Ryan Sonnek [EMAIL PROTECTED] wrote:
Understood. Just want to make it aware that the current pattern makes
it impossible for other projects (wicketstuff)
If I have a panel that nests a border which in turn nests som labels.
The border has the self updating behaviour. If I run on 1.3.0-beta3
the self updating seems to work when this panel is inserted into a
page through the replace.
If I run this on 1.3.0-rc1 it does not update. Sadly the sample
You could aggregate every type of resources.
Alex Objelean wrote:
Very interesting. Would be nice to have also aggregate css.
Regards,
Alex.
David Bernard-2 wrote:
If you want you could use the yuicompressor-maven-plugin to minified
(more than just strip whitespace) at build time.
Hi all,
This question was just asked on IRC, are there going to be audio/video
recordings made tomorrow? It would be cool to have them uploaded for
the people who can't make it.
I checked my digital camera but it has a 3:30 minute limit no matter
what memorycard I use :(
Anybody?
Roy
On Thu, 29 Nov 2007, Gervais wrote:
DTO is a design that can be not only in J2EE.
I like the idea that Wicket can manipulate directly domain objects but
not to give many objects to wicket page's.
When doing real remoting DTOs might make sense. With Wicket
pages I don't quite see how would
Hello,
I have one combo box, I have selected one combo item,
when I click the button, the selected combo item should be displayed in the
pop-up window.
how can i do this?
please advise.
--
View this message in context:
Everybody hello.
As far as i know:
- if ypu add to some component ajax timer behaviour and then add
this component to ajax target while handling another ajax
behaviour - there's no header contributed javascript added to
response at the second time. So, after first updating
I think that you have a design problem. You should pull up the common
functionality to an abstract class (AbstractTableView) which extends View,
and both TableView MyTableView should extend the AbstractTableView.
Regards,
Alex.
buealb wrote:
Because I have a lot of functionality in
Hi Gervais,
i already asked this question. Maybe you can get a glue here
http://www.nabble.com/Howto-customize-yui-datepicker-tf4435671.html#a12654728
http://www.nabble.com/Howto-customize-yui-datepicker-tf4435671.html#a12654728
Cheers
Per
--
View this message in context:
Hi *,
i'm realy interested in this. The cvs link i found in old mailing list has
gone.
Someone knows the state here?
Thanks
Per
--
View this message in context:
http://www.nabble.com/Is-wicket-contrib-jasperreports-alive--tf4902030.html#a14042012
Sent from the Wicket - User mailing list
What kind of resource is that?
Normally package resources reference default to the locale for which
the resource is really loaded.
Also if the is somehow a locale appended that isnt there then that
shouldnt matter because the resource should fallback.
So can you give us a little more sample code
First why do you want to change the default file location?
Also i thing we should improve the javadoc a bit so that the defaults
are mentioned and i am thinking here to add a File param only
constructor so that you can change the location easier without knowing
the rest of those defaults
On
Personally i dont like gzipped html sites, because has to load first
the complete stream before it does anything, or is that changed
nowadays?
On 11/29/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote:
Matej Knopp wrote:
No. Only javascript resources. They are static and the gzipped version
84 matches
Mail list logo