hi,Leo
thanks for your example!

i wonder what is best way to get response from server, if i use servlet i can 
return ,
for example <table>..</table> back to client.

but if i use some web framework is possible to render back only part of html 
code?

i think cannot put complete html code : <html>...</html> inside a <div> tag, am 
i right?




oliver.lee
2008-06-05



发件人: Leo Barrientos C.
发送时间: 2008-06-05 21:41:24
收件人: [email protected]
抄送: 
主题: Re: [appfuse-user] Is possible to separate appfuse's menu and contentpage 
with frame?

Use prototype and make the call using ajax=true in the url

Like this:

<div id="content_div" >
    ACTUAL CONTENT
</div >

<script language="javascript" >

|new Ajax.Updater('content_div', 'my_pager.html?ajax=true');|

</script >

Ref.: http://www.prototypejs.org/api/ajax



Matt Raible schrieb:
> You could probably use Ajax to do this. Unfortunately, I don't have an
> example for you.
>
> Matt
>
> On Thu, Jun 5, 2008 at 12:11 AM, oliver.appfuse
>  <[EMAIL PROTECTED] > wrote:
>   
> > hi,all
> >
> > my goal is to refresh the content page only, when select a different menu
> > options.
> > normally this is done by using html frames,but i heard the sitemesh doesnt
> > support the frames
> > any way to achieve this?
> > ________________________________
> > oliver.appfuse
> > 2008-06-05
> >     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   


-- 
Leo Barrientos C.
Director de Operaciones Madrid.

Open Sistemas de Información Internet
Fono: +34 902 10 73 96
Correo: [EMAIL PROTECTED]
Web: http://www.opensistemas.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to