Hi!

  You'll also need this on your Application constructor:

// This is necessary because the default request handler is "wo", not "wa". // This means that the default handler will create the "main" component, not // call the "main" direct action. That would create a session for every hit // in the index page, which is obviously not good. This line avoids that. setDefaultRequestHandler (requestHandlerForKey(directActionRequestHandlerKey()));

  Yours

Miguel Arroz

On 2009/05/24, at 02:26, Jeff Schmitz wrote:

Yes, several.  I suppose I need to make those links to direct actions
instead.

Thanks!
Jeff


On May 23, 2009, at 8:22 PM, David LeBer wrote:

On 23-May-09, at 9:19 PM, Jeff Schmitz wrote:

Yeah, I was just thinking the same...

Session.<init>() line: 82 
NativeConstructorAccessorImpl.newInstance0(Constructor, Object[])
line: not available [native method]     
NativeConstructorAccessorImpl.newInstance(Object[]) line: 39    
DelegatingConstructorAccessorImpl.newInstance(Object[]) line: 27        
Constructor<T>.newInstance(Object...) line: 494   
Class<T>.newInstance0() line: 350 
Class<T>.newInstance() line: 303  
_NSUtilities.instantiateObject(Class, Class[], Object[], boolean,
boolean) line: 616      
Application(WOApplication).createSessionForRequest(WORequest) line:
1974    
Application(ERXApplication).createSessionForRequest(WORequest)
line: 2022      
Application(WOApplication)._initializeSessionInContext(WOContext)
line: 2110      
ERXWOContext54(WOContext).session() line: 369   
ERXWOContext54(WOContext).componentActionURL(String, boolean) line:
1208    

Do you have a WOHyperlink with an action binding on the component?

ERXHyperlink
(WOHyperlink)._appendComponentActionURLToResponse(WOResponse,
WOContext, boolean) line: 183   
ERXHyperlink(WOHyperlink).appendAttributesToResponse(WOResponse,
WOContext) line: 219    
ERXHyperlink.appendAttributesToResponse(WOResponse, WOContext)
line: 84        
ERXHyperlink
(WOHTMLDynamicElement)._appendOpenTagToResponse(WOResponse,
WOContext) line: 493    
ERXHyperlink(WOHyperlink)._appendOpenTagToResponse(WOResponse,
WOContext) line: 133    
ERXHyperlink(WOHTMLDynamicElement).appendToResponse(WOResponse,
WOContext) line: 443    
WOConditional(WODynamicGroup).appendChildrenToResponse(WOResponse,
WOContext) line: 126    
WOConditional.appendToResponse(WOResponse, WOContext) line: 94  
WOConditional(WODynamicGroup).appendChildrenToResponse(WOResponse,
WOContext) line: 126    
WOConditional.appendToResponse(WOResponse, WOContext) line: 94  
WODynamicGroup.appendChildrenToResponse(WOResponse, WOContext)
line: 126       
WODynamicGroup.appendToResponse(WOResponse, WOContext) line: 136        
Main(WOComponent).appendToResponse(WOResponse, WOContext) line: 1122
Main(WOComponent)._appendPageToResponse(WOResponse, WOContext)
line: 1574      
Main(WOComponent)._generateResponseInContext(WOContext) line: 1543      
Main(WOComponent).generateResponse() line: 1538 
ERXDirectActionRequestHandler
(WOActionRequestHandler)._handleRequest(WORequest) line: 278    

On May 23, 2009, at 8:12 PM, Mike Schrag wrote:

ERXWOContext54(WOContext).session() line: 369   
... you're leaving off the important part, which is the line right
below this.

ms


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com

This email sent to [email protected]

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:        http://www.linkedin.com/in/davidleber
twitter:        http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org






------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc

...........................
http://www.survs.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to