It would make writing books, giving presentations and tutorials *that*
much simpler ...
Martijn
On Tue, Mar 3, 2009 at 5:42 AM, Jan Kriesten kries...@mail.footprint.de wrote:
i also dont remember using a compound property model...can we remove that?
hehe - i haven't used that either.
+ 1
RefreshingView?
Martijn
On Tue, Mar 3, 2009 at 8:13 AM, Bert taser...@gmail.com wrote:
Hi,
perhaps this does not make sense, but is there a Component that
discards all child components after the rendering, before
the serialization?
Would this make sense for components that render a large
That was my first idea and i checked the javadoc and source (without
following too deep
into the stack (DefaultItemReuseStrategy is where this is done?).
Good to know that the RefreshingView is behaving like this, i use it
rather often.
Thanks for the reply,
Bert
On Tue, Mar 3, 2009 at 09:43,
Hi,
I struggled with similar problems with OC4J.
Unorthodoxid solution we found was:
Add index.html into context root - no matter what is the content of it.
However, you cannot use this solution with Weblogic (10).
Br Harri
Ps. Check this also:
Got that figured out. Actually it is in the book. Using
RequestCycle.get().setRequestTarget(target); with a submit button. This also
opens it up with no dialog box.
On Mon, Mar 2, 2009 at 7:43 PM, Arie Fishler arie@gmail.com wrote:
- Show quoted text -
Hi,
I am integrating some
Yes, it might be the same problem I had with the serialization.
Could you maybe paste your stack trace and let me know the JIRA id, so I can
track it.
You mentioned you had an other configuration which the HttpSessionStore.
What is this and how can it be enabled ?
Thanks,
Carsten
Victor
Hi all,
I've been reading in different threads that Wicket 1.4 already supports
Portlet 2.0 API.
We are already trying it with different success, in different portals.
We have an application being developed in Wicket 1.3.5 (last stable release
so far), and we planned to switch to 1.4.
But
Dear wicket users and wizzards!
Is ist possible to use wicket to implement partial pages that can be
embedded into another page? E.g. to have a normal content management
system like Joomla and use wicket top lug it into exisiting pages for
some dynamic, database driven content? The HTML that is
We use iframes for that. It works quite well.
Stefan Lindner wrote:
Dear wicket users and wizzards!
Is ist possible to use wicket to implement partial pages that can be
embedded into another page? E.g. to have a normal content management
system like Joomla and use wicket top lug it into
using org.apache.wicket.extensions.yui.calendar.DatePicker. An icon of a
calendar day, with a red stripe on top and a 17 in a field of white appears
for the DatePicker. Is there an easy way we can change this icon?
It looks like it is
Ok, no need for a JIRA -- it was operator failure that caused the problem
(that would be me, BTW).
The InstanceAlreadyExistsException was caused by having 2 copies of the
wicket-jmx-1.3.5.jar file
in the app's WEB-INF/lib directory. The 2nd copy was in a subdirectory -- I
had put it there while
All,
I have a list that I pass to various components, a pageable view, and
dropdowns for example...
After moving models to be detachable, there is a problem where the pageable
view is only creating a detachable model on populateItem(), therefore, the
models are detachable only for the page
Like this?
new LoadableDetachableModelListFoo() {
public ListFoo load() {
return yourApp.howeverYouCreateYourList();
}
}
On Tue, Mar 3, 2009 at 9:30 AM, walnutmon justin.m.boy...@gmail.com wrote:
All,
I have a list that I pass to various components, a pageable view, and
dropdowns
It seems that the drop down should at least be able to take a ListModelFoo,
but that doesn't work either...
I actually was just writing code to get around this right now.
DropDownChoiceFoo dd =
new DropDownChoiceFoo(foo,
new
That means any time someone tries to access one of the objects, the entire
list has to be retrieved from the database again, correct? It seems that
would be a drawback; is that a fair assessment?
Jeremy Thomerson-5 wrote:
Like this?
new LoadableDetachableModelListFoo() {
public
Hi all, I decided to ask for help, since last night I had nightmares of xml
files extrangulating me.
I read the portlet how-to in the wiki, probably misread it. I have an
application that has no portlet usage (as in no blabla extends blaportlet),
but I was told that all the application could be
I am having the same problem!
matrixguy wrote:
Hi,
The following code worked very nicely with the text in the HTML file, but
it's not working with the embedded images in the HTML file. I have
verified that wicket can find the images (so it's not the path issue for
the images). It's as
It stays loaded until detach() is called, which is at the end of the
request, unless you explicitly call it sooner. So, you're safe through the
entire request.
On Tue, Mar 3, 2009 at 9:43 AM, walnutmon justin.m.boy...@gmail.com wrote:
That means any time someone tries to access one of the
yeah, not to mention it might get quiet ugly
mypanel_style.html
mypanel_style__variant.html
mypanel_style__variant___locale.html
mypanel__variant.html
mypanel___locale.html
markup(locale)(style)(variant) might work and is simpler
mypanel(en_us).html
mypanel(en_us)()(variant).html
but sure
refreshing view clears its content before render, not after render. if
you have a link in your table cell, or any component that requires a
callback and you clear the items after render than the link wont work
because when it is clicked the component that is supposed to receive
it is no longer
its really had to tell whats going on because your markup is being
stripped, why dont you paste it all into a pastebin and send us a link
to that instead.
-igor
On Mon, Mar 2, 2009 at 5:49 PM, Dragut Razvan razvan.softw...@gmail.com wrote:
sorry for posting for the third time but need to make
override getIconUrl()
-igor
On Tue, Mar 3, 2009 at 7:14 AM, Edwin Ansicodd erik.g.hau...@gmail.com wrote:
using org.apache.wicket.extensions.yui.calendar.DatePicker. An icon of a
calendar day, with a red stripe on top and a 17 in a field of white appears
for the DatePicker. Is there an
what happens when you paste the url of the image directly into the
browser's address bar?
this wouldnt be wicket finding or rendering the images, they would be
served directly by the servlet container.
-igor
On Tue, Mar 3, 2009 at 7:46 AM, Vika victoria.elin...@nasa.gov wrote:
I am having the
I just recently found out, via this list, that Maurice Marrink had
passed away. I wanted to let everyone know how much I appreciated
Maurice. He helped me better understand Wicket and helped me customize
wicket-security to meet my needs. He was very generous with his time and
he will be
I am having a similar problem. I have a MasterPage class that is my common
page. When I hard code the menu as a page that extends Webpage everything is
fine but when I extend my MasterPage class it doesn't work.
Could someone please help?
Josh
Michal Hybler wrote:
Hi all!
I want to
Actually images work now if i don't put them under /app. That was my mistake.
Thank you for your help!
igor.vaynberg wrote:
what happens when you paste the url of the image directly into the
browser's address bar?
this wouldnt be wicket finding or rendering the images, they would be
We're looking for a full-time Wicket developer in Austin in case anyone is
interested or can refer a friend.
http://www.buzzstream.com/blog/buzzstream-seeks-java-web-developer.html
Thanks,
Jeremy
Jeremy Bencken
Co-founder, BuzzStream
http://www.buzzstream.com
You might take a look at
SharedResourceRequestTargetUrlCodingStrategy
and
IndexedSharedResourceCodingStrategy
and eventually
http://issues.apache.org/jira/browse/WICKET-1666
regards
peter
Am 02.03.2009 um 10:17 schrieb Emanuele Gesuato:
Only want to know if an url similar to:
*lol*
made my day !
Am 02.03.2009 um 10:55 schrieb Martijn Dashorst:
when it's done.
Martijn
On Mon, Mar 2, 2009 at 9:09 AM, SrinivasaRaju Ch
srinivas.r...@sifycorp.com wrote:
Hi,
When will wicket 1.4 GA Release..
Regards,
Srinivasa Raju CH.
Get your world in your inbox!
Mail,
On Tue, Mar 3, 2009 at 11:55 AM, Peter Ertl pe...@gmx.org wrote:
*lol*
made my day !
Duke Nukem *cough* I mean Wicket Forever ;)
Am 02.03.2009 um 10:55 schrieb Martijn Dashorst:
when it's done.
Martijn
On Mon, Mar 2, 2009 at 9:09 AM, SrinivasaRaju Ch
srinivas.r...@sifycorp.com
Here is the test case and stacktrace
https://issues.apache.org/jira/browse/WICKET-2138
On Mar 3, 2009, at 3:55 AM, behrica wrote:
Yes, it might be the same problem I had with the serialization.
Could you maybe paste your stack trace and let me know the JIRA id,
so I can
track it.
You
Hi,
I'm using MixedParamUrlCodingStrategy which seems to work fine. However I
saw a bunch of errors in the log file:
Too many path parts, please provide sufficient number of path parameter
names
If this shows up, how can I direct a user to a PageNotFound? Also how can I
log what HTTp requests
On Mon, 02 Mar 2009, Johan Compagner wrote:
If we loose the wildcard is it then still possible to do everything?
We have it to be able to use a Manager List when we declare it as a
People
When you have that you have to copy it over i guess by a helper method.
I just want to know for sure
On Tue, 03 Mar 2009, Brill Pappin wrote:
Might as well merge the two then... I did do a quick check to see if
there was another ticket, but obviously a bit too quick :)
I think that it's more or less a full-time hobby just
trying to keep up with what happens on the lists and Jira
and source
I usually think of them as read only as well, however why would you
presume read only?
they are pretty much exactly the same semantically and if I thought of
some cool trick I could do modifying the list, I'd hate to be
prevented from doing so simply because someone wanted to lock down an
it has nothing to do with us wanting to lock something down. i am
simply stating that the read-only nature is a side-effect of a widened
type declaration. it is something we should all be aware of.
-igor
On Tue, Mar 3, 2009 at 1:02 PM, Brill Pappin br...@pappin.ca wrote:
I usually think of them
Hello there. I'm having problems developing Authorization on my
webapplication. I have followed the steps of the chapter 12 of Wicket in
Action. When i try to access to a protected page, the page is renderend
instead of redirected to the Login page. Here is my code. I was wondering if
anyone
Is this the same?
Set set1 = xxx
Collection col1 = xxx;
foreach (col in col1)
set1.remove(col)
or
set1.removeAll(col1);
???
IMO, the brackets approach works because it clearly separates each of the
sections.
It is a bit ugly, but its still simple.
Can't please everyone all of the time, but we can try to give the clients
the right stuff, and the devs the power to build it :).
yeah, not to mention it might get quiet
Hi all. I am evaluating Wicket for our company and also have the same
question.
There are cases when iframes work just fine (even better), but other cases
when an in-DOM solution is needed. For example, if the app needs to display
something like a fly-out or simulated pop-up outside the screen
Is your 'xxx' the instance inn each case?
Depending on the implementation, removing from the thing you are
iterating over may cause some wierdness.
On Mar 3, 2009, at 5:44 PM, Johan Compagner wrote:
Is this the same?
Set set1 = xxx
Collection col1 = xxx;
foreach (col in col1)
you can use iresponsefilter to strip whatever you want from the generated html.
-igor
On Tue, Mar 3, 2009 at 3:11 PM, Randy S. randypo...@gmail.com wrote:
Hi all. I am evaluating Wicket for our company and also have the same
question.
There are cases when iframes work just fine (even
why should that matter?
I am taking here purely about interfaces.. So what should an implementation
matter?
So you are saying that we have to know the implementations of that inside
all my methods to know what really happens?
(this is pretty much my point i want to make)
lets make the set1 a
Thanks Igor. I guess the trick would be knowing what is safe to filter out
without breaking Wicket. I'll look into this filter.
On Mar 3, 2009 5:15 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
you can use iresponsefilter to strip whatever you want from the generated
html.
-igor
On Tue, Mar
I've just finished a Wicket Quickstart Guide for some of my coworkers
who are interested in using Wicket. It steps through installation of
Maven, Eclipse, M2Eclipse, WTP, and a Quickstart. I thought I'd pass it
along here in case it's of value to anyone else.
you forgot the link :)
-igor
On Tue, Mar 3, 2009 at 3:21 PM, Dane Laverty danelave...@chemeketa.edu wrote:
I’ve just finished a Wicket Quickstart Guide for some of my coworkers who
are interested in using Wicket. It steps through installation of Maven,
Eclipse, M2Eclipse, WTP, and a
I already discovery what was wrong. Thanks anyway.
on the Application Base class the AuthorizationStrategy and
UnauthorizedComponentInstantiationListener must be registred like this:
@Override
protected void init() {
NetCasasAuthorizationStrategy authorizationStrategy = new
lets make the set1 a TreeSet() and col1 a HashSet()
and both have the same kind of objects
By default they are the same, but you can change the behavior by
initializing treeset with a comparator or having your elements
implement comparable... I guess hashSet will not care about the
I tried attaching it, but I guess that doesn't work. You can check it
out here:
https://www.foodhandler.org/wicketGuide/WicketQuickstartGuide.pdf
or here
https://www.foodhandler.org/wicketGuide/WicketQuickstartGuide.doc
-Original Message-
From: Igor Vaynberg
you can add a link to it off our wiki. or possibly upload it to the
wiki, not sure how attachments there work.
-igor
On Tue, Mar 3, 2009 at 3:36 PM, Dane Laverty danelave...@chemeketa.edu wrote:
I tried attaching it, but I guess that doesn't work. You can check it
out here:
I attempted to do that, but without any luck. I'm not at all familiar
with wikis, but I'd be happy to do it if someone will point me in the
right direction.
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Tuesday, March 03, 2009 3:44 PM
To:
what if you prepend a letter for what it is? something like:
mypanel_s_style_v_variant_l_locale.html - or something like that? so that
it doesn't matter what order they're in?
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Mar 3, 2009 at 4:57 PM, Ned Collyer ned.coll...@gmail.com
i got you most of the way there, you just need to upload images and
put them in the right place
when you hit edit page, switch to the first tab which says rich
format that should give you a nice wysiwig editor to work with.
-igor
On Tue, Mar 3, 2009 at 4:08 PM, Dane Laverty
Hi Igor,
First, thanks answering.
I have posted the demo code that throws this exception in a pastebin here :
http://pastebin.com/f28244adb
If there's anything unclear, please let me know.
Cheers,
Razvan
igor.vaynberg wrote:
its really had to tell whats going on because your markup is
Thanks, it looks good. I checked the Confluence website about adding
images to a page and it says:
To attach a file to a page,
1. Go to the page and click on the 'Attachments' tab.
2. Browse through your files and select the file you'd like to
attach.
3. Enter a description for the
On Mar 3, 2009, at 6:19 PM, Johan Compagner wrote:
why should that matter?
I am not suggesting that it *should* -- only that experience tells me
modifying the collection you are iterating over sometimes have funny
results.
I agree that either choice should be equivalent.
I am
Johan,
The question is phrased in such an ambiguous way that it's not even clear if
you're using Java!
If your col1 and set1 refer to the same object then your foreach is not
going to get very far (concurrent modification) so I'll assume thatcol1
!= set1 .
From a non-functional
Igor,
In Java, variant is the least significant component(s) of a locale:
lang_COUNTRY_variant .
Wicket adds style and variation (right?) so maybe only these components of
the filename should have a special marker. That way, some level of
consistentcy is maintained and the Wicket specific
No problem - glad I could help. As a note for the future, you should always
reply back to the list when asking follow up questions rather than asking a
single person - you are far more likely to be successful in finding your
answer.
As regards multi window support - it's not completely fail safe
I'm not sure exactly what you're asking. Is it one of the following?
- I have two apps in two JVMs - how do I transfer state from one app to the
second when clicking a link from one to the other?
- I have two apps in two JVMs - how do I expire state in the first when
moving to the second?
--
I'm trying to keep my app stateless wherever possible, especially on the
pages that serve merely as an introduction to the app but have no heavy
dynamic functionality.
On many of these pages I have a sing-in panel. This sign-in panel contains a
stateless username/password form. The onSubmit of
The continuation URL looks to only be stored if you arrived at the page by a
call to PageMap#redirectToInterceptPage, which is called by
RestartResponseAtInterceptPage exception. It's also stored in the session
(or rather, the PageMap, which is stored in the session). So, yes, you
would need a
i dont like the fact that there is now a -, (, ), and _ in the name
i can live with something like HomePage()(variation)_US_en.html vs
HomePage()(variation)(US_en)
maybe even simpler would be do
HomePage[style_variation]_US_en.html
that way a style only version can be
Hi all,
First off, I'm new to Wicket and I have to say I'm really liking it so far.
One concern I have is related to using non-serializable objects. If
I'm not mistaken, some other web frameworks will create dynamic,
serializable proxies for your non-serializable objects automatically,
when
Use a LoadableDetachableModel that can re-inflate / re-retrieve your
serializable object. It may only need to store something like a class name
and an integer ID, etc. This keeps session state small as well.
Serialization of all models allows for easier clustering when your site
becomes the next
objects you put into the model are stored in components, which are in
turn stored in httpsession and are serialized to disk. in order to be
serialized to disk or to be stored in httpsession (per servlet spec)
those objects must be serializable.
if your object is not serializable and all you do is
I'm familiar with that approach, but it seems a bit cumbersome -
especially for collections of non-serializable objects. I was hoping
there was some other way.
-Chris
On Tue, Mar 3, 2009 at 9:41 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
Use a LoadableDetachableModel that can
Igor,
I'd say your
HomePage[style_variation]_US_en.html that way a style only version can be
HomePage[style]_US_en.html and variation only would be
HomePage[_variation]_US_en.html we can then forbid the use of _ in style and
variation names.
is the best option (so far). There are no special
but there is a special rule about the _ prefix to indicate a
variation, where as a simple empty bracket is easy - its always
consistent [style][variation][locale]. just my two cents.
personally i never had to use variations myself, but there were
threads in the past about them, so i guess someone
String getFileNameTemplate() {
return
fileName([styleName][_variationName])[language[_territory][.codese...@modifier]];
}
On Wed, Mar 4, 2009 at 11:47 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
but there is a special rule about the _ prefix to indicate a
variation, where as a simple
we cannot make this overridable because it breaks encapsulation.
imagine you write a table component that includes styles and
variations. i then want to use it in my app where i have overwritten
this syntax, now my app wont pick up your styles and variations.
so we need to come up with something
Makes sense, and thanks for the quick replies.
The situation that I'm dealing with most commonly is where I'm dealing
with simple, DTO-like POJOS with no-arg constructors and
getters/setters (why they are not serializable in the first place is
beyond me). It just seems like it would be possible,
per each component?
On Wed, Mar 4, 2009 at 11:52 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
we cannot make this overridable because it breaks encapsulation.
imagine you write a table component that includes styles and
variations. i then want to use it in my app where i have overwritten
that would be extremely tedious if you want to override it for all
components in your application :)
-igor
On Tue, Mar 3, 2009 at 8:54 PM, Anton Veretennikov
anton.veretenni...@gmail.com wrote:
per each component?
On Wed, Mar 4, 2009 at 11:52 AM, Igor Vaynberg igor.vaynb...@gmail.com
wrote:
extend common base component?
On Wed, Mar 4, 2009 at 11:56 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
that would be extremely tedious if you want to override it for all
components in your application :)
-igor
On Tue, Mar 3, 2009 at 8:54 PM, Anton Veretennikov
of course its possible, you will basically be rewriting java's
serialization mechanism :) its been done before - eg xstream.
is it recommended or safe? probably not, so do at your own risk.
imagine a dao that holds onto a datasource. serializing the datasource
is probably not the best idea. also
On Tue, 03 Mar 2009, Chris Hansen wrote:
The situation that I'm dealing with most commonly is where I'm dealing
with simple, DTO-like POJOS with no-arg constructors and
getters/setters (why they are not serializable in the first place is
beyond me). It just seems like it would be possible, in
for every panel, textfield, label, tabbedpanel, etc, etc, etc?
-igor
On Tue, Mar 3, 2009 at 8:58 PM, Anton Veretennikov
anton.veretenni...@gmail.com wrote:
extend common base component?
On Wed, Mar 4, 2009 at 11:56 AM, Igor Vaynberg igor.vaynb...@gmail.com
wrote:
that would be extremely
I had to exclude **/*.java from the yui-compressor plugin so that the
project would build. I have never used yui-compressor, and didn't do much
investigating before making this change - I just know that it was leading to
zero byte class files after the java compiler had run and then
Only if someone needs to implement other file name policy and at the
same time don't want to copy paste.
My mite only: this is encapsulating AND flexible but...difficult to code.
On Wed, Mar 4, 2009 at 12:01 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
for every panel, textfield, label,
Hello all,
I am using Ajax Tabbed Panel.I have 4 tabs.First tab contains login form
and javascript to display images. When i run the project all works fine,
javascript displaying images also gets load but if i click the first tab
again the javascript displaying images does not gets load and
Tonight I finally bit the bullet and built a release of wicketstuff-core to
match the 1.4-rc2 tag of Wicket. Now if you are using wicket 1.4-rc2, you
can also include any artifact that's a child of wicketstuff-core with the
version 1.4-rc2 as well, without having to home build your own.
The repo
I think the admins disabled attachments for non-committers. Can you
attach them through a JIRA issue? then someone with the correct
permissions can upload them. Just make sure to give them identifiable
names, and don't forget to check the Intended for inclusion in Apache
products check box :)
Modified addMenuItem(String, Link) to addMenuItem(String, AbstractLink) in
org.wicketstuff.yui.markup.html.menu2.YuiMenu so that an ExternalLink can be
passed in. Committed as r4586 - let me know if there are any problems with
this.
Michael
On Tue, Mar 3, 2009 at 7:43 AM, Francisco Diaz Trepat - gmail
francisco.diaztre...@gmail.com wrote:
Hi all, I decided to ask for help, since last night I had nightmares of xml
files extrangulating me.
I read the portlet how-to in the wiki, probably misread it. I have an
application that has no
Hi Dane,
Thanks for the tutorial. Very clear and straightforward. :)
--
Nano Surbakti
On Wed, Mar 4, 2009 at 6:36 AM, Dane Laverty danelave...@chemeketa.edu wrote:
I tried attaching it, but I guess that doesn't work. You can check it
out here:
86 matches
Mail list logo