Re: ant build file size issue

2009-10-05 Thread Kieran Kelleher
Hi Jake, If you do upgrade to 3.4.2 and latest WOLips, you will need to create new temporary projects for App and Framework and update/replace your old build.xml from those. HTH, Kieran On Oct 5, 2009, at 1:04 PM, Chuck Hill wrote: On Oct 5, 2009, at 5:35 AM, Jake Bearkley wrote: ./wo

Re: ant build file size issue

2009-10-05 Thread Chuck Hill
On Oct 5, 2009, at 5:35 AM, Jake Bearkley wrote: ./woproject/ant.frameworks.wo.wosystemroot Delete these lines: Library/Frameworks/JavaVM.framework Library/Java/Extensions/AppleScriptEngine.jar Library/Java/Extensions/CoreAudio.jar Library/Java/Extensions/dns_sd.jar Library/Java/Extensions/

[MEETING] Toronto Area Cocoa & WebObjects Developer Group - October 13

2009-10-05 Thread Karl Moskowski
The next meeting of tacow/Toronto CocoaHeads will be held on Tuesday, October 13 at 6:30 PM at Ryerson University. After a C4 recap, Jim Dovey wlll be talking about GCD and blocks. Details and directions are available at . Karl Moskowski Voodoo

Re: accessing WO app without the need of a session....

2009-10-05 Thread r...@synapticstorm.com
EOEC is the old school WebObjects way, if you are using Wonder then ERXEC() is what you should be using unless someone says different? Rob. On 5 Oct 2009, at 14:02, Gustavo Pizano wrote: Yes I was using: ERXEC ec = new ERXEC(); mmm.. did I do it the wrong way using the ERXEC instead th

Re: accessing WO app without the need of a session....

2009-10-05 Thread Gustavo Pizano
AHA thanks... I knew I was missing something. G. On Mon, Oct 5, 2009 at 3:08 PM, David LeBer wrote: > > On 2009-10-05, at 9:02 AM, Gustavo Pizano wrote: > > Yes I was using: >> >>ERXEC ec = new ERXEC(); >> >> mmm.. did I do it the wrong way using the ERXEC instead the EOEC? >> > > If you

Re: ant build file size issue

2009-10-05 Thread Kieran Kelleher
Keep discussion on the list please Jake :-) You are on old version of WOLips, so I cannot compare your situation to mine, but basically everything in that ant.frameworks.wo.wosystemroot file is being embedded, and IIRC, I would expect that that file should have contents like this only:

Re: accessing WO app without the need of a session....

2009-10-05 Thread David LeBer
On 2009-10-05, at 9:02 AM, Gustavo Pizano wrote: Yes I was using: ERXEC ec = new ERXEC(); mmm.. did I do it the wrong way using the ERXEC instead the EOEC? If you are using ERXEC you should be using it's factory method: EOEditingContext ec = ERXEC.newEditingContext(); G. On Mon,

Re: accessing WO app without the need of a session....

2009-10-05 Thread Gustavo Pizano
Yes I was using: ERXEC ec = new ERXEC(); mmm.. did I do it the wrong way using the ERXEC instead the EOEC? G. On Mon, Oct 5, 2009 at 2:53 PM, r...@synapticstorm.com wrote: > If you do need to create an editing context to retrieve data the trick is > to use > > EOEditingContext ec = new

Re: accessing WO app without the need of a session....

2009-10-05 Thread r...@synapticstorm.com
If you do need to create an editing context to retrieve data the trick is to use EOEditingContext ec = new EOEditingContext(); Which doesn't create a session as opposed to EOEditingContext ec = session().defaultEditingContext(); Which does Rob. On 5 Oct 2009, at 13:29, David LeBer wrote:

Re: ant build file size issue

2009-10-05 Thread Jake Bearkley
> > > .classpath (has not changed in months) > > > > path="org.objectstyle.wolips.ContainerInitializer/10/1/Ajax/1/nil/1/nil/1/0/1/false/10/1/CertificateGenerator/1/nil/1/nil/1/0/1/false/10/1/ERExtensions/1/nil/1/nil/1/0/1/false/10/1/ERJars/1/nil/1/nil/1/0/1/false/10/1/ERJavaMail/1/nil/1/nil/1

Re: accessing WO app without the need of a session....

2009-10-05 Thread David LeBer
On 2009-10-05, at 7:27 AM, Gustavo Pizano wrote: This assumes that you don't create sessions for non logged in users. - You need to be careful here as you can accidentally create a session when you fetch data. uuu... I eventually need to fecth some data to show in that WOComponent, so

Re: ant build file size issue

2009-10-05 Thread Kieran Kelleher
What is the contents of the 1) project's ".classpath" file? ... 2) woproject/ant.frameworks.wo.wosystemroot patternset file -Kieran On Oct 5, 2009, at 7:31 AM, Jake Bearkley wrote: > an example > ./Contents/Library/Frameworks/JavaVM.framework >That would be your problem right there. It sh

Re: ant build file size issue

2009-10-05 Thread Jake Bearkley
> an example > ./Contents/Library/Frameworks/JavaVM.framework >That would be your problem right there. It should NOT be embedding >the Java JVM. Check your build file for something that is picking up >Java* for embedding perhaps? It looks like it is grabbing this when >it gets JavaWebObjects et

Re: accessing WO app without the need of a session....

2009-10-05 Thread Gustavo Pizano
> > This assumes that you don't create sessions for non logged in users. - You > need to be careful here as you can accidentally create a session when you > fetch data. > > uuu... I eventually need to fecth some data to show in that WOComponent, so I may be creating accidentally sessions?.. that d

Re: accessing WO app without the need of a session....

2009-10-05 Thread r...@synapticstorm.com
Hi Gustavo, You can use existingSession() to check that a session ID has been passed in and is valid: Session session = (Session) existingSession(); // If you didn't get a valid session. if(session == null) return null; This assumes that you don't create sessions for non logged in u

Re: accessing WO app without the need of a session....

2009-10-05 Thread Gustavo Pizano
Rob, thanks for the link and the info I will read it now! :D G On Mon, Oct 5, 2009 at 12:13 PM, r...@synapticstorm.com < r...@synapticstorm.com> wrote: > Hi Gustavo, > I tend to work at a fairly low level with WO so you may get a nicer > solution from someone else, but the basics are as foll

Re: accessing WO app without the need of a session....

2009-10-05 Thread Gustavo Pizano
aha ok, I know now how to call the DA using http:// $HOSTNAME/cgi-bin/WebObjects/$APPNAME.woa/wa/$DIRECTACTIONNAME link.. hehhe. now I have realize I a have a security HOLE! in my app with one direct action that access the administration tools, hehhe.. how to secure it? I read it must be secured

Re: accessing WO app without the need of a session....

2009-10-05 Thread r...@synapticstorm.com
Hi Gustavo, You can use a Direct Action if you don't have a session. Rob. On 5 Oct 2009, at 09:04, Gustavo Pizano wrote: Hello, this is what I need to achieve. I have an J2ee app running on apache, and I have a WOApp running on a G5. Now, I want to show in the j2ee app in an iframe a WOCom

accessing WO app without the need of a session....

2009-10-05 Thread Gustavo Pizano
Hello, this is what I need to achieve. I have an J2ee app running on apache, and I have a WOApp running on a G5. Now, I want to show in the j2ee app in an iframe a WOComponent that will show a list of items from the database based on a selected User, user is an Enterprise Object. I read somwhwere