Re: Eclipse 4.4 support for WOLips

2014-09-02 Thread Farrukh Ijaz
Works like charm! Great. Can we start building apps for Java 8? Thanks, Farrukh On Aug 31, 2014, at 3:54 PM, Pascal Robert prob...@macti.ca wrote: I just did a build from the master branch and it works for me. I don’t think so. Yesterday, I created a new folder, cloned the repo, and

Re: angular and rest questions

2014-08-18 Thread Farrukh Ijaz
On Fri, 15 Aug 2014 02:16:51 +0300 Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: On Aug 15, 2014, at 1:41 AM, Larry Mills-Gahl elem...@gmail.com wrote: I’m not trying to build a single-page-app, but I am trying to take advantage of the browser side manipulation of elements to make

Re: angular and rest questions

2014-08-14 Thread Farrukh Ijaz
as options that don't require a complete takeover of the client side. = Larry Mills-Gahl On Aug 13, 2014, at 4:11 PM, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: In my experience, WebObjects and AngularJS are two opposite dimensions. They do not go well

Re: angular and rest questions

2014-08-13 Thread Farrukh Ijaz
In my experience, WebObjects and AngularJS are two opposite dimensions. They do not go well together without some work arounds. I’m trying to build ERAngular framework which could help WO developers to achieve what angular provides still coding on the server side. E.g. a ERAngularModule which

Re: Qualifier against target entity?

2013-12-22 Thread Farrukh Ijaz
Hi Ken, I don't think there is any qualifier key like that. If it's just one or two objects, you can simply remove them from the fetched objects. Farrukh On Dec 8, 2013, at 9:41 PM, Ken Anderson kenli...@anderhome.com wrote: Of course, but not a class property... I swear there was a way to

RESOLVED: Re: Seems like partial commit to wonder?

2013-11-04 Thread Farrukh Ijaz
Missed git pull. Working fine now. Farrukh On Nov 4, 2013, at 8:25 AM, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: Hi Pascal, It's local build after fetching latest source from github. It used to work fine as I always use fresh build every week. Farrukh On Nov 4, 2013

Seems like partial commit to wonder?

2013-11-03 Thread Farrukh Ijaz
Hi There! I just updated my frameworks from git and started getting following error when running the application. I searched the local source code and also checked online at github for all branches but couldn't find ERXPatternParser class. Which I suspect as partial commit. Kindly advise.

Re: Seems like partial commit to wonder?

2013-11-03 Thread Farrukh Ijaz
Hi Pascal, It's local build after fetching latest source from github. It used to work fine as I always use fresh build every week. Farrukh On Nov 4, 2013, at 5:41 AM, Pascal Robert prob...@macti.ca wrote: This is a local build or a build coming from jenkins.wocommunity.org ? Hi There!

Re: Ajax Framework Bug?

2012-11-27 Thread Farrukh Ijaz
Hi Johnny, There is a binding called fullSubmit for AjaxObserveField. Set it to false. That should solve the problem I believe. http://jenkins.wocommunity.org/job/WonderIntegration/lastBuild/javadoc/er/ajax/AjaxObserveField.html Farrukh On Nov 17, 2012, at 8:42 PM, Johnny Miller

ERXSequence.DatabaseSequence error

2012-11-22 Thread Farrukh Ijaz
Hi Guys, I've updated my wonder to latest. The application that was running fine all of a sudden seems to be broken. I'm getting following exception what getting a DatabaseSequence object. This is the line of the code: new ERXSequence.DatabaseSequence(editingContext(), MyModel,

Re: ERXSequence.DatabaseSequence error

2012-11-22 Thread Farrukh Ijaz
:con.createStatement().execute(updateStatement); This needs to be fixed in Wonder. Thanks, Farrukh On Nov 22, 2012, at 9:21 PM, Johann Werner j...@oyosys.de wrote: Hi Farrukh, what is the SQL that is getting generated? jw Am 22.11.2012 um 18:06 schrieb Farrukh Ijaz farrukh.i

Re: WOSessionStore deadlocks - SOLVED

2012-11-08 Thread Farrukh Ijaz
Hi Maik, Use -XX:MaxPermSize=your-desired-size-in-mbm Farrukh On Nov 8, 2012, at 1:59 PM, Maik Musall m...@selbstdenker.ag wrote: Hi Chuck, a follow-up on this: Am 19.10.2012 um 20:05 schrieb Chuck Hill ch...@global-village.net: Hi Maik, This can also indicate some other things

Re: WORequest, Logging IP-Addresses

2012-09-06 Thread Farrukh Ijaz
context().request() Farrukh On Sep 6, 2012, at 2:21 PM, Thomas Grass (01SoftwareSolutions) off...@01softwaresolutions.eu wrote: Hi WO-Developers, i have a question concerning logging IP-Addresses of users. I have to log from which IP-Adresses users are using my WO-Application. To do

Re: EOSortOrdering first null

2012-07-19 Thread Farrukh Ijaz
reply, but i don't have all my object because i use objectInRange function so when i execute my fetchSpecification i just have the first ten element so i need to have last null sql function execute by my fetchSpecification. Le 18/07/12 22:00, Farrukh Ijaz a écrit : I don't think the API

Re: EOSortOrdering first null

2012-07-19 Thread Farrukh Ijaz
On 2012-07-19, at 9:39 AM, Maik Musall m...@selbstdenker.ag wrote: Am 18.07.2012 um 22:00 schrieb Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com: Approach 2: This will make 1 db call, uses less memory. It's quite simple and easy to understand. The whole idea is to push the nulls

Re: EOSortOrdering first null

2012-07-18 Thread Farrukh Ijaz
Hi, Should be something like: MyTable.MY_DATE.descs() // will put nulls at the end MyTable.MY_DATE.ascs() // will put nulls at the first Farrukh On 2012-07-18, at 2:02 PM, ALEXANDRE Grégoire g.alexan...@symaris.com wrote: hi, i need to create fecth specification with my null element at the

Re: EOSortOrdering first null

2012-07-18 Thread Farrukh Ijaz
MyTable.MY_DATE.ascs() // will put nulls at the end = nulls last in sql and i used ERXEOControlUtilities.ObjectInRange... Le 18/07/12 16:14, Farrukh Ijaz a écrit : Hi, Should be something like: MyTable.MY_DATE.descs() // will put nulls at the end MyTable.MY_DATE.ascs() // will put nulls

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Farrukh Ijaz
Imagine you are not a swimmer, wearing a life jacket you jump in the pool. Suddenly the jacket deflates and you feel drowning, then you shout for help. Soon after you realize that someone holds your hand, it's Pascal, Chuck, Ramsay, David, ... and then you take your time and become a swimmer to

Re: Custom property returning NSDictionary with values appear nil in ERRest response

2012-07-16 Thread Farrukh Ijaz
That's great if that solves the issue. Thanks Pascal! Farrukh Pascal Robert prob...@macti.ca wrote: Hi Farrukh, Looks like ERRest is thinking that a dict is a relationship, so add a filter with all keys when you include the dict in your main filter:

Re: ERREST response and NSDictionary

2012-07-16 Thread Farrukh Ijaz
That someone is supposed to fix the issue :) Hafid, looks like the dictionary you're returning is empty. Farrukh Pascal Robert prob...@macti.ca wrote: Someone at WOWODC reported a similar bug and he was supposed to create a new issue on GitHub, looks like he forgot :-) Hi, I'm trying to

Re: Migrations create issue with single-table inheritance

2012-07-15 Thread Farrukh Ijaz
Can you confirm that the child entities are using the same Table Name? Can you share what is the error log on the console when migration fails? I've been using single table inheritance and so far didn't face any issues in migration. Farrukh On 2012-07-15, at 6:23 PM, Jesse Tayler

Re: Migrating from EOF to Cayenne

2012-07-13 Thread Farrukh Ijaz
-11, at 11:12 AM, Farrukh Ijaz wrote: Hi, In past I've used AOP to address issues of closed source. This I believe if carefully used can help convert the EOF from single to multi threaded and/or solve other bottleneck problems. Having said this doesn't mean I'm against Cayane. However

Re: Migrating from EOF to Cayenne

2012-07-13 Thread Farrukh Ijaz
. But people may not care about that. Decompiling whole classes to fix bugs has been done before. It makes me quesy though. On Wed, Jul 11, 2012 at 1:12 PM, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: Hi, In past I've used AOP to address issues of closed source. This I believe

Re: Migrating from EOF to Cayenne

2012-07-13 Thread Farrukh Ijaz
On 2012-07-12, at 2:01 PM, Hugi Thordarson h...@karlmenn.is wrote: I think Hugi also use it. Is that a point for or against it? :-P PastedGraphic-1.png But yes, I've used Cayenne on a couple of projects. As you know it feels a *lot* like EOF and was by far the nicest ORM I could

Re: Migrating from EOF to Cayenne

2012-07-13 Thread Farrukh Ijaz
On 2012-07-12, at 6:32 PM, arosenzw...@clinworx.com wrote: Hi WOrriors, I still question why we are fighting so hard for Object-relational mapping. If we are contemplating doing work, shouldn't we consider going straight for object databases? Take out the transcription layer. Let's get

Re: Migrating from EOF to Cayenne

2012-07-13 Thread Farrukh Ijaz
Just a fix, I mean JPA is not a product but a specification :) Farrukh On 2012-07-13, at 3:41 PM, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: On 2012-07-12, at 2:01 PM, Hugi Thordarson h...@karlmenn.is wrote: I think Hugi also use it. Is that a point for or against it? :-P

Re: Migrating from EOF to Cayenne

2012-07-13 Thread Farrukh Ijaz
-11, at 11:12 AM, Farrukh Ijaz wrote: Hi, In past I've used AOP to address issues of closed source. This I believe if carefully used can help convert the EOF from single to multi threaded and/or solve other bottleneck problems. Having said this doesn't mean I'm against Cayane. However

Re: Migrating from EOF to Cayenne

2012-07-13 Thread Farrukh Ijaz
Yes, the JPA is a spec, I just think it is a bad spec :). The Criteria API alone made me want to grab my head by the eyesockets and remove it from my torso. That's pretty big statement, I might have agreed with you if I wasn't aware of what's JPA is all about. Here is the specification

Re: Migrating from EOF to ????

2012-07-13 Thread Farrukh Ijaz
On 2012-07-13, at 11:11 PM, Chuck Hill ch...@global-village.net wrote: Is rewriting EOF and webobjects even a possibility? If yes, what about an outline of what is required to undertake this magnitude of project. Yes, it is possible. It was written once, it can be written again. I

Re: Who uses ERDirectToRest ?

2012-07-13 Thread Farrukh Ijaz
AFAIK, nobody use it, except maybe Anjo. Using the routes based API in ERRest in quite easy, but I do agree that being able to use D2W rules instead of ERXKeyFilter to decide what is going to be send or accepted would be cool. One can use following methods in the Route Controller class. I

Re: Who uses ERDirectToRest ?

2012-07-13 Thread Farrukh Ijaz
Thanks Pascal for adding it to WIKI. My first indirect community contribution :) Farrukh On 2012-07-14, at 1:59 AM, Pascal Robert prob...@macti.ca wrote: Le 2012-07-13 à 17:21, Farrukh Ijaz a écrit : AFAIK, nobody use it, except maybe Anjo. Using the routes based API in ERRest in quite

Re: Migrating from EOF to Cayenne

2012-07-11 Thread Farrukh Ijaz
Hi, In past I've used AOP to address issues of closed source. This I believe if carefully used can help convert the EOF from single to multi threaded and/or solve other bottleneck problems. Having said this doesn't mean I'm against Cayane. However if the current EOF issues get fixed with AOP

Re: failed to find a snapshot for EO with Global ID

2012-06-11 Thread Farrukh Ijaz
Hi Ramsey, I think, the parent ec doesn't know anything what's in the child ec. So according to your code, the employee records belong to child ec. ec.saveChanges() after nested.saveChanges() inside the inner loop has no effect as there are no changes in parent ec to save at this point. Try

Creating Wonder D2W Application using WOLips without ERModernLook?

2012-06-09 Thread Farrukh Ijaz
Hi, I was wondering if I could possibly create a Wonder D2W Application using WOLips without the dependency on ERModernLook? Right now ERModernLook seems to be tightly coupled with Wonder D2W Application and I don't find any option to choose from one of the old looks and, there is no option

Re: Creating Wonder D2W Application using WOLips without ERModernLook?

2012-06-09 Thread Farrukh Ijaz
be able to contribute our look too :) Farrukh David Holt programming...@mac.com wrote: I am pretty sure the answer is no. Are you having challenges removing the Modern Look dependencies? Sent from my iPad On 2012-06-09, at 12:37 AM, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: Hi

Custom property returning NSDictionary with values appear nil in ERRest response

2012-05-19 Thread Farrukh Ijaz
Hi Guys, I'm facing a situation and shall appreciate if anyone can lead to some possibility to achieve this? I've an entity named SocialPost which I use to link a social post with my entity where user can comment. The SocialPost has a toOne relationship with SocialNetwork and SocialNetwork

Re: AjaxFileUpload succeeded message disappearing

2012-05-04 Thread Farrukh Ijaz
Hi, Try setting progressBarAfterDone=true for AjaxFileUpload bindings. Farrukh Sent from my iPhone On 2012-05-04, at 1:47 AM, Larry Mills-Gahl l...@webfarm.com wrote: I have an AjaxFileUpload component that is working well except that when it is finished with the upload, the success

Re: Components Trouble

2012-04-26 Thread Farrukh Ijaz
Hi Ron,Is this happing with any project you create? If not then check the file resources.include.patternset under woproject folder. It should be something like this. Looks like the app can't locate the .wo folder.FarrukhOn 2012-04-26, at 11:56 AM, Ron X wrote:hii have some problem with

Re: [ANN] WOInject 1.0

2012-04-13 Thread Farrukh Ijaz
Hi Ron, See my comments below: On 2012-04-13, at 10:55 AM, Ron X wrote: hi public class Application extends InjectableApplication { private static Logger log = Logger.getLogger(Application.class); public static void main(String[] argv) {

Re: [ANN] WOInject 1.0

2012-04-13 Thread Farrukh Ijaz
This (WOIject) is an excellent framework and I feel the community should collectively sponsor Henirique to come and present it to WOWODC :) Good work Henrique! Farrukh On 2012-04-11, at 10:35 AM, ISHIMOTO Ken wrote: In the case you can't come : Maybe we can have a Session with your

Re: NullPointerException

2012-04-12 Thread Farrukh Ijaz
Hi Ken, Also we should not call toString() method on e.getCause() because it's not always necessary you get a cause if the exception is already at it's origin. Here is a sample code to test this: Farrukh public class ExceptionTest { public static void printCause(Throwable t) {

Re: New Framework on the way

2012-04-07 Thread Farrukh Ijaz
Great work Ken! Are they stateless or stateful? Farrukh ISHIMOTO Ken k...@ksroom.com wrote: Hi, I am thinking to release one of our WOdka Frameworks. But at first, I have to check some code, and make some commits to Wonder. The Framework : WOJQueryMobile is a Wrapper on Top of JQueryMobile.

Re: Wrong Session class

2012-04-03 Thread Farrukh Ijaz
Just sharing my experience too that It also does not like the case where the project name and project folder have different names. Farrukh Sent from my iPad 2 On 2012-04-02, at 10:39 PM, Ted Archibald ted.archib...@gmail.com wrote: I can duplicate the bug on my computer by creating a new

Re: JasperReports and D2W

2012-03-31 Thread Farrukh Ijaz
Hi Ted, can you be more specific what are you trying to do? Are you building a Jasper client? Embedding Jasper server in a D2W app? Or Trying to build a report for D2W Models? Each of them have different issues to that need to resolve. IIRC Jasper server is based on servlet model if your

Re: JasperReports and D2W

2012-03-31 Thread Farrukh Ijaz
a List view and put a print link on each line. Ted --- On Sat, 3/31/12, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: From: Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com Subject: Re: JasperReports and D2W To: Theodore Petrosky tedp...@yahoo.com, webobjects-dev@lists.apple.com Date

Re: Apple and WO (Google Moderator thread)

2012-03-29 Thread Farrukh Ijaz
There are certain parts of Apple's website which is using WebObjects. Which version, I don't know. You can easily identify by looking at the URL which contains /WebObjects/wo/ Some parts are also based on Struts and JavaEE framework where you can find a /.../Something.do type of URLs. These

Re: Compact vs Verbose

2012-03-29 Thread Farrukh Ijaz
Heard you guys, I'll make sure my submission gets compiled and run within the constraints set in community contribution :) Farrukh On 2012-03-29, at 7:58 PM, Chuck Hill wrote: On 2012-03-29, at 9:55 AM, Ramsey Gurley wrote: Longer? Just nest them! a? b?

Re: Most requested stuff on Google Moderator

2012-03-28 Thread Farrukh Ijaz
On 2012-03-28, at 9:22 AM, David Avendasora wrote: On Mar 28, 2012, at 2:13 PM, Johann Werner wrote: Perhaps now it is the time to define a mandatory Wonder code formatter all commits have to use. I think that would make it easier for many committers to send patches without worrying

Re: Most requested stuff on Google Moderator

2012-03-28 Thread Farrukh Ijaz
On 2012-03-28, at 11:23 AM, David Avendasora wrote: On Mar 28, 2012, at 3:31 PM, Farrukh Ijaz wrote: return contentDisposition != null (contentDisposition.indexOf(inline) -1 || contentDisposition.indexOf(attachment) -1); Seriously, who can read that and make sense of it immediately

Re: *.xcode *.xcodeproj PB.project Files

2012-03-27 Thread Farrukh Ijaz
Hi Ted, You shouldn't delete any files from your Xcode project if it's created by the IDE itself. You should however exclude certain files from your version commit ignore list. E.g. I use subversion and here are my global-ignores. global-ignores = xcuserdata .idea .git .svn *.o *.lo *.la *.al

Re: RuleModeler Xcode project

2012-03-10 Thread Farrukh Ijaz
Hi Pascal, Try setting Mac OSX Deployment target to 10.5 and use Base SDK 10.6. This should build the application that can run on both I believe. Farrukh On 2012-03-10, at 4:41 PM, Pascal Robert wrote: Le 2012-03-10 à 08:37, Johann Werner a écrit : Am 10.03.2012 um 13:58 schrieb

Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-08 Thread Farrukh Ijaz
Hi James, In practice you should use either d2wContext.setDynamicPage(...) or d2wContext.setEntity(...) and d2wContext.setTask(...) methods prior to call d2wContext.valueForKey(...). Farrukh On 2012-02-07, at 11:24 PM, James Cicenia wrote: Here is the code: if (null ==

Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-08 Thread Farrukh Ijaz
it will fail: String key = (String)keysEnum.nextElement(); James On Feb 8, 2012, at 6:13 AM, Farrukh Ijaz wrote: Hi James, In practice you should use either d2wContext.setDynamicPage(...) or d2wContext.setEntity(...) and d2wContext.setTask(...) methods prior to call

Re: ERXPatcher / WOBrowser / NSArray.addAll()

2012-01-25 Thread Farrukh Ijaz
Hi David, From the exception it looks like you're trying to call addAll method on NSArray which is not mutable. Since NSArray is an instance of List interface therefore the check at line 532 returns true and therefore addAll get's called at link 533 and that's actually raising exception. Fix:

Re: ERD2W qualifying restrictingFetchSpecification

2012-01-24 Thread Farrukh Ijaz
Hi Markus, I guess you can write a getter to build the groups subset in your Category class and use that getter as display key? Farrukh On 2012-01-24, at 6:50 PM, Markus Ruggiero wrote: Can I qualify dynamically a restrictingFetchSpecification? I have the following model: Category

Re: Tomcat deployment - how do you allocate memory to app

2012-01-24 Thread Farrukh Ijaz
Hi Tim, You can specify these options in your Catalina script file. On windows it's catalina.bat and for other platforms it's catalina.sh IIRC. When you deploy your application in J2EE or JavaEE, your application shares the JVM in which the application server is running. If you want to run

Re: Questions about ERJQuery

2012-01-20 Thread Farrukh Ijaz
Hi Guys, Few questions about ERJQuery: 1. Is it stable and can be used for production applications? 2. I've noticed it uses '$' sign. Shouldn't it be a conflict with wonder components which use prototype? 3. If answer for 2 is yes then how can I force it use resolve the conflict. In practice

Re: Questions about ERJQuery

2012-01-20 Thread Farrukh Ijaz
Thanks Pascal for the update. Any answer to my question no. 3? Farrukh On 2012-01-20, at 4:10 PM, Pascal Robert wrote: Ravi Mendis wrote it. I think it's stable but it's stateless only IIRC. Hi Guys, Few questions about ERJQuery: 1. Is it stable and can be used for production

Re: Is there a way to create rules programatically?

2012-01-16 Thread Farrukh Ijaz
the problem. But like you said... where? Have to be session specific. James On Jan 15, 2012, at 1:50 AM, Farrukh Ijaz wrote: It's possible. You need to play around with the D2WContext, D2WModel and Rule classes. Start with creating your own D2WModel class since it has methods to update

Re: Is there a way to create rules programatically?

2012-01-16 Thread Farrukh Ijaz
, at 10:20 AM, Farrukh Ijaz wrote: Try this: Implement your own D2WModel the way you like but make sure you can actually add remove rules to your model. Perhaps you need to define your own methods similar to addMyRule or removeMyRule etc. Override application's didFinishLaunching

Re: Is there a way to create rules programatically?

2012-01-14 Thread Farrukh Ijaz
It's possible. You need to play around with the D2WContext, D2WModel and Rule classes. Start with creating your own D2WModel class since it has methods to update Rules. public class MyD2WModel extends D2WModel { public MyD2WModel(NSArrayRule rules) { super(rules);

Re: Validation Exceptions, Localization Unit Testing

2011-12-18 Thread Farrukh Ijaz
Try reordering your application classpath and I guess moving Extensions Framework above will solve the problem. It happened to me a couple of times and I discovered it's related to loading the classes in specific order. Farrukh Henrique Prange hpra...@gmail.com wrote: Hi Kevin, I'm not an

Re: Can someone explain how this ERXKey works?

2011-12-13 Thread Farrukh Ijaz
Hi James, The filter is passed to response object in ERRest framework, and that filter is applied to the object. E.g. return response(object, filter); The filter includes keypaths that can be reached from object. Now this object must implement NSKeyValueCodingAdditions interface. The family

Re: Can someone explain how this ERXKey works?

2011-12-13 Thread Farrukh Ijaz
=true/ webPath/1.jpg/webPath width nil=true/ attachmentData type=ERAttachmentData id=1/ parentAttachment nil=true/ /mainImage /foodFamily Regards James On Dec 13, 2011, at 1:08 PM, Farrukh Ijaz wrote: Hi James, The filter is passed to response object in ERRest framework

Re: setting properties ??

2011-10-28 Thread Farrukh Ijaz
Hi Ted, try following: NSProperties.sharedInstance().setPropertyForKey(value-from-db, desired-key); Farrukh On 2011-10-29, at 1:35 AM, Theodore Petrosky wrote: but how do you handle the situation where you don't know the smtp server, or the smtp server is changing? I want to store the

Question about restrictedChoiceKey

2011-10-17 Thread Farrukh Ijaz
Hi, I've a situation. I've three entities: Country CountryGroup Customer The Customer has toOne relationship with Country and Country has toMany relationship with CountryGroup. The customer doesn't know about CountryGroup at all. In the Customer query page, I want to present the user list of

Re: Question about restrictedChoiceKey

2011-10-17 Thread Farrukh Ijaz
: On Oct 17, 2011, at 3:02 AM, Farrukh Ijaz wrote: Hi, I've a situation. I've three entities: Country CountryGroup Customer The Customer has toOne relationship with Country and Country has toMany relationship with CountryGroup. The customer doesn't know about CountryGroup at all

Re: How to get selected Object of AjaxAutoComplete

2011-10-13 Thread Farrukh Ijaz
Hi Raymond, You should be able to retrieve the value from session().selectedMotCalefs property. You don't need to use select attribute. Simple code below using inline bindings: wo:AjaxAutoComplete list=$items item=$item value=$value selection=$selectedItem

Re: How to get selected Object of AjaxAutoComplete

2011-10-13 Thread Farrukh Ijaz
. Thaks for your help Envoyé depuis iCloud Le 13 oct 2011 à 05:16, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com a écrit : Hi Raymond, You should be able to retrieve the value from session().selectedMotCalefs property. You don't need to use select attribute. Simple code below using

Re: Integration with JSF and IceFaces

2011-08-20 Thread Farrukh Ijaz
/12248/vroom-web-framework http://netbeans.dzone.com/news/interview-farrukh-ijaz-vroom-f Hope this may open doors for you. Farrukh Sent from my iPad 2 On 2011-08-20, at 5:48 PM, Ken Anderson kenli...@anderhome.com wrote: All, Our organization is looking into using IceFaces, a set of JSF

Re: ERRest wrapped JSON format

2011-08-05 Thread Farrukh Ijaz
Hi Charles, Just create an NSDictionary object and set a key User the value you are returning. It will serialize it the way you intend to. Farrukh Sent from my iPad 2 On 2011-08-06, at 3:17 AM, Charles Young char...@neuralglue.com wrote: Hi, I am currently using ERRest to output some

Re: disposing of an EC

2011-07-20 Thread Farrukh Ijaz
Hi Ted, You don't need to dispose it off explicitly. It will automatically be disposed off during garbage collection. Farrukh On 2011-07-20, at 2:15 PM, Theodore Petrosky wrote: I am using an AjaxModalDialog when I create a new object for my app. The content of the AMD is from a component.

Re: ERRest - problem outputting xml as JSON object

2011-07-15 Thread Farrukh Ijaz
Hi Liz, That's a common issue. Suppose you receive the JSON mentioned below, once you get the value of data attribute which is a JSON object in string format, evaluate it using eval() method of javascript and it will be converted to JSON. Farrukh Sent from my iPad 2 On 2011-07-15, at 3:58

Re: ERRest - problem outputting xml as JSON object

2011-07-15 Thread Farrukh Ijaz
, but I need to get it into JSON before it leaves the server, so that technique won't work for me. Liz On 15 Jul 2011, at 15:55, Farrukh Ijaz wrote: Hi Liz, That's a common issue. Suppose you receive the JSON mentioned below, once you get the value of data attribute which is a JSON object

Re: ERRest - problem outputting xml as JSON object

2011-07-15 Thread Farrukh Ijaz
). Does anyone have any ideas? Liz Farrukh On 2011-07-15, at 7:24 PM, Elizabeth Lynch wrote: Hi Farrukh Thanks: that's a good suggestion, but I need to get it into JSON before it leaves the server, so that technique won't work for me. Liz On 15 Jul 2011, at 15:55, Farrukh

Re: ERRest - problem outputting xml as JSON object

2011-07-15 Thread Farrukh Ijaz
? Liz Farrukh On 2011-07-15, at 7:24 PM, Elizabeth Lynch wrote: Hi Farrukh Thanks: that's a good suggestion, but I need to get it into JSON before it leaves the server, so that technique won't work for me. Liz On 15 Jul 2011, at 15:55, Farrukh Ijaz wrote: Hi Liz, That's

Fwd: ERXResponseRewriter.addStylesheetResourceInHead(...)

2011-07-14 Thread Farrukh Ijaz
Re-sent to grab attention :), may be some of you could have a solution! Thanks, Farrukh Begin forwarded message: From: Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com Date: July 13, 2011 6:47:15 AM GMT+03:00 To: WebObjects Development webobjects-dev@lists.apple.com Subject

Re: ERXResponseRewriter.addStylesheetResourceInHead(...)

2011-07-14 Thread Farrukh Ijaz
). - probably other things ... look at what ERXResponseRewriter is doing when you simply call ERXResponseRewriter.addStylesheetResourceInHead Le 2011-07-14 à 05:48, Farrukh Ijaz a écrit : Re-sent to grab attention :), may be some of you could have a solution! Thanks, Farrukh Begin

ERXResponseRewriter.addStylesheetResourceInHead(...)

2011-07-12 Thread Farrukh Ijaz
Hi Guys, I've an issue. In the ERXResponseRewriter is a method called addStylesheetResourceInHead(...). This method adds the stylesheet right before the /head tag. According to CSS style inheritance, I should load the CSS in proper sequence. The CSS I'm adding is the base CSS but because it's

Re: state of apns?

2011-06-30 Thread Farrukh Ijaz
-with-dependencies.jar and yes, I use ant to build to install, but it's been a while since I've added a jar from external sources. could this be a JVM issue with the jar somehow? On Jun 30, 2011, at 1:53 AM, Farrukh Ijaz wrote: So in short, what I understand is: 1. You are able to send

Re: state of apns?

2011-06-30 Thread Farrukh Ijaz
, 2011, at 10:26 AM, webobjects-dev-requ...@lists.apple.com wrote: Date: Thu, 30 Jun 2011 08:48:33 -0400 From: Jesse Tayler jtay...@oeinc.com Subject: Re: state of apns? To: Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com Cc: WebObjects Development webobjects-dev@lists.apple.com Message-ID

Re: state of apns?

2011-06-29 Thread Farrukh Ijaz
This may help you. I guess you are not removing the spaces in your device token. - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken { NSString *dt = [[deviceToken description]

Re: How to create plist from ERXGenericRecord ?

2011-06-25 Thread Farrukh Ijaz
Hi Fred, Use: NSPropertyListSerialization.stringFromPropertyList(yourObject); yourObject can be NSArray, NSDictionary or any object that implements NSKeyValueCoding interface I believe. This works for me without any problems. Farrukh On 2011-06-25, at 3:06 PM, Fred Opims wrote: Hi! I have

Re: Hashcode/ETag for EOs

2011-05-29 Thread Farrukh Ijaz
Hi Pascal, On 2011-05-29, at 9:20 PM, Pascal Robert wrote: I did : ERXRouteResults results = (ERXRouteResults)response(someEntity, filter); String etagHash = ERXCrypto.sha256Encode(results.responseNode().toString(results.format(), this.restContext())); IMO, this is an expensive

Re: Consuming REST services

2011-05-18 Thread Farrukh Ijaz
Hi, I wish I could use ERXKeyFilter.filterWithAllRecursive() but it takes forever for some entities. I guess it's because of 2 way relationship causes the call to get into an infinite loop? I am quite satisfied with the ERRest framework. We are using it heavily for iPhone / iPad apps. The

Re: responseForComponentWithName() and session

2011-04-11 Thread Farrukh Ijaz
I don't remember exactly but Paolo I think you need to configure your application not to create sessions when you access a component. You may be able to find some article on sessionless login for a clue. Or you may need to pass appropriate params in your method call instead of null null null...

Questions about Deduplication

2011-04-03 Thread Farrukh Ijaz
Hi Guys, In Wonder's documentation there is a method called setDeduplicationEnabled() for ERXKeyFilter. I've the latest code from trunk but couldn't find this method. Can someone help me locate that? or is there any alternative way to implement the similar behaviour? The problem I'm facing is

Re: Another dumb ERRest question

2011-03-29 Thread Farrukh Ijaz
Hi Andrew, I think you shouldn't return a filtered response when you're deleting the object. Your response should indicate your operation was successful or not based on the editingContext().saveChanges() out come. response(entity, showFilter()) should be used for GET (fetch / select) and

Re: java.lang.OutOfMemoryError

2011-03-14 Thread Farrukh Ijaz
Hi, Try using this: -Xms256m -Xms1024m -XX:MaxPermSize=256m This works very well if you don't have a memory leak in your code. Farrukh Theodore Petrosky tedp...@yahoo.com wrote: Thanks honey, I love you too.. :-) I found that and a wonderful video explaining how to set the -Xms and -Xmx

Re: Reverse Engineer?

2011-03-08 Thread Farrukh Ijaz
Shouldn't the mysql jar be placed in Java/ext folder? Farrukh Pascal Robert prob...@macti.ca wrote: Bundle-less project without having WO 5.4 and a recent Wonder version? If JavaFoundation is in the classpath, that problem look like the one we had when the bundle-less option was enabled but

Re: Disable Back button in IE and Safari Browser

2011-02-24 Thread Farrukh Ijaz
Hi Pavan, What John has suggested is what you need to enable the client side cache so your javascript code could work. Using the window.history.go() and window.history.forward() will bring you back to the same page. However, I personally think it's not a good practice to implement such

Re: Quick survey: who's deploying on VMWare?

2011-02-24 Thread Farrukh Ijaz
On 2011-02-24, at 6:57 PM, Pascal Robert wrote: Quick survey: who is deploying on VMWare (ESX or otherwise)? Maybe we could make a pre-configured VM with CentOS and everything (wotaskd, Monitor, Apache, etc.) needed for WO in a VMWare template? I configured one for development using

Re: java.lang.NoClassDefFoundError

2011-01-24 Thread Farrukh Ijaz
Hi Dave,Is your framework is checked under Order and Export tab of the Java Build Path? May be that would be the reason for this NoClassDefFoundError.FarrukhOn 2011-01-25, at 9:00 AM, David Avendasora wrote:Hi all,I've been refactoring/modernizing a rather large app that has had the model as part

Re: java.lang.NoClassDefFoundError

2011-01-24 Thread Farrukh Ijaz
think that makes any difference when you are running in Eclipse. But maybe I'm wrong... Dave On Jan 25, 2011, at 1:08 AM, Farrukh Ijaz wrote: Hi Dave, Is your framework is checked under Order and Export tab of the Java Build Path? May be that would be the reason

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Farrukh Ijaz
for you tabbed panel. What does this mean? Thanks, Ted --- On Sun, 1/16/11, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: From: Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com Subject: Re: AjaxTabbedPanel ??? V2 To: Theodore Petrosky tedp...@yahoo.com Cc

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Farrukh Ijaz
/webObject /webObject /div br / wo:AjaxSubmitButton action = $save value = Save /wo:AjaxSubmitButton action = $cancelEdits value = Cancel / /wo:WOForm --- On Sun, 1/16/11, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: From: Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com

Re: Hudson and frameworks reference

2011-01-15 Thread Farrukh Ijaz
It's overly advertised extended behaviour of ant to resolve dependencies. Farrukh On 2011-01-15, at 5:27 PM, Ramsey Lee Gurley wrote: On Jan 15, 2011, at 6:49 AM, Lachlan Deck wrote: On 15/01/2011, at 2:12 PM, Mike Schrag wrote: I'm all for Q's approach, too. For me, Ivy is the part of

Re: DirectAction pages with Ajax calls inside

2011-01-14 Thread Farrukh Ijaz
+1 Nice website. Farrukh On 2011-01-15, at 12:17 AM, Amedeo Mantica wrote: Hello all, Sometime ago I was on the hotnews page of apple website http://www.apple.com/hotnews/ and I noticed that if you click on the page selection numbers a javascript actually change tha page but is

Re: WO 5.2 / 5.3 run app standalone.

2011-01-13 Thread Farrukh Ijaz
Hi, This is known as Evil Direct Connect. Following link is very helpful: http://wiki.objectstyle.org/confluence/display/WO/Development+Tools-Running+Through+Apache What Cheong said should fix the problem. Farrukh On 2011-01-13, at 11:30 AM, Frédéric JECKER wrote: Hi all, Using

Re: OGNL binding failing for WOImageButton

2011-01-12 Thread Farrukh Ijaz
You need to specify action. You can't set it as null although it doesn't complain at compile time. That's breaking your component I guess. Farrukh On 2011-01-13, at 7:49 AM, Tarun Reddy wrote: Last thing.. I created a new Wonder Application and successfully reproduced the problem. My

  1   2   3   >