Sagewire Logo

Dojo and div

3 Message(s) by 2 Author(s) originally posted in webwork open symphony java


From: Igo Coelho Date:   Wednesday, January 03, 2007
Hi,

I've a problem... the function bind of dojo invoke the action but not
refresh the div.

<script type="text/JAVAscript">
function loadTabColaboradores(id) {
var viewDiv = window['tabColaborador'];
var urlAction = '<@xxxxxxxxxxx includeParams="none"
value="/pesquisa/colaboradorPesquisa/populaColaboradores.action"/>
';
viewDiv.href = urlAction + '?filtraPor=' + id +
'&pesquisa.id=${pesquisa.id}';
viewDiv.bind();
}
</script>

<@xxxxxxxxxxx id="tabColaborador" theme="ajax" >Carregando...</@xxxxxxxxxxx>

--
Igo Coelho
Desenvolvimento
Fortes Informática (Fortaleza)
+55 85 4005.1111; +55 85 8868.9744
igocoelho@xxxxxxxxxxx
www.fortesinformatica.com.br


From: Konstantin Priblouda Date:   Wednesday, January 03, 2007
wrote in message:

Hi,
I've a problem... the function bind of dojo invoke
the action but not
refresh the div.
<script type="text/JAVAscript">
function loadTabColaboradores(id) {
var viewDiv = window['tabColaborador'];
var urlAction = '<@xxxxxxxxxxx includeParams="none"


value="/pesquisa/colaboradorPesquisa/populaColaboradores.action"/>';
viewDiv.href = urlAction + '?filtraPor=' + id +
'&pesquisa.id=${pesquisa.id}';
viewDiv.bind();
}
</script>
<@xxxxxxxxxxx id="tabColaborador" theme="ajax"
>
Carregando...</@xxxxxxxxxxx>Well, it looks good, but is there any chance that you


are using sitemesh and also decorate result ov div
action? If yes, please abstain of doing it ;)

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x? XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

__________________________________________________
Do You Yahoo!?
Tired of spam ? Yahoo! Mail has the best spam protection around
http://mail .yahoo.com


From: Igo Coelho Date:   Thursday, January 04, 2007
Thanks, I did what you said.

Regards.

Konstantin Priblouda escreveu:
wrote in message:
Hi,

I've a problem... the function bind of dojo invoke
the action but not
refresh the div.

<script type="text/JAVAscript">
function loadTabColaboradores(id) {
var viewDiv = window['tabColaborador'];
var urlAction = '<@xxxxxxxxxxx includeParams="none"


value="/pesquisa/colaboradorPesquisa/populaColaboradores.action"/>
';
viewDiv.href = urlAction + '?filtraPor=' + id +
'&pesquisa.id=${pesquisa.id}';
viewDiv.bind();
}
</script>

<@xxxxxxxxxxx id="tabColaborador" theme="ajax"

Carregando...</@xxxxxxxxxxx>

Well, it looks good, but is there any chance that you
are using sitemesh and also decorate result ov div
action? If yes, please abstain of doing it ;)
regards,
----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x? XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx



--
Atenciosamente,

Igo Coelho
Desenvolvimento
Fortes Informática (Fortaleza)
(85) 4005.1111; 8868.9744
igocoelho@xxxxxxxxxxx
www.fortesinformatica.com.br



Next Message: Ajax encoding problem Linux


Blogs related to Dojo and div

Wicket - (another) Java Web Framework: My First Impressions
Wicket 2.0 (which you’ll have to build from Subversion) has some good contrib add-ons for scriptaculous, prototype, Dojo, hibernate, Spring, all the usual suspects. I just wrote an extension library for Wicket myself for a Flash video ...

Using jMaki in a Visual Web Application
If you want to play around some more, look at this blog on using the dojo ComboBox. It was written for the Sun Java Studio Creator IDE, but once you do the setup as above, the steps are pretty much the same.

[ANNOUNCE] MyFaces Tomahawk v1.1.5 Release
getAttributeMap fails for subclassed Dojo Components * [TOMAHAWK-932] - SelectBox example always fails the door validation * [TOMAHAWK-934] - Email validator allows whitespace * [TOMAHAWK-936] - TableSuggestAjax aborts page load in IE ...

dojoInitializer Split panel. js exceptions!
(It shows in the left bottom corner of IE window) Line 4972 Char:1 Error: 'button' is null or not an object Code:0 URL: http://localhost:8080/epm/epm-main.seam?cid=38 But when I exclude all tags, connected with dojo's spliter no ...

Java + AJAX in 18 lines
I have been investing a fair amount of time learning the Dojo Javascript library but I had an application where I only needed AJAX to handle HTML form input - I wanted a server side function to return HTML to be inserted below the form. ...

Building web 2.0 apps with jMaki
Now we need to add content to the div tags. In this application I will use the Dojo fisheye widget in the left side bar. Using the jMaki palette on the right drag and drop the fisheye widget to the page in the div tag for the left side ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional