Thanks a lot, Orion!
And what do you use in high-scalable application?
Is Jetty faster than tomcat?
And in a cluster environment I still need to use some front-end for
load-balancing, so what do I use instead?
Orion Letizi wrote:
>
> Oh, also, check out Geronimo (http://geronimo.apache.org/) as
Thanks a lot, Mark
I'll take a look at the Apache Portable Runtime
For the servlet container you can use either Tomcat or JBoss with the Apache
Portable Runtime. Performance will be similar to using Apache as a frontend,
but is simpler to setup.
http://labs.jboss.com/jbossweb/index.html
As for w
Thank you very much!
But if I use several tomcat's instances then I still need some load
balancing server, like apache with mod_jk, so why don't use it for content
delivery too ? Or do I need to investigate another load balancing mechanism?
Sam Hough wrote:
>
> [serving static content]
> The ar
Short version of my experience, last year I created a project with
Seam+Facelets+JSF+EJB3/JPA+jBPM. I was optimist JSF is a standard with 2+ years
old, lot of providers,...
* JSF : I tried to mixed components from several provider, Trinidad, ADT,
MyFaces, Ajax4JSF,... it was a nightweird and ti
Read this:
http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html#BestPracticesandGotchas-WicketServletMapping
There you can read that if you use the servlet mapping, you need to do
it on a subpath, i.e. /app *and* add the asterisk:
MreWicketApplication
/app/*
Martijn
On 9/28/
I checked out the latest wicket trunk to take a look at the phone
application. HOwever, I'm having an issue getting it to compile as a direct
result of these missing libraries:
import hendrey.orm.ORMDictionary;
import hendrey.orm.ORMapping;
import hendrey.orm.Query;
import hendrey.orm.RecordCand
sounds like what you should do is take your manager out for drinks :)
-igor
On 9/27/07, robert.mcguinness <[EMAIL PROTECTED]> wrote:
>
>
> ...to tell you the truth, it impressed the developers but I didn't get
> that
> feeling from the top brass. I am pretty sure we will move towards
> Seam/JSF
Here's the URL I'm trying:
http://localhost/mre/resources/com.*.webapp.wicket.BasePage/mre.css
This (part of) the web.xml that works:
MreWicketApplication
org.apache.wicket.protocol.http.WicketFilter
applicationClassName
com.[removed].mre.webapp.wicket
...to tell you the truth, it impressed the developers but I didn't get that
feeling from the top brass. I am pretty sure we will move towards
Seam/JSF/Facelets (we have a presentation on that tech next week given by
another developer) since it is "standard".
Has anyone here worked with the Seam
I am not sure I understand correctly. :)
I thought the current page was serialized to the session and that the other
pages or views were stored to the filesystem. So my question was really, if
the filesystem where temporary pages are stored is shared, would Wicket be
immune to requests coming in
Hi,
if I understand correctly, you want to disable page serialization on
session replication, as the filesystem where the page store stores
temporary pages is accessible from each node in cluster?
There is a way to achieve it, just create your own page store
extending from DiskPageStore and make
Hi Everyone,
I'm trying to load an applet in wicket.
The code looks like this
If I paste this code in my index.html page which is not run by wicket, the
code runs properly,
however if I try to put it in a wicket page, the code does not run.
In the java console of firefox it says that it can
I am deploying my application in a clustered environment. Eliminating session
sticky load balancing would be an advantage for me. Session data is already
replicated in a clustered environment. Are the mechanics in place to share
the Page Cache with other machines if I use a clustered file system t
wfaler wrote:
Hi,
Is it possible to change the default html-template file loaded for a class
programmatically (for instance, changing from a classpath file, to a file in
another file-directory)?
For instance, if I want to change the underlying html-template on the fly,
but keeping the same compon
On 9/27/07, Doug Leeper <[EMAIL PROTECTED]> wrote:
>
> Has anyone been able to create a context menu for items on a LinkTree?
>
> If so, was it all JS based (like YUI)? or did you create a small framework
> to be used in Wicket?
>
> If the latter, would it be possible to contribute to the wicket-co
even if we always append it is still not guaranteed to work. for example the
previous scriptlet can end with return false; or just have a return
somewhere in it, which would prevent the following scriptlet from executing.
we would have to start wrapping things in anonymous functions to make this
w
mind creating a quickstart and attaching it to jira?
-igor
On 9/27/07, Atzanteol <[EMAIL PROTECTED]> wrote:
>
>
> I have a page that uses a DataView to display a 'search results' page.
> Within each line I need to have a collapsible box that displays more
> information about the search result.
>
Has anyone been able to create a context menu for items on a LinkTree?
If so, was it all JS based (like YUI)? or did you create a small framework
to be used in Wicket?
If the latter, would it be possible to contribute to the wicket-contrib-yui
(menu2) package?
I am in need of a tree component w
I'm trying to use AjaxFormSubmitBehavior, and in the ajax debug I'm
getting:
ERROR: Received Ajax response with code: 404
Anyone know what this means? Nothing in the logs indicates a problem,
but maybe I'm not using AjaxFormSubmitBehavior properly. I'm trying to
wicketify a javascript-based cal
I can see how one JavaScript might be dependent on another (although it seems
like such scripts should really be one script anyway) but that case is
definitely not universal. In my experience, sometimes a Wicket user needs
to add an onclick or onchange event to an Ajax component and execution ord
I have a page that uses a DataView to display a 'search results' page.
Within each line I need to have a collapsible box that displays more
information about the search result.
I created a Border object that collapses fine (based off an example from
_Pro Wicket_) when in a simple example, but wh
Hi,
I'd like to use the same value in several places of a page, e.g. two labels
with same content.
Let's say I want to substitute the same property using
CompoundPropertyModel.
How can I do that in Wicket 1.3?
Thanks for your help.
Peter
--
View this message in context:
http://www.nabble.co
I don't think there's an easy solution for what you want. You can try
putting in two buttons, set one button as form default and hide it
using css. That one should be submitted when you press enter on the
text field.
-Matej
On 9/27/07, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've got a fo
yeah, it turns out this is browser specific. to save you several hours, you
need this:
function getEventX(element, event) {
if (event.offsetX != null) {
return event.offsetX;
}
I tested it, but an error occured: event.offsetX (/Y) returns "undefined" and
the get method on the parameter map throws a
null pointer exception. I currently need such a function, but I actually
don't know, how to do it.
Jonathan Locke wrote:
>
> i ran into an interesting problem that igor hel
Hi,
I've got a form, on which I have, among other things, a TextField and an
AjaxFallbackButton.
The problem I have is that when then user enters a string into the
text field and presses return, both the TextField.onModelChanged() and
the AjaxFallbackButton.onSubmit() fire, but I'd like to avoid
For the servlet container you can use either Tomcat or JBoss with the Apache
Portable Runtime. Performance will be similar to using Apache as a frontend,
but is simpler to setup.
http://labs.jboss.com/jbossweb/index.html
As for whether to go with Tomcat or JBoss, perhaps that will depend on
whethe
the snapshots are available here:
http://wicketstuff.org/maven/repository/org/apache/wicket/
named releases are available from maven repos
-igor
On 9/27/07, NateRedding <[EMAIL PROTECTED]> wrote:
>
>
> Hello, I was playing around with Wicket and I have to say it is really
> cool!
> I was havin
Hello, I was playing around with Wicket and I have to say it is really cool!
I was having problems with Wicket 1.2.6 because it's log4j conflicts with
that in JBoss, so I switched to 1.3 (which I like better anyways). However,
I couldn't get the Wicket Extensions working with 1.3. Is there a
1.3-
Oh, also, check out Geronimo (http://geronimo.apache.org/) as a container.
Orion Letizi wrote:
>
> I've always used apache as a front-end to tomcat, but it's been a while
> since I ran a high-scale web application. You might also look into Jetty
> (http://jetty.mortbay.org/). It's lightweig
I've always used apache as a front-end to tomcat, but it's been a while since
I ran a high-scale web application. You might also look into Jetty
(http://jetty.mortbay.org/). It's lightweight, easily embeddable, and very
fast-- and, quite frankly, a joy to use.
BTW, if you have any questions abo
Hi,
Is it possible to change the default html-template file loaded for a class
programmatically (for instance, changing from a classpath file, to a file in
another file-directory)?
For instance, if I want to change the underlying html-template on the fly,
but keeping the same component hierarchy?
I think that would be a wonderful addition to the examples. I spent
several hours yesterday trying to find an example that covered this.
In the meantime, any additional pointers to best practices for this
would be appreciated so that I can get this part of my project working.
-Mike
On Se
Guess servlet filter is the obvious way. I've certainly done that in the
past.
At worse case the default servlet is open source...
Andrew Klochkov wrote:
>
> Sam Hough wrote:
>> trouble. Tomcat also has a native plugin that you might want to
>> investigate... I would guess that careful tuning
Sam Hough wrote:
trouble. Tomcat also has a native plugin that you might want to
investigate... I would guess that careful tuning of what you serve
(compression, cache management) will buy you a lot.
btw dont you know how to tune cache headers tomcat generates for static
resources? I thought
Actually I was over complicating it. The following work better:
@Override
protected void onJunctionLinkClicked(AjaxRequestTarget target, TreeNode
node) {
// expand the next level of the model
modelChanging();
if (isNodeExpanded(node)) { // node has alread
[serving static content]
The argument I heard was that Java apps were not able to cope as well with
badly behaved clients (dropped connections etc). Apache httpd probably is
more efficient than Tomcat etc at serving static content. However modern
cheap hardware can almost always shove out more tha
Hello everybody!
I've used wicket, spring jdbc and tomcat in my last project.
Now, we want to start a web project, some kind of social network. And we'll
go to use wicket as a web framework, hibernate for persistence and spring
for DI. So, this project must be deployed on a cluster. I've decided t
Hi
I've tried both solutions offered here do the same thing however to force
the nodes to be redrawn you need to call treeNodesChanged() - which in turn
adds the right components to the ajax target.
Unfortunately the api is a bit awkward and uses Enumerations. Here's my
solution which seems to w
That seems a bit ugly as I want this rule to apply to all components I put
into MyRepeatingView.
I'm trying to have MyLink, MyPanel, MyBlah so could add some standard
behaviour but seems like wrong way around and will obviously break if
somebody puts vanilla wicket component in.
:wq
Al Maw wro
Matej,
Yes the new .js file does appear to resolve the problem for me.
Thanks for the quick fix!
Can you please update and try current trunk? (or wait for another snapshot)
It should be fixed. Thanks for spotting this.
-Matej
On 9/27/07, Don Hass <[EMAIL PROTECTED]> wrote:
>
> No problem, ju
You can override onComponentTag for the component itself, if that's an
option. Call super.onComponentTag(...) then tag.put("class", "foo") or
whatever it is.
Regards,
Al
Sam Hough wrote:
In my ignorance it seems tough to make that work the second time if the list
has changed. It is also less
Hallo,
I would like to achieve following functionality, how is it possible?
I have an abstract panel with upload field in it.
The panel is to be used as a form component.
In the panel there is an abstract method
processFile(FileUpload fileUpload)
which I would like to get called everytime a form
Gwyn Evans wrote:
On Thursday, September 27, 2007, 12:26:15 PM, Neil <[EMAIL PROTECTED]> wrote:
This question may be as much for Netbeans 6 as for Wicket, but in either
case, I'm stumped...
I want to add the MySQL jdbc driver to my program so I can connect to a
MySQL database. In
In my ignorance it seems tough to make that work the second time if the list
has changed. It is also less pretty as the only extension points I have are
renderIterator and renderChild. I can think of nasty hacks like using
IdentityHashMap to hold onto Components I've already added an
AttributeAppe
Hi Meddle
On 9/27/07, Meddle Smeddle <[EMAIL PROTECTED]> wrote:
>
> Hi we have some problems testing our web application written in
> wicket. The whole application is one page and all the functionality is
> implemented with through ajax with wicket. All the load testing tools
> use the GET http me
This:
Component first = null;
Component last = null;
for(Foo foo : foos) {
last = new Component(view.newChildId());
if(first == null) first = last;
view.add(last);
}
first.add(new SimpleAttributeModifier("class", "first"));
last.add(new SimpleAttributeModifier("class", "last"));
does
I've got my own wiz bang extension of RepeatingView and I want to add class
attributes "last", "first" to the children for the HTML monkey.
Is the best way to add an AttributeAppender to each child Component that
uses an IModel to get the class? Maybe in beforeOnRender I can't see an
onChildAttac
If you want to use Winstone instead of Jetty'Start : you could do like me for
wicketstuff-jquery-examples:
extract from
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-jquery-examples/src/test/java/org/wicketstuff/RunWebApp.java
public static void main(String
On Thursday, September 27, 2007, 12:26:15 PM, Neil <[EMAIL PROTECTED]> wrote:
> This question may be as much for Netbeans 6 as for Wicket, but in either
> case, I'm stumped...
> I want to add the MySQL jdbc driver to my program so I can connect to a
> MySQL database. In a regular
> VWP project in
Martijn Dashorst wrote:
> Priceless! The best reason [1] why one would ever create a servlet
> container: to embarrass your friend.
>
> Martijn
>
> [1] http://winstone.sourceforge.net/#whyCalled
>
>
ha ha hahahahahah.. that's too funny.. With friends like that.. who
needs Winstone ;)
-
Al will also begin his mini-series on "Custom Ajax Components" on Tuesday.
Event details and free registration at the usual place,
http://jweekend.co.uk/dev/LWUGReg/ here .
Regards - Cemal
http://jWeekend.co.uk jWeekend.co.uk
jweekend wrote:
>
> At our upcoming monthly http://jweekend.co.uk
Priceless! The best reason [1] why one would ever create a servlet
container: to embarrass your friend.
Martijn
[1] http://winstone.sourceforge.net/#whyCalled
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.
This question may be as much for Netbeans 6 as for Wicket, but in either
case, I'm stumped...
I want to add the MySQL jdbc driver to my program so I can connect to a
MySQL database. In a regular
VWP project in Netbeans 5.5 I would just add the jar file under the
libraries tab. But it doesn't w
I thought I ought to flag the above combination, as I'm finding it
really useful at the moment.
I've typically used Jetty, either via the wicket 'Start' class or via
the Maven plugin, but just at the moment I've come across some issues
with it. Basically, I'm investigating moving a Model 1 JSP web
Hi
If u see the interface IDataProvider , it is my no means explicitly
coupled to the database. Basically all it expects u to do is implement
it in such a way so it that what is the result for the current page
and what kind of model you want to store the data in session .
i.e in model(Object) meth
We want to see how many objects are serialized in the session and to
try optimize somehow our application.
We want logging like "Object [id] has been serialized", "Object [id]
has been deserialized."
-
To unsubscribe, e-mail: [EMA
So the Wicket dev team commits to supporting that as a legitimate extension
point? ;) It shouldn't be too painful for me to switch whatever method I use
as it will be encapsulated in a very small portion of code. Just really
didn't want to use AOP, our own version of wicket or something stupidly
s
that doesn't matter,
We don't store them (the changes for rollback) anymore but the page still
gets the events.
Because we still have to know it so that we can increment the page
counter...
johan
On 9/27/07, Sam Hough <[EMAIL PROTECTED]> wrote:
>
>
> This posting put me off using the change re
This posting put me off using the change recorder:
http://www.nabble.com/forum/ViewPost.jtp?post=12473029&framed=y
Did I get the wrong end of the stick?
Johan Compagner wrote:
>
> we already have a change recorder on a page for its components, all
> the methods you mention should also call t
the problem is that that still not really does auto dirty..
Because where does it end? just add/remove/visitble/enable?
The nice thing is we have already something like that: thats page versioning
with the undo/change map.
If we extend that a little bit then we could have something like
componentC
http://wicket.apache.org/vision.html
http://cwiki.apache.org/WICKET/faqs.html#FAQs-Whyaresomanymethodsfinal%253F
Martijn
On 9/27/07, Sam Hough <[EMAIL PROTECTED]> wrote:
>
> Is this coding style documented anywhere? I have a vague memory that spring
> pushes towards composition not extension but
Is this coding style documented anywhere? I have a vague memory that spring
pushes towards composition not extension but that is obviously not the
wicket way.
Did the people behind javax.swing, java.util make a mistake being light with
final or is their task different?
The Lucene people seem to
Thank you for your help , I found it.
--
View this message in context:
http://www.nabble.com/wicket-1.3-examples-tf4527009.html#a12917089
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-ma
On Thursday, September 27, 2007, 9:12:27 AM, tsuresh <[EMAIL PROTECTED]> wrote:
> Hello, I downloaded the wicket 1.3 , but could not find the package
> org.apache.wicket.examples , please help me.
> thanks
If you downloaded the beta3 kit, it should be below src/jdk-1.5/wicket-examples/
/Gwyn
-
Hi,
What do you download exactly ?
in the .zip or .tar.gz from
http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/
* the source of org.apache.wicket.examples in under
apache-wicket-1.3.0-beta3/src/jdk-1.5/wicket-examples/src/main/java/
* the war under
apache-wicket-1.3.0-beta3/lib
/david
Hello, I downloaded the wicket 1.3 , but could not find the package
org.apache.wicket.examples , please help me.
thanks
--
View this message in context:
http://www.nabble.com/wicket-1.3-examples-tf4527009.html#a12916783
Sent from the Wicket - User mailing list archive at Nabble.com.
--
> please explain clearly.
exactly what? how to use repeaters/labels can be found on the wiki - or with
http://www.wicketstuff.org/wicket13/
how to use jexcel is up to your investigation. i only used apache poi to
access/create excel files. and there the documentation is quite clear - you
should
Hi,
We are using Wicket 1.2.6 for the first time on a project. everything works
fine when testing in localhost. But when we tried it on a test environment,
with a junction we got a "Invalid Content-Length header returned by TCP
junction server". it seems to happen when trying to get the JS files
69 matches
Mail list logo