Hi Alexei,

On Tue, Oct 9, 2012 at 12:55 PM, Alexei Fedotov
<[email protected]> wrote:
> Hello Sir,
>
> Imagine our Apache Openmeetings (Incubating) application runs using
> Apache Wicket framework. Then we want to customize a client side of
> the application by completely replacing it with a different
> application (it is written in flash). Are there any canonical way to
> do so?
>
> * How many different protocols wicket application uses (rpc calls,
> AJAX requests, anything else)?

HTTP.
You can make requests to:
- pages (non-Ajax)
- components in pages (Ajax and non-Ajax)
- behaviors (Ajax and non-Ajax)
- resources (see org.apache.wicket.request.resource.IResource, Ajax
and non-Ajax)

> * How can I get client-server API from wicket application? Is there
> any way to generate a list of remote server calls (via some javadoc
> parameters)?

See the different #urlFor() methods in RequestCycle and Component classes APIs
These methods can be used to get the URLs to request pages, component,
behaviors and resources

> * Is there any wicket source subset which can be used as client SDK to
> send server requests using wicket protocols, or just to study how
> client-server communication is done?

wicket-ajax-jquery.js (Wicket 6.+) and wicket-ajax.js (Wicket 1.5)
provide Ajax APIs
See the methods in Wicket.Ajax.** namespace.

> * Could you please help with any useful reading pointers?

I'm not sure there is specific documentation for this.
All you need is #urlFor() to get the callback urls.

> * Imagine wicket filter embedded some database object into HTML (e.g.
> a list of users). How can I get that contents (the user list) from
> client side? Would wicket server part operate correctly if that
> web.xml filter is disabled?

In what format is this object (the user list) ?
Since it is something that your application adds then it is your
responsibility to make your app to work with or without it.

>
> The reason why I ask is the following. Open source users don't like
> applications which think for themselves. They come with intention to
> add their code and modifications, sometimes the code is already in
> place.
>
>
> --
> With best regards / с наилучшими пожеланиями,
> Alexei Fedotov / Алексей Федотов,
> http://dataved.ru/
> +7 916 562 8095
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to