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
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:
servlet-mapping
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
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
especially with that last name.
igor.vaynberg wrote:
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
If it helps: about half a year ago, we started to port a Swing
application to the web. We started with JSF, but after three months we
pulled the plug and switched to Wicket. We had converted everything to
Wicket in two months and about two thirds the code. Oh... and with two
instead of three
i don't know if it helps, but my funded startup (austin ventures) is using
wicket, as well as people at well known companies like Joost and IBM. i've
had 3 consulting offers including one from a major company in just the last
week. so wicket is not untested technology. and it's definitely
Is there a jira issue already for that or should I try and come up with one?
Thanks
Sam
Johan Compagner wrote:
as i said before removing those files will not really help you
the current change tracker/listener we have is the way to go.
We just need to refactor it a little bit and create
Hrm. What would you want for a quickstart then? Just a simple application
that displays the problem?
igor.vaynberg wrote:
cant really tell you its a bug until i see what you do inside a
quickstart...
-igor
On 9/28/07, Atzanteol [EMAIL PROTECTED] wrote:
I'd like to, but I'm
I have a wicket application which runs in a WebLogic server. If I restart
WebLogic then everything is okay as long as I invoke the url to the
appplication directly. The production application will be deployed as a
frame in another vendors frameset. After server restart invoking the
application
Hi Carlo, the syntax of your archive attribute looks a big suspect.
Normally what you would do is create a publicly accessible folder,
something called applet and stick your imageviewer.jar file there.
Then you would change your archive attribute to read:
archive=/applet/imageviewer.jar.
Craig.
Ah, I guess i understood the question a bit wrong then. Sticky mode is
preferred with wicket, as we use redirect to buffer render strategy by
default. Also from a performance standpoint, I'd recommend sticky
mode.
As for the page store, what i suggested was a merely performance
improvement. Since
THAT'S it, thank you...
igor.vaynberg wrote:
label.setescapemodelstrings(false)
-igor
On 9/28/07, V. Jenks [EMAIL PROTECTED] wrote:
Seems like a simple question and I thought I had done this before...but I
simply need to display HTML *as* html, on a page, using a Label.
--
View
Basically, yes. I wasn't sure if there was a Wicket solution to this problem
or not. I wasn't sure if there was a way to make a hard-coded reference to
a resource outside of the webroot, for the purposes of doing what I
explained.
What you can do is create a shared resource and let it
If I'm understanding this correctly you simply want a set of images
available on the same server that your wicket app is on. Just make an
images folder at the same level as WEB-INF (that is, a sibling of).
If you are using wicket 1.2.x, you would have mounted your wicket app
to some path under
Big snag is most email clients will never show the images due to security
problems.
I think you have two options. One it to attach the images in the actual
email (if they are small) so you would need to learn the joys of multipart
messages (are using sending plain text and HTML version?).
The
nice!
i used to use your cvs client years ago.
i suppose this is off topic, but what would really be the icing on the cake
of
your svn client would be a VERY minimalist eclipse integration. i want just
the
most basic features like update and commit in the IDE (and have them not
hang my IDE
On 9/28/07, V. Jenks [EMAIL PROTECTED] wrote:
I've got a question concerning how I might be able to display remote images
in an HTML email.
In Wicket, I've built a small utility where our designers use a plain html
page to format our email newsletter. The html template page and images
cant really tell you its a bug until i see what you do inside a
quickstart...
-igor
On 9/28/07, Atzanteol [EMAIL PROTECTED] wrote:
I'd like to, but I'm afraid I don't have the time ATM. Is this a bug
then?
Should it work the way I expect?
I'm also having an issue with a Panel and a Page
No, this is not the case. I specifically need these images to be *outside*
of the packaged .ear application because I need our designers to have access
to them. Wicket access these resources and actually sends the contents of
the html template.
I am also stuck at Wicket 1.2.4 because upgrading
label.setescapemodelstrings(false)
-igor
On 9/28/07, V. Jenks [EMAIL PROTECTED] wrote:
Seems like a simple question and I thought I had done this before...but I
simply need to display HTML *as* html, on a page, using a Label.
--
View this message in context:
I'd like to, but I'm afraid I don't have the time ATM. Is this a bug then?
Should it work the way I expect?
I'm also having an issue with a Panel and a Page sharing a model for a form
(part of the form is to display in the main page with part of it in the
Panel). The Panel doesn't seem to use
No that is not possible without replacing the current markup parser.
The markup parser is pretty much optimized, and doesn't use a dom to
parse the markup, but splits the markup in chuncks based on the
component tags. And markup between two component tags is treated like
one string.
What you can
I don't think that there is a wicket way to do something like this, but you
can achieve the same behavior using javascript.
Alex.
Oliver Lieven wrote:
Hi,
I wonder if there's a way for a component to determine if it is embedded
inside some specific HTML tag, e.g. determine if it is
I've tried searching FileResourceStream and shared resource but there
isn't anything helpful...or even relevant, so far as I can tell.
Is there a wiki article by any chance? Anything that might help? I'm not
sure what this servlet would do or how to implement this.
Eelco Hillenius wrote:
While looking at load balancer options I was trying to see if the non session
sticky mode was an option. Obviously there are a bunch of issues I hadn't
considered such as threading mode and concurrent client access. It is clear
I will stick with the original plan of session sticky mode.
-mike
Why don't you want session sticky load balancing?
How does none sticky sessions work then? If there are 2 request comming in
then wicket makes sure
that the page is access in one thread. So that the page is not changed by 2
threads at the same time
Does your application server lock over the nodes
oh, heh. try it with 1.3 :)
-igor
On 9/28/07, Atzanteol [EMAIL PROTECTED] wrote:
Okay, I have a test app... You want me to open a Jira ticket for it then
or
will making it available on a web site do?
I should note I'm using wicket 1.2 and the associated wicket-extensions.
Hi everyone!
I fear this isn't strictly Wicket-related, but I'm having a little problem with
a table row having two associated events: onclick and ondblclick.
Onclick should highlight the row, while Ondblclick should jump to another page
passing along information about the selected row..
My
Do you _need_ several tomcat instances? Modern machines are _very_ powerful.
My advice would be really understand your software architecture so you can
keep it simple and well tuned. I don't mean hand optimising just taking
advantage of various levels of cache in an elegant way.
The level of
Is this a common enough requirement to add something like IdentityHashMap for
behaviours so from another component you can do getBehaviours(this) to
retrieve the AttributeModifier or named behaviours e.g.
getBehaviourById(com.company.thingy.Repeater.ClassHack)?
The latter might also be a nice
Hey everyone,
I am looking at examples on using DataTables and Repeaters, and I have a
question...
It looks like they insert default classes headers even and odd
into the table header and rows, but I was wondering if there is an easy
way for me to either set a property or create a subclass
Serialize to the session is a completely wrong statement
Nothing is serialized into the session, it is put in the session. and then
the application server
can serialize the session to other nodes or to disk or what ever.
If you have an standard app server and you don't have multiply nodes and you
Interesting... This might work, however I don't understand what the class
would be? Would it be the Application class? The images reside in
C:\AppName\images, which is obviously outside of the app.
Oh, ok, I didn't understand what you meant. So you don't want to just
put these images in a
wow, such a long thread for something so trivial
just create a servlet that streams files from some place on the harddrive,
then have your designers upload images there. done and done.
-igor
On 9/28/07, V. Jenks [EMAIL PROTECTED] wrote:
No, this is not the case. I specifically need these
Eelco Hillenius wrote:
Not sure if it is the answer you are looking for, but paths to shared
resources (which packaged resources such as images are) are
predictable. Basically:
http://your.com/yourapp/resources/com.your.another.package.SomeClass/your_image_next_to_your_class.gif
So
Seems like a simple question and I thought I had done this before...but I
simply need to display HTML *as* html, on a page, using a Label.
--
View this message in context:
http://www.nabble.com/Display-HTML-markup-inside-of-Label-tf4535575.html#a12944119
Sent from the Wicket - User mailing list
as i said before removing those files will not really help you
the current change tracker/listener we have is the way to go.
We just need to refactor it a little bit and create an extra method where
people can hook up in.
johan
On 9/28/07, Sam Hough [EMAIL PROTECTED] wrote:
The nicest way I
Hey, I'm trying to use a RefreshingView, but can't figure it out. On top of
that, the examples are broken:
http://wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.repeater.RefreshingPage
Yes, sorry, I figured it out and I didn't need a servlet.
By reusing the same code that I have been using to serve images inside of
the application, I can use to get a reference to the images w/ a full URL,
like so:
By reusing the same code that I have been using to serve images inside of
the application, I can use to get a reference to the images w/ a full URL,
like so:
http://myurl/MyApp/home/resources/wicket.Application/imageResource?file=C:\\assets\\newsletter\\my_photo.jpg
...which I was able to
yes open a jira and attach a project for 1.3 and 1.2. it will be fixed in
1.3 for sure. 1.2 i make no guarantees but we will try.
-igor
On 9/28/07, Atzanteol [EMAIL PROTECTED] wrote:
Okay, still doesn't work in 1.3.0beta3. Should I open in Jira then? If
it
is a bug will it only be fixed
I don't see how I'd be able to do that sort of path? I need to provide the
full path for the reference to be found, since it's an external resource.
Obviously, I get a NullPointerException if I just type in what you show in
your example.
You have imageResource registered as a shared
I don't see how I'd be able to do that sort of path? I need to provide the
full path for the reference to be found, since it's an external resource.
Obviously, I get a NullPointerException if I just type in what you show in
your example.
I must be missing something. Either way, this could be
Okay, still doesn't work in 1.3.0beta3. Should I open in Jira then? If it
is a bug will it only be fixed in 1.3 and not back-ported to 1.2?
igor.vaynberg wrote:
oh, heh. try it with 1.3 :)
-igor
On 9/28/07, Atzanteol [EMAIL PROTECTED] wrote:
Okay, I have a test app... You
Just to add a few things to this list. I took a good look at
JSF/Seam/EJB3/JPA stack about a year ago.
- People say JSF has a rich ecosystem (Trinidad, ICEFaces, MyFaces, SEAM,
Facelets, etc.) but the downside to that is that you won't have one forum to
go to in order to get framework help.
I don't know exactly how Jetty compares to Tomcat, performance wise, but I'm
sure the folks at mortbay can shed some light on it, if you ask them.
Vis a vis loadbalancers, here are some places to start looking:
http://www.onjava.com/pub/a/onjava/2001/09/26/load.html
Hi Kent,
I would like to use the code snippet you're providing, but I don't fully
understand it... Why are you creating an AjaxLink and then setting the focus
on the TextField within the onClick() method of the AjaxLink?
Thanks so much,
Cristina
Kent Tong wrote:
Doug Leeper wrote:
Thanks Gerolf Seitz for adding animator.js functionality to wicket-stuff.
I need a bit of help: Can anyone let me know how to implement a
JavascriptSubject style subject?
I have NumericalStyleSubject and CssStyleSubject animating a div nicely but
I would love to add, for example something
I would like to use the code snippet you're providing, but I don't fully
understand it... Why are you creating an AjaxLink and then setting the focus
on the TextField within the onClick() method of the AjaxLink?
I think it was just an example. The question was how to set focus on a
text field
I'm doing an evaluation of some java web frameworks for doing the
presentation layer of our CMS.
We already have the backend, made with Spring/Hibernate.
The behaviour of the CMS should be:
1) (Power) user draws the data model he want to store in the CMS (a sort of
entity-relation diagram);
2)
hi nick,
thanks for the feedback. there was indeed an error with the generated
javascript in JavascriptSubject.
The fix for that is already in the svn repository. so could you do an svn
checkout and try that again?
oh, you probably should remove the brackets around the javascript statement
so
Correct, I had to actually go back and scan through the class since it's been
a year since I've even looked at it!
ImageResource derives from DynamicWebResource. So, in the
getResourceState() method I hard-coded a line that tests for a specific path
(i.e. C:\\MyApp\\assets\\images) - if it does
Hi Gerolf,
Thanks so much - that worked well!
...getting rid of the brackets also much needed advice!
I can now implement all the examples at berniecode.com using your library.
This is nice code to learn from.
Thanks again
Nick
Gerolf Seitz wrote:
hi nick,
thanks for the
On 9/27/07, Johan Compagner [EMAIL PROTECTED] wrote:
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.
Don't get too
we might remove the change tracking, but the interface can stay. maybe it
wont be called a versionmanager anymore...
-igor
On 9/28/07, Matej Knopp [EMAIL PROTECTED] wrote:
On 9/27/07, Johan Compagner [EMAIL PROTECTED] wrote:
the problem is that that still not really does auto dirty..
yes we do
we use it still extensively
we dont cache the changes anymore those are gone, but we still uses it to
bump up the versions
else how can we do that?
johan
On 9/29/07, Matej Knopp [EMAIL PROTECTED] wrote:
On 9/27/07, Johan Compagner [EMAIL PROTECTED] wrote:
the problem is that that
newVersion();
looks much better to me than addStateChange(new
ChangeThatIsNotUsedAnyway() { public void undo() });
-Matej
On 9/29/07, Johan Compagner [EMAIL PROTECTED] wrote:
yes we do
we use it still extensively
we dont cache the changes anymore those are gone, but we still uses it to
but then still we have the event..
johan
On 9/29/07, Matej Knopp [EMAIL PROTECTED] wrote:
newVersion();
looks much better to me than addStateChange(new
ChangeThatIsNotUsedAnyway() { public void undo() });
-Matej
On 9/29/07, Johan Compagner [EMAIL PROTECTED] wrote:
yes we do
we
or just getPage().dirty();
-igor
On 9/28/07, Matej Knopp [EMAIL PROTECTED] wrote:
newVersion();
looks much better to me than addStateChange(new
ChangeThatIsNotUsedAnyway() { public void undo() });
-Matej
On 9/29/07, Johan Compagner [EMAIL PROTECTED] wrote:
yes we do
we use it
yeah, so we keep the actual core events we support in the interface, like
oncomponentadded(component) but remove all the Change objects.
when a user changes the property they then have to call dirty(); personally
i think we can just serialize every time and not require the user to call
dirty()
sure. you can hook whatever you want there. My remark was solely about
ditching the version manager. Unless someone really wants it there,
but then we have to fix it to support redo, etc. I dont' think it's
worth it.
-Matej
On 9/29/07, Johan Compagner [EMAIL PROTECTED] wrote:
but then still we
On 9/29/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
yeah, so we keep the actual core events we support in the interface, like
oncomponentadded(component) but remove all the Change objects.
when a user changes the property they then have to call dirty(); personally
i think we can just serialize
Well here's our story, if it helps you.
Traditionally we had a JSP+Struts+EJB2 model for all our projects.
For our current project we decided to jump on the JEE5 bandwagon, and
started out with JSF+EJB3 (SLSB)+ JPA,
Now JSF and JSPs don't mix well, so we choose Facelets, and instead of
struts
Thanks you and everybody for all the responses. I will be referencing these
emails when I argue my point. I'm pushing Wicket as the framework of choice
and have already convinced the developers and two of the architects. I just
got to get the managers on my side. I will keep everyone posted.
Peter Dotchev wrote:
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.
Try:
public class Home extends WebPage {
private String l1 = abc;
public
So use Wicket for Web and iBatis for ORM. :)
That's what Thoof.com uses too btw. I hear iBatis works really well.
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
67 matches
Mail list logo