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
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
= #{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
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.
=
> 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
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
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
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.
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:
>>
>
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
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
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")
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
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
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
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
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
&
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
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
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
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
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
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:
>>
>
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
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
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
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.
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
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
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
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
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.
===
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
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
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
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
gt;
>
> /mainMenu.xhtml
>
> ajax4jsf
> /ajax4jsf.xhtml
>
>
>
> HTH,
>
> Matt
>
>
>
> On 2/19/07, sionsmith <[EMAIL PROTECTED]> wrote:
>>
>> hey guys & girls - maybe i'm ju
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
40 matches
Mail list logo