I'm using the latest version of Appfuse and the latest release of Eclipse WTP
(all in one 1.5.2). Eclipse WTP lets you set up dynamic webapp projects and
run/debug them within eclipse on whatever appserver you want. I was hoping
to use this same setup with Appfuse. I'll play around with it a bi
Hi Samuel,
I have tried that library on a php project. It should be something
on client side. What I now want to do is to display a recursive
structure on server side, specifically in jsp.
What I am trying to do is , I want to output something like this
with the structure I mention in
Yes that's right.
I haven't been able to get HSQL to work 'out of the box' as yet, although I
haven't given up just yet.
Isaac
Matt Raible-3 wrote:
>
> Can you enter an issue for this in JIRA?
>
> http://issues.appfuse.org/browse/APF
>
> I'm assuming you'd like instructions for running your
Can you enter an issue for this in JIRA?
http://issues.appfuse.org/browse/APF
I'm assuming you'd like instructions for running your project with
HSQL, rather than having the AppFuse project itself work
out-of-the-box with HSQL. Correct?
Matt
On 1/23/07, Isaac Sullivan <[EMAIL PROTECTED]> wrot
Can you try running "mvn hibernate3:hbm2ddl"? Does that solve the problem?
On 1/23/07, David Yon <[EMAIL PROTECTED]> wrote:
Hi,
When I try to "mvn integration-test", Error as attached is raised. It seems
user_role table can't be found when executing CLEAN_INSERT target. By the
way, because we
Sounds like this might be a bug. I've never used the
SimplePermissionAdapter (it was written before I joined the Struts
Menu project), so you may have to download the source and debug the
problem yourself.
Matt
On 1/23/07, xiuxiu <[EMAIL PROTECTED]> wrote:
Hi, All,
I am using Appfuse 1.9
What version of AppFuse are you using? There's nothing in AppFuse
that prevents you from debugging it. They Sysdeo Tomcat Plugin is
often the easiest for folks to figure out, but you should be able to
setup remote debugging and start Tomcat with jdpa.
http://raibledesigns.com/page/rd?entry=remo
Hi, All,
I am using Appfuse 1.9.4 with struts.
I use the SimplePermissionAdapter for ther privilege.
But I found that if I set the item name to the adapter , it doesn't work
while the menu name does. And I debug the source code, only the menus are sent
to the adapter.
Has anyone m
The true tag should be applicable to all database applications,
not just HSQLDB (in theory, I am yet to try it with anything else. I may get
around to testing it against MySQL).
But placing the
org.dbunit.ext.hsqldb.HsqldbDataTypeFactory
tag in the root POM would be ideal.
Isaac
Matt Raible-3 w
Hi,
When I try to "mvn integration-test", Error as attached is raised. It seems
user_role table can't be found when executing CLEAN_INSERT target. By the
way, because we will use oracle database and I don't familar with mysql
database too, how can I change the target db to Oracle 10g from mysql.
Hi guys,
I like to run my webapps in eclipse (using tomcat) so I can code and debug
all from one place.
It doesn't seem to like the way appfuse is structured with the webapp folder
under the source folder...
Has anyone tried to get this working with any luck?
Andy
--
View this message in con
No, but you can add them to your MAVEN_OPTS environment variable and
then easily attach a debugger. For example:
export MAVEN_OPTS='-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000'
Matt
On 1/23/07, Jason Poley <[EMAIL PROTECTED]> wrote:
do
Which way do you suggest for placing more than one parameter in the query?
Thus far I have only used getHibernateTemplate.find(query, arg);
I tried the solution in which you pass more than one argument and I got some
strange error (that I can't remeber off hand at the moment...) are you
talking
So if I use the getHibernateTemplate.find(query, param); method Hibernate
Caches the query instead of dynamically creating it all the time? (once its
first run anyway...)?
Thank you again,
Andrew
Michael Horwitz wrote:
>
> It all depends. One well recognised security risk in web applicatio
does the maven start of jetty or tomcat include jpda debugging options?
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
Hi Jonathan
What about using a the following tree UI component
http://webfx.eae.net/dhtml/xloadtree/xloadtree.html
http://webfx.eae.net/dhtml/xloadtree/demo.html
We are using it with appfuse/springmvc and XML to dynamically load the
contents of a hierarchy too.
If you end up using it would be
We have a profile for hsqldb in the root pom.xml of AppFuse - but I
haven't gotten it to work. I wonder if both of these configuration
settings can be added to that - w/o redefining everything in the
plugins.
Matt
On 1/23/07, Isaac Sullivan <[EMAIL PROTECTED]> wrote:
Forgot to mention that thi
Forgot to mention that this is for AppFuse 2!
Isaac Sullivan wrote:
>
> Hi all, I thought I would just post a solution for a couple of problems I
> had while using AppFuse.
>
> Firstly this solution is for all those users wanting to recreate the
> database schema each time they run test-compil
Hi all, I thought I would just post a solution for a couple of problems I had
while using AppFuse.
Firstly this solution is for all those users wanting to recreate the
database schema each time they run test-compile over the AppFuse project.
Placing a true tag in the POM file at the following pos
Hi,
Can you post your Hibernate code that was giving you a strange result
on the list? It's not too hard to use parameters with HQL queries,
especially if you name the parameters.
Jeff
On 1/23/07, mas <[EMAIL PROTECTED]> wrote:
Is it dangerous to do your query this way?
(I.E. SQL Injectio
It all depends. One well recognised security risk in web applications is
where request parameters are pasted directly into SQL queries, as it allows
users to inject harmful SQL into your application. Whether this is true of
your application all depends on whether or not entity1_id or entity2_id ar
Is it dangerous to do your query this way?
(I.E. SQL Injection...)
> String query = "FROM WeakEntity mi WHERE mi.entity1.id = " +
> entity1_id
> +
> " AND mi.entity2.id = '" + entity2_id + "'";
>
> List list = getHibernateTemplate(
Thanks. I'll give this a try.
- Matt
[EMAIL PROTECTED]
> -Original Message-
> From: Matt Raible [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 23, 2007 12:48 PM
> To: users@appfuse.dev.java.net
> Subject: Re: [appfuse-user] Use JSP in JSF w/ AppFuse 1.9.4
>
> On 1/16/07, Matt Raible
On 1/23/07, Scott Purcell <[EMAIL PROTECTED]> wrote:
I downloaded Equinox 1.7 and followed the read-me pretty thoroughly. I never
used maven, but managed to get the "mvn test" to all run happily.
I wanted a WW, SpringIOC, Hibernate base. So upon the readme, I went into
the WW extras directory a
I downloaded Equinox 1.7 and followed the read-me pretty thoroughly. I
never used maven, but managed to get the "mvn test" to all run happily.
I wanted a WW, SpringIOC, Hibernate base. So upon the readme, I went
into the WW extras directory and ran "ant install". After that I ran a
"ant deploy"
On 1/16/07, Matt Raible <[EMAIL PROTECTED]> wrote:
On 1/16/07, Stine, Matt <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Matt,
>
>
>
> I know and agree w/ your reasons for dumping JSP in AppFuse 1.9.4+ for the
> JSF option; however, we got used to using DisplayTag within JSF and now
> that isn't an optio
Which version of AppFuse are you using?
On 1/23/07, Ach <[EMAIL PROTECTED]> wrote:
Hi friends,
I decided to categorize my tests into 4 not necessarily disjoint sets:
1. unit tests : Quicky unit tests
2. slow tests: unit tests that does not run enough fast for continuous
builds
3. acceptanc
I've added a FAQ for AppFuse 1.x vs. 2x.
http://appfuse.org/display/APF/FAQ#FAQ-appfuse1vs2
Feel free to suggest more questions for this page.
Matt
On 1/23/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
Hi,
Yes, the warnings are normal. AppFuse 2.0 works rather differently from
AppFuse 1.x -
Struts 2 support was included in Equinox 1.7.
Matt
On 1/23/07, Scott Purcell <[EMAIL PROTECTED]> wrote:
Is there going to be an Equinox app for Struts 2 coming in the future? I do
not need all the power of the AppFuse.
Thanks,
Scott
--
http://raibledesigns.com
--
Hi,
I have a little problem using Projections with Criteria, i'm using hibernate
3.1
This simple query works:
Criteria criteria = getSession().createCriteria(VolumeDatiGenerali.class);
criteria.setMaxResults(25);
criteria.setFirstResult(25 * pageNumber);
criteria.setProjection( Projections.pro
Make sure Acegi's JAR doesn't have a log4j.properties in its root
directory. This affected us at one point.
Matt
On 1/23/07, Stine, Matt <[EMAIL PROTECTED]> wrote:
I am developing a project using AppFuse 1.9.3 and it seems that no matter
what I do in log4j.properties, the logging level for
I am developing a project using AppFuse 1.9.3 and it seems that no
matter what I do in log4j.properties, the logging level for ALL packages
is always set to debug. This means I get all kinds of extra stuff from
commons, spring, and hibernate that I do not want.
Am I missing something?
Than
Depending on which JDK you use, you can use the exec() method of the Runtime
class ( < JDK 1.5) or the ProcessBuilder (JDK 1.5 and up).
http://www.java-tips.org/java-se-tips/java.util/from-runtime.exec-to-processbuilder.html
hth,
Jason
On 1/23/07, orodsem <[EMAIL PROTECTED]> wrote:
Hi,
How
Hi friends,
I decided to categorize my tests into 4 not necessarily disjoint sets:
1. unit tests : Quicky unit tests
2. slow tests: unit tests that does not run enough fast for continuous
builds
3. acceptance tests
4. all tests: Including all categories I mentioned before.
Now what is the
If you used the database to help you out you could output the results with a
simple loop and then you would know the depth to place each item at.
However, this highly depends on what the information your storing is used
for, this does not work well for every case.
For instance you would have the
On 1/23/07, Harmen <[EMAIL PROTECTED]> wrote:
Ok, I've deleted the .m2 repo, started all over again and now everything
seems to work just fine. I haven't the slightest what was causing the
build
to fail. Thank you for you time
No problem. Just glad it works!
Harmen wrote:
>
> Totally baffl
Is there going to be an Equinox app for Struts 2 coming in the future? I
do not need all the power of the AppFuse.
Thanks,
Scott
Ok, I've deleted the .m2 repo, started all over again and now everything
seems to work just fine. I haven't the slightest what was causing the build
to fail. Thank you for you time
Harmen wrote:
>
> Totally baffled I am. I'm going to delete maven2 repo and start all over.
> Which Java version
Please note that I've uploaded a new zip file with PersonActionTest in the
thread with Michael Horwitz. So don't bother checking this one.
Matt Raible-3 wrote:
>
> For some reason, the output from your PersonActionTest has wierd
> spelling (cases):
>
> ---
Totally baffled I am. I'm going to delete maven2 repo and start all over.
Which Java version do you use? I have jdk1.5.0_09. I'm running on Windows as
well. I tried your procedure over and over again, didn't work. So I'm going
to start over again and let you know.
Michael Horwitz wrote:
>
> T
The test ran successfully first time on my setup. Here is what I did:
1) Extracted the zip to a working directory.
2) Edited the top level pom.xml so that the JDBC URL pointed to a database
instance I know does not exist: apptest
3) Ran mvn hibernate3:hbm2ddl to create the database.
4) Ran mvn je
I also would like to download the file.
The server is apparently still not up and running.
If anyone has the file, could you please email me a copy?
Thanks
Erwin
--
View this message in context:
http://www.nabble.com/AppFuseAcegiACL-file-download-problem--tf2893218s2369.html#a8520896
Sent from
OK, yeah, I removed it, in order to get a build going, eager to test
functionality.
Here's a zip *with* the class. I stripped the jars, wars and classes.
http://www.nabble.com/file/5872/Copy%20of%20basic-struts.zip Copy of
basic-struts.zip
Michael Horwitz wrote:
>
> The PersonActionTest cl
The PersonActionTest class seems to be missing from the package?
On 1/23/07, Harmen <[EMAIL PROTECTED]> wrote:
Here's my project
http://www.nabble.com/file/5870/basic-struts-matt.zip
basic-struts-matt.zip
Matt Raible-3 wrote:
>
> Can you send me your project? I'd like to see if I can repr
Hi,
Yes, the warnings are normal. AppFuse 2.0 works rather differently from
AppFuse 1.x - Maven keeps the AppFuse core classes as dependencies. You add
your code, and Maven will merge in the code from AppFuse. This should make
it much easier for you to upgrade to future releases of AppFuse.
If y
Hi,
How can I run a .sh file via a web application? I want to start and stop a
service in linux via a web page.
I use JSF in web tier with AppFuse 1.9.3
--
View this message in context:
http://www.nabble.com/run-a-.sh-file-via-appfuse-tf3063619s2369.html#a8520079
Sent from the AppFuse - User m
Here's my project
http://www.nabble.com/file/5870/basic-struts-matt.zip basic-struts-matt.zip
Matt Raible-3 wrote:
>
> Can you send me your project? I'd like to see if I can reproduce/fix
> the problem locally?
>
> Thanks,
>
> Matt
>
> On 1/23/07, Harmen <[EMAIL PROTECTED]> wrote:
>>
>>
when I tried to create a project with the following command, there are lots
of warning info. At the end of, it showed " BUILD SUCCESSFUL", but when I
browsered the src/main/jar directory, there is only one java File,
App.java. Is it normal? If normal, when the java source codes like the 1.x
versi
Could I suggest we redirect this request to the user list? The development
list is normally used for issues specific to AppFuse's development itself.
You would need to have an action (or the equivalent in JSF - not a framework
I am too familiar with) that uses the java.lang.Runtime class to start
I run mvn from the command line
the capatalization must have something to do with it I guess...
Matt Raible-3 wrote:
>
> For some reason, the output from your PersonActionTest has wierd
> spelling (cases):
>
> ---
> T
Can you send me your project? I'd like to see if I can reproduce/fix
the problem locally?
Thanks,
Matt
On 1/23/07, Harmen <[EMAIL PROTECTED]> wrote:
Even when adding that, it still bails out with exactly the same error. If it
helps, I'm working on Windows XP. For now I just leave the tests o
Even when adding that, it still bails out with exactly the same error. If it
helps, I'm working on Windows XP. For now I just leave the tests out. I'd
love to do some test driven development, but I'll wait untill you guys come
up with the solution.
Michael Horwitz wrote:
>
> You are missing the
You are missing the following from your applicationContext.xml file:
com.ilionx.tutorial.model.Person
As mentioned by Matt this is currently a bug we are tryin to solve.
Mike.
On 1/23/07, Harmen <[EMAIL PROTECTED]> wrote:
Well,
For some reason, the output from your PersonActionTest has wierd
spelling (cases):
---
Test Set: Com.Ilionx.Webapp.Action.Personactiontest
---
Te
Well, that's why I included the zip file. It contains the hibernate.cfg.xml
and yes it does contain
So... that's not the solution I think
Harmen
Matt Raible-3 wrote:
>
> If Mike's suggestion works, this is a bug that we're hoping to fix in
> the next couple weeks:
>
> http://issues.appfus
Hi Matt,
I cannot follow. What should those JSTL look like as there is
n-level of category? If only the root node is passed in, it is just a
plain object. JSTL should not be able to iterate it through.
Best regards,
Jonathan
Matt Raible wrote:
You could probably use JSTL's to traverse t
You could probably use JSTL's to traverse the tree and
print out the contents. Regular ol' HTML tags should help you indent
it where you need to.
Matt
On 1/23/07, Jonathan Tse <[EMAIL PROTECTED]> wrote:
Hi all,
I am implementing a multi-level hierarchy (You can imagine it
category , sub c
Hi all,
I am implementing a multi-level hierarchy (You can imagine it
category , sub category and sub sub category). I want to output the
structure with indentation but still cannot find a good solution. Let's
ignore how the DAO retrieve the data first(another complication here).
Suppose I
58 matches
Mail list logo