gories were too simple
at first (but then project scope drift started...)
You'll have to substitute table columns for components, it already has
isVisible, and you can just add isEnabled.
Hope it helps!
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
27;s convenient for casual users, who wish to try out
> the app. Most users have Web browsers pre-installed. They may
> not have Java, etc.
Good enough for me :-)
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PR
Wicket could work as it does now as
fallback and for the parts of the application that fit the wicket
model better, but have some of its AJAX callbacks "outsourced" to pure
data services. The fallback could call the same or a more direct
ins for this purpose).
I was thinking about using the existing wicket 1.4 API from scala, if
that's any more comfortable.
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
nce :-)
Is this any nicer in scala?
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ook at either the FeedbackPanel which you might be
reimplementing, or at overriding the isVisible function of the label
to make it show up conditionally.
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
Ooops, I goofed, everything works fine, the second class= attribute is
on an inner element :-)
Can we have wicket tabulate the html output in developement mode please? :-)
[...]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
sortedness
class and mine as expected, and another class attribute with the
sortedness class only:
Now that can't be right, did I do something wrong or could this be a bug?
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL
from introducing wicket to my team.
We also had a good understanding of the basics before meddling with
Ajax. It probably would have confused us a lot otherwise.
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Hi,
On 3/28/08, freak182 <[EMAIL PROTECTED]> wrote:
>
> Hi Igor,
> Any code exampleim such a newbie on this...form.detachModels?
> Thanks a lot...cheers...
I think he meant you should also clear the value from the model of the
component, for example like this:
stubbornTextField.setModelObj
+1
On 3/17/08, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Everybody is invited to vote! Please use
>
> [ ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3
> [ ] -1, I need a supported version running on Java 1.4
>
> Let your voices be heard!
>
> Martijn
>
> --
> Buy Wicket in Actio
(like java 7 :-) )
Gabor Szokoli
On 3/15/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'd say people using wicket now who did not mind switching
> from other framework might not mind upgrading web server
> to java5 (even 7:-), or deploy it on a new web server instead
&
On 3/4/08, Gabor Szokoli <[EMAIL PROTECTED]> wrote:
> In the ajax debug window, I can only see the modalwindow form
> submission, and no further activity.
Woops, this part was wrong. The component was sent in the
ajax response, but without the new choices added to the model by the
We're preparing a code example, the actual code is a bit convolved.
Thanks!
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
up on html, javascript, DOM,
xmlhttprequest, etc just to figure out what's what.
And then in the end the solution never involves any of that, just
passing the right thingie hadler as the whotsit to the doohickey.
We still love it, just need some help :-)
On 2/29/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> What is your question exactly? What do you want todo in wicket?
>
Woops, wrong users list, sorry about the noise!
(should have been the jersey list...)
G
Hi,
I have a GET method which takes a bunch of optional search parameters.
I then put these in a map, keyed by the .
A cool servlet framework we use (wicket) has a construct called
PageParameters. Is there anything similar in Jersey?
Gabor Szokoli
e use reflection for currently I expect.
Just imagine, JAXB could be a utility class with 2 static methods:
encode and decode :-)
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
t foresee
a situation in our current application where we couldn't follow the
same pattern.
We keep underestimating wicket :-)
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ment for bookmarkable,
human readable URLs representing the user interaction state. REST if
you will :-)
We are just now looking into a full AJAX redesign of the application
(not all our requirements are wise :-) ), reading up on the required
trickery like this:
http://ajaxpatterns.org
share
a model, and do setObject on that.
Where do I put my OnModelObjectChanged event handling code without
sacrificing too much from my lovely loosely coupling?
Any advice is warmly welcome.
Gabor Szokoli
-
To unsubscribe, e
(You can look at my original-original message multi-quoted on the
bottom of my first mail from today...)
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, we use the class-based setResponsePage variant because we need
to set a few page parameters to store some of the state in the URL.
Thanks!
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
display per page for example) get
lost in this cycle.
Could you guys suggest some in-between approach, where part of the
state is stored in the URL, but the rest is kept in the components
(models)?
Thanks:
Gabor Szokoli
On Nov 28, 2007 9:46 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> why
assume mine resembles "flush" more, so
dibs on his subject line! :-) )
Gabor Szokoli
On Dec 19, 2007 9:26 PM, venky221 <[EMAIL PROTECTED]> wrote:
>
> If I restart my tomcat between the two requests, it works fine but I can not
> flush the markup conten
ghtly related, what would be the best way for a single onclick()
event to result in both a wicket page refresh and a download?
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
could of course share this knowledge between your servlets in many
ways from JNDI to a web service depending on the level of isolation
between them.
Gabor Szokoli, possibly misunderstanding the issue
-
To unsubscribe, e-mail: [EMAIL
reverse proxy.
Or the two servlets could talk to each other and share the registered
bookmarkable URLs dynamically
> I wonder if there is a way to make a WebPage application aware, so that it
> resolves it's owner application automatically.
Application
Hi!
I do not know what could cause the difference between operation on
Linux and on XP, (perhaps some locale is not installed) but here is a
workaround you could try:
On Dec 15, 2007 2:49 AM, JohnSmith333 <[EMAIL PROTECTED]> wrote:
>
> My wicket code in xp show normally. The text isn't incompr
Solved in-house, sorry about the noise.
I was looking at the wrong place, I should have used
continueToOriginalDestination in the login form submit code.
Again, for the sake of completeness, here's the pattern to preserve
the bookmarkable URL complete with page parameters across the login
procedu
ar for headers and element attributes like
title)
You could change WicketMessageResolver, it uses a label inside.
I'd use a new attribute (defaulting to the old behavior when missing)
if I were you:
Gabor Szokoli
-
To
On Dec 12, 2007 11:58 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> ((WebResponse)r.getResponse).setAttachmentHeader("foo.xls");
Indeed!
Thank you.
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTEC
n for saving which page the user attempted to access
with what parameters, and delivering it after a successful login?
Thanks:
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Dec 12, 2007 7:23 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> correct. only that one user will have to wait for the download to
> complete. if that is undesired then use a shared resource.
This is what we experience, and it is fine.
Good natural limit on the amount of load each user can caus
Thanks all!
On Dec 12, 2007 8:48 AM, Thomas Singer <[EMAIL PROTECTED]> wrote:
> IIRC, DownloadLink and Igor's anonymous class will lock the session, so if
> you have one downloading over a very slow connection, other users will get a
> timeout.
I beleive I have separate sessions for each user, so
I guess I forgot to mentionthe single most important aspect of my question:
The archive not present on the file system, it is dynamically
assembled on the fly from individual files.
(the whole point is downloading multiple files in one go.)
Gabor Szokoli
On Dec 11, 2007 11:45 PM, Jeremy Levy
target.setFileName(new
SimpleDateFormat("MMddHHmmss").format(Calendar.getInstance().getTime())
+ ".zip");
getRequestCycle().setRequestTarget(target);
All suggestions are welcome.
Gabor Szokoli
--
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
like this:
IModel action = new StringResourceModel("toggle.${account.enabled}",
this, new Model(user));
Not 100% sure, I'm just making it up :-)
Gabor Szokoli
>
>
> //Set the model for the enable/disable account button also known
> as "toggle"
>
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
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]
(partial) form state?
Thanks in advance:
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Nov 27, 2007 5:52 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> you can create your own subclass that does what you want...but thats
> about it short of writing your own component
Thanks, just wanted to make sure I'm not overlooking some more
straight-forward way of do
make a
"free-text palette" set editor?
(regular palette does not work, as we must have a text entry field for
adding new elements, there is no finite universal set to chose from.)
Thank you in advance for any ideas!
Gabor Szokoli
These two are the exact same things I have in mind about wicket:
On Nov 15, 2007 10:18 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> I've always had in my mind that the perfect
> approach to state handling would be to give users the choice between
> server managed and client managed (i.e. by pa
On Nov 16, 2007 6:06 PM, mclev <[EMAIL PROTECTED]> wrote:
>
> I have a case where I'm using a checkbox to show boolean data in a table.
> However I want the data to be readonly.
Try setEnabled(false), works on any Component.
Szocske
--
On 9/15/07, Zenrique Steckelberg <[EMAIL PROTECTED]> wrote:
> - allow constructor to accept models besides beans too, if possible.
Me too! :-)
Or is there some other way to use DetachableModels backed by JPA with WWB?
(The abbreviation conjures images of a tiny but venerable local
railroad compan
With all due respect:
On 9/8/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Do note however, that we presume basic knowledge of Java programming
...fair enough...
> and Java web applications (what is a war, what is a web.xml file).
Wicket, being component based, has great appeal for people wi
gt; >
> > > -igor
> > >
> > >
> > > On 9/6/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> > > >
> > > > new PropertyModel(Page.this, "session.foo.sushi.bar");
> > > >
> > > >
On 9/6/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> new PropertyModel(Page.this, "session.foo.sushi.bar");
>
> ?
Wow.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 9/5/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> can you make an jira issue for this?
https://issues.apache.org/jira/browse/WICKET-936
Any ideas on encapsulating the session as a propertymodel for components in 1.2?
Gabor
Uh, oh, one more quick thing:
I'm still on wicket 1.2, and my wicket:message labels retain their
text in the locale they were first rendered in.
Is there anything I can do on locale changes to make them change their text?
Is this behavior the same under 1.3?
Gabor
On 9/3/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Just go with overriding getLocale on your custom session object. If
> you need to support just one locale, that's easy: just always let it
> return that locale. Otherwise, you'll have to do some more work (e.g.
> using request.getLocale()), b
On 9/3/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > I use wicket 1.2 for now.
>
> Yeah, unfortunately it doesn't work for 1.2. It's one of the
> improvements for 1.3.
We'll upgrade for the next release once this one is out...
> But either override getLocale in your session, or set it using
On 8/22/07, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> There are some different approaches you could use...
>
> But why not make a parent page class where you do it in? And then
> inherit from that? Or just use a custom session which does it by it
> self(check out the quickst
On 8/28/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> well, what wicket does is version the state if you keep it inside its model,
> so it all Just Works. But because you are keeping your state outside of
> wicket you have to build your own versioning mechanism, or remove your state
> machine and
On 8/24/07, Oleg Taranenko <[EMAIL PROTECTED]> wrote:
>
> moreover the payment through a paypal account, that withdraws money from card
> emitted by a
> russian bank, failed too! :|
They seem to accept visa, mastercard and AMEX, you don't have to use
On 7/26/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Eelco and I are really happy to announce the availability of our first
> two chapters of our forthcoming book "Wicket in Action".
Manning does not accept orders from Hungary, where I happen to live and work.
Normally we don't bother with su
and we only had to
supply the business logic via a web service...) just wanted to share
my thoughts on the separation of concerns slogan.
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi!
On 8/13/07, shumbola <[EMAIL PROTECTED]> wrote:
> If I use RadioGroup, then having problem with my Model. Appreciate if
> someone show me the right way with a sample code.
We use RadioGroup for something similar and it works fine.
The form has a CompoundPropertyModel with attributes including
On 8/7/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> in 1.2 you cannot call error/info/etc from component's constructor because
> you havent added that component to the page yet. in 1.3 it just works.
Indeed.
I was under the false impression that this function worked on regular
deployment, but th
Hi,
I'm using wicket 1.2, and use the WicketTester startPage(...) method
in a unit test.
(In fact there's nothing else in it, I just want to test if the markup
matches the component hierarchy.)
Problem is, a component on the page uses its error(...) method to
display its dissatisfaction with the m
On 7/30/07, Ed_ <[EMAIL PROTECTED]> wrote:
>
> http://mail-archives.apache.org/mod_mbox/wicket-commits/200707.mbox/[EMAIL
> PROTECTED]
> Is there any correlation?
I don't think so, but I'm not much more experienced with wicket than
you are :-)
> > Thanks the toString override seems to work in t
Hi,
Sorry if duplicated:
On 7/29/07, Ed _ <[EMAIL PROTECTED]> wrote:
>
> I am trying to create an editable form - this has a drop down list. in it
>
> List ratingList = cfg.getContentRatingList();
> DropDownChoice ratingChoice = new DropDownChoice("rating", new
> PropertyModel(form, "category"),
64 matches
Mail list logo