please note the typo
getHibernateTemplate().execute(new HibernateCallback() {
public Object doInHibernate(Session session) throws
HibernateException, SQLException {
StatelessSession statelessSession =
session.getSessionFactory().openStatelessSession();
S
Hi
I've got a strange issue that only started happening a couple of days ago
when I did my latest deployment to live. I'm using velocity menus and have a
left hand menu like so:
This is displaying fine in firefox and IE however when accessing some of the
menu items its showing up in status bar o
Yes, that's exactly what I want. Please kindly give me the details. Thanks
millions in advance!
Will Berger wrote:
>
> I assume you are doing this to debug your appfuse app inside IDEA. If so,
> there is an easier way to do enable debugging in IDEA. Let me know if
> interested and ill give
On 4/20/07, Jason Brice <[EMAIL PROTECTED]> wrote:
>> However if would still like to use Hibernate for your read-only DB2
data, make sure you're using Hibernate's StatelessSession API or else you'll
just be paying a huge CPU and memory overhead using Hiberanate.
Hi Sanjiv,
Is there a way to us
Turns out adding a Jar isn't that hard at all [which may be why no
one bothered replying to that part of the question ;)]
http://maven.apache.org/general.html#importing-jars
I ran that on jt400.jar, and added a new dependency in my pom.xml and
*poof* the jar is in my webapp next time I ra
k. The m4 db 2 pojo is working. The m5 has issues. I will look at
doing the needed work and get back too you. We need it asap.
Chris
On 4/19/07, Matt Raible <[EMAIL PROTECTED]> wrote:
The technical problems are mainly that it's not finished. The one in
trunk gets you a generated POJO from
With Spring you can use any pooled (poolable?) datasource... for example c3p0's
ComboPooledDataSource or Apache's DBCP BasicDataSource. Proxool is
also an option.
By the way, I have had a terrible day or two struggling with Spring +
Hibernate + Apache's DBCP + WebSphere closing the socket in the
However if would still like to use Hibernate for your read-only DB2 data,
make sure you're using Hibernate's StatelessSession API or else you'll just
be paying a huge CPU and memory overhead using Hiberanate.
Hi Sanjiv,
Is there a way to use the StatelessSession API and still have Spring
managi
I probably just need to read more, but in case you know off the top of
your head... ;)
I hope that spring is using some sort of connection pooling? And is
there a way that you know of to configure a cache? The DB2 database
connection will be going over the Internet, so I want to minimize it
I tried both these things and it did not help. It is very odd. When you
click on the display the datepicker shows the month/time screen, above it
you see the application name header and then it has the footer. when you
select a day. the 2nd header and footer disappear.
I turned off sitemesh di
If you're not planning on using Hibernate for fetching data from the second
datasource, then you dont need to define a second SessionFactory bean. Just
define a second DataSource bean and inject it into your DAO's. You can then
use the Spring JDBC helper classes by utilizing the DB2 DataSource tha
Hi Sanjiv,
I wasn't sure what I would use to fetch the data from the DB2 database.
Hibernate crossed my mind, but then it seemed like it would not be worth
the difficulty of just getting the object to map correctly. I haven't
used iBATIS before, so I was starting to look at what JDBC templat
You just need to define a second SessionFactory bean and inject it in the
DAO's that you need access to it. You'll have to manage this second session
opening and closing manually since the OpenSessionInViewFilter manages just
the the bean names "sessionFactory". You could setup a second OSIV filte
I've used it and it works well.
On 4/20/07, Will Berger <[EMAIL PROTECTED]> wrote:
Thanks for the suggestion. I went and checked out the framework. While
it
looked pretty interesting, i noticed that it hadn't been updated since
2005.
Is this something we should be relying on? I guess I am a
[ You thought I was kidding about the 60 seconds, huh? ;) ]
So I need to have 2 data sources in my application. The AppFuse core
and my CRUD classes are being persisted to a MySQL database. I also
need fetch Read-Only objects from a DB2 database. Being new to maven
I'm a little stumped on h
Can someone tell me what changes I have to make if I wish to upgrade the
tomahawk from 1.1.3 to 1.1.5 without upgrading to m5-SNAPSHOT. I`m not sure
where i tell appfuse to download 1.1.5 instead of using 1.1.3.
Thanks
kace
--
View this message in context:
http://www.nabble.com/Jar-upgrade-tf3
SiteMesh hasn't been updated since 2004:
http://opensymphony.com/sitemesh/download.action
Actually, they had a "silent" release in October of last year - but I
think the concept stands. Some projects don't need updates. ;-) The
question is - will you get a response if you have questions on their
Funny... I guess I got ahead of things and was looking for that "common
configuration" thing that doesn't exist yet :)
Good to know all I have to do is remove the provider and the login.jsp
should drop the checkbox. Guess I'll try that out right now.
'Til the next question [which should be
Thanks for the suggestion. I went and checked out the framework. While it
looked pretty interesting, i noticed that it hadn't been updated since 2005.
Is this something we should be relying on? I guess I am asking is this an
active project.
Will
Sanjiv Jivan wrote:
>
> There was discussion
security.xml - change this:
To this:
I am open to adding/implementing some sort of common configuration
system after 2
I am using AppFuse and Struts menu 2.4.2 for the first time.
When the user logs in and clicks on List Users, a tabular list of users
(users.html)
is displayed. For each row there is a checkbox that the user can check for
that
row selection. The user checks the box and clicks on "Edit - Change
P
I am using AppFuse and Struts menu 2.4.2 for the first time.
The menu-config.xml looks like:
The first page that
I'm trying to figure out where the application settings are kept in
AppFuse 2.0. I'd like to turn off "Remember Me" for this particular
application and I see that login.jsp only renders the "Remember Me"
checkbox when the feature is enabled... The problem is I can't seem to
find where it is en
I assume you are doing this to debug your appfuse app inside IDEA. If so,
there is an easier way to do enable debugging in IDEA. Let me know if
interested and ill give you the details.
Will
swordfish wrote:
>
> I've created a new modular tapestry+ibatis project (2.0-m5-SNAPSHOT) and
> issue
I think your question is too generic and broad. I believe AppFuse uses all
the right ingredients to scale but that does not mean that once you build a
large application, you can kick back and expect the application to handle
millions of page views. You will need to profile the application and
data
I've created a new modular tapestry+ibatis project (2.0-m5-SNAPSHOT) and
issued mvn idea:idea command to make IDEA projects...I've excluded those
errors in web.xml...I've downloaded & installed Maven-Reloaded &
Maven2-Integration...However, when I tried to run jetty:run-war under web
POM in IDEA,
Yes, it helps. Thanks Matt!
mraible wrote:
>
> I had this same question, so I added it as a FAQ:
>
> http://appfuse.org/display/APF/FAQ#FAQ-ideacompiling
>
> How do I tell IDEA to ignore deployment descriptors when compiling?
>
> Right-click on the file in the messages window and choose "E
There was discussion about this a long time ago. Matt pointed us to this
really cool library
http://wfnm.sourceforge.net/
http://www-128.ibm.com/developerworks/library/wa-webflow/?ca=dnt-546
Sanjiv
On 4/20/07, Will Berger <[EMAIL PROTECTED]> wrote:
Was wondering if anyone had a good soluti
Was wondering if anyone had a good solution for implementing breadcrumbs. I
suppose I could implement this, but i would bet someone has solved this
before. I am looking for some kind of jsp tag. I saw references to
SiteMesh being able to do it, but could not find any documentation on how?
Any
Howdy folks,
I have a pretty simple AppFuse 2.0-M4 Struts 2 app that has an object
that has a ManyToOne relationship to User. The idea is this object is
created by or owned by the user who added it [only an admin can edit the
user, yadda yadda]. So in my save method of my action I tried the
I had this same question, so I added it as a FAQ:
http://appfuse.org/display/APF/FAQ#FAQ-ideacompiling
How do I tell IDEA to ignore deployment descriptors when compiling?
Right-click on the file in the messages window and choose "Exclude
From Compile".
Hope this helps,
Matt
On 4/20/07, swo
I've created a new modular tapestry+ibatis project (2.0-m5-SNAPSHOT) and
issued mvn idea:idea command to make IDEA projects. Everything looks fine,
except some errors in the web.xml when I tried to build it and run it on
Jetty. IDEA complains "Cannot resolve symbol error.jsp", ...
Sure enough thats what it was. Thanks.
Will
mraible wrote:
>
> You would get this error if you're no longer loading prototype.js in your
> page.
>
> Matt
>
> On 4/19/07, Will Berger <[EMAIL PROTECTED]> wrote:
>>
>> Would anyone know why I keep getting this javascript error message, It
>> d
Hi,
Am having a datasource and connection pool setup in Websphere server for DB2
database. Wanted to know following things regarding using AppFuse for my
project development:
1. What all steps I need to do for accssing this connection pool using the
JNDI name, which files I need to use and updat
Has anyone set up memcached for an appfuse app? I don't quite understand how
it fits in with Hibernate level 2 caching. It seems like one or the other,
but then I need to write the code to check memcached instead of Hibernate
doing it all for me?
--
View this message in context:
http://www.nab
I see where you are coming from. Especially since BaseDaoTestCase is
extending AbstractTransactionalDataSourceSpringContextTests. Sounds like it
is more Spring's issue than yours. Seems like they could have come up with
a more generic term than 'Test' for this functionality. As for AppFuse,
ma
36 matches
Mail list logo