t;> you
> >>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> will
> >>>>>>>>>>>>
t;>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> will
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>
Hi,
I'm still trying to solve the database problem...
I think it could be useful to mention, that I get an exception at these
lines:
HibernateTemplate ht = new HibernateTemplate(sessionFactory);
ht.save(msg); <-- HERE!
and if I change the code to this:
Session session = sessionFactory.op
I'm assuming your using the 1.4 snapshot...
I think that images will be relative to the component (or at least one
if them up the tree).
The image component uses a resource that will use the arc attribute to
look for the images, so if the arc attribute is bogus, then one of the
other meth
Hi Daniel,
Comments in-lined.
On Sat, Mar 21, 2009 at 10:29 PM, Daniel Dominik Holúbek <
dankodo...@gmail.com> wrote:
> Ernesto, thank you very much :)
> If my application ever goes to the production, it will be thanks to you :)
>
You are welcome.
>
> Regarding the images problem: I think I d
surround your img tags with
Martijn
On Sat, Mar 21, 2009 at 10:29 PM, Daniel Dominik Holúbek
wrote:
> Ernesto, thank you very much :)
> If my application ever goes to the production, it will be thanks to you :)
>
> Regarding the images problem: I think I did not explain it well. I'm not
> askin
Ernesto, thank you very much :)
If my application ever goes to the production, it will be thanks to you :)
Regarding the images problem: I think I did not explain it well. I'm not
asking where to place them. I placed them almost everywhere, but I still
can't access them - in the bundle. You see, I
Yah, the whole argument about where the resources should go or the one
before that about top posting or bottom posting.
You'd think we didn't have any actual work to do :)
- Brill
On 21-Mar-09, at 12:39 PM, Ernesto Reinaldo Barreiro wrote:
useless thread?
On Sat, Mar 21, 2009 at 4:17 PM, Br
You are welcome.
Sorry, I can no longer help with your new problems... Just one more thing:
if you are going to ask different questions maybe is better if you start a
new thread.
Best,
Ernesto
On Sat, Mar 21, 2009 at 2:38 PM, Daniel Dominik Holúbek <
dankodo...@gmail.com> wrote:
> Thanks a lo
useless thread?
On Sat, Mar 21, 2009 at 4:17 PM, Brill Pappin wrote:
> At the risk of starting another useless thread, this is what I do for
> images and other non HTML resources that are shared:
> - if the project is small, they can just sit with the HTML.
> - if the project is larger then it m
At the risk of starting another useless thread, this is what I do for
images and other non HTML resources that are shared:
- if the project is small, they can just sit with the HTML.
- if the project is larger then it might be useful to keep them more
separate, under an images directory and us
Thanks a lot, it works now.
However, two more questions. Where should I place images folder and how
should I access it in my html files (or style.css as well)?
And the second one: when i try to insert a record with hibernate into my
database, i get this exception:
Batch entry 0 insert into forum.a
One more thing. As far as I remember the servlet bridge makes a 'work copy'
of the plugins folder if you see you make changes, export the plugins, and
changes do not 'propagate' to the application, try deleting works/Catalina
folder.
On Fri, Mar 20, 2009 at 9:58 PM, Ernesto Reinaldo Barreiro <
rei
Hi Daniel,
I found some time to get it working! The key to the problem was
http://dev.eclipse.org/newslists/news.eclipse.technology.equinox/msg04838.html
So, if you synchronize the projects
com.antilia.wstarter
com.antilia.wstarter.demo
exports them to you bridge it should work. I attach copy
Right click -> Export -> Plugin development -> Deployable plug-ins and
fragments
Have a nice day :)
On Thu, Mar 19, 2009 at 9:32 PM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> Did you exported them how? As equinox jar files or as simple jar files? Let
> me see if tomorrow I find som
Did you exported them how? As equinox jar files or as simple jar files? Let
me see if tomorrow I find some time for trying this out myself...
Best,
Ernesto
On Thu, Mar 19, 2009 at 9:14 PM, Daniel Dominik Holúbek <
dankodo...@gmail.com> wrote:
> Yes,
> that's exactly what I did :)
> I checked ou
Yes,
that's exactly what I did :)
I checked out the bundles, then exported them from eclipse. And then
installed those bundles along with javax.servlet into the bridge
application, bud I got the error when I tried to install wstarter-demo.
Thanks a lot!
On Thu, Mar 19, 2009 at 8:28 PM, Ernesto Re
I couldn't try today to build the example using servlet bridge, to busy over
here;-), let me see if I can find some time tomorrow to get it working. But
normally what I would do is use eclipse for development and then export the
jar to a bridge/plugins for deployment...
Did you read this page
htt
Well,
now I have tried to run it in eclipse and it is running properly.
On Wed, Mar 18, 2009 at 7:21 PM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> Hi Daniel,
>
> Is this the output of the console? I have no idea what's going on... I'll
> try to get bridge running myself with those
Hi Daniel,
Is this the output of the console? I have no idea what's going on... I'll
try to get bridge running myself with those bundles (*wstarter*)... Did you
tried running them with eclipse and the starter demo contains?
Ernesto
On Tue, Mar 17, 2009 at 10:58 PM, Daniel Dominik Holúbek <
danko
Ok, so I finally managed to get it working :)
I installed the http-console bundle an it works, but when I try to run your
demo application, when trying to start the demo bundle I get this error:
java.lang.LinkageError: loader constraints violated when linking
javax/servlet/Servlet class
My bundles
You will have to use bridge-servlet approach for that. As said the
bridge-servlet will launch an equinox runtime and redirect your request to
the "underlaying" http service. If you import the projects I mentioned into
eclipse and then export them as plugin jar files into the plugins folder on
t
Hello,
this seems to be helpful, thanks.
But still it does not solve the main problem. How do I put OSGi on the Sun
Java Application Server and then how do I install bundles in it? (preferably
with no console available)
Thanks again :)
On Thu, Mar 12, 2009 at 10:24 PM, Ernesto Reinaldo Barreiro <
Hi,
I just created a very simple starting project for OSGi and wicket at:
http://code.google.com/p/antilia/source/browse/#svn/trunk
check out projects
com.antilia.wstarter
com.antilia.wstarter.demo
Then you will have a equinox launcher called wicket-app (for eclipse 3.4).
Use it to launch your
Hello :)
I looked at the links listed below, seemed interesting, but the main problem
(how to set up such a project) remains unsolved.
So I think I really do need help :)
It seems to me, though, that this whole thing is much too complicated. I
need only some simple loading of multiple jars :)
But
Add this to your list:
http://code.google.com/p/antilia/
Ernesto
On Thu, Mar 12, 2009 at 1:06 PM, Richard Allen wrote:
> Here is a good intro to OSGi:
> http://www.javaworld.com/javaworld/jw-03-2008/jw-03-osgi1.html
> Here is one framework for running Wicket in OSGi:
> http://www.ops4j.org/proj
Here is a good intro to OSGi:
http://www.javaworld.com/javaworld/jw-03-2008/jw-03-osgi1.html
Here is one framework for running Wicket in OSGi:
http://www.ops4j.org/projects/pax/wicket/
Here is a project that integrates Guice, Wicket, Hibernate, and OSGi:
http://code.google.com/p/modulefusion/
-Ric
Hi Daniel,
Some comments inlined.
On Thu, Mar 12, 2009 at 9:37 AM, Daniel Dominik Holúbek <
dankodo...@gmail.com> wrote:
> Firstly, thanks for you reply :)
> I have already read that document regarding wicket and OSGi, but I think it
> is written for more experienced users at OSGi. As I wrote bef
Firstly, thanks for you reply :)
I have already read that document regarding wicket and OSGi, but I think it
is written for more experienced users at OSGi. As I wrote before, I even do
not know how to build a simple web OSGi project (what should I deploy, how
to install those bundles - I can't acce
Daniel Dominik Holúbek wrote:
I have looked at OSGi a bit, but I do not understand it (basically I do not
even now how to build a project with it :) )
Does anybody have any clue?
I hope I have written this clearly enough. If not, feel free to ask :)
Daniel,
designing modular applications u
Hello everyone!
For couple a weeks now, I am trying to develop an extensible application in
Wicket.
The goal is simple. We have a "core" deployed tothe java web server, and
then we create only "modules", which consist of some classes, html files and
maybe some styles or other resources. We tried to
31 matches
Mail list logo