Re: [appfuse-user] Appfuse 2.0.2 will not create jsf basic

2008-10-22 Thread sionsmith
sionsmith wrote: > > Afternoon Everyone, > > If you run the maven create command from : > http://appfuse.org/display/APF/AppFuse+QuickStart#AppFuseQuickStart-create > > using the JSF BASIC the build fails due to the fact that it cannot > download: > http://stat

[appfuse-user] Appfuse 2.0.2 will not create jsf basic

2008-10-22 Thread sionsmith
Afternoon Everyone, If you run the maven create command from : http://appfuse.org/display/APF/AppFuse+QuickStart#AppFuseQuickStart-create using the JSF BASIC the build fails due to the fact that it cannot download: http://static.appfuse.org/releases/org/appfuse/archetypes/appfuse-basic-jsf/2.0.2

Re: [appfuse-user] Simple HTML Display Question

2007-08-06 Thread sionsmith
= #{javaBean.testString} > > Matt > > On 8/6/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> Hi everyone - not sure how easy this will be to solve but i've run out of >> ideas - here goes: >> >> I'm using JSF / Facelets with appfuse

[appfuse-user] Simple HTML Display Question

2007-08-06 Thread sionsmith
Hi everyone - not sure how easy this will be to solve but i've run out of ideas - here goes: I'm using JSF / Facelets with appfuse and i'm trying to output a string which contains HTML init - however the HTML is not being rendered & just printed to the screen as its normal text it e.g. =

Re: [appfuse-user] Refershing User in the SecurityContextHolder

2007-08-02 Thread sionsmith
> try removing it. > > Matt > > On 7/31/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> Hi Appfuse Users, >> >> i'm using the acegi security framework to manage the user sessions within >> my >> project, the authentication & use

[appfuse-user] Refershing User in the SecurityContextHolder

2007-07-31 Thread sionsmith
Hi Appfuse Users, i'm using the acegi security framework to manage the user sessions within my project, the authentication & user details are returned from a web service - not the standard DAO's, however it acts the same. The problem i have is the user in the SecurityContextHolder context is no

[appfuse-user] Initializing session beans

2007-05-30 Thread sionsmith
Hi everyone I'm implementing a bread crumb trail in the main menu. I have a session backing bean which an a included page references. My question is how do i create this bean and put it into their session when they log in. I've got my own implementation of the AuthenticationManager but i dont see

[appfuse-user] displaying '£' in pages

2007-05-25 Thread sionsmith
Hi everyone - this really has be stumped - i cant get the £ character to display. I'm using facelets e.g. .xhtml pages i've tryed: 1) £ 2) £ they give me this error: com.sun.facelets.FaceletException: Error Parsing /mainMenu.xhtml: Error Traced[line: 22] Invalid byte 1 of 1-byte UTF-8 sequence.

Re: [appfuse-user] How to query in Hibernate 3

2007-05-03 Thread sionsmith
hould add the classname to hibernate.cfg.xml. > > Mike > > On 5/2/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> >> I've tried that - neither worked - mayb i have something in my >> Category.class >> wrong? this is the error i got: >> >

Re: [appfuse-user] How to query in Hibernate 3

2007-05-02 Thread sionsmith
form of the find method is used when you use named (as > opposed to positional) parameters in your query: > > public List getMaleCategories() { >return getHibernateTemplate().findByNamedParam("from Categories > where male_only= :maleOnly", "maleOnly", Bool

[appfuse-user] How to query in Hibernate 3

2007-05-02 Thread sionsmith
Quick questions Guys & Girls - I'm new to hibernate 3 and unsure how to write the following in a query: I have a Categories table in the DB, with a boolean flag as one of the attributes, i want to return a list of all the items which have the boolean set to true. This is what i tried using, but i

[appfuse-user] javax.persistence Design Question

2007-05-01 Thread sionsmith
Hey everyone - i have a simple persistence mapping question which i am unsure about: I have a Category class which can many images - an image can only be in one category. How do i map this? I've had a go but not sure if i'm correct: = Category.class == @Entity @Table(name="categories")

Re: [appfuse-user] Keeping User Object in Session (SecurityContextImpl / SessionRegistry)

2007-04-30 Thread sionsmith
extHolder to access the current user: > SecurityContextHolder.getContext() rather than accessing the session > directly. > > Mike > > On 4/30/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> >> Hiya guys & girls, >> >> i'm using the ac

[appfuse-user] Keeping User Object in Session (SecurityContextImpl / SessionRegistry)

2007-04-30 Thread sionsmith
Hiya guys & girls, i'm using the acegi security provider as my authentication Manger. If the user is successfully authenticated the "Principal" object is placed the session - however when retrieving the user object to use i'm unsure whether i shud be using: SecurityContextImpl auth = (Security

[appfuse-user] updateActionListener with facelets 1.1.11

2007-04-18 Thread sionsmith
Guys & girls - i've had read a lot about this not being supported in earlier versions of appfuse - i'm using version 2 release m3. The updateActionListener is commented out in my tomahawk.tiglib.xml: I have however read that this is now supported? is anyone using this tag successfully?? if s

[appfuse-user] Username Validation Ajax4jsf with graphic

2007-04-13 Thread sionsmith
Guys & Girls After i've half got over my webservice problems i've decided to tackle another issue i have. Right here goes - I have a sign up page which contains a text field with on it. This works fine - calls the method in the backing bean fine - however i'm unsure how to code the next bit. The

Re: [appfuse-user] Using Appfuse With WebServices

2007-04-12 Thread sionsmith
chael Horwitz wrote: > > On 4/12/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> >> Thanx Mike i've now got that working and talking to the webservice. >> Woohoo >> - >> i'm thinknig that was the easy part compared to what i now have to do. I &

Re: [appfuse-user] Using Appfuse With WebServices

2007-04-12 Thread sionsmith
Sion sionsmith wrote: > > Thanx Mike i've now got that working and talking to the webservice. Woohoo > - i'm thinknig that was the easy part compared to what i now have to do. I > have to use an 'authenticAccount' method on the webservice to authentic > the user which

Re: [appfuse-user] Using Appfuse With WebServices

2007-04-12 Thread sionsmith
d and returns me true or false depending if the attempt was successful . How the hell to i get this to work with the acegisecurity authenticationManager used in appfuse. Is this possible? I've no idea how to go about doing this :( Any help would be greatful Thanx Sion Michael Horwitz wrot

Re: [appfuse-user] Using Appfuse With WebServices

2007-04-12 Thread sionsmith
Arrrh i see now! thanx Mike - what about the destory method tho? Do i place that in the configure too? Thanx sion Michael Horwitz wrote: > > On 4/12/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> >> Guys & Girls, >> >> I'm using the appfuse

[appfuse-user] Using Appfuse With WebServices

2007-04-12 Thread sionsmith
Guys & Girls, I'm using the appfuse jsf framework - we need to talk to a webservice, i have already been given a java client class which talks to the service - however i'm unsure of the best way or how to load this client and run its init method on server startup? I've had look on here, and at th

Re: [appfuse-user] Editing Appfuse Source

2007-04-03 Thread sionsmith
he > target//WEB-INF/classes directories? > > Mike. > > > On 4/3/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> >> Ok this is confusing the hell out of me i've followed the guide : >> http://www.appfuse.org/display/APF/AppFuse+Core+Classes &g

Re: [appfuse-user] Editing Appfuse Source

2007-04-03 Thread sionsmith
at. The form controllers and other things should probably be > extended/replaced. If you'd like to look at the source for reference, > check it out from the SVN repository: > http://appfuse.org/display/APF/Source+Repository > > Travis > > sionsmith wrote: >> >

Re: [appfuse-user] Editing Appfuse Source

2007-03-22 Thread sionsmith
ses can be found here: > http://www.appfuse.org/display/APF/AppFuse+Core+Classes. For the rest it > is > probably better to extend/replace - this should make it easier to upgrade > to > new versions as they become available. Hope that helps! > > Mike. > > On 3/22/07, sionsmith &l

[appfuse-user] Editing Appfuse Source

2007-03-22 Thread sionsmith
Hi Guys & Girls, quick question - so far i have been extending Matt's classes with my own, is there anywhere i can just edit his classes? if so how? i have run the "mvn war:inplace" to obtain the compiled source but cannt edit it obliviously as the class are in my library folder. Is there such a c

Re: [appfuse-user] Editing default.jsp

2007-03-02 Thread sionsmith
wrong versions? Any help advice would be very greatful! :) Many Thanks Again sionsmith wrote: > > Thanx for the quick awesome reply Matt! Much appreciate! I think i sorta > get it now, hence why i could get any of those tags to work! lol. Think > i'll try that jsf handler and see

Re: [appfuse-user] Editing default.jsp

2007-03-02 Thread sionsmith
F-aware in the > base layout AFAIK. > > Matt > > On 3/2/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> Hi everyone - hope some maybe able to shed some light on this. I'm trying >> to >> edit the default.jsp to use Exadel RichFaces ajax solution. (i.e.

Re: [appfuse-user] Editing default.jsp

2007-03-02 Thread sionsmith
F-aware in the > base layout AFAIK. > > Matt > > On 3/2/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> Hi everyone - hope some maybe able to shed some light on this. I'm trying >> to >> edit the default.jsp to use Exadel RichFaces ajax solution. (i

Re: [appfuse-user] Editing default.jsp

2007-03-02 Thread sionsmith
menu solution which works with siteMesh - any ideas anyone? Thanks again Sion sionsmith wrote: > > Hi everyone - hope some maybe able to shed some light on this. I'm trying > to edit the default.jsp to use Exadel RichFaces ajax solution. (i.e. > collapsible menu on the le

[appfuse-user] Editing default.jsp

2007-03-02 Thread sionsmith
Hi everyone - hope some maybe able to shed some light on this. I'm trying to edit the default.jsp to use Exadel RichFaces ajax solution. (i.e. collapsible menu on the left which is Ajax based) however when i simply add the following code in the default.jsp i get a: "UIComponentTag.setupResponseWr

Re: [appfuse-user] Extending AppFuse User

2007-02-22 Thread sionsmith
e annotations. Did you change >> the mapping in the hibernate.cfg.xml file so it is looking for >> InukUser instead of org.appfuse.model.User? >> >> Matt Raible wrote: >>> Which version of AppFuse are you using? >>> >>> Matt >>> >&g

[appfuse-user] Extending AppFuse User

2007-02-21 Thread sionsmith
Hi all, I've been playing around with this for a few hours now and i cant seem to get it working, the users in my system have a number of added entities compared with that of the stand appfuse one. I thought i could just extend the class and place the new attributes in the new class. ===

[appfuse-user] RE: Did I miss a Spring Config??

2007-02-21 Thread sionsmith
can you post your config mate? Clark D. Liu wrote: > > More info - I'm using appfuse 1.9.4 and used appgen to generate the > classes. > > > > > > From: Clark D. Liu [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 21, 2007 3:59 AM > To: users@appfus

Re: [appfuse-user] getting current logged in user

2007-02-21 Thread sionsmith
here is a simple example of what i have: user = userManager.getUserByUsername(getRequest().getRemoteUser()); mraible wrote: > > 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

Re: [appfuse-user] When to use java.io.Serializable

2007-02-20 Thread sionsmith
ving > the > implementation of the Serializable interface. A complete list of > compatible > and incompatible changes is given in the Java Serialization > Specification." > > Hope that's some help! > > Cheers, > > Pete > > > On 2

[appfuse-user] JSF Page Load using a PageLoadEvent / init method

2007-02-20 Thread sionsmith
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

Re: [appfuse-user] BaseObject Error

2007-02-20 Thread sionsmith
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

[appfuse-user] When to use java.io.Serializable

2007-02-20 Thread sionsmith
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

Re: [appfuse-user] Simple Page Navigation

2007-02-19 Thread sionsmith
gt; > > /mainMenu.xhtml > > ajax4jsf > /ajax4jsf.xhtml > > > > HTH, > > Matt > > > > On 2/19/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> hey guys & girls - maybe i'm ju

[appfuse-user] Simple Page Navigation

2007-02-19 Thread sionsmith
hey guys & girls - maybe i'm just being dumb but cant figure out how to link one .xhtml page to another. I'm using facelets & sitemesh heres an example helpMenu.xhtml : http://www.w3.org/1999/xhtml"; xmlns:c="http://java.sun.com/jstl/core"; xmlns:f="http://java.sun.com/jsf/core