that is what RequestCycle.request(component) does (and how the SimplePageTest works)

On 12/2/05, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
you should use requestcycle.setResponseTarget with ComponentRequestTarget

Eelco

On 12/2/05, Marco van de Haar <[EMAIL PROTECTED]> wrote:
> Is there any concrete (simple) code example for rerendering a part of a
> page? I tried myRequestCycle.request(myComponent), but all I got were
> huge errors in my console.
>
>
> Ari Suutari wrote:
>
> > Hi,
> >
> >> Project wicket-stuff contains already some AJAX components
> >> (scriptaculous and dojo based ones). Wicket core contain a AjaxHandler
> >> and we provide a yet experimental component level re-render
> >> (requestcycle.render(component). Though the latter one is no yet
> >> accessible through a URL (that piece of code is missing; we've only
> >> tested it with junit tests). So, yes some parts have been done, it is
> >> not ready yet, but I think we are on a good way and some features can
> >> be used already. Because it is in an dev stage, feedback is very much
> >> welcome.
> >
> >
> >    So, If I create my own component (that I'm going to re-render
> >    with ajax) and add an interface based on IRequestListener I
> >    could build an URL that calls my component via that interface
> >    and returns re-rendering of component using
> > requestcycle.render(this) ?
> >
> >    Or is there a better way ? I took a look how IOnChangeListener is
> >    implemented on DropDownChoice and it looks rather simple to
> >    implement such a thing (although DropDownChoice uses it
> >    for different purposes)
> >
> >        Ari S.
> >
> >>
> >> Juergen
> >>
> >> On 11/25/05, Ari Suutari < [EMAIL PROTECTED]> wrote:
> >>
> >>> Hi,
> >>>
> >>> We are developing applications, which have kind of a content 'push'
> >>> system,
> >>> ie. data arrives from factory automation and we visualize it on-line.
> >>> Our traditional approach to this has been to send the data to browser
> >>> (via applet and additional tcp socket) and use _javascript_ to render it.
> >>>
> >>> However, I'm a little bit tempted to adjust our architecture so that
> >>> we would only push a notification of change and then use ajax
> >>> to re-render part of page.
> >>>
> >>> Would it be possible with wicket ? Typically, the part that
> >>> would be re-rendered with ajax is just a text field or a table
> >>> (rendering whole page is too slow, since the data rate
> >>> can be quite fast; also flashes too much for slower cases).
> >>>
> >>> There was some discussion on mailing list that something like
> >>> this would be in 1.2 ?
> >>>
> >>>    Ari S.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> -------------------------------------------------------
> >>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
> >>> log files
> >>> for problems?  Stop!  Download the new AJAX search engine that makes
> >>> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> >>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> >>> _______________________________________________
> >>> Wicket-user mailing list
> >>> Wicket-user@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>>
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.net email is sponsored by: Splunk Inc. Do you grep through
> >> log files
> >> for problems?  Stop!  Download the new AJAX search engine that makes
> >> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> >> http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
> >> _______________________________________________
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >>
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to