Hi all,
I was wondering. Is there a reason behind the idea of using c tags along
with s tags for archetype struts 2? If I am not mistaken it is possible to
achieve the same functionality by only using struts 2 tags so would it be
possible to remove c tags dependency and use exclusively s tags? Othe
You might try removing the spaces after your commas in security.xml
and menu-config.xml.
Matt
On Wed, Apr 9, 2008 at 12:09 AM, syg6 <[EMAIL PROTECTED]> wrote:
>
> The latest and greatest - 2.x with Spring / Hibernate.
>
> Thanks,
> Bob
>
>
>
>
> Mike Horwitz wrote:
> >
> > Which version of
The latest and greatest - 2.x with Spring / Hibernate.
Thanks,
Bob
Mike Horwitz wrote:
>
> Which version of AppFuse are you using?
>
> Mike
>
> On 08/04/2008, syg6 <[EMAIL PROTECTED]> wrote:
>>
>>
>> I am just now trying to lock down my app and noticed that when I log in
>> as
>> a
>> non-ad
On Tue, Apr 8, 2008 at 11:43 PM, Richard M <[EMAIL PROTECTED]> wrote:
>
> Matt, thank you as always. By "... simply reverted to HTML manually for
> layout." do you mean you end up using table to position fields and controls?
No, I still use CSS to do layouts if I can. I mean that I don't use
the
Matt, thank you as always. By "... simply reverted to HTML manually for
layout." do you mean you end up using table to position fields and controls?
And yes, I took a look at Uni-Form - it looks pretty neat and could probably
be integrated with Struts2's simple theme pretty easily. I also took a
I don't think anyone has tried to do what you're doing. If your
solution seems to work, I say run with it. I sometimes get frustrated
by Struts 2's themes because they add so many extra DIVs and such. On
a lot of projects, I'm simply reverted to the simple theme and added
HTML manually for layout.
Bump. Does anybody have any insight/input at all?
Richard M wrote:
>
> I have finally accepted the orientation towards left-aligned labels over
> form fields - and find I do like it can see its easier for a user to take
> in the form visually. Plus the style sheets allow the window to be resize
This happens when you have two dependencies that depend on different
versions. Usually you don't get duplicate JARs. Can you make sure you
deleted your src/main/webapp/WEB-INF/lib directory?
Matt
On Tue, Apr 8, 2008 at 10:41 PM, thinkboy <[EMAIL PROTECTED]> wrote:
>
> anyone has idea for a solu
anyone has idea for a solution? pls advise. million thanks
~thinkboy
thinkboy wrote:
>
> what I did is only $mvn clean war:war
>
> then I will get multiple version of jars, pls advise.
>
> ~thinkboy
>
>
> Mike Horwitz wrote:
>>
>> If you have run mvn war:inplace at any stage please make
Hi Marc, I was following this thread as I am looking at a similar situation.
So did you make your own object extend the Acegi user object?
Thanks!
On 4/8/08, mschipperheyn <[EMAIL PROTECTED]> wrote:
>
> Never mind. Rolling your own is actually quite easy once you start to read
> the reference do
Rob Hills wrote:
> You're absolutely right of course, I'd completely forgotten about the
> @ManyToMany annotation. I believe that a very slight tweak to your
> suggested HQL: "select employees from Project where
> Project.employeeId=?" should work if the Entities have an @ManyToMany
> annotation.
It turns out a cookie suits my purpose well. A user can clear their
history by just deleting the cookie. Works rather nicely. Its not a
public app, so cookies work in this case. I will keep the
SessionLIstener in mind, I am sure it will be useful.
Thanks,
Dusty
On Apr 8, 2008, at 10:41
If you're using 1.9.4, you're using Facelets. Facelets doesn't support
JSP tag libraries so the short answer is no.
Matt
On Apr 8, 2008, at 2:41 PM, Ding, Qin wrote:
Appfuse 1.9.4/JSF/DisplayTag 1.1/DB2
Does DisplayTag work with JSF's managed Bean? Any pointers and
references are appreciate
Appfuse 1.9.4/JSF/DisplayTag 1.1/DB2
Does DisplayTag work with JSF's managed Bean? Any pointers and
references are appreciated.
Q
View this message in context:
http://www.nabble.com/Acegi-and-app_user.-Recommended-use-of-custom-user
-classes-tp16556921s2369p16572058.html
Sent from the AppFuse
Which version of AppFuse are you using?
Mike
On 08/04/2008, syg6 <[EMAIL PROTECTED]> wrote:
>
>
> I am just now trying to lock down my app and noticed that when I log in as
> a
> non-admin user I can't see the menu. I thought it was because of the new
> roles I created and assigned in security.xm
Never mind. Rolling your own is actually quite easy once you start to read
the reference docs.
Cheers,
Marc
mschipperheyn wrote:
>
> Hi,
>
> I've started to work on the web part of my app and quickly realized I need
> to configure ACEGI for this. So far, I have ignored the app_user and
> app
On 08/04/2008, kace <[EMAIL PROTECTED]> wrote:
>
>
> Hi fellas:
>
> I am looking to have the following project structure using maven: one core
> module used by many seperate apps. To achieve this I got the core project
> set up and then went to create a modular jsf project. I deleted the core
> m
Thanks for the information Allan. You might want to add this as a note
to the Web Services tutorial.
http://appfuse.org/display/APF/Web+Services
Matt
On Tue, Apr 8, 2008 at 12:29 PM, Allan Ang <[EMAIL PROTECTED]> wrote:
>
> OK got it.
>
> Turns out that the API in the JSR 181 document that I d
OK got it.
Turns out that the API in the JSR 181 document that I downloaded didn't have
the latest list of methods available
adding another "@WebMethod(exclude=true)" on all public methods in the
implementing class and it's parent classes that you would like to exclude
does the trick.
allan
I experienced no problems with the session listener.
Server is a Tomcat 5.5 on Linux, the webapp is based on Appfuse 2.0
There could be a prolem regarding the identification of the active user,
since the Acegi SecurityContext gets destroyed when a session is
destroyed...
Bye,
Peter
2008/4/8, Du
Ok, now that is a pattern I considered, but I don't have experience
with the HttpSessionListener. Has it worked well for you? Is it
flakey? I think I had a bad experience some time ago with session
listeners, but that could have been with .asp pages. Yes, I did .asp
dev once. I needed
The mapping you have there is pretty exotic. I think I would use that
pattern when I needed to store additional information about each
association. It doesn't look that way in the code below, but perhaps
in the future you want to distinguish users that belong to a project
by a role. In t
Hi!
I made something similar in one of my last web apps:
- Store the last 10 pages the user visited in a list in the Session (By
using your interceptor). Make sure that only your max amount of entries are
stored in the list (By replacing the least relevant entry).
- Implement a HttpSessionListene
Hello,
I am having a mental block. I want to create a simple list that
tracks the last 10 records the user visited. I am using Struts2 and I
have implemented an interceptor to capture the id of the object when
the user goes to show().
At this point, I am not sure how I want to, or the b
Hi Derek,
Derek Broughton wrote:
Your Employee and Project classes define the employee-project relationship
as OneToMany in both directions. I suppose that can work as you've done
it, but if you just define the relationship as ManyToMany you don't even
need to explicitly define the EmployeesPro
Rob Hills wrote:
> Hi Trish,
>
> Trish wrote:
>> Hi
>>
>> Im new to appfuse and trying to implement manay to many relation for
>> Employee Project tables, the created model classes as follows
>>
> At a quick glance, your entities look OK to me.
>> public List getByProject(Long projectId, Long
Hi again Trish,
Rob Hills wrote:
Hi Trish,
Trish wrote:
Following error found while using following query
getHibernateTemplate().find("from Employee as emp where
emp.employeeId in "
+
"(select empproj.employeeId from EmployeesProject as
empproj " +
"where e
Hi Trish,
Trish wrote:
Following error found while using following query
getHibernateTemplate().find("from Employee as emp where emp.employeeId in "
+
"(select empproj.employeeId from EmployeesProject as
empproj " +
"where emppr
Hi fellas:
I am looking to have the following project structure using maven: one core
module used by many seperate apps. To achieve this I got the core project
set up and then went to create a modular jsf project. I deleted the core
module from this and updated the parent pom file. I also adde
Trish wrote:
>
> Hi,
>
> Following error found while using following query
>
>
> getHibernateTemplate().find("from Employee as emp where emp.employeeId in
> " +
> "(select empproj.employeeId from
> EmployeesProject as empproj " +
>
Hi,
Following error found while using following query
getHibernateTemplate().find("from Employee as emp where emp.employeeId in "
+
"(select empproj.employeeId from
EmployeesProject as empproj " +
"where empproj.projectId=?)", pr
Hi,
Following error found while using following query
getHibernateTemplate().find("from Employee as emp where emp.employeeId in "
+
"(select empproj.employeeId from
EmployeesProject as empproj " +
"where empproj.projectId=?)", pr
Hi Rob,
Thank you for the reply..I had corrected the correction you suggested query
syntax, but still I m facing another problem while fetching the values from
db I was not sure about how to refere the third table employeeproject fields
in to the query where I have class fields of Employee and Pr
Hi Rob,
Thank you for the reply..I had corrected the correction you suggested query
syntax, but still I m facing another problem while fetching the values from
db I was not sure about how to refere the third table employeeproject fields
in to the query where I have class fields of Employee and Pr
Hi,
I've started to work on the web part of my app and quickly realized I need
to configure ACEGI for this. So far, I have ignored the app_user and
app_role stuff and just created my own user class because of it's more
specialized nature. Now, I'm finding that I don't want to build all this
Acegi
Hi all,
I'm trying to avoid exposing all methods in my Service Implementation class
as a web service.
I have tried removing the service endpoint in the implementation's
"@WebService" annotation and adding an explicit @WebMethod on the method I
want exposed but no luck. All methods still appear i
I am just now trying to lock down my app and noticed that when I log in as a
non-admin user I can't see the menu. I thought it was because of the new
roles I created and assigned in security.xml so I rolled back to the
original security.xml, menu.jsp and menu-config.xml and sure enough, even
with
37 matches
Mail list logo