Using "mvn appfuse:full-source" works best if you do it at the
beginning of a project, not after you've already started creating
entities.
Matt
On Mon, Apr 28, 2008 at 12:18 AM, Ryan Withers <[EMAIL PROTECTED]> wrote:
> Vincent / Matt,
>
> I was successful at pulling down the sources with mvn a
I hear good things about JQuery from people who are supposed to know
things like that. Ajaxing a web app is a rather vague concept. You
may be making the things on your page do dynamic things like fly
around and disappear, or you may be making the data in your page do
dynamic things; like
Problem:
* I have a "Group" POJO which keeps a list of its "members" (ManyToMany
relation).
* The GroupAction class stores a list of my current groups and it has a
group field for
accessing information of a single group. In principle, the stucture is
very similar to the
PersonActi
On Mon, Apr 28, 2008 at 5:49 AM, Matt Raible <[EMAIL PROTECTED]> wrote:
> Using "mvn appfuse:full-source" works best if you do it at the
> beginning of a project, not after you've already started creating
> entities.
>
> Matt
Hi Matt,
I fear that it doesn't work at all. I tried this with the S
On Mon, Apr 28, 2008 at 9:23 AM, Alex Worden <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 28, 2008 at 5:49 AM, Matt Raible <[EMAIL PROTECTED]> wrote:
> > Using "mvn appfuse:full-source" works best if you do it at the
> > beginning of a project, not after you've already started creating
> > entitie
You should be able to get members.size() if you use OGNL and a
tag. You can also use JSTL functions and the "length"
function.
http://java.sun.com/j2ee/1.4/docs/tutorial-update2/doc/JSTL8.html
Matt
On Mon, Apr 28, 2008 at 9:16 AM, Martin Homik <[EMAIL PROTECTED]> wrote:
>
> Problem:
> * I ha
On Mon, Apr 28, 2008 at 8:16 AM, Martin Homik <[EMAIL PROTECTED]> wrote:
>
> Problem:
> * I have a "Group" POJO which keeps a list of its "members" (ManyToMany
> relation).
> * The GroupAction class stores a list of my current groups and it has a
> group field for
> accessing informatio
On Mon, Apr 28, 2008 at 8:42 AM, Matt Raible <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 28, 2008 at 9:23 AM, Alex Worden <[EMAIL PROTECTED]> wrote:
> > On Mon, Apr 28, 2008 at 5:49 AM, Matt Raible <[EMAIL PROTECTED]> wrote:
> > > Using "mvn appfuse:full-source" works best if you do it at the
> >
Hi! i'm getting the same errors on both Ubuntu 7.10 and Windows. I'm
trying to start a new proyect but i can't make it woks
enviroment:
maven 2.09 (new repo)
jdk1.5.0_06
mysql-5.0.51b
my steps were:
1) C:\Source>mvn archetype:create
-DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifa
Adding the following to your pom.xml should do the trick.
org.springframework
spring-web
${spring.version}
Matt
On Mon, Apr 28, 2008 at 10:58 AM, Seba <[EMAIL PROTECTED]> wrote:
> Hi! i'm getting the same errors on both Ubuntu 7.10 and Window
i have already added that dependency into dependencies tag:
...
org.springframework
spring-test
${spring.version}
true
*
org.springframework
spring-web
${spring.version}
*
Hi,
There is this error that shows up in my logs.
<<
[default].invoke(250) | Servlet.service() for servlet default threw
exception
java.lang.NullPointerException
at XX
at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
at
sun.reflect.DelegatingMethod
If you do mvn -X, do you see different versions of Spring in your
dependencies list?
Matt
On Mon, Apr 28, 2008 at 11:09 AM, Seba <[EMAIL PROTECTED]> wrote:
> i have already added that dependency into dependencies tag:
>
>
>...
>
>
>org.springframework
>spring-tes
Is X coming from your code or from AppFuse's code?
Matt
On Mon, Apr 28, 2008 at 11:44 AM, Aakhunaten <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> There is this error that shows up in my logs.
>
> <<
> [default].invoke(250) | Servlet.service() for servlet default threw
> exception
> java.lang.
I actually tried to solve the problem by using OGNL.
Group name:
Size: members
In my second attempt, I called a non-property method:
In JSP:
...
Size: members
...
In POJO:
@Transient
public int getMembersSize() {
return members.size();
}
Have you tried uncommenting the OpenSessionInViewFilter in your web.xml?
Matt
On Mon, Apr 28, 2008 at 12:11 PM, Martin Homik <[EMAIL PROTECTED]> wrote:
>
> I actually tried to solve the problem by using OGNL.
>
>
> Group name:
> Size: members
>
>
> In my second attempt, I called a
Sorry I wasnt very clear. X could be some line in my code. The rest of
the error stack is always the same.
I have pasted one such complete exception stack.
Thanks,
praveen
mraible wrote:
>
> Is X coming from your code or from AppFuse's code?
>
> Matt
>
> On Mon, Apr 28, 2008 at 11:4
really i don't know where to look for. i attached 'mvn -X' log file
(sorry for my english!)
Seba
Matt Raible escribió:
If you do mvn -X, do you see different versions of Spring in your
dependencies list?
Matt
On Mon, Apr 28, 2008 at 11:09 AM, Seba <[EMAIL PROTECTED]> wrote:
i have alread
On Mon, Apr 28, 2008 at 11:11 AM, Martin Homik <[EMAIL PROTECTED]> wrote:
>
> I actually tried to solve the problem by using OGNL.
>
>
> Group name:
> Size: members
>
>
> In my second attempt, I called a non-property method:
>
> In JSP:
> ...
> Size: members
> ...
> In POJO
Thanks a lot, uncommenting OpenSessionInViewFilter worked. What is its
drawback? Why is it commented by default?
One more observation. While the OGNL expression 'members.size()' worked in
both jetty:run and jetty:run-war, the call to the non-property method
'membersSize()' was successful only wit
I see your point. On the long run, your advice will pay off, I guess.
Thanks a lot for your explanations!
Martin
alexworden wrote:
>
> On Mon, Apr 28, 2008 at 11:11 AM, Martin Homik <[EMAIL PROTECTED]> wrote:
>>
>> I actually tried to solve the problem by using OGNL.
>>
>>
>> Group n
Solved!
i added the dependency at the beginning of the dependencies tag
Matt Raible escribió:
If you do mvn -X, do you see different versions of Spring in your
dependencies list?
Matt
On Mon, Apr 28, 2008 at 11:09 AM, Seba <[EMAIL PROTECTED]> wrote:
i have already added that dependency in
On Mon, Apr 28, 2008 at 1:20 PM, Martin Homik <[EMAIL PROTECTED]> wrote:
>
> Thanks a lot, uncommenting OpenSessionInViewFilter worked. What is its
> drawback? Why is it commented by default?
It's commented out by default so we can support iBATIS w/o having
different web.xml files.
>
> One mor
I would not be that afraid of the collection. There are things you
can do to try and mitigate the problems. For a group+members I think
I would look to EAGER fetch, rather than LAZY. That will get you the
collection in a single query rather than n+1 query for each members
look up. I do
thank you very much!
ftjn689 wrote:
>
> i just learn appfuse 2.0.1 and try to create modular struts, but i found
> some problem.
> I did following steps :
>
> 1.mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> -DarchetypeArtifactId=appfuse-basic-struts
> -DremoteRepositories=
I'm trying to start a new proyect but i can't make it woks.
enviroment:
maven 2.09 (new repo)
jdk1.5.0_06
mysql-5.0.51b
my steps were:
1. C:\Source>mvn archetype:create
-DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-basic-struts
-DremoteRepositories=http://static.appf
26 matches
Mail list logo