Your approach sounds perfectly reasonable to me. What don't you like
about it?
jk
On Thu, Apr 09, 2009 at 10:36:39AM +0300, Cristi Manole wrote:
Hello,
I have a wicket application where a user starts an action on another system
(different machine, outside network). I would like for this
Can the other application just write to the database?
On Thu, Apr 9, 2009 at 8:28 AM, John Krasnay j...@krasnay.ca wrote:
Your approach sounds perfectly reasonable to me. What don't you like
about it?
jk
On Thu, Apr 09, 2009 at 10:36:39AM +0300, Cristi Manole wrote:
Hello,
I have a
Hello Cristi, this is typically referred to as diparate sytems communications
issue. In the past I have had some success between such sytems using a WSDL and
messaging. I did not have a lot of time so I opted for the Apache Axis2
framework (http://ws.apache.org/axis2/). You will have to do some
On Thu, Apr 09, 2009 at 07:48:10AM -0500, David Brown wrote:
Hello Cristi, this is typically referred to as diparate sytems
communications issue. In the past I have had some success between such
sytems using a WSDL and messaging. I did not have a lot of time so I
opted for the Apache Axis2
Or, just write to the database, since the wicket application polls the
db for changes anyway.
On Thu, Apr 9, 2009 at 8:59 AM, John Krasnay j...@krasnay.ca wrote:
On Thu, Apr 09, 2009 at 07:48:10AM -0500, David Brown wrote:
Hello Cristi, this is typically referred to as diparate sytems
Hi,
there are probably easier way to provide a 'callback' channel to a remote system
than a wicket page. Of course, using the web server makes sense, but
I'd recommend
to use a simple servlet to receive the callback and to update the
specific database table
instead of a wicket page, since the
Thanks for your feedback, guys. I don't like the idea of both writing to the
database directly, because I want the layers separated. I don't think either
application should know anything about the other's database.
I used Axis2 before, but at the moment i don't see how it can solve my
problem -
Hello Cristi, it sounds like you mean polling. When I glued the two disparate
systems together the Axis2 .aar file was just connected to an Oracle socket.
The socket was in permissive mode so whenever the data appeared at the socket
it was immediately available to the Axis2 listener and all the
On Thu, Apr 09, 2009 at 04:14:43PM +0300, Cristi Manole wrote:
I used Axis2 before, but at the moment i don't see how it can solve my
problem - meaning how to update some panel *without* doing some action
repeatedly until something worth displaying to the user happens.
I don't think anyone
On Thu, Apr 9, 2009 at 9:14 AM, Cristi Manole cristiman...@gmail.com wrote:
Thanks for your feedback, guys. I don't like the idea of both writing to the
database directly, because I want the layers separated. I don't think either
application should know anything about the other's database.
Hi all,
i have an Ajax call and when an exception occurs, i want to display the
exception in an ModalWindow.
But i also want to be able to delete everything(component, javascript) that is
added or will be added to the AjaxRequestTarget.
So only modalwindow popup but state on page stays the
You could collect your components into a list or collection before
adding them into the Target..? Or does the error occur at render-time?
**
Martin
2009/4/9 Frank Klein Koerkamp fkleinkoerk...@educator.eu:
Hi all,
i have an Ajax call and when an exception occurs, i want to display the
The exception may occur when I try to delete a record in a table.
So I click on the delete link this triggers an event that will delete record
from db.
After deletion I've to refresh an component on page, but if db gives error i
don't want to do refresh anything.
Regards,
Frank
-Original
Well, it was available 4 years ago :)
2009/4/9 David Brown dbr...@sexingtechnologies.com:
Hello Johan, thanks! the static NumberValidator.RangeValidator(long minimum,
long maximum) worked! Wicket is great. I just wished Wicket was available 10
years ago! Regards, David.
There are 10 kinds
Hi,
Is there a way to tell wicket to package all referenced javascripts
together, the same for the css? If there isn't this solution yet, can
anyone tell me where should I look for to implement it?
Thanks,
Eduardo S. Nunes
-
From what I can see you could have:
ListComponent refreshThese = new LinkedListComponent();
you add your components to refreshThese.add(component); and if your db
update fails, just call refreshThese.clear()? Otherwise iterate
through all refreshThese components and
It could work, but that's not what I want, because also after the exception is
thrown components could be added to the target.
In that case I've to check on every add to target if an exception has occurred.
I prefer to do this on one place.
But thanks for your suggestion.
Regards,
Frank
On Thu, Apr 9, 2009 at 9:06 AM, Eduardo Nunes esnu...@gmail.com wrote:
Hi,
Is there a way to tell wicket to package all referenced javascripts
together, the same for the css? If there isn't this solution yet, can
anyone tell me where should I look for to implement it?
You can put your
It could work, but that's not what I want, because also after the exception
is thrown components could be added to the target.
In that case I've to check on every add to target if an exception has
occurred. I prefer to do this on one place.
Maybe your exception handling could deal with
I think that I didn't explain it right. What I want is that wicket
concatenate all included javascripts into one file. Something like
wicket:link
link.. javascript1.js /
link.. javascript2.js /
link.. javascript3.js /
/wicket:link
Generate just one resource with javacript1.js, javacript2.js
link href=... / for the css
and
script language=javascript src=... / for the javascripts
On Thu, Apr 9, 2009 at 11:57 AM, Eduardo Nunes esnu...@gmail.com wrote:
I think that I didn't explain it right. What I want is that wicket
concatenate all included javascripts into one file. Something like
I have no intention of actually deploying it in development mode.
I'm talking about the development sandbox provided by the Google App Engine
Java SDK.
Matt
Martijn Dashorst wrote:
Never *EVER* deploy your application in development mode. Use
deployment mode and turn those features you
Thanks.
Matt
Ryan Crumley wrote:
Matt,
Add this to your WebApplication.init() method:
getResourceSettings().setResourcePollFrequency(null);
Ryan
On Wed, Apr 8, 2009 at 9:33 PM, Matthew Welch matt...@welchkin.net
wrote:
I'm experimenting with Wicket inside Google's new Java
why would you want a mounted page to create pdfs? servlets are so much
better at that.
that said you can do
getrequestcycle().setrequesttarget(new sometargetthatstreamspdfs());
throw new restartresponseexception();
-igor
On Thu, Apr 9, 2009 at 12:39 AM, Stefan Lindner lind...@visionet.de
it is much simpler and more efficient to set proper caching headers.
concatenating resources often does not work because different
components on different pages contribute different resources, so there
are a lot of variations of these huge files you may end up with and
would have to stream to the
A quick follow up in case anyone else was curious about how this is going:
I ended up using ehcache page cache filter for a simple page that just
displays 'current' items (calendar view of events) based on a db query. No
forms (state) on this page so it works pretty well. In my DAO that does
What about some kind of messaging (JMS, AMQP, ...) ?
It'd be blazing combined with Comet ;-)
El jue, 09-04-2009 a las 16:14 +0300, Cristi Manole escribió:
Thanks for your feedback, guys. I don't like the idea of both writing to the
database directly, because I want the layers separated. I
Hi Eduardo!
I remember there was once a discussion here on the mailing list, I think
part of that was
http://techblog.molindo.at/2008/08/wicket-interface-speed-up-merging-resources-for-fewer-http-requests.html
Roman
Eduardo Nunes wrote:
link href=... / for the css
and
script
Usually IFrame isn't a good idea, I think it's because of the
accessibility and search engines. At least that is what the major part
of the HTML coders talk about it. But I can't think in another way to
do it. just my 5c
On Thu, Apr 9, 2009 at 1:29 PM, Jim Pinkham pinkh...@gmail.com wrote:
A
I'm referring to the days of no JSP on AS400 boxes. The only option was to
out.println() from a Servlet or some Serializable object a whole bunch of HTML
and then do HTTP GET URL daisy-chain to another Servlet. ;-)
francisco treacy wrote ..
Well, it was available 4 years ago :)
2009/4/9
Take a look to web resource optimizer (wro4j) project, hosted on google code.
It's pretty easy to use:
http://code.google.com/p/wro4j/ wro4j
Alex
Eduardo Nunes wrote:
I think that I didn't explain it right. What I want is that wicket
concatenate all included javascripts into one file.
Is there an easy way to flush after you send the /head tag?
http://developer.yahoo.com/performance/rules.html#flush
I don't know if this is premature optimization or just hoping for
magic speed up from simple fixes... but it is worth a shot!
thanks
ryan
Hi,
This is about debugging a Wicket application running under Jetty-6.1 in
Eclipse.
I followed the steps shown at:
http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Pl
ugin+inside+Eclipse
But I am getting this exception:
java.lang.NoClassDefFoundError:
I'll suggest to do it in the Wicket Way, you will have much more benefits.
If you made your project from the QuickStart, you will notice a 'Start'
class under your 'test' source.
that what it does is just start an embedded jetty pointing to your webapp
directory and mounting your application
On Thu, 09 Apr 2009 08:41:20 +0200, Martijn Dashorst wrote:
Never *EVER* deploy your application in development mode. Use deployment
mode and turn those features you want on.
Just curious - does something catastrophic happen? I'm running a testing
demo for a client and haven't bothered
Thank you for your mail. I am presently on vacation and will return April 14th.
If you need urgent assistance, please email supp...@bookingbooster.com. You can
also reach our Support via Skype callto://premiersupport
Thank you
Best regards,
Nick Wheeler
Booking Booster.com
t: +44 (0)1273
On Thu, Apr 9, 2009 at 8:20 PM, John Krasnay j...@krasnay.ca wrote:
Have a look here:
http://cwiki.apache.org/WICKET/conditional-validation.html
Thanks. That's pretty much what I ended up doing. It seemed a bit
kludgy to be doing validation in the onSubmit method. It means I
can't put my
Na, nothing catastrophic will happen, or else you won't be able to
development your app using development configuration...HOWEVER...the
performance of your app is likely to double when running in deployment
mode, some exceptions won't be visible to the user (i think
component-in-use-check and
Hi, I'm trying to upgrade several sites from 1.4m3 to 1.4r2 and have
hit an issue with the AutoLinkResolver. We have lots of html with
linked images that look like this:
wicket:linka href=SomePage.htmlimg src=/some/full/path/
image.gif //a/wicket:link
This used to work fine, but with the
Oh, it's MUCH worse than even that. Every single component constructed by
your application will get a complete Java stack trace attached to it at the
point of construction. Not only does that seriously damage your performance,
but this stack trace also takes up space! This is why we warn you
Oh, it's MUCH worse than even that. Every single component constructed by
your application will get a complete Java stack trace attached to it at the
point of construction. Not only does that seriously damage your performance,
but this stack trace also takes up space! This is why we warn you
there is form#onvalidate()
-igor
On Thu, Apr 9, 2009 at 5:05 PM, Ian MacLarty ian.macla...@gmail.com wrote:
On Thu, Apr 9, 2009 at 8:20 PM, John Krasnay j...@krasnay.ca wrote:
Have a look here:
http://cwiki.apache.org/WICKET/conditional-validation.html
Thanks. That's pretty much what I
i dont think that is on by default anymore. it made the app too slow
even for dev mode :)
-igor
On Thu, Apr 9, 2009 at 6:07 PM, Jonathan Locke jonathan.lo...@gmail.com wrote:
Oh, it's MUCH worse than even that. Every single component constructed by
your application will get a complete Java
There is no real easy way, but to do it :)
I find the hardest thing about Wicket, particularly when your first
starting out, is discarding all the old ideas about how a webapp is
built...
Having worked in the field for a long time, servlets, JSPs, Struts,
etc. it took me a while to get
Funny, I was thinking that same thing...
in one quick app i was writing, I had ~20 header links!
I kept thinking that can't be good :)
although I have not done so yet, I think there must be a way to modify
or create a resource loader that would generate a buffered version of
css (for
Oh nice... exactly what I was thinking... glad I don't have to write it!
- Brill Pappin
On 9-Apr-09, at 1:26 PM, Roman Zechner wrote:
Hi Eduardo!
I remember there was once a discussion here on the mailing list, I
think part of that was
Hi,
I need to control the required validations set on the components
dynamically depending on the value of the other element (ex: selecting a
radio button should trigger required field validation for some
elements). For this I extended the components, and I m dynamically
adding or removing
47 matches
Mail list logo