Re: Remoting and Outcome

2006-09-28 Thread Craig McClanahan
On 9/28/06, Ingo Düppe <[EMAIL PROTECTED]> wrote: Yes that would work too with the ViewController, but then I prefer my solution. Because you can write little action classes like this one. @bean(name="userActivate",scope=Scope.REQUEST) class UserActivateAction { // fill properties from pa

Re: Remoting and Outcome

2006-09-28 Thread Ingo Düppe
Yes that would work too with the ViewController, but then I prefer my solution. Because you can write little action classes like this one. @bean(name="userActivate",scope=Scope.REQUEST) class UserActivateAction { // fill properties from param public String activate() { //do somet

Re: shale and j_security_check ... and mailreader xmldb or later rdbms

2006-09-28 Thread Kem Elbrader
Here is a more up to date link than the one above https://glassfish.dev.java.net/nonav/javaee5/docs/SJSAS9PEDG.pdf see Creating a Custom Realm in chapter 5 On 9/28/06, Kem Elbrader <[EMAIL PROTECTED]> wrote: One thing to note is that you can create your own realms see http://developers.sun.com/p

Re: shale and j_security_check ... and mailreader xmldb or later rdbms

2006-09-28 Thread Kem Elbrader
One thing to note is that you can create your own realms see http://developers.sun.com/prodtech/appserver/reference/techart/as8_authentication/index.html and http://www.oracle.com/technology/products/jdev/howtos/10g/jaassec/index.htm if you use oracle. On 9/28/06, Craig McClanahan <[EMAIL PROTEC

Re: shale and j_security_check ... and mailreader xmldb or later rdbms

2006-09-28 Thread Craig McClanahan
On 9/28/06, stephan opitz <[EMAIL PROTECTED]> wrote: as i saw the j_security_check with the severside security login needs to submit to j_security_check with the values j_username j_password i tried it with the mailreader app, but without success... in mailreader the logon method in the log

Re: Remoting and Outcome

2006-09-28 Thread Craig McClanahan
On 9/28/06, Ingo Düppe <[EMAIL PROTECTED]> wrote: Hi Craig, guess you are right that the remoting is not the solution for my problem. What I like to realize is the following: - The user gets an email with a link to the webapp. - When the user click on this link an action method should decide wh

Re: ViewController Call back methods called twice for Sub Views.

2006-09-28 Thread Craig McClanahan
On 9/28/06, Butash, Bob <[EMAIL PROTECTED]> wrote: Hello, I have an issue that is similar to Shale 220 (http://issues.apache.org/struts/browse/SHALE-220). I am using Shale version 1.0.3 and for normal View/ViewController processing the init method is only being invoked once. However I have a

Re: shale and j_security_check ... and mailreader xmldb or later rdbms

2006-09-28 Thread stephan opitz
so my problem is also, my user name and password is saved in db. thze following links gave me no solution for 1. handle that j_security_check match it with the db data 2. if i want to encrypt password first and compare it with value in db but generally, how i can use container managed security

Re: Remoting and Outcome

2006-09-28 Thread Matthias Wessendorf
Ingo, in Tobago there is a Servlet, called NonFacesRequestServlet, maybe that helps you. -M [1] http://myfaces.apache.org/tobago/tobago-core/apidocs/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.html On 9/28/06, Ingo Düppe <[EMAIL PROTECTED]> wrote: Hi Craig, guess you are right t

Re: Remoting and Outcome

2006-09-28 Thread Ingo Düppe
Hi Craig, guess you are right that the remoting is not the solution for my problem. What I like to realize is the following: - The user gets an email with a link to the webapp. - When the user click on this link an action method should decide whether the link is still valid or not. - If the l

Re: Remoting and Outcome

2006-09-28 Thread Craig McClanahan
On 9/26/06, Ingo Düppe <[EMAIL PROTECTED]> wrote: Hello, I have defined a userActivate managed bean with a String perform() method. This methods returns a faces outcome depending on the results during execution. Calling the method by /dynamic/userActivate/perform.jsf?code=XYZ works fine, but w

RE: shale and j_security_check ... and mailreader xmldb or later rdbms

2006-09-28 Thread Kito D. Mann
My suggestion is to avoid container-managed security until the servlet spec fixes it :-). Since there's no standard programmatic support for integrating with the container inside of an action method, you're SOL if you want to use JSF components to submit the login fields to the container, unless yo

RE: How to reference a static value in JSF

2006-09-28 Thread Kito D. Mann
There's also a library that implements this feature (and accessing methods, among other things) in JSF 1.2: http://el-functors.sourceforge.net/. In the EG, we were never really keen on the idea of calling methods via the EL, but I think constants makes a lot of sense. And, given the fact that peop

Re: How to reference a static value in JSF

2006-09-28 Thread David Delbecq
You can simply create a bean implementing the Map interface. Then, in the get(Object key) use introspection to locate the class referenced and extract the given public field. eg, get("some.package.Class.THE_FIELD") will do a return Class.forName("some.package.Class").someMethodAmTooLazyTooLookForIn

shale and j_security_check ... and mailreader xmldb or later rdbms

2006-09-28 Thread stephan opitz
as i saw the j_security_check with the severside security login needs to submit to j_security_check with the values j_username j_password i tried it with the mailreader app, but without success... in mailreader the logon method in the logon backing bean is called so i dont know is it possible

ViewController Call back methods called twice for Sub Views.

2006-09-28 Thread Butash, Bob
Hello, I have an issue that is similar to Shale 220 (http://issues.apache.org/struts/browse/SHALE-220). I am using Shale version 1.0.3 and for normal View/ViewController processing the init method is only being invoked once. However I have a subview that has a ViewController backing bean associa