, 2011 at 17:58, mraible [via AppFuse] <
ml-node+3214393-2020331341-208...@n4.nabble.com
> wrote:
> I was able to run this successfully. Are you behind a firewall, using Nexus
> or have you customized your settings.xml?
>
> On Wed, Jan 12, 2011 at 9:03 AM, John <[hidden
Hi,
Thank you for the quick answer.
Yes, I am behind a firewall, but have set up the needed proxy settings.
Many other downloads during mvn install works perfectly (.e.g. from
repo1.maven.org), but the first one from repository.codehaus.org fail.
Browsing this repository in firefox indicates th
installed java 5, maven 2.2.1, confirmed running ok
ran
mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-basic-spring-archetype
-DarchetypeVersion=2.1.0-M2 -DgroupId=no.grails -DartifactId=pma
successfully.
mvn install fails on:
downloading
ht
istener (top line) and
then set the eventListeners property on the sessionFactory to that new bean.
That should be it! After a hibernate save, your domain object should have
its declared identity field automagically populated.
John Vance
--
View this message in context:
http://www.nabble.com/Ho
mraible wrote:
>
>
>
> Yes, I'm more than happy to introduce a better client-side validation
> system
> in AppFuse. Maybe something that leverages JSR-303 and the preferred JS
> framework of the week (not sure what that is these days). ;-)
>
> Matt
>
>
Spring Javascript is an honest to go
DDD... It works!
With some gotchas.
There is an architectural mismatch between the Commons Validator and Spring.
Struts (which it was designed for) passes an ActionForm to the validator,
which is populated with the string values that were submitted from the
browser form - it's a DTO.
Well, it turns out there is validWhen support in springmodules. It's right
there in FieldChecks. You add the following to your validator-rules.xml and
hopefully all goes swimmingly:
mraible wrote:
>
> I don't believe validwhen works if you're using it with Spring MVC.
> You might chec
YAGNI has bitten me in the butt. I'd like to collapse my project into the
basic format. I'll never need a separate core, and it's kinda a pain
maintaining 3 poms, two sample-data.xmls etc.
In general, which sections of the POMs can be collapsed up into the parent
POMs? What sections would then
Hey Matt
I've already users-unsubscribe this email but still getting appfuse email.
could you please unsubscribe this email from the list.
-John
- Original Message -
From: Matt Raible
To: users@appfuse.dev.java.net
Sent: Wednesday, January 21, 2009 10:40 AM
Subjec
I run appfuse:gen followed by appfuse:install in my core project, and it runs
to completion with no issues. I then cd to my web project and run
mvn appfuse:gen -Dentity=SecuredObject -Dentity.check=false -e
and it fails with the following complaint:
C:\\web\target\appfuse\generated-sources not
Pardon me while I dump a stack trace here. I was getting the following error
while trying to run appfuse:gen on the web portion of my Spring project.
Using -Dentity.check=false got me past it. I'm placing the stack trace here
so that others who are searching on one element of the stack trace wi
I'm having the same problem.
I guess the solution is to not POST when deleting. Do a GET with the item
ID as a parameter.
What would be the appropriate controller to use for this? Just a separate
controller to handle the delete? Oooh - I could be RESTful here and do a
DELETE! I say that beca
On Thu, Sep 4, 2008 at 12:46 PM, oad <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I installed AppFuse2 Spring MVC modular and I've been adding my own classes
> to the Hibernate model package. I am using MySQL5
> Everything was fine until and introduced a Date element on the DB model.
> The
> structure on
This is just a wonderful problem. IE 7 fails to post forms in Appfuse 2.0.2,
except for those that are multipart/form-data. Firefox 3 has no such
problem. Netbeans httpmonitor and fiddler show that form data is in fact
being posted. However, inside ProcessFormSubmission, the command object is
On Fri, Aug 29, 2008 at 2:51 PM, John Kwon <[EMAIL PROTECTED]> wrote:
> I was trying to do a simple unit test and I can't get it to run because I
> get
>
> testAddAndRemoveIncidentAttachment(com.csc.ctms2.dao.IncidentNoteAttachmentDaoTestCase)
> Time ela
I was trying to do a simple unit test and I can't get it to run because I
get
testAddAndRemoveIncidentAttachment(com.csc.ctms2.dao.IncidentNoteAttachmentDaoTestCase)
Time elapsed: 0.047 sec <<< ERROR!
org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity:
com.csc.ctms2.model
I see in various searches that some people create their own BinaryBlobType
and use some XML to tell Hibernate to map that custom type to a blob.
On other sites, I see that with annotations, I am supposed to do the
following:
@Lob
@Column(name="FILE_CONTENTS")
public byte[] getFileCont
I've always thought of hashCode and equals (even back in the smalltalk days)
as being keys in the relational sense.
If I have an object that's mapping to a table, whatever is being identified
as a key using annotations are the only attributes I use in hashCode and
equals.
I don't include any non-
On Sat, Jul 5, 2008 at 1:43 PM, John Kwon <[EMAIL PROTECTED]> wrote:
> Using Appfuse 2.0.2, full source, I get:
>
> warning bad version number found in
> C:\repository\org\aspectj\aspectjrt\1.6.0\aspectjrt-1.6.0.jar expected 1.5.4
> found 1.6.0
> info directory classpath
Using Appfuse 2.0.2, full source, I get:
warning bad version number found in
C:\repository\org\aspectj\aspectjrt\1.6.0\aspectjrt-1.6.0.jar expected 1.5.4
found 1.6.0
info directory classpath entry does not exist: C:\Program
Files\Java\jdk1.6.0_03\jre\lib\sunrsasign.jar
info zipfile classpath entry
Hey all,
I got NTLM authentication going in Appfuse 2.0.1 by wedging in Spring
Security 2.0.M2. I used the old namespace and syntax for security.xml, made
some minorish modifications, and got things working pretty well.
Now I'm looking at upgrading to Appfuse 2.0.2, and I see that security.xml
Actually, it's exactly APF-DEMO-22.
I'm on appfuse 2.0.2, using full-source.
This looks like APF-DEMO-21 and APF-DEMO-25 - is there something I can
change so I can get the code that will work?
I am using AppFuse full source.
On Fri, Jun 27, 2008 at 1:53 PM, John Kwon <[EMAIL PROTECTED]> wrote:
> Just installed Artifactory, and got it set up. Just tried to
Just installed Artifactory, and got it set up. Just tried to build an
Appfuse app, and I got this:
Project ID: org.codehaus.mojo:appfuse-maven-plugin
Reason: POM 'org.codehaus.mojo:appfuse-maven-plugin' not found in
repository: Un
able to download the artifact from any repository
org.codehaus
I am using eclipse for appfuse I am getting build error for mvn install
eclipse:eclipse . Seems like, it does some unit testing. Is there any better
way to do that? Or is there any mvn plug-in for eclipse?
-Original Message-
From: Attila [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26
On Fri, May 30, 2008 at 11:50 AM, Matt Raible <[EMAIL PROTECTED]>
wrote:
> There's logic in decorators/default.jsp that determines if that menu
> should be shown or not.
>
> Matt
>
thanks matt!
On Fri, May 30, 2008 at 11:18 AM, Matt Raible <[EMAIL PROTECTED]>
wrote:
> What browser are you using? Do you have a screenshot of the issue so
> we can visualize it?
>
> Matt
>
It happens in both IE7 and Firefox 2.0.0.4
In Andreas style, you have the menu bar always on the left, in vertical
fash
I'm using appfuse yet again, and I have a question about the menu css.
I am using the Andreas style, and I've noticed that I get a main menu bar
vertically on the left.
I get, on occasion, a submenu of the selected item from the main menu, on
the right hand side in smaller font.
I made some chan
On Mon, May 12, 2008 at 6:23 AM, Greenhorn2005 <[EMAIL PROTECTED]>
wrote:
>
> Hello to all appfuse users,
>
> I have a doubt.
>
> I have a created two entities called User and Role. A user can have many
> roles and a role can have many users.
>
>
> User.java
>
>code:
>
>
>@Entity
>@Tab
e
how Appfuse/spring supports connecting to more than one database at a time?
We've chased the stack all the way up to declaring multiple separate
sessionFactories, but that seems to rely on being able to declare multiple
database configurations in the pom.
Thanks,
John Vance
--
View this
What I was looking for was how to start up a local debugging session. I'm
probably not using the right terms.I wanted to launch tomcat from within
NetBeans, which I believe then uses shared memory to communicate with
tomcat. This should be as simple as clicking on the big "debug main
project
Has anyone got debugging working in Netbeans 6.0? Netbeans' documentation
for debugging web apps is... sparse. I tried firing up the BPEL debugger
but I have no idea how to make it "attach" to a running web server. I also
tried right-clicking on the project and selecting "debug", but that launc
I have a simple JSP (this is appfuse 2.0, spring mvc) that has a displaytag
showing 12 rows and four columns.
The users usually get 6 to 8 pages (the list in displaytag makes those) of
data.
The list is an arraylist of beans that each have four attributes. No
sorting is going on. But, the list
Matt put something in 2.0
>From APF-268..
Implemented with jscalendar.sf.net (LGPL).
To use in 2.0 RC1, perform the following steps:
1. Add title="date" to an - for example:
2. Add the calendar scripts to your page:
3. Call Calendar.setup() from JavaScript:
Calendar.setup({inputFi
I guess I'm curious, since I don't have a problem with sessions in Acegi.
My users log out and log back in without a problem.
Can you give more details about your application?
On 12/3/07, ujjala <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> I have implemented the following in applicationContext-Securit
I have a need to encrypt an entry in a properties file, yet I have to be
able to decrypt it so it can be used.
Is there a way to get jaspyt / appfuse to do this for me? (I'm in a Spring
MVC app).
I've seen the part about jaspyt/appfuse/database columns, but it's not
really what I was looking for.
On 11/27/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> A better workaround (IMHO of course) is that all AppFuse users buy
> themselves a MacBook Pro for Christmas. ;-)
>
Thank you in advance for buying me a MacBook Pro!
I've done plenty in the government arena, but unfortunately, their URLs are
not public.
The customer just asked if I could have one of the jsp pages in my Spring
app not be nested in with the defaults - i.e., no header.jsp, etc.
Any quick way to do this?
Is there a reason that appfuse has a file size limit on the upload?
Hi,
I just created Appfuse 2.0 Basic JSF app in my local
machine. The installation works fine and all the tutorials. But the
problem started when I disconnected my computer from internet and try to
run the app again using maven jetty plugin. It gives me this error:
java.lang.Ill
I had to build a Documentum application (accessing Documentum 5.3) on short
order. I used Appfuse, and picked the Spring MVC/Hibernate combination
(there was some additional SQL Server access).
The application had to embed PDFs pulled from Documentum in one of the
views, and a considerable amount
e error you're seeing? From a logging perspective, it all
> looks fine.
>
> Matt
>
> On Nov 10, 2007, at 11:28 AM, John Kwon wrote:
>
> > [quality] DEBUG [http-8080-1] JstlView.render(227) | Rendering view
> > with name 'afiles' with model {aFileSam
[quality] DEBUG [http-8080-1] JstlView.render(227) | Rendering view with
name 'afiles' with model {aFileSamplingList=[20070223_D10-4122P|245
A-FILES|12 A-FILES|||02/23/2007|0, 20070223_D10-DIG-01|6 A-FILES|1
A-FILES|||02/23/2007|0, BOXB|2 A-FILES|1 A-FILES|||02/23/2007|0]} and static
attributes {}
I have two types of persistence in my app.
One uses Hibernate, and goes to SQL Server. Just fine.
The other goes to Documentum, and is not compliant with any standard - it
has its own api that I call from a service class (reachable from a declared
manager bean).
If I look at the logs, there see
Our app seems to run just fine on Tomcat 6/Java 6 for about 20 users for
around 10 minutes, and then Tomcat just stops serving requests.
After about 10 minutes, it resumes as though nothing ever happened.
We tried this on Java 5, Tomcat 5, and we had the same problem.
It isn't the displaytag (hu
I guess the problem is that I started out with using these tables for
logon/role access, and switched to using a custom authenticator for
Documentum.
I am also using the database (SQL Server) for other tables. I guess it
won't hurt to leave those three tables in, and never really use them.
I've switched to my own custom authentication provider, and no longer need
the three tables in my database.
I don't have appfuse:full-source (it only seems to work on a project that
I've never modified), so is there a quick and dirty way to remove the
hibernate references for these objects?
rote:
>
> There was a similar issue a couple of weeks ago - where the Acegi tag
> that calls getFullName() was causing a 0 byte response. You might want
> to override footer.jsp and change it to call getUsername() instead.
>
> Matt
>
> On 11/1/07, John Kwon <[EMAIL PROTECTED]&
An [EMAIL PROTECTED] <[EMAIL PROTECTED]> AuthenticationProvider}
implementation that
retrieves user details
* from an [EMAIL PROTECTED] <[EMAIL PROTECTED]> UserDetailsService}.
*
* @author John Kwon
* @version $Id: DocumentumAuthenticationProvider.java 1857 2007-05-24
00:47:
So if I implement my own CustomAuthenticationProvider, and replace the entry
for the daoAuthenticationProvider
with my own class, (I'm looking at the code for DaoAuthenticationProvider),
I should be able to drop mine neatly in?
I need a sample so I can see what I have to implement to make my own
authentication provider to Documentum.
Does anyone have a code example of a CustomAuthenticationProvider?
I've Googled, and only found incomplete examples.
nzipped, you should find jdbc.properties.
>
> You should be able to modify jdbc.properties, and then restart the
> application within Tomcat or whatever container you're using.
>
> On 10/25/07, John Kwon <[EMAIL PROTECTED]> wrote:
> > Do I have to rebuild every time I want t
Do I have to rebuild every time I want to change the port and ip of my sql
server instance?
I can't find a properties file that gets set by the pom.xml
I hate to have to rebuild for every single server this app goes to.
Is there any guidance on how to remove clickstream from the app? I don't
need it, and it keeps getting NullPointerExceptions on Tomcat.
There used to be an example of this at demo.raibledesigns... where can I
find the source for this?
I'm using Spring and trying to get the value of a checkbox populated in a
displaytag column...
Problem solved. I'm just returning the URL to the PDF file, no controller.
Put in a bypass for ROLE_ANONYMOUS for /**/*.pdf
That, and I have the Tomcat host address in a properties file now. Never
trust getRemoteHost()... it doesn't always return a true address for the
Tomcat host.
as I've never
> dealt with something like this. I'm sure it's something small though -
> likely something that'll take you days to find and seconds to fix. ;-)
>
> Matt
>
> On 10/21/07, John Kwon <[EMAIL PROTECTED]> wrote:
> > The controller for the o
egi is URL-based, I don't know why it
> would work locally, but not when accessing the application from a
> different machine. What happens if you use the fully-qualified domain
> name of your machine instead of localhost?
>
> Matt
>
> On 10/21/07, John Kwon <[EMAIL P
I have a PDF that is put up by a controller I wrote (it puts the pdf right
on the response stream, and I set the content-type as pdf).
I also specify that this is an attachment, so I am presuming that it won't
open the PDF in a new window - the controller is called by a url that is in
an IFRAME.
using Spring 2.0... and appfuse.
One of the controllers is based on BaseFormController (it has an onSubmit
and referenceData and a formBackingObject).
Works just fine with the jsp.
I have an IFrame on the jsp, and the url is an attribute of the bean defined
on the jsp and controller. The IFrame i
I am using Simplicity, and if I make a change to widen the view (so I can
put more on the view - the users want one view that has approx 60 input
fields on it), I lose the menu bar in IE 6.
The center column in layout-1col.css - where do I find the place to widen
that?
2.0-m5
Is there a version after that? If so, how do you upgrade?
The menus vanish in IE 6, and are normal and visible in IE 7 and Firefox.
We just had a quirky thing happen today - when people use the initial URL to
get to the login page, almost everyone gets the login page, and the normal
menus. For a couple of people, they get no login page - they're taken to a
random page in the application (bypassing security) and then have no me
If I want to display a PDF in the same page as a data entry form?
In the previous incarnation of Spring (1.0.3?) I had serious problems using
Documentum because Managers that called the Documentum API to get a session
were always singletons, no matter what I specified.
In the current app, I have specified "prototype". Rather than have multiple
people log on and
That was it.
On 10/16/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
>
> The property name should probably be ANamedAFile - if the first two
> characters of your getter are capitalised, then the property normally keeps
> them that way.
>
> Mike.
>
> On 10/15/0
Suddenly,
http://www.appfuse.org/tags/spring
is no longer available on the Net...
I'm getting this error with one of my pojos. I can't see where the getters
and setters are incorrect.
quality] ERROR [http-8080-1] ErrorsTag.doStartTag(84) | Invalid property
'aNamedAFile' of bean class [com.csc.digitization.quality.LotAFile]: Bean
property 'aNamedAFile' is not readable or has an
I recall a performance challenge on a project I was on in the mid-1990s.
It's not just the language, but how well you can implement a solution (your
skills have everything to do with this).
We were implementing a middle-tier Tuxedo data cache between the desktop and
the host. The one implemented
I have a manager that returns a pdf (at this time, it's a Stream).
I've written the Controller, and I am wondering what I have to do to get
this to render in the jsp (having never rendered PDFs before).
I can return it as a model in model and view, but what will go on the jsp
end?
According to Firebug, the font name is coming from body and the font size is
coming from table in the CSS file.
The last overriding CSS is .table tr.odd, which changes the color of the
line (as does tr.even).
Right now, I have barcode as:
.table td.barcode {
font-family=IDAutomationHC39M;
fon
I have a barcode font that I want to use to be displayed in a Display tag
(one of the columns will be barcode data).
I have the font installed, and I have specified the following in the
display:column
According to the Displaytag reference, I should be specifying the font using
a stylesheet, so
My users noticed this, but I thought it was a "feature" so I didn't look
into it.
On 10/11/07, gederer <[EMAIL PROTECTED]> wrote:
>
>
> Jira added :)
>
> Greg
>
>
>
> gederer wrote:
> >
> > Hi,
> >
> > The highlightTableRows function in global.js causes an entire row of a
> > table to link to the
foo.lastName
> }
>
>
>
> Matt
>
> On 10/10/07, John Kwon <[EMAIL PROTECTED]> wrote:
> > Let's say I have a display that shows a list where three attributes of
> each
> > object in the list are shown.
> >
> > Let's say, first name, las
this even possible? I know how to do one param, but it doesn't look like
there's a way to do more than one.
On 10/10/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> What do you mean by multiple parameters?
>
> On 10/10/07, John Kwon <[EMAIL PROTECTED]> wrote:
>
The googling I did gives me various results - back in 2004, someone added
something to get it to support multiple params, the current version doesn't
support them, someone says the AJAX enabled version supports multiple
params, etc.
Does anyone have the clear scoop on this?
In your tutorial you have:
I would like to have the lastName in this example be read-only. Is there a
way to do this?
It wasn't the dependency I added. I fat fingered the XML.
Never mind - fat fingered the pom...
Appfuse 2.0 m5, Java 6 Update 2, Tomcat 6.0.14.
Everything working fine until today.
Here's the extended error, which happened during "mvn install" and right
before the web tests were supposed to execute:
[INFO] [talledLocalContainer] INFO: Server startup in 426 ms
[INFO] [talledLocalContainer]
I was adding a class (in my app's service package), as I have been for a few
days now, and when I did a
mvn clean compile install
I got this right after the Tomcat started so that the web tests could run.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[INFO]
---
What does the Hibernate mapping/annotation look like? I could see
you having a problem if you tagged the attribute with a version tag.
Coleman
On Oct 8, 2007, at 7:09 PM, Matt Raible wrote:
Is this a java.util.Date or a number? If it's a java.util.Date, it
should generate the correct sampl
I'm on the home machine - no proxy.
Error:
Embedded error: The following error occurred while executing this line:
C:\workspace\ldm\src\test\resources\web-tests.xml:23: Canoo Webtest: R_1454.
Test failed.
Test step steps (C:\workspace\ldm\src\test\resources\web-tests.xml:25: )
null failed with me
it is today. I'm just a code
> monkey. ;-)
>
> Matt
>
> On 10/5/07, John Kwon <[EMAIL PROTECTED]> wrote:
> > I have been on quite a few j2ee projects, and I chose AppFuse to get
> this
> > latest one started.
> > It has been one of the best decisions I ev
I have been on quite a few j2ee projects, and I chose AppFuse to get this
latest one started.
It has been one of the best decisions I ever made - it got us off the ground
very quickly, and it also kept us from having what I call "the endless
argument" about what frameworks and how we would put it a
I'm going to plug this laptop into my network at home, and see if it's a
proxy issue. If I can, I'll do the appfuse:full-source there.
On 10/3/07, John Kwon <[EMAIL PROTECTED]> wrote:
>
> Well, I got the whole thing down, and built it and installed, but all the
&
Well, I got the whole thing down, and built it and installed, but all the
appfuse jars are snapshots...
On 10/3/07, John Kwon <[EMAIL PROTECTED]> wrote:
>
> I'm going to go through svn and checkout the appfuse code, and build it
> from there, and see if I get anywhere.
>
I'm going to go through svn and checkout the appfuse code, and build it from
there, and see if I get anywhere.
On 10/3/07, John Kwon <[EMAIL PROTECTED]> wrote:
>
> Just tried that, and got this:
>
> [INFO] [AppFuse] Adding dependencies from 'root' module...
>
source on your project? If so you should have no
> dependencies on AppFuse jar file.
>
> Mike
>
> On 10/3/07, John Kwon <[EMAIL PROTECTED]> wrote:
> >
> > Downloading:
> > http://static.appfuse.org/repository/org/appfus
Downloading:
http://static.appfuse.org/repository/org/appfuse/appfuse-spring/2-m5/appfuse-spring-2.0-m5.jar
[INFO]
---
[ERROR] BUILD ERROR
[INFO]
---
[INFO] Failed
; The encryption method is set in security.xml - look for the bean called
> > passwordEncoder. The default setting is ShaPasswordEncoder which is a
> > one-way hash, so the password cannot be decoded.
> >
> > On 10/2/07, John Kwon <[EMAIL PROTECTED]>
> > wrote:
>
l - look for the bean called
> passwordEncoder. The default setting is ShaPasswordEncoder which is a
> one-way hash, so the password cannot be decoded.
>
> Mike
>
> On 10/2/07, John Kwon <[EMAIL PROTECTED]> wrote:
> >
> > Ok, I have:
> >
> &g
Ok, I have:
Authentication authen = context.getAuthentication();
Object principal = *null*;
*if* (authen != *null*)
{
principal = authen.getPrincipal();
log.debug("Principal is: " + principal.getClass().getName());
}
*if* (principal != *null*)
{
loggedInUser = (User) principal;
userid =
O as a conclusion to our discussion, I would say:
>
> I start JSP and servlet first, then J2EE fundumentals, then Struts, then
> appfuse...
> is that still ambitious list ? ;-)
>
> but how about my DMS :-(
>
> can i use existing DMSes but in a way that no body underst
d also struts, i really want to learn it and i know
achieving this sounds very difficult by now.
John Coleman-5 wrote:
Meisam,
I would recommend that you start with the JSP and servlet tutorials
rather than jumping right into the deep end. I admire that you have
taken such a plunge; there is
ring MVC, which I prefer) IMO.
Coleman
On Oct 1, 2007, at 2:02 PM, John Kwon wrote:
This brings up what I call the classic "where do I start with J2EE'
problem.
I've hired more than one person who can, by the book, pass a test
about servlets, and maybe even write one.
ome fundamentals - but in some cases, it's best to
know just enough to understand where a framework is taking you - you don't
have to know how to write Spring to use it (for instance).
On 10/1/07, John Coleman <[EMAIL PROTECTED]> wrote:
>
> Meisam,
>
> I would recomm
Meisam,
I would recommend that you start with the JSP and servlet tutorials
rather than jumping right into the deep end. I admire that you have
taken such a plunge; there is so much to learn here that you head
will soon be spinning (if it's not already). Appfuse uses a number
of framewo
1 - 100 of 123 matches
Mail list logo