Hi,
There is a many-to-one relationship just as Department to employee.There is
a DepartmentID in the employee table in my database.
When I create a employee,there should be a dropdown box to select the
Department.Is there any tutorial or source code of Appfuse 2 available to
show how to implemen
Hi,
I'm not sure if anyone has picked this up, but I noticed that the id field
in UserForm is not getting set when I test the JSF generated app in IE, but
it works fine in Firefox.
Whoever wrote this code, took this into consideration, so if the id is null,
the current logged-in user is being re
On 11/23/07, Muthu Velappan <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Thanks for your response... My intention was to work around with Appfuse
> and
> built a base framework for our internal projects and thats y i went on to
> change the package names using fullversion command...
>
> However, Now I
On 11/23/07, traceon <[EMAIL PROTECTED]> wrote:
>
>
> i've done the following:
> - run mvn package
> - copied changes (see below)
> "myproject\target\myproject-
> 1.0-SNAPSHOT\META-INF\maven\org.appfuse\appfuse-tapestry\pom.xml"
> to
> "myproject\pom.xml"
> - run mvn clean
> - run mvn package
> - o
On Nov 23, 2007, at 2:41 AM, Joachim Ansorg wrote:
Hi,
I'm using an Appfuse 2.0 jpa+spring+struts2 fullsource project.
I configured the hibernate dialect for jpa to use
org.hibernate.dialect.MySQL5InnoDBDialect .
I'm using
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)
priv
param is a JSTL variable that is the same as request.getParameter.
These parameters are set in the page that uses pickList.jsp.
Matt
On Nov 23, 2007, at 8:09 AM, George.Francis wrote:
Hello,
I have a pretty good understanding of servlets and JSP, but I'm
struggling
to understand how pick
I am trying to apply different decorators based on user role when he/she
log's in. I am trying to use the solution mentioned in
http://jira.opensymphony.com/browse/SIM-37
I have these decorators defined.
/*
/*
But "user" decorator gets applied even if I login with a user in role
Hi,
rdr wrote:
I am trying to apply different decorators based on user role when he/she
log's in. I am trying to use the solution mentioned in
http://jira.opensymphony.com/browse/SIM-37
I have these decorators defined.
/*
/*
But "user" decorator gets applied even if I login
Trying to create a fresh AppFuse 2.0 spring MVC app. As per quickstart on
http://appfuse.org/display/APF/AppFuse+QuickStart I ran the following
command
mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-basic-spring
-DremoteRepositories=http://static.app
Thank you very much. I am using AppFuse 2.0 with Struts 2.
Date: Fri, 23 Nov 2007 09:09:48 +From: [EMAIL PROTECTED]: [EMAIL
PROTECTED]: Re: [appfuse-user] Please help me thank you very much.
It woud help to know which version of AppFuse you are using as well as your
chosen web framework. A
Shash,
I followed the directions in http://appfuse.org/display/APF/Eclipse to set
up my Eclipse environment (MyEclipse actually), but when I imported my app,
it wasn't recognized by Eclipse as a web app thus there is no option to
deploy it on Tomcat.
mvn install eclipse:eclipse
claims to have ru
Hello,
I have a pretty good understanding of servlets and JSP, but I'm struggling
to understand how pickList.jsp works exactly. In debugging mode I've paused
execution at the top of the compiled code but couldnt find which object in
memory contained the values for param.leftId, leftList, e.t.c...
On 11/23/07, traceon <[EMAIL PROTECTED]> wrote:
>
>
> the point is, that i there are no "tapestry-flash, tapestry-spring"
> entries
> in my pom.xml under "myproject/pom.xml" which i can change from "runtime"
> to
> "compile". the entries only appear in the pom's under the target folder.
Then that
It most certainly can be done - all it needs is for the table to be embedded
within a form.
Mike.
On 11/23/07, Carlos Ortiz <[EMAIL PROTECTED]> wrote:
>
> I am also new to display tag, and I wonder if this can be done, what does
> the documentation have to say about putting controls inside rows a
Good points, but also the first thing to ask is to know which version of
display tag [EMAIL PROTECTED] user is talking about
On Nov 23, 2007 4:09 AM, Michael Horwitz <[EMAIL PROTECTED]> wrote:
> It woud help to know which version of AppFuse you are using as well as
> your chosen web framework. A
Have you tried a mvn clean then full build after changing the pom files (as
a note you should never change/need to change anything under target - target
is Maven's work area so gets overwritten frequently).
Mike
On 11/23/07, traceon <[EMAIL PROTECTED]> wrote:
>
>
> okay.. i'm running a tapestry-
okay.. i'm running a tapestry-basic app. after changing all pom's, i still
have the problem. has anyone an idea?
Matthew Sinclair wrote:
>
> Good point about the pom - the one I made the change in was the root pom
> at the top level, above the "core" and "web" directories (in a
> tapestry-modu
There is no tutorial in AppFuse specifically dealing with setting up
relationships between objects, but the CRUD tutorial in Struts 2 has an
example that matches your case exactly. Have you had a look at it?
http://struts.apache.org/2.0.11/docs/crud-demo-i.html
Mike
On 11/23/07, Jimmy <[EMAIL PRO
Hi,
I'm using an Appfuse 2.0 jpa+spring+struts2 fullsource project.
I configured the hibernate dialect for jpa to use
org.hibernate.dialect.MySQL5InnoDBDialect .
I'm using
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)
private Long id;
in an entity class. GenerationType.AUTO di
It woud help to know which version of AppFuse you are using as well as your
chosen web framework. Am I correct in thinking it is AppFuse 2.0 with Struts
2?
Mike
On 11/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Please help me thank you very much.
>
> There are 15 items of my display t
OK, that works; what about the objects that don't start with 'param.'
such as 'leftList' ?
mraible wrote:
>
> On 11/23/07, George.Francis <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hmm, if I put:
>> System.out.println(request.getParameter("param.leftId"));
>> at the top of pickList.jsp, it prints out
the point is, that i there are no "tapestry-flash, tapestry-spring" entries
in my pom.xml under "myproject/pom.xml" which i can change from "runtime" to
"compile". the entries only appear in the pom's under the target folder.
Mike Horwitz wrote:
>
> Have you tried a mvn clean then full build a
Hi,
Thanks for your response... My intention was to work around with Appfuse and
built a base framework for our internal projects and thats y i went on to
change the package names using fullversion command...
However, Now I deleted my previous project and started a new one from
scratch.. The onl
I am also new to display tag, and I wonder if this can be done, what does
the documentation have to say about putting controls inside rows and have it
captured. This is an issue JSF resolves with datatable.
Sorry not having been of any use.
On Nov 22, 2007 8:30 PM, <[EMAIL PROTECTED]> wrote:
>
Thanks for the response Rob,
Actually, if I change the order or add the role to the default decorator, no
decorator is applied at all.
There might be a
> Hi,
>
> rdr wrote:
>> I am trying to apply different decorators based on user role when he/she
>> log's in. I am trying to use the solutio
i've done the following:
- run mvn package
- copied changes (see below)
"myproject\target\myproject-1.0-SNAPSHOT\META-INF\maven\org.appfuse\appfuse-tapestry\pom.xml"
to
"myproject\pom.xml"
- run mvn clean
- run mvn package
- open
"myproject\target\myproject-1.0-SNAPSHOT\META-INF\maven\org.appfuse\
Hmm, if I put:
System.out.println(request.getParameter("param.leftId"));
at the top of pickList.jsp, it prints out 'null', even when the
value that ends up in the rendered JSP is 'availableRoles'
Am I doing something wrong?
mraible wrote:
>
> param is a JSTL variable that is the same as reques
On 11/23/07, George.Francis <[EMAIL PROTECTED]> wrote:
>
>
> Hmm, if I put:
> System.out.println(request.getParameter("param.leftId"));
> at the top of pickList.jsp, it prints out 'null', even when the
> value that ends up in the rendered JSP is 'availableRoles'
> Am I doing something wrong?
Try
This is probably set in the parent JSP using
Matt
On Nov 23, 2007, at 1:08 PM, George.Francis wrote:
OK, that works; what about the objects that don't start with 'param.'
such as 'leftList' ?
mraible wrote:
On 11/23/07, George.Francis <[EMAIL PROTECTED]> wrote:
Hmm, if I put:
System.o
I noticed that Sitemesh is trying to apply the last decorator in the list
which matches the pattern. If that decorator has a role defined and the
current user has that role, the decorator is applied, else no decorator is
applied.
At this point I do not know if it is me or an issue with Sitemesh.
30 matches
Mail list logo