Yes.
On 2/21/07, tonyl <[EMAIL PROTECTED]> wrote:
Thanks Matt for the quick response.
Yeah, I just want to get the current logged-in username. So, I take it
getRequest().getRemoteUser() returns the username for the principal?
Tony
mraible wrote:
>
> If all you need to retrieve is the userna
Thanks Matt for the quick response.
Yeah, I just want to get the current logged-in username. So, I take it
getRequest().getRemoteUser() returns the username for the principal?
Tony
mraible wrote:
>
> If all you need to retrieve is the username,
> getRequest().getRemoteUser() should be suffici
If all you need to retrieve is the username,
getRequest().getRemoteUser() should be sufficient.
Matt
On 2/21/07, tonyl <[EMAIL PROTECTED]> wrote:
I need to get the current user and after searching forums and discussions and
examples about how to do this, I found that variations on the followin
I need to get the current user and after searching forums and discussions and
examples about how to do this, I found that variations on the following code
seem to be considered a good way to get the current user:
SecurityContext ctx = null;
Authentication auth = null;
if( ctx =
Hi, Matt
I found that the problem was with the configuration of cargo.port
tomcat5x
${env.CATALINA_HOME}
http://apache.org/dist/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.zip
localhost
8090
false
The old value of cargo.port=8081, now
mvn integ
woow, great news Matt!! Congratulations :)
Matt Raible-3 wrote:
>
> On 2/20/07, viggo <[EMAIL PROTECTED]> wrote:
>>
>> Thanks Matt, that solved everything :)
>>
>> When will the final m4 be finalized?
>
> As soon as we finish AMP and fix all the remaining issues. I just
> started working at a
On 2/20/07, viggo <[EMAIL PROTECTED]> wrote:
Thanks Matt, that solved everything :)
When will the final m4 be finalized?
As soon as we finish AMP and fix all the remaining issues. I just
started working at a new job this week, so it might take a few weeks.
:-(
Matt
Matt Raible-3 wrote:
>
Thanks Matt, that solved everything :)
When will the final m4 be finalized?
Matt Raible-3 wrote:
>
> On 2/20/07, viggo <[EMAIL PROTECTED]> wrote:
>>
>> ok, thanks.
>>
>> But the, two questions:
>> 1. What about my PersonDaoTest.java? Why is it complaining about the
>> missing
>> personManager
On 2/20/07, viggo <[EMAIL PROTECTED]> wrote:
ok, thanks.
But the, two questions:
1. What about my PersonDaoTest.java? Why is it complaining about the missing
personManager bean?
Because it should probably be
org.appfuse.service.impl.GenericManagerImpl instead of
com.xpoints.service.impl.Gener
ok, thanks.
But the, two questions:
1. What about my PersonDaoTest.java? Why is it complaining about the missing
personManager bean?
2. What is special about "classpath:**/applicationContext*.xml", in the
PersonDaoTest's getConfigLocations method?
Matt Raible-3 wrote:
>
> When packaging a cont
When packaging a context file in a JAR, the best way to refer to it is:
classpath*:/filenamewithnowildcards.xml
So "classpath*:/applicationContext.xml" should work.
Matt
On 2/20/07, viggo <[EMAIL PROTECTED]> wrote:
I just wondered what the syntax is when referering to files on the classpath
I just wondered what the syntax is when referering to files on the classpath
the way you do in web.xml and PersonDaoTest.java:
My web.xml:
contextConfigLocation
classpath*:/applicationContext-resources.xml
classpath*:/applicationContext-dao.xml
What login are you using?
VJ22 wrote:
>
> Hello All,
>
> I am building an application using the Appfuse skeleton framework. I have
> downloaded the war files seperately rather than run the maven integration
> testsI have also created the database tables and loading of the data
> seperate
Michael Horwitz wrote:
>
> On 2/19/07, talldean <[EMAIL PROTECTED]> wrote:
> 2. Going through the tutorials, getting to Spring MVC, creating
> persons.jsp,
>> I can't seem to get that to display in the web browser.
>> "PageNotFound.noHandlerFound | No mapping for [/person.html] in
>> DispatcherS
FWIW, there's a number of helpful Maven commands in the Maven Reference Guide:
http://appfuse.org/display/APF/Maven+2
I've also added an "Ant vs. Maven" section for folks migrating from AppFuse 1.x:
http://appfuse.org/display/APF/Maven+2#Maven2-Antvs.Maven
Matt
On 2/20/07, Michael Horwitz <[E
This is not something that's currently available in JSF. However, it
is in frameworks like Shale and Seam. You could try adding the
following component that allows this behavior.
http://jsf-comp.sourceforge.net/components/onload/index.html
I would add this to 2.x if it were available in a Mave
This could definitely be a bug. Looking in BasePageTestCase and
web.xml, there's no references to classpath*:/applicationContext.xml.
http://static.appfuse.org/appfuse-jsf/xref/org/appfuse/webapp/action/BasePageTestCase.html
Can you please enter a bug in JIRA for this?
Thanks,
Matt
On 2/20/0
I believe this is Struts' default date format. Here's how I fixed this
problem in Equinox:
http://issues.appfuse.org/browse/EQX-50
Matt
On 2/20/07, Fan <[EMAIL PROTECTED]> wrote:
In the browser, it shows 2/17/07 12:00:00 AM.000
Yes, I managed to save it without modifying it.
1)I think the c
In the browser, it shows 2/17/07 12:00:00 AM.000
Yes, I managed to save it without modifying it.
1)I think the correct format for the date is MM/DD/ , is there any
settings I can made change to ? it's controlled by MySQL ?
2) How could I remove the time from the date ?
3) Can I use java.s
here is my menu-config.xml :
I tried without result.
Seems like web module doesn't know about applicationContext.xml from core
PersonListTest:
testSearch(net.company.webapp.bean.PersonListTest) Time elapsed: 0.359 sec
<<< ERROR!
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'personManager
Thats awesome thanx, makes real sense now :)
cheers sion
Pete Gould wrote:
>
> Hi,
>
> Serialization is used to save an object's state as a sequence of bytes (In
> clustered web applications this is crucial for failover of the HttpSession
> to another server in the cluster).
>
> I think thi
Hi,
Serialization is used to save an object's state as a sequence of bytes (In
clustered web applications this is crucial for failover of the HttpSession
to another server in the cluster).
I think this article explains it all fairly well, even if it is a little
old:
http://java.sun.com/develope
I want to be able to run init() before the page renders - is there a such a
thing? like .net has with Page_Load?
One solution i have come up with:
=
...
==
public class ManagedBean
{
...
public boolean getPrepare()
{
//
// execu
I also had this problem, however first thing to check is what release you are
using, you should upgrade to M3 - if you are using the M2 snapshot the Jars
which contain the source code for the baseOject will keep changing name &
therefore wont be resolved. Check the Jars can be found in the build p
hi all, i'm not new to Java or Jsf but i am a little confused about when i
should be implementing java.io.Serializable
Throughout the appfuse project Matt implements Serializable and i cant
figure out why, i've never used this method before, i gather any class which
implements it has to have a se
Hi,
I tried out 2.0 m3 this weekend (Hibernate / Struts 2), and I had similar
problems with the BaseObject from within Eclipse after following the steps
inn the Eclipse (for some reason the BaseObject.class did not appear in my
target directory, although it's definitely present in my local reposi
Absolute pleasure - can't claim to be a CSS expert, but certainly seem to be
able to hack away effectively these days!
Mike
On 2/20/07, Matt Raible <[EMAIL PROTECTED]> wrote:
Thanks for the great writeup Mike - I've added it to the CSS
Framework's documentation page:
http://appfuse.org/displa
On 2/19/07, talldean <[EMAIL PROTECTED]> wrote:
At the bottom of the QuickStart, I saw mvn install eclipse:eclipse, which
seemed to do the majority of the work; I assumed it did *all* of it, and
didn't move to the Eclipse guide, just moved onwards. Definitely my
mistake
on that one.
The Eclip
Hi,
It looks like this is the approach suggested in the Hibernate documentation
(Section 21.2), so it's probably a good approach :)
http://www.hibernate.org/hib_docs/v3/reference/en/html/example-parentchild.html
Cheers,
Pete
On 2/19/07, Dorothy Turner <[EMAIL PROTECTED]> wrote:
I think I fi
30 matches
Mail list logo