Hi all,
we have a site where some pages/components implement variant V. Now
there is a requirement to sell a mainly reskinned version S of this
site to a customer. So my first thought was to implement this
site-wide variant S as a style. But soon I realised that _V wouldn't
match variant V for
that never is assigned a non null page, because put is being called on
the first pagemap (29) instead.
I still don't know where the second pagemap is created, but I'm getting closer.
HIH
-Carlos
On Thu, Nov 20, 2008 at 3:05 AM, Carlos Pita [EMAIL PROTECTED] wrote:
Hi Matej,
I'm browsing your
Hi all,
as I've a requirement to maintain long lived sessions (~120s) I'm
using tomcat's PersistentManager to avoid keeping lots of sessions in
memory, each one with its own lastPage. I'm observing, specially in a
heavy loaded production environment, permanent errors with a trace
like
Nov 19,
, 2008 at 7:13 AM, Carlos Pita [EMAIL PROTECTED] wrote:
Hi all,
as I've a requirement to maintain long lived sessions (~120s) I'm
using tomcat's PersistentManager to avoid keeping lots of sessions in
memory, each one with its own lastPage. I'm observing, specially in a
heavy loaded production
:34 AM, Carlos Pita [EMAIL PROTECTED] wrote:
Another fact that could be relevant is that this only happens upon
processexpires, but never for swapin, which seems to suggest that the
span of the sessions that fail to restore is just one request (maybe
the ones coming from bots that don't support
trunk. I wonder if that helps it though.
-Matej
On Wed, Nov 19, 2008 at 12:44 PM, Carlos Pita [EMAIL PROTECTED] wrote:
The last one of the saga for now, I badly need to sleep.
I've been sampling tomcat work dir every second:
i=0; while [[ i -le 300 ]]; do echo $i; ls -lt /u01/tomcatWork
run it through xslt to transform it to whatever you need.
-igor
On Tue, Jul 8, 2008 at 8:53 AM, Carlos Pita [EMAIL PROTECTED] wrote:
Hi all,
I'm looking for a fine and dandy (or just fine) way to create widgets
for igoogle, facebook and others. I would like to reuse our wicket
components
Hi all,
I'm looking for a fine and dandy (or just fine) way to create widgets
for igoogle, facebook and others. I would like to reuse our wicket
components and pages because the widgets are not that different from
our site but a shrunk version of it. The main problem I'm facing is
that wicket
, as I'm throwing this in the open.
Regards
-Carlos
Martijn
On 2/19/08, Carlos Pita [EMAIL PROTECTED] wrote:
Just in case someone else is having the same problem, I solved it for
the time being overriding
@Override
protected ISessionStore newSessionStore() {
return
like to see an error page instead, errors of this kind end up
showing themselves as obscure page expiration issues that are hard to
trace if you don't know where to look.
Regards
-Carlos
On Feb 19, 2008 7:59 PM, Carlos Pita [EMAIL PROTECTED] wrote:
Of course, I'm proposing this just
Hi all,
I have worked out a reloading classloader (loosely inspired by Jean
Baptiste's one) that reloads classes upon entering of an http request,
instead of monitoring and reloading on saved changes. There are 2
observations that motivated me to implement this variant:
1) the current reloading
Hi all,
is it possible to alias resource paths like /resources/scope/name to
simply, say, /mount_point/name?
I know there is a scope alias for shared resources, but that only
works for the scope (class) part of the path, so it can't get shorter
that /resources/alias/path.
Then there is the
Hi edvin, pictures are not my only goal, I would like to serve compressed js
and css also, and to take advantage of wicket resource caching (http header
generation). Anyway, I wrote a simple requesttargeturlcodingstrategy that
fulfills my needs. If anyone is interested, here it is:
public class
A time ago I filed a bug relating markup inheritance with the reloading
servlet (although inline frames are involved too in my somewhat contrived
example). Enjoy the cocktail here
https://issues.apache.org/jira/browse/WICKET-965.https://issues.apache.org/jira/browse/WICKET-965
Regards,
Carlos
On
You can use border/body in a similar way than child/extend. Also, if
the form incarnations haven't a lot of common markup between them, you
can use the form as the webmarkupcontainer it is and put its logic in
one place but the markup everywhere the form is.
Regards,
Carlos
On 9/14/07, fero
What about PropertyModel with TextField and HiddenField, the usual way?
add(new HiddenField(hiddenField, new PropertyModel(bean, property1)));
add(new TextField(displayField, new PropertyModel(bean, property2)));
Regards,
Carlos
On 9/13/07, Kevin Liu [EMAIL PROTECTED] wrote:
Hi!
I wanna
a quickstart that reproduces it?
-igor
On 9/7/07, Carlos Pita [EMAIL PROTECTED] wrote:
I'm getting the exception below when following a PageLink, but not
with a BookmarkablePageLink. This wasn't happening with previous 1.3
snapshots (I updated my wicket copy this morning). The PageLink
it with beta3 and latest trunk. both work as expected.
gerolf
On 9/13/07, Carlos Pita [EMAIL PROTECTED] wrote:
Sorry for the delay Igor, not exactly what you asked for but I have
filed a new bug with an attached example that is probably closely
related to this issue.
https
behavior if the event is onblur. Can you submit RFE?
Done. I filed it as minor improvement
https://issues.apache.org/jira/browse/WICKET-957.
Because currently there is no way during ajax processing to determine
that the event was a focus related one. I think that it's good to
Maybe setting
in that issue.
Its not that we have to do something on the serverside this is a clientside
issue.
johan
On 9/11/07, Carlos Pita [EMAIL PROTECTED] wrote:
behavior if the event is onblur. Can you submit RFE?
Done. I filed it as minor improvement
https://issues.apache.org/jira/browse/WICKET-957
Maybe you can write a session listener to intercept session
destruction (give a look at servlet api, in particular
HttpSessionListener). For sessions that do have an associated (logged
in) user you can set the isConnected flag to false then.
I wouldn't recommend keeping these flags in a
From wicket.Session javadoc:
Arbitrary objects can be attached to a Session by installing a session
factory on your Application class which creates custom Session
subclasses that have typesafe properties specific to the application
(see Application for details). To discourage non-typesafe access
Carlos Pita-4 wrote:
If it's such a common case in your application write a (trivial)
component for it, and add it to your hierarchy with a oneliner where
it's needed. That's what componentization is mostly about, after all.
Regards,
Carlos
--
View this message in context
Maybe you want to try this.
Regards,
Carlos
On 8/30/07, Carlos Pita [EMAIL PROTECTED] wrote:
Hi all,
here is a hopefully functional example showing how to use an iframe to
upload a file and afterwards call a behavior on a component belonging to the
top frame, so that an ajax action could
With the attachment, of course :).
On 9/10/07, Carlos Pita [EMAIL PROTECTED] wrote:
Maybe you want to try this.
Regards,
Carlos
On 8/30/07, Carlos Pita [EMAIL PROTECTED] wrote:
Hi all,
here is a hopefully functional example showing how to use an iframe to
upload a file
private Employee e;
[...]
public LoginForm(final String id) {
super(id);
setModel(new CompoundPropertyModel(e));
Notice that your model is null.
Regards,
Carlos
On 9/10/07, Cristina [EMAIL PROTECTED] wrote:
Hello,
I'm trying to set up a simple login
Hi,
why is the default behavior for ajax requests to force focus into some
component (normally the one which triggered the event that caused the
request, I guess)? This produces some bizarre situations when onfocus
or onblur are used for ajax validation. For example, if the form
component to be
Hola / Hi,
queria pedir disculpas y advertir a todo aquel que haya recibido una
invitacion mia para quechup.com. Yo me registre por una invitacion que
a mi vez recibi de un contacto de confianza, sin prestar demasiada
atencion al procedimiento y sin saber muy bien de que se trataba. En
I'm getting the exception below when following a PageLink, but not
with a BookmarkablePageLink. This wasn't happening with previous 1.3
snapshots (I updated my wicket copy this morning). The PageLink is
created by the (id,class) constructor this way:
new PageLink(id, ChangePasswordPage.class)
code.
Alex
paolo di tommaso wrote:
Carlos,
Can you provide an example of your custom implementation of chained
behaviour?
Thanks, Paolo
On 9/6/07, Carlos Pita [EMAIL PROTECTED] wrote:
Currently people will have to build it in themselves like you did. We
can
Per,
use a AbstractReadOnlyModel or a DetachableLoadableModel for the
attribute value.
Regards,
Carlos
On 9/6/07, Per Newgro [EMAIL PROTECTED] wrote:
Ok. I tried the Attribute Modifier(String, String, boolean, Model)
Constructor but it didn't worked. There have been exactly the same results.
Or a PropertyModel.
On 9/6/07, Carlos Pita [EMAIL PROTECTED] wrote:
Per,
use a AbstractReadOnlyModel or a DetachableLoadableModel for the
attribute value.
Regards,
Carlos
On 9/6/07, Per Newgro [EMAIL PROTECTED] wrote:
Ok. I tried the Attribute Modifier(String, String, boolean, Model
Now that I think about it: maybe input should be automatically cleared
out in case the model is explicitly changed, don't you think?
On 9/6/07, Carlos Pita [EMAIL PROTECTED] wrote:
Maybe it's because your second and third dropdowns are taking their
input from the posted parameters (the raw
I've debugged a simple example and what I described before happens to
the letter, both for ajax updating behavior and for
wantOnSelectionChangedNotifications/onSelectionChanged. I don't think
it's a bug at all, but imo it would be reasonable to clear out the
input if the explicit intention of
still reading its value from the raw input Buenos Aires, you
won't get it resetted until you also clear this input.
Regards,
Carlos
On 9/7/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
so the validation fails yet you are still updating the models???
-igor
On 9/6/07, Carlos Pita [EMAIL PROTECTED
Hi all,
I'm using a tad of loadtime weaving in a very selective way: just a number
of classes in the service layer are being woven. For doing this, aspectj
weaver is installed as a java agent and configured to monitor no more than
the classes to advice. At the same time, some patterns are
restarted? that means the servlet context is being
reinitialized...why
it would do that i dont know
-igor
On 9/2/07, Carlos Pita [EMAIL PROTECTED] wrote:
No, just a custom jetty launcher (I think it's based on your own code
that
you kindly pasted in papernapkin a time ago :) ). Maybe
. public void setSelected(boolean selected) {
104. this.selected = selected;
105. }
106. }
Carlos Pita-4 wrote:
I am currently trying to convert the RepeatingView into a ListView, but
I
am
having problems
setting the model on the ListView. I call
I am currently trying to convert the RepeatingView into a ListView, but I
am
having problems
setting the model on the ListView. I call populateItem with a model, but
afterwards the model
is not being set on the view.
That's funny. Could you post the related code?
Regards,
Carlos
Hi,
it worked fine for me, I attach my own code so you can compare. Btw, why
don't you just use a listview with a model that filters out the selected
items? Imo it's simpler and more elegant. And another remark: you can bind
your checkbox to a boolean (see my example).
Regards,
Carlos
On
And now that I *really* look at this
while (exerciseTable.iterator().hasNext()) {
WebMarkupContainer container = (WebMarkupContainer)
exerciseTable.iterator().next();
if (container.get
On 8/26/07, Ian Godman [EMAIL PROTECTED] wrote:
I worked it out. Very simple solution!
On the AjaxSubmitLink override the onError method and add the feedback
panel to the AjaxRequestTarget !
Ian
Yes, that or setDefaultFormProcessing(false) as Eelco suggested before.
That's not doing
contribution, which should load the javascript dynamically for you.
Doesn't this work for you?
-Matej
On 7/31/07, Carlos Pita [EMAIL PROTECTED] wrote:
Yes Gwen,
there are a couple of workarounds, of course, I could call renderHead
explicitly from the page too. But the case seems not too
43 matches
Mail list logo