Re: restfb json object

2012-06-05 Thread Dror
reply... thanks On Tue, Jun 5, 2012 at 11:05 AM, Dror [via Apache Wicket] ml-node+s1842946n4649734...@n4.nabble.com wrote: Hi, i'm a fresh developer, i run into a problem while fetching jsonobjects from the facebook using restfb API: JsonObject facebookUser = facebookClient.fetchObject

restfb json object

2012-06-05 Thread Dror
Hi, i'm a fresh developer, i run into a problem while fetching jsonobjects from the facebook using restfb API: JsonObject facebookUser = facebookClient.fetchObject(1674441058, JsonObject.class) there should be a field named type that old information about the object type, in this case type =

about IBehavior#beforeRender

2009-01-24 Thread Ittay Dror
Hi, In Component#render, the call to #notifyBehaviorsComponentBeforeRender is done after #markRendering is called. This means a behavior cannot add components to the component. Can the call be moved to before #markRendering is called? Thanks, Ittay -- -- Ittay

Re: about IBehavior#beforeRender

2009-01-24 Thread Ittay Dror
this? ittay -igor On 1/24/09, Ittay Dror ittay.d...@gmail.com wrote: Hi, In Component#render, the call to #notifyBehaviorsComponentBeforeRender is done after #markRendering is called. This means a behavior cannot add components to the component. Can the call be moved to before #markRendering

InlineFrame: IPageLink object looses reference to page after deserialiations

2009-01-25 Thread Ittay Dror
Hi, I'm trying to use the InlineFrame component. I create an IPageLink object to it. The object holds a reference to a page. By placing breakpoints, I can see that the IPageLink object is created once. InlineFrame#onLinkClicked is called twice. On the first time, the page reference is

Re: InlineFrame: IPageLink object looses reference to page after deserialiations

2009-01-26 Thread Ittay Dror
After some debugging, the reason is that Page#writeReplace replaces the page with a PageHolder regardless of whether the page is marked as non-stateless (I call setStatelessHint(false) in the ctor). Isn't this a bug? Ittay Ittay Dror wrote: Hi, I'm trying to use the InlineFrame

page services

2009-01-26 Thread Ittay Dror
Hi, What is the proper way to model a registry of services per page instance? What I mean is for a component to be able to locate a service that is registered with the current page and that affects the GUI. An example of such a service exists today: the feedback panel.

Re: Embedding html from an external application

2009-01-26 Thread Ittay Dror
mfs wrote: Eric, Thanks for the follow-up. Actually i just came across the http://wicket.sourceforge.net/apidocs/wicket/markup/html/include/Include.html Include component in Wicket which i believe does the same as you suggested to implement...i.e. opens up a new http-connection

Re: generate javascript file together with html page

2008-10-27 Thread Ittay Dror
it creates the javascript file by using the same hierarchy of components. Ittay regards, Michael Ittay Dror wrote: Hi, I'd like to create a page with lots of javascript code. For reasons of maintenance, I'd like the Page object to generate the html with reference to a javascript

Re: generate javascript file together with html page

2008-10-27 Thread Ittay Dror
Erik van Oosten wrote: Sound like what you need is a DynamicWebResource. yes, sound like this can do it. but can i start a rendering cycle here so that i get the bytes required at the end? Regards, Erik. Ittay Dror wrote: Michael Sparer wrote: take a look

Re: generate javascript file together with html page

2008-10-27 Thread Ittay Dror
/wicket:link /head body /body /html Martijn On Mon, Oct 27, 2008 at 4:03 PM, Ittay Dror [EMAIL PROTECTED] wrote: Michael Sparer wrote: take a look at headercontributors e.g. http://chillenious.wordpress.com/2006/05/03/wicket-header-contributions-with-behaviors/ This will only

custom resolving of relative paths in head section of panel

2009-10-07 Thread Ittay Dror
Hi, Is there a way in which I can convert javascript/css relative references in a wicket:head of a panel and add a prefix to them? Regards, Ittay - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: custom resolving of relative paths in head section of panel

2009-10-07 Thread Ittay Dror
/script Ittay Ernesto Reinaldo Barreiro wrote: Not quite following you... What do you mean? Something like: a.myClass { background: url('${myURL}'); } and get ${myURL} replaced? Best, Ernesto On Wed, Oct 7, 2009 at 12:55 PM, Ittay Dror itt...@tikalk.com wrote: Hi, Is there a way in which

Re: custom resolving of relative paths in head section of panel

2009-10-07 Thread Ittay Dror
(CSSPackageResource.getHeaderContribution(CSS )); } } Similar for JavaScript with JavascriptPackageResource instead of CSSPackageResource Best, Ernesto On Wed, Oct 7, 2009 at 1:21 PM, Ittay Dror itt...@tikalk.com wrote: In the panel's html i have something like: script type=text/javascript src=./js/application.js

Re: custom resolving of relative paths in head section of panel

2009-10-07 Thread Ittay Dror
instead of CSSPackageResource Best, Ernesto On Wed, Oct 7, 2009 at 1:21 PM, Ittay Dror itt...@tikalk.com wrote: In the panel's html i have something like: script type=text/javascript src=./js/application.js/script This works well when the html is viewed as standalone

Re: InlineFrame: IPageLink object looses reference to page after deserialiations

2009-03-30 Thread Ittay Dror
Ittay Dror wrote: Hi, I'm trying to use the InlineFrame component. I create an IPageLink object to it. The object holds a reference to a page. By placing breakpoints, I can see that the IPageLink object is created once. InlineFrame#onLinkClicked is called twice. On the first