best practices - .settings and version control

2009-02-02 Thread TW
All: When working with Eclipse/WOLips and version control what is considered best practice for the proj-dir/.settings/* files? I've had my .settings folder under version control and it seems like it has been problematic for me. I'm just learning about patches in git and it seems like freq

Re: Handling Session timeout with ajax

2009-02-02 Thread Chuck Hill
On Feb 2, 2009, at 7:02 AM, Robert Tupelo-Schneck wrote: It doesn't seem to work correctly when I click an AjaxTabbedPanelTab. In that case the tab fills with something that looks like the normal WebObjects session timeout page with a bit of javascript tacked on the end; in fact, if I pe

Re: [Reminder] WebObjects 2008 surveys are still open

2009-02-02 Thread Pascal Robert
Quick note : most questions are optional, so if you find that the organization survey is too long, you can only answer the required answers and questions 9, 22, 29, 31 and 37. So 32 questions out of 58 are really important to us. Yes, me again. Are we down to only 75 organizations who's usi

Consuming Web Services with WO - REST

2009-02-02 Thread Kevin Hinkson
Hi, I'm a newbie to web objects and I'm looking for the best way to consume REST webservices. An example would be consuming and creating requests against Facebook/Twitter's API. I was looking at http://wiki.objectstyle.org/confluence/display/WO/Web +Services-Web+Service+Provider but it seem

Re: Webobjects without a Front end

2009-02-02 Thread Ken Anderson
Don, I'm a little fuzzy as to why you need differentiation here. Just because we CAN access a WebObjects app through HTML doesn't mean you have to. I have a number of apps that use HTML/components, etc strictly as a way to perform maintenance on a running app. Everything else happens t

Re: ERXWOForm and secure binding

2009-02-02 Thread David LeBer
On 2-Feb-09, at 12:07 PM, Amedeo Mantica wrote: here... * * * * Should be: "$true"> ... regards Amedeo On 02/feb/09, at 17:59, Lachlan Deck wrote: On 02/02/2009, at 8:21 PM, Amedeo Mantica wrote: er.extensions.ERXRequest.secureDisabled=false I'm looking at the generated html an

Re: ERXWOForm and secure binding

2009-02-02 Thread Mike Schrag
Looks like a bug in Wonder's 5.4 workaround for secure mode ... fix coming momentarily. ms On Feb 2, 2009, at 12:07 PM, Amedeo Mantica wrote: here... * * * * regards Amedeo On 02/feb/09, at 17:59, Lachlan Deck wrote: On 02/02/2009, at 8:21 PM, Amedeo Mantica wrote: er.extensions.ERX

Re: ERXWOForm and secure binding

2009-02-02 Thread Amedeo Mantica
here... * * * * regards Amedeo On 02/feb/09, at 17:59, Lachlan Deck wrote: On 02/02/2009, at 8:21 PM, Amedeo Mantica wrote: er.extensions.ERXRequest.secureDisabled=false I'm looking at the generated html and the form action is not https I tried to put a secure binding to true in a wokyp

Re: ERXWOForm and secure binding

2009-02-02 Thread Lachlan Deck
On 02/02/2009, at 8:21 PM, Amedeo Mantica wrote: er.extensions.ERXRequest.secureDisabled=false I'm looking at the generated html and the form action is not https I tried to put a secure binding to true in a wokyperlink and it works. Just the form is not working I'm on WO 5.4 And the othe

[ANN] JBND 0.9 released

2009-02-02 Thread Stamenkovic Florijan
Hi all, So, a new version of JBND is out... Relevant stuff: - WO 5.4 supported (required) - Undo / redo manager built into JBND (org.jbnd.undo package), works well with property changes, with some additional handling can handle also EO insertions / deletions, though this is a bit hackish.

Re: Handling Session timeout with ajax

2009-02-02 Thread Robert Tupelo-Schneck
On Jan 30, 2009, at 6:12 PM, Chuck Hill wrote: On Jan 30, 2009, at 2:29 PM, Robert Tupelo-Schneck wrote: On Jan 30, 2009, at 5:03 PM, Chuck Hill wrote: On Jan 30, 2009, at 1:14 PM, Robert Tupelo-Schneck wrote: It doesn't seem to work correctly when I click an AjaxTabbedPanelTab. In that case

Re: appendToResponse

2009-02-02 Thread Atli Páll Hafsteinsson
Already tryed that with the same result .. Or no results ;) if( (((Session)session()).user() == null) && !(currentPage instanceof Login)) { Login loginPage = pageWithName( Login.class ); response.setContent( loginPage.generateResponse().content() ); } else {

Re: appendToResponse

2009-02-02 Thread Atli Páll Hafsteinsson
I like that idea, much simpler :) thanx On 2/2/09 2:09 PM, "John Ours" wrote: > > On Feb 2, 2009, at 8:25 AM, Atli Páll Hafsteinsson wrote: > >> Woha ...! That code block is unreadably formatted (I blame entourage >> and the cold weather), lets try again: >> >>public void appendToRespon

Re: WOX status??

2009-02-02 Thread Don Lindsay
Interesting, I am working on a BlazeDS Java Remoting implementation of WebObjects for flex. Retrieving data is a good way along as is client display. I am now working on data manipulation (update, insert, delete, etc). The project is very much in it's infancy but looks promising to me.

Re: appendToResponse

2009-02-02 Thread Dennis Cruel
Hi Atli, instead of calling super.appendToResponse( r, context ); overwrite the current content of the response with the content of the loginPage: response.setContent(r.content()); Regards, Dennis Atli Páll Hafsteinsson schrieb: Woha ...! That code block is unreadably formatted (I blame ento

Re: appendToResponse

2009-02-02 Thread John Ours
On Feb 2, 2009, at 8:25 AM, Atli Páll Hafsteinsson wrote: Woha ...! That code block is unreadably formatted (I blame entourage and the cold weather), lets try again: public void appendToResponse( WOResponse response, WOContext context ) { I'm not sure what's wrong with your code but

Re: appendToResponse

2009-02-02 Thread Stephane Guyot
Atli, could you try to put your signin logic earlier in invokeAction ? In the request /response loop , you would be more comfortable to decide which page to choose for the response, see : public WOActionResults invokeAction(WORequest aRequest,WOContext aContext) I think it's too late, in

Re: appendToResponse

2009-02-02 Thread Atli Páll Hafsteinsson
Woha ...! That code block is unreadably formatted (I blame entourage and the cold weather), lets try again: public void appendToResponse( WOResponse response, WOContext context ) { logger.debug( "Entering appendToResponse in ApplicationLook" ); WOComponent currentPage = context

[Reminder] WebObjects 2008 surveys are still open

2009-02-02 Thread Pascal Robert
Yes, me again. Are we down to only 75 organizations who's using WO? :- ( I hope it's not the case! Let's show to the world that we have more people than that who use WO! And the surveys are the best way to achieve that. -- Our annual surveys about WebObjects are now availabl

appendToResponse

2009-02-02 Thread Atli Páll Hafsteinsson
Hi guys In my attempt to make a user signin mechanism I override appendToResponse in a component that wrappes every page in my app and check if the user is signed in and if not try to display the content of my login page (the login page is not wrapped), code: public void appendToResponse( WOR

Re: ERXWOForm and secure binding

2009-02-02 Thread Amedeo Mantica
Hi Mike, er.extensions.ERXRequest.secureDisabled=false I'm looking at the generated html and the form action is not https I tried to put a secure binding to true in a wokyperlink and it works. Just the form is not working I'm on WO 5.4 Amedeo On 01/feb/09, at 22:25, Mike Schrag wrote: Do