I've tested my code with latest 1.4.x branch version in chrome, and
apparently there is another problem with this:
- if AjaxSubmitLink adds to the target some component to be refreshed, then
it will disappear. This can be reproduced only in Chrome (v 5.. probably the
same problem is with v. 4). In
Any updates on this issue? Will there be a fix?
Check this out:
https://issues.apache.org/jira/browse/WICKET-2737
1.4.7 will have that fix, in the meantime you can patch your wicket-spring
by yourself.
--
View this message in context:
jthomerson wrote:
If you're rendering JS that shouldn't be executed until the page is
loaded,
call this method in your renderHead method:
On Wed, 2010-02-17 at 11:18 +0200, Objelean Alex wrote:
I've tested my code with latest 1.4.x branch version in chrome, and
apparently there is another problem with this:
- if AjaxSubmitLink adds to the target some component to be refreshed, then
it will disappear. This can be reproduced only
hi
We're using Wicket with Guice.
An issue has just popped up : on some special injected objects, we
access public fields. These public fields are themselves injected
through guice.
However, due to the LazyInitProxyFactory, they're not. Indeed, as far as
I got it, the LazyInitProxyFactory
Vineet,
I'm now storing the session id in the user record. But now I have another
problem, because hibernate tells me now in sessionDestroy():
org.hibernate.HibernateException: No Hibernate Session bound to thread, and
configuration does not allow creation of non-transactional one here
I'm
I am attempting to put an isolated form within the main form of my page. I
found http://cwiki.apache.org/WICKET/nested-forms.html which was helpful in
understanding how the processing works. I was even more excited when I found
http://cwiki.apache.org/WICKET/conditional-validation.html which
Issue created quickstart attached:
https://issues.apache.org/jira/browse/WICKET-2751
martin-g wrote:
On Wed, 2010-02-17 at 11:18 +0200, Objelean Alex wrote:
I've tested my code with latest 1.4.x branch version in chrome, and
apparently there is another problem with this:
- if
quick solution to do by retrieving the bean from spring applicationcontext
in your webapplication,
it will work but i am not sure how good the solution is .
On Wed, Feb 17, 2010 at 5:54 PM, Andreas Lüdtke sam.lued...@t-online.dewrote:
Vineet,
I'm now storing the session id in the user
Hello everyone,
I'm looking for a TimePicker component. I searched in the list
and found the dojo time picker from wicket-stuff but isn't working
with wicket 1.4.x. Throws an exception when the component is
being rendered.
Is there any other component? Is any dojo integration compatible
with
a small example,
WebApplicationContextUtils.getRequiredWebApplicationContext(getServletContext()).getBean(name)
On Wed, Feb 17, 2010 at 8:50 PM, vineet semwal
vineetsemwal1...@gmail.comwrote:
quick solution to do by retrieving the bean from spring applicationcontext
in your webapplication,
Vineet,
could you please give me a hint or a code snippet how to access that
interface? I'm a spring beginner and a little bit lost at the moment.
As I said, in my app the dao is injected and when the session is destroyed,
the link to hibernate is lost.
Andreas
-Original Message-
I would also like to know the answer to this. The only reason our team
hasn't moved to 1.4 is because we have dependencies on some dojo projects
but none of the ones we use work in 1.4.
Josh
-Original Message-
From: Mauro Ciancio [mailto:maurocian...@gmail.com]
Sent: Wednesday,
Vineet,
thanks for the snippet. When I try your code, I get again an error message
saying:
org.hibernate.HibernateException: No Hibernate Session bound to thread, and
configuration does not allow creation of non-transactional one here
So, how can I bind the hibernate session to my thread? Or do
Hi,
create a service class marked with Annotation @Transactional and manage it
with spring. Calls to this function will have get a session from the spring
context.
Spring will open a session before calling any function on this service and
close the session afterwards.
@Service
Thanks for the fix, zbigniew. However, IMO it isn't complete:
https://issues.apache.org/jira/browse/WICKET-2737?focusedCommentId=12834859page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12834859
what do you think?
On Wed, Feb 17, 2010 at 1:20 AM, zbigniew
Hi,
I have a question on how to address a certain problem that arose in my current
project: we have a two-dimensional array with a variable number of rows and
columns
(not exactly rocket science, I know) that needs to be rendered in an HTML table
where
each cell is currently represented by a
Could you use a PageableListView or does that not fall within your business
requirements?
Josh
-Original Message-
From: d...@agentlab.de [mailto:d...@agentlab.de]
Sent: Wednesday, February 17, 2010 12:08 PM
To: users@wicket.apache.org
Subject: Large number components and redering time
Hi!
Did you jprofile where the time is spent?
**
Martin
2010/2/17 d...@agentlab.de:
Hi,
I have a question on how to address a certain problem that arose in my
current
project: we have a two-dimensional array with a variable number of rows and
columns
(not exactly rocket science, I know)
Surely a change in the use case would ease our lives, unfortunately we are
migrating a legacy application to a new technology and the look and feel (if
you could call it that) must be retained...
J,
Josh Chappelle wrote:
Could you use a PageableListView or does that not fall within your
please don't tell me that there is any person around that needs 25k elements
per page...
this is a fault in the specification of the former system also :)
Am Mittwoch, 17. Februar 2010 19:30:29 schrieb d...@agentlab.de:
Surely a change in the use case would ease our lives, unfortunately we
I set up a WicketTester Testcase and used Eclipse TPTP to look into the
app. Over 90% were spent in beforeRender calls... However, since the load
that was produced by running the testcase within a monitored environment
brought my computer to its knees, I will have to dwell deeper into the
problem
How long does it take to pull up the static html in your browser?
Just the browser render can be non-trivial for a large enough file.
Are you using arrays instead of collections and (where possible)
primatives instead of objects? An int[100,250] is much smaller than a
comparably scaled
Granted, it is not very readable and we are investigating ways in re-defining
the requirements. But as of now, the requirements stand as they are... and I
have
to find a way of meeting them...
J.
Ilja Pavkovic wrote:
please don't tell me that there is any person around that needs 25k elements
The amount of data that is generated is aroung 1MB so the time to bring it to
the browser is not the problem (in a LAN setting). Also, Firebug does not give
me
any sign of rendering problems in the browser. Also, the large amount of time is
also consumed in a WicketTester set-up without network
Hi,
When a child modal window closes, I need to refresh the values in the parent
window.
I think I should use modal.setWindowClosedCallback(new
ModalWindow.WindowClosedCallback()
function to search for the new values to display.
But I am not sure how to rerender the page so the values shown will
Hi, sorry I'm new to wicket and was wondering if the following is possible.
I am stuck with putting up a webapp on IIS and I am only able to use
HTML/javascript. We were planning on implementing services in JBoss and
creating restfull services to send data to the front end. I don't really
want
The onClose method of the WindowClosedCallback takes an AjaxRequestTarget
parameter. Just call AjaxRequestTarget.addComponent() and pass it the panel
that you need refreshed.
Josh
-Original Message-
From: Anna Simbirtsev [mailto:asimbirt...@gmail.com]
Sent: Wednesday, February 17, 2010
i would imagine you would have the same problem even in a local
environment such as swing...
the solution is quiet simple, instead of using wicket components to
model the table and the cell simply use a single component that writes
out html for the entire table.
-igor
On Wed, Feb 17, 2010 at
And loadabledetachablemodels are in place?
**
Martin
2010/2/17 d...@agentlab.de:
The amount of data that is generated is aroung 1MB so the time to bring it
to
the browser is not the problem (in a LAN setting). Also, Firebug does not
give me
any sign of rendering problems in the browser.
We had some troubles like this in the past. It turned out that the
Ajax links that were in the cells were troublesome, I believe. Search
the archives. Someone gave me some code to fix it, but I don't have
it handy right now (or I don't know how to find it if I do).
On Wed, Feb 17, 2010 at 1:42
Swing uses a variety of TableCellRenderer on a per table instance
basis. What component are you suggesting to use for this behavior in
Wicket?
Bernard
On Wed, 17 Feb 2010 11:04:09 -0800, you wrote:
i would imagine you would have the same problem even in a local
environment such as swing...
the
On Wed, Feb 17, 2010 at 1:31 PM, b...@actrix.gen.nz wrote:
Swing uses a variety of TableCellRenderer on a per table instance
basis.
if you had a table cell that needed a button then you wouldnt use a renderer
What component are you suggesting to use for this behavior in
Wicket?
a
Is it possible to add a header contributor to all page in an Application
without making a base class?
D/
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
You could use an IComponentInstantiationListener/HeaderContributor I suppose.
http://wicket.apache.org/docs/1.4/org/apache/wicket/application/IComponentInstantiationListener.html
http://wicket.apache.org/docs/1.4/org/apache/wicket/behavior/HeaderContributor.html
On Wed, Feb 17, 2010 at 5:59
In case of repeated buttons I think I would use a combination of a
TableCellEditor and a TableCellRenderer with a button behind them,
still only single instances serving many rows. There would only be a
single event listener that would check selected row index. Would it
make sense to have that in
we already provide support for all this...
class cheaprenderer implements ilinklistener {
protected void oncomponenttagbody(...) {
...
getresponse.write(href=\);
getresponsr.write(urlfor(this, ilinklistener.interface)+x=+x+y=+y));
}
public final void onclick() {
Many thanks. I like it. Good when memory is expensive :)
On Wed, 17 Feb 2010 16:21:16 -0800, you wrote:
we already provide support for all this...
class cheaprenderer implements ilinklistener {
protected void oncomponenttagbody(...) {
...
getresponse.write(href=\);
But how would I add that to every page in the App?
On Feb 17, 2010, at 5:05 PM, James Carman wrote:
You could use an IComponentInstantiationListener/HeaderContributor I suppose.
http://wicket.apache.org/docs/1.4/org/apache/wicket/application/IComponentInstantiationListener.html
The instantiation listener is called for every component (and thus page).
You check to see if the object is a page and then add the behavior to it
On Feb 17, 2010 8:10 PM, Douglas Ferguson doug...@douglasferguson.us
wrote:
But how would I add that to every page in the App?
On Feb 17, 2010, at
Go ahead and use whatever you fancy as you see fit.
I did a minor edit of the file, below is the new link.
https://docs.google.com/fileview?id=0B8Wi-GkyhJ3XMzMxOTVhNjYtMzIzYi00NmFiLWIwNGEtNTU4ZDdjZTBhYTYwhl=en
If you don't mind sharing, do post your own slides so that we can also
learn how
Martijn,
It is so nice of you to reply to my questions. One question I have about your
book:
The bottom of Page xxi says: .. from Terracotta for giving Wicket a vaiable
scaling strategy.
What do you exactly mean by that? Do you mean Terracotta makes the stateful
programming model less of a
Hi,
Igor Vaynberg wrote:
i would imagine you would have the same problem even in a local
environment such as swing...
absolutely, I was just wondering what would be the best way to do it in
Wicket...
the solution is quiet simple, instead of using wicket components to
model the table and the
43 matches
Mail list logo