-
I tried it using a VM (from VirtualAppliances) and VMPlayer and I too ran into problems!
To make a long story short, it didn't have any thing to do with JavaWebParts (it always feels great to say that!) but with Tomcat. It seems they made some changes in the security in 5.5. After making some changes it worked, although I don't know which one did the trick.
Here they come:
1. In the file...
2009-09-01 19:56:47 UTC in Java Web Parts
-
Hi, might look like a stupid question, but which download did you use? I've running Ubuntu on a pc around here, I could give it a try this weekend.....
Herman.
2009-08-28 06:03:20 UTC in Java Web Parts
-
As suggested earlier by Frank, could you try to call this jsp by a normal request, not using APT?
I just tried your jsp and I got a "Cannot find bean in any scope" error and that means Struts does try to resolve it's tags!
I guess you will be looking for errors in your log. Did you add the debug="debug" on the ajax:enable tag?
If this doesn't get you any further, please...
2009-02-02 18:56:57 UTC in Java Web Parts
-
Can you also show us the jsp? What I like to know if you've inserted the tag reference <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> and your jsp is really called <something>.jsp. Also what Servlet specs do you work with?.
2009-02-02 13:30:10 UTC in Java Web Parts
-
Well this forum is the documentation :-)
No, just kidding, there is some documentation in the javadoc (for APT you'll find it here: http://javawebparts.sourceforge.net/javadocs/javawebparts/ajaxparts/taglib/package-summary.html), in fact I think it is quit good even. But it isn't the right place, so not a lot of people look for it in that place. And because I'm DA MAN (see a post from two days...
2009-01-30 17:48:29 UTC in Java Web Parts
-
To start with your last question, ofcourse you'll have to judge for yourself, but APT started off as a taglib especially designed for Struts. Also Ted Husted used it at the Ajax Experience as one of the options to use Ajax in Struts applications. In my company there are at least 3 applications live that use APT, two using Struts and one using Spring MVC.
Then to your first question, APT...
2009-01-30 12:23:57 UTC in Java Web Parts
-
Thank you!
But you're giving me too much credit, I know Frank is very busy right now writing a book, so I try to answer the questions before he even gets to them, but in a few weeks, when he's finished with his book....... :-)
BTW. Somewhere on a (virtual) shelf I have a little suggestbox component, never gotten to finish it up and bringing it under JWP, don't know exactly where it is, but...
2009-01-28 08:56:38 UTC in Java Web Parts
-
Hi Khushwinder,
Well instead of using a input field you could use a selectbox if that's your problem?
There are two "suggest" examples in the cookbook. One of the examples is just a very simple basic start which someone could use to make a real "suggest" box, the other one (and this one I know by name, Karnak) is a little bit more mature, but probably still not...
2009-01-28 08:33:12 UTC in Java Web Parts
-
No problem, but....
Can you create a WAR file for me with the application stripped to the bare minimum (because most likely your boss doesn't want it otherwise) and running (and the problem in place)?
Most likely I can respond to you a lot quicker. Point is that if I'll have to create a WAR file myself to see what's happening before I can find a bug or think of a solution, it'll take some...
2009-01-27 12:10:55 UTC in Java Web Parts
-
I guess your problem is more complicated then I anticipated, could you strip your application to the bare minimum and send it to me?
Although GUI technical not very correct, you might not place the second box at all (but I guess it is also possible that initially there are some options there) or make your call synchronous (all patchwork, I agree)
Herman.
2009-01-27 09:32:30 UTC in Java Web Parts