Re: CSS Ponder and start again
Ramsey Gurley <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
On Nov 30, 2012, at 1:58 PM, James Cicenia wrote:
> Ramsey -
>
> I set the look in my projects rules set to R2D2. I took out all Modern frameworks.
>
> I run the app, I get a very plain jane login without styling or a create user link. Is that expected?
>
> If I click login, I get a null exception
>
> What I did, correct me if I am wrong, was subclass your ERAuthDirectAction for my projects DirectAction.
No you shouldn't subclass that. The login action handles the login form submission from the ERATwoFactorLogin component.
Originally, I had intended for the ERAD2WDirectAction to be the action class needed by ERAuth apps. You can subclass that and it should work, but now I'd like to get rid of it and package that logic in a simple utility class instead. There's no reason to force that superclass really. All that does is check the crud auth to see if a page config should be allowed.
>
> public WOActionResults loginAction() {
> ERXRequest request = (ERXRequest)request();
> EOEditingContext ec = ERXEC.newEditingContext();
> String entityName = request.stringFormValueForKey("entityName");
> ** EOEnterpriseObject eo = EOUtilities.createAndInsertInstance(ec, entityName); <== null
>
> As you can see, I am missing the very first steps and possibly style sheets? Does R2D2 have StyleSheets?
>
> The actual crud/roles/auth stuff looks very nice and I seem to understand it. I am just missing some startup changes ... I think
>
> James
>
>
> ------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel:
> TUNE You got it built. Now make it sing. Tune shows you how.
> http://goparallel.sourceforge.net_______________________________________________
> Wonder-disc mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wonder-disc
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc