will be more fluid
3- Also block UI while replacing panel: if your users are too fast you
might encounter the same problem again.
On Thu, Jun 4, 2015 at 9:16 AM, Edgar Merino donvo...@gmail.com wrote:
Hello:
I'm having a problem with dynamic resources and ajax calls, I have a
panel
'mainContainer:mainPanel:wrappedContent:tabbedPanel:panel:materias' has
been removed from page.
I understand the error, but I don't know what to do to avoid it,
has anyone got a similar problem and found a solution?
Thanks in advance.
Edgar Merino.
-
To unsubscribe, e-mail
.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Jun 4, 2015 at 10:43 AM, Edgar Merino donvo...@gmail.com
wrote:
Hello, thanks for the response, what do you mean exactly by delegate to
the mounted resource? I'm thinking I can mount the images resource
On Tue, Jul 1, 2014 at 10:15 PM, Edgar Merino donvo...@gmail.com wrote:
Hello, we've been working on some javascript code that needs to compute
some values before sending the request to wicket server side. Currently, we
bind directly to the component's click event using jquery from js, and send
extra
parameters that need to be sent with the request.
I believe both approaches would work, but updating the
AjaxRequestAttributes seems the best way to go... am I missing something
here?
Thanks in advance.
Edgar Merino
() with
getRequestCycle().getRequest().getRequestParameters() and override with
them the page's parameters (page.getPageParameters())
Martin Grigorov
Wicket Training and Consulting
On Wed, May 21, 2014 at 9:41 PM, Edgar Merino donvo...@gmail.com wrote:
Hello, I've got a problem that I've just noticed
Hello, I've got a problem that I've just noticed today: When an instance
of a WebPage is created with some url parameters, the PageParameters
object is never updated, that is, if I refresh the same webpage with
different url parameters this won't be taken into account, instead the
first params
?
Thanks in advance.
Edgar Merino
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
to be added to the
formComponent.
Your custom Panel can override add(Behavior...) to do the forwarding
though.
Sven
On 05/05/2014 08:19 PM, Edgar Merino wrote:
Hello, I currently have a Panel with a DropDownChoice added to it,
currently I have a method (MyPanel#addBehavior()) to delegate adding
Thank you.
On 28/11/13 01:58, Martin Grigorov wrote:
Hi,
See AbstractFormValidator.
Use any of the provided implementations of this class as inspiration.
On Thu, Nov 28, 2013 at 9:48 AM, Edgar Merino donvo...@gmail.com wrote:
Hello, I have a class that defines 2 properties that depend
and a single method to set and validate the 2 dependent
properties.
Is there a way to accomplish this?
Thanks in advance.
Edgar Merino
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail
Hello, I'm having a problem with a FileUploadField, I'm using
CompoundPropertyModels through my application but for this single
element I would like to avoid having a model, however calling
fileUploadField.setDefauiltModel(null) will not work, since it will
always try to locate a
It seems that overriding Component#initModel() to return null does the
trick!
On 25/10/13 12:30, Edgar Merino wrote:
Hello, I'm having a problem with a FileUploadField, I'm using
CompoundPropertyModels through my application but for this single
element I would like to avoid having a model
Thank you Francois, but as I mentioned in an earlier post overriding
FileUploadField#initModel() to return null did the trick and seems a bit
cleaner that creating a Dummy model. Overriding initModel() makes sure
the model won't be looked up in the component parents.
Edgar Merino
On 25/10
Hello, I have a Form with some components attached to it, when I submit
the Form through an AjaxSubmitLink some of these components may throw an
Exception while updating their models. What can I do to handle these
Exceptions and show error messages using error() and adding the feedback
panel
, Edgar Merino wrote:
Hello, I have a Form with some components attached to it, when I
submit the Form through an AjaxSubmitLink some of these components
may throw an Exception while updating their models. What can I do to
handle these Exceptions and show error messages using error() and
adding
this component is not visible/reachable by the page then its stateful
behavior is not reachable too. So at the end the page may be still
stateless and thus never stored.
Try with: page.setStatelessHint(false)
On Fri, Aug 30, 2013 at 8:22 AM, Edgar Merino donvo...@gmail.com wrote:
I'm completely lost
anyone have a clue on how to do this?
Thanks in advance,
Edgar Merino.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
I have track this down to the Component#modelChanging() method, it seems
that the actual modified page is not being stored in the session
(perhaps it has something to do with dirty pages?). I'm a bit lost here,
any clue would be appreciated.
Thank you.
On 29/08/13 14:33, Edgar Merino wrote
:52, Edgar Merino wrote:
I have track this down to the Component#modelChanging() method, it
seems that the actual modified page is not being stored in the session
(perhaps it has something to do with dirty pages?). I'm a bit lost
here, any clue would be appreciated.
Thank you.
On 29/08/13 14
to solve this?
On 29/08/13 23:05, Edgar Merino wrote:
Found the problem, it has to do with versioning of pages... my
callback is not changing the version number in the URL so everytime I
refresh the web page I'm retrieving the older version of the page. I'm
gonna have to work with AjaxRequestTarget
?
Thanks in advance,
Edgar Merino
On 05/12/12 10:56, Jan Riehn wrote:
Hello Edgar,
I think I'm missing something: since every WebPage in wicket has
straight access to resources located in the web root (that is, every
path reference in the page's markup is relative to the web root)
Wicket
to organize html files so the designers can put all the
resources they need in their root folder. The mechanism you describe,
seems to use folders, how are you managing this for the designers?
Edgar Merino
On 04/12/12 04:15, Jan Riehn wrote:
Hello Edgar,
Yes, this is how it works.
For the best
, so I can for instance name our html files using
the fqcn e.g. my.company.HomePage.html and placing these files in the
default package (under src/main/html for example).
Is this the way to go?
Thanks in advance,
Edgar Merino
in;
public InputStreamResource(InputStream in) {
this.in = in;
}
@Override
public IResourceStream getResourceStream() {
return new InputStreamResourceStream();
}
}
//CODE ENDS
Edgar Merino
),
what workaround can I apply to avoid this kind of overhead (to have a
real session per request instead of session per thread?).
Correct me if I made the wrong assumptions,
Edgar Merino
-
To unsubscribe, e-mail: users-unsubscr
Hello,
How can I allow a user to download a file from a stream? for example
an xls that's generated when the user clicks a download button? where
should I place the file to be downloaded?
Thanks in advance,
Edgar Merino
This one seems to have no answer, I've tried googling and everything
stopped just here, were I started, I hope someone could provide a
solution (different than using salve).
Edgar Merino
Edgar Merino escribió:
Anyone for this?
Edgar Merino escribió:
Hello,
I've been trying
I've got an abstract calendar already coded, the only problem is that
it's using a DataTable (instead of only a gridview), I have to change
the code to use the gridview instead, I'll post the code tomorrow if
I've got the time and you're still interested.
Edgar Merino
John Krasnay
way to give salve a try but
I'm having some problems there too (waiting for a response from the
Discussion group), what suggestions can you make?
Thanks in advance,
Edgar Merino
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Anyone for this?
Edgar Merino escribió:
Hello,
I've been trying to inject a service to some classes that are not
wicket components, I've asked here and was suggested to use static
injection: InjectorHolder.getInjector().inject(this); however this is
not working with guice, I always get
injected, so I'm using salve for this, instead of using
@Inject to inject the service I use @Dependency, but I'm getting
nullpointerexceptions, any hint?
Thank you,
Edgar Merino
-
To unsubscribe, e-mail: [EMAIL PROTECTED
As far as I know, salve will only modify bytecode, it should do that
only once, after the JIT compiler comes in there should be no more
overhead. Correct me if I'm wrong, regards.
Edgar Merino
Guðmundur Bjarni escribió:
I agree that static injection is fugly, it makes unit tests very sad
Also, InjectorHolder.getInjector().inject(this) does not work with
guice, it returns an illegalstateexception saying there's no injector
assigned for the holder. It would be nice to have more documentation on
how to use salve, regards.
Edgar Merino
Guðmundur Bjarni escribió:
I agree
.
Regards,
Edgar Merino
Daniel Frisk escribió:
Hi,
I'm not sure I understand exactly what is your problem but wouldn't
something like this:
Db4oImpl / JpaImpl / WhateverImpl ---extends---
AbstractBaseClassWithYourBusinessLogic ---implements--- YourInterface
Where needed you would delegate
with the same doubt)?
Thanks again for the help,
Edgar Merino
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
application. Why didn't it work? what should I do in this
case to keep a reference to my Guice injector? Thanks in advance.
Edgar Merino
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Let me correct that last response: the problem is not solved yet. I
thought it was but after redeploying my application again I got a
serialization exception, why didn't the previously supplied solution
didn't work? can anyone give me a hand on this? thanks in advance.
Edgar Merino
Edgar
with wicket so I don't think I need that, any
suggestion?
Edgar Merino
Edgar Merino escribió:
Hello,
I need to hold a reference to a Guice injector inside my
WebApplication, however since the injector is not serializable I tried
using a GuiceInjectorHolder and keeping a reference
But I only need to keep a reference to a Guice injector in my
WebApplication to use it across some methods in it, I don't need it
inside my wicket components... I think the wicket-guice integration
serves a different purpose, correct me if I'm wrong.
Edgar Merino
richardwilko escribió
is
the stack trace. Any help is greatly appreciated.
Edgar Merino
org.apache.wicket.WicketRuntimeException: Failed to serialize [Page
class = org.devpower.wicket.cms.core.page.AdminPage, id = 0, version = 0]
at
org.apache.wicket.protocol.http.SecondLevelCacheSessionStore
Ok, using wicket-guice now, problem solved... I didn't want to depend on
guice inside my wicket components, but integration is perfect, so I
guess I'll just leave it like that, thank you Igor.
Edgar Merino
Igor Vaynberg escribió:
right. you are not keeping a reference to the injector
the Application,
but I do not want to do this since I don't want the application to know
about my Instantiator class, is there a better approach to accomplish
what I need? thanks in advance.
Edgar Merino
-
To unsubscribe, e-mail
(this);
}
...
}
maybe I'm doing something wrong? any other solution? thank you
Edgar Merino
Jeremy Thomerson escribió:
Try adding a constructor and putting this line in it:
*InjectorHolder*.*getInjector*().*inject*(*this*);
Works with Spring - haven't used Guice personally
Let me correct that last post, I forgot to add the @Inject annotation to
the service... it's working... thank you!
Edgar Merino
Edgar Merino escribió:
Thank you Jeremy, I've tried that but it did not work:
public class Instantiator {
public Instantiator() {
Injector injector
coding scalable web applications.
Regards,
Edgar Merino
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to make this work with what I need. I think an
abstractajaxtimerbehavior is what I need here but I need to know how to
submit the form in the onTimer method.
Thanks in advance.
Edgar Merino
-
To unsubscribe, e-mail: [EMAIL PROTECTED
PropertyColumn, so using it is as simple as:
(DateColumn class shown below)
ListIColumn cols = new ArrayListIColumn();
cols.add(new DateColumn(new Model(header title), propertyExpression));
No extra code needed, regards.
Edgar Merino
import java.util.Date;
import java.text.DateFormat;
import
Never mind, I guess this can be solved by calling the actual Parent that
holds the FeedbackPanel:
Component parent = null;
do {
parent = feedbackPanel.getParent();
} while(parent.getParent() != null);
Regards,
Edgar Merino
Edgar Merino escribió:
Hello once again,
I've been coding
);
}
}
}
Thanks in advance
Edgar Merino
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
Is it possible to contribute to the body html tag from within
children pages? directly in markup, like when using the wicket:head
tag (without modifying the java WebPage).
Thanks in advance.
Edgar Merino
ArrayListIColumn();
columns.add(new DateColumn(new Model(Delivery date), dd MMM '@'
hh:mm a));
Regards,
Edgar Merino
Jeremy Thomerson escribió:
The default java.util.Date converter within Wicket has varied between
releases. I suggest adding this to the init method of your application
class
Anyone?
Edgar Merino escribió:
Hello again,
I'm using version 1.3.4 (will wait until the generics version reach
its final state), the functionality I need with the RepeatingView is
because I want a BasePage to contain a right panel (represented by a
RepeatingView), where other panels
Thank you!
Edgar Merino
Igor Vaynberg escribió:
you can override renderiterator() and return one that iterates
chlildren in any order you wish
-igor
On Tue, Sep 30, 2008 at 4:34 PM, Edgar Merino [EMAIL PROTECTED] wrote:
Hello again,
I'm using version 1.3.4 (will wait until
Use java.text.DateFormat for that matter (take a look at
SimpleDateFormat in case you need more control over how you want your
date to be formatted).
Edgar Merino
Pablo S. escribió:
Hi, I would like to know how I can format a value from 1 column that
is a date. I've a sortable dataprovider
Hello,
is there any way to control the underlaying Collection a
WebMarkupContainer holds? So I can control where to insert the new
components to be added (with an index, for example). Thanks in advance.
Edgar Merino
this automatic from the BasePage, so I can avoid
having all the children of BasePage call that specific method at the end
of its constructor? (perhaps, using a callback? will onBeforeRender()
work?).
Edgar Merino
Igor Vaynberg escribió:
in 1.4 there is markupcontainer.swap()
-igor
On Tue, Sep
a hint on what to do, thank you in advance.
Edgar Merino
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
that involves many subcomponents
and add
it to your datatable. Too simple?
On Thu, Sep 25, 2008 at 11:28 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Do it as a panel..?
Edgar Merino wrote:
Hello,
I've got a DataTable that needs to add to each of its Items
Hello again,
Is it possible to add a caption to a DataTable? Toolbars are not
good for these, any advice on how to do this? Regards.
Edgar Merino
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Never mind, solved it using some extra css.
Edgar Merino escribió:
Hello again,
Is it possible to add a caption to a DataTable? Toolbars are not
good for these, any advice on how to do this? Regards.
Edgar Merino
be seeing by going to the wicket examples page in the linkomatic
application, after the session expires you can no longer click the ajax
link counter without receiving a PageExpired exception).
Thanks in advance.
Edgar Merino
Would do, I think there are not many security implications in doing
this, am I correct?
Thank you,
Edgar Merino
Piller Sébastien escribió:
How about increasing the session's timeout?
Set it to 10 hours, then nobody will get a PageExpired in a normal use
Edgar Merino a écrit :
Hello,
I've
Thank you again, no sensitive information is to be used.
Edgar Merino
Piller Sébastien escribió:
afaik, there isn't much...
if your manage normal data, no problem. But with financial, banking,
etc. when you have to manage cash, or sensible data, I'd discourage
you to do so... if a user
64 matches
Mail list logo