Re: wildcard Query

2010-11-09 Thread Cheong Hee (Gmail)
May be go back to the basic quailifier - EOQualifier.qualifierWithQualifierFormat and use "name like %@" with "*"? - Original Message - From: ISHIMOTO Ken To: WebObjects Development Sent: Tuesday, November 09, 2010 10:34 PM Subject: wildcard Query Hi everyone, I am

Re: Expand and collapse a row

2010-11-09 Thread Mike Schrag
AjaxExpansion in Ajax.framework ... See AjaxExample2's Toggle Details example: http://webobjects.mdimension.com/cgi-bin/WebObjects/AjaxExample2.woa/wa/PageAction/ToggleDetails On Nov 9, 2010, at 8:27 PM, vaibhav srivastava wrote: > Hi All, > > I wan to implement a expand and collapse functional

Expand and collapse a row

2010-11-09 Thread vaibhav srivastava
Hi All, I wan to implement a expand and collapse functionality . so, I have number of rows displaying data and row are created using WORepetition and i want to have a link for each row which can expand and collapse the data . can anybody help me out with this. Regards Vaibhav ___

Re: Resource loading using Class.getResource or Class.getClassLoader().getResource()

2010-11-09 Thread Larry Mills-Gahl
Success. The include patternset is indeed the right place for this. Thank you all for that. the "build.woframework" target refers to the following includefiles: Modifying woproject/classes.include.patternset to include line like: **/*.xsl works fine now. In Application.java logger.debug("cl

Re: Overriding stylesheet and images used by AjaxDatePicker

2010-11-09 Thread Ricardo J. Parada
On Nov 9, 2010, at 1:52 PM, Chuck Hill wrote: > > On Nov 9, 2010, at 10:35 AM, Ricardo J. Parada wrote: > >> Hi, >> >> I thought I knew the answer to this one but maybe not quite. I'm using an >> AjaxDatePicker and I managed to override its stylesheet by defining this >> property in my MPV

Re: Resource loading using Class.getResource or Class.getClassLoader().getResource()

2010-11-09 Thread John Huss
I tried and could not get it to work. But this isn't my area of expertise so I may have been doing it wrong. But I had in the body of wocompile: and On Tue, Nov 9, 2010 at 2:16 PM, Mike Schrag wrote: > isn't wocompile just a subclass of the normal ant task? can't you add an > include pa

Re: Resource loading using Class.getResource or Class.getClassLoader().getResource()

2010-11-09 Thread Chuck Hill
On Nov 9, 2010, at 12:16 PM, Mike Schrag wrote: > isn't wocompile just a subclass of the normal ant task? It is. > can't you add an include pattern for it in your build.xml? I think so, but I did not look. Chuck > > On Nov 9, 2010, at 3:13 PM, John Huss wrote: > >> I was getting the file

Re: Resource loading using Class.getResource or Class.getClassLoader().getResource()

2010-11-09 Thread Mike Schrag
isn't wocompile just a subclass of the normal ant task? can't you add an include pattern for it in your build.xml? On Nov 9, 2010, at 3:13 PM, John Huss wrote: > I was getting the files into the "build" folder (incremental builds), but not > in the "bin" folder (ant install builds). Fortunatel

Re: Resource loading using Class.getResource or Class.getClassLoader().getResource()

2010-11-09 Thread John Huss
I was getting the files into the "build" folder (incremental builds), but not in the "bin" folder (ant install builds). Fortunately, that means it only fails in production. :-(The "wocompile" task is the problem. I don't see that wocompile evens reads the classes.include.patternset, at least

Re: Resource loading using Class.getResource or Class.getClassLoader().getResource()

2010-11-09 Thread Mike Schrag
you should be able to modify the classes patternset (i think that's what it's called?) ... we used to include a krb5.conf in our builds like that. On Nov 9, 2010, at 3:03 PM, John Huss wrote: > I had a similar problem. The resource files in Sources were not actually > making it into the jar.

Re: Resource loading using Class.getResource or Class.getClassLoader().getResource()

2010-11-09 Thread John Huss
I had a similar problem. The resource files in Sources were not actually making it into the jar. There seems to be no way to get the standard build tools to include anything except .class files in the jars that it builds for WO applications. You could manually copy the file as part of the build

Re: IE vs context().componentActionURL ?

2010-11-09 Thread James Cicenia
Thanks putting in "url=" seemed to do the trick James On Nov 9, 2010, at 1:30 PM, Ramsey Gurley wrote: > http://stackoverflow.com/questions/522353/meta-refresh-doesnt-work > > There is a security setting in internet explorer that does not allow meta tag > refresh. It is under the Security tab

Resource loading using Class.getResource or Class.getClassLoader().getResource()

2010-11-09 Thread Larry Mills-Gahl
I am having difficulty finding out why getResource and getClassLoader().getResource will not work as expected in my WO app. I want to load some XSLT from a jar on the classpath so that I can keep the versions of the transform the same between command line tools and the web application. I don't wan

Re: IE vs context().componentActionURL ?

2010-11-09 Thread Ramsey Gurley
http://stackoverflow.com/questions/522353/meta-refresh-doesnt-work There is a security setting in internet explorer that does not allow meta tag refresh. It is under the Security tab, then choose Custom Level and the Meta Tag Refresh under Miscellaneous. If that is disabled, it would stop t

Re: IE vs context().componentActionURL ?

2010-11-09 Thread Chuck Hill
It won't have http:// etc in front of it, probably IE needs that. On Nov 9, 2010, at 11:17 AM, James Cicenia wrote: > return " context().componentActionURL()+ "\"> > > I have a non-session login page. This calls a DirectAction which then does > the usual login and sends back the home page comp

IE vs context().componentActionURL ?

2010-11-09 Thread James Cicenia
return " I have a non-session login page. This calls a DirectAction which then does the usual login and sends back the home page component. Now I want to refresh that page... say every 10 seconds. The code above works on Safari and FireFox but not IE8. Any thoughts? Thanks James _

Re: Overriding stylesheet and images used by AjaxDatePicker

2010-11-09 Thread Chuck Hill
On Nov 9, 2010, at 10:35 AM, Ricardo J. Parada wrote: > Hi, > > I thought I knew the answer to this one but maybe not quite. I'm using an > AjaxDatePicker and I managed to override its stylesheet by defining this > property in my MPVWebComponents framework: > > er.extensions.ERXResponseRewri

Overriding stylesheet and images used by AjaxDatePicker

2010-11-09 Thread Ricardo J. Parada
Hi, I thought I knew the answer to this one but maybe not quite. I'm using an AjaxDatePicker and I managed to override its stylesheet by defining this property in my MPVWebComponents framework: er.extensions.ERXResponseRewriter.resource.Ajax.calendar.css=MPVWebComponents.css/calendar.css Then

Re: wildcard Query

2010-11-09 Thread ISHIMOTO Ken
No On 2010/11/09, at 15:48, Farrukh Ijaz wrote: > Try using "*[*]*" and see it works? > > Farrukh > > Sent from my iPhone > > On 2010-11-09, at 5:34 PM, ISHIMOTO Ken wrote: > >> Hi everyone, >> >> I am fighting with a Qualifier and my Question is "Is there any way for >> query all Data wit

Re: wildcard Query

2010-11-09 Thread Farrukh Ijaz
Try using "*[*]*" and see it works? Farrukh Sent from my iPhone On 2010-11-09, at 5:34 PM, ISHIMOTO Ken wrote: > Hi everyone, > > I am fighting with a Qualifier and my Question is "Is there any way for query > all Data with an "*" in." > > DataSample : > > Mike > Chuck > Dav*id > Ken > >

Re: wildcard Query

2010-11-09 Thread Mike Schrag
unfortunately, that it doesn't work, at least not in 5.4. On Nov 9, 2010, at 9:58 AM, Stefan Klein wrote: > You need escape the character. Normal is the Backslash the escape sign. > > EOQualifier qualifier = M_User.NAME.contains("\\*"); <-- 2 Backslashes for > java > > Stefan > > Am 09.11.1

wildcard Query

2010-11-09 Thread ISHIMOTO Ken
Hi everyone, I am fighting with a Qualifier and my Question is "Is there any way for query all Data with an "*" in." DataSample : Mike Chuck Dav*id Ken Like code bellow but the "*" is a Wildcard and won't work. EOQualifier qualifier = M_User.NAME.contains("*"); I would love to find any Reco

Re: wildcard Query

2010-11-09 Thread Mike Schrag
it looks like underlying pattern scanner supports escaping, but it doesn't expose that state to the pattern matcher, so an escaped * appears to just be another * in the pattern . i'm not sure you can actually do this match without an _NSStringUtilities fix. ms On Nov 9, 2010, at 9:48 AM, F

Re: wildcard Query

2010-11-09 Thread Stefan Klein
You need escape the character. Normal is the Backslash the escape sign. EOQualifier qualifier = M_User.NAME.contains("\\*"); <-- 2 Backslashes for java Stefan Am 09.11.10 15:34, schrieb ISHIMOTO Ken: Hi everyone, I am fighting with a Qualifier and my Question is "Is there any way for query

Re: [OT] No more XServe

2010-11-09 Thread David Avendasora
WebServer4D with (obviously 4D for my first Web application. Ahh, the beauty of MVC all in the V. Dave On Nov 9, 2010, at 4:06 AM, Philippe Rabier wrote: > Oh yes. I used it with 4D when I was a 4D developer at this time. > > And I used also Pink SQL and Oracle 6 running on Mac OS 7... > > Ph

Re: [OT] No more XServe

2010-11-09 Thread Philippe Rabier
Oh yes. I used it with 4D when I was a 4D developer at this time. And I used also Pink SQL and Oracle 6 running on Mac OS 7... Philippe On 9 nov. 2010, at 01:23, Pascal Robert wrote: > Ah Lasso... The only way to get some performance out of FMP 4.1... Doing > FileMaker 4.1 was one of my worst