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
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
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
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
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?
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]
---
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 =
Meisam, it's a wide world of frameworks and J2EE - don't give up.
It's going to take time - but you don't have to give up one thing for
another in terms of studying.
Read up on the fundamentals - then pick up a few frameworks.
Using the frameworks is instructive - and that's why tools like AppFus
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.
But show them a framework, and they're immediately lost.
It's necessary to know some fundamentals - but in some
I'm using Documentum as the back end (in addition to SQL Server), and the
Documentum Foundation Classes are wrapped in a DocumentumManager in my app.
The question I have is that for every Documentum transaction, these classes
require that I get a session (it has its own weird method of giving you a
t;
> [INFO] For more information, run Maven with the -e switch
> [INFO]
>
> [INFO] Total time: < 1 second
> [INFO] Finished at: Mon Oct 01
t; have ead so many things about these terms but still have not felt them by
> my
> own, i have not done any real world project with them. would you put them
> all in steps for me and the tell me the priorities ?
>
>
> John Kwon wrote:
> >
> > It's good to continu
It's good to continue to use any and all of them as long as the need arises.
You're going to be doing more than one project in your life - probably more
than one in the next couple of years. Some start a project nearly every
month. So AppFuse is handy to use.
Struts and Spring are both good to
AppFuse is a means of building the "backbone" of your application, from the
presentation layer all the way down to the persistence layer (and to other
destinations like mail, JNDI, etc).
AppFuse makes an initial logon screen and a users screen - in what I call
"the thin vertical slice of the appli
Let us know the nature of the problem, and we can probably help.
If you have Maven correctly installed, AppFuse should run from the Command
Prompt without problems (on Windows).
If you have Candy for AppFuse installed correctly, along with the Maven2
plugin in Eclipse, AppFuse should work within
Send me an email directly, and I can help you out. Most of the material is
already online, and AppFuse does require you know something about how Maven
works, and how your chosen set of frameworks work, but that's about it.
Yeah, and I can miss the obvious things on the AppFuse website related to
I tried to use Tortoise SVN to connect to:
https://appfuse.dev.java.net/svn/appfuse/trunk/ appfuse
and it wanted a userid and password. Am I doing something wrong?
I'm using Spring, and adding it after the fact is easy. I just thought that
having it in place in the initial project generation would be nice.
On 9/24/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> On 9/24/07, John Kwon <[EMAIL PROTECTED]> wrote:
> > I was thinking t
I was thinking that the only thing missing is having a report framework put
in place.
If I wanted to put that into AppFuse 2.0, would I have to get on the dev
team?
87 matches
Mail list logo