Hello,

my markup:

<fieldset>
                                        <legend>List of Files</legend>
                                        <table border="1">
                                                <tr>
                                                        <td>Date Uploaded</td>
                                                        <td>Name</td>
                                                </tr>
                                                <div 
wicket:id="resultcontainer">
                                                        <tr wicket:id="files">
                                                                <td></td>
                                                                <td></td>
                                                        </tr>
                                                </div>
                                        </table>
                                </fieldset>

...ajax response:

first result:

<?xml version="1.0" encoding="UTF-8"?><ajax-response><component
id="resultcontainer4" ><![CDATA[<div id="resultcontainer4">
<tr>
<td>9/6/09 12:05 AM</td>
<td>The_tree_is_on_fire.jpg</td>
</tr>
</div>]]></component></ajax-response>

next time i hit the button:

<?xml version="1.0" encoding="UTF-8"?><ajax-response><component
id="resultcontainer4" ><![CDATA[<div id="resultcontainer4">
<tr>
<td>9/6/09 12:59 AM</td>
<td>Death_Valley_IMG_1936.jpg</td>
</tr>
</div>]]></component></ajax-response>

...seems right...but in display in firefox:

http://www.nabble.com/file/p25326096/Screenshot-Mozilla%2BFirefox.png 

thanks a lot.
cheers.


michael mosmann wrote:
> 
> Hmm,..
> 
> can you post your markup? this code does work with my own markup..
> 
> did you use <div wicket:id="resultcontainer"> or did you use
> <wicket:container wicket:id="resultcontainer"> .. do you see something
> in wicket-ajax-debug panel? any error-message? any ajax-response?
> 
>> ...and im pretty sure that i already some code in previous version of
>> wicket
>> and it work..but i dont know what im missing right now. maybe worst case
>> i
>> will do is to go back to old version of wicket but i want the latest
>> version.
> 
> if this does not work with wicket 1.4.1, then it does not work with any
> wicket version.. 
> 
> mm:)
> 
> -- 
> Michael Mosmann - http://www.wicket-praxis.de/blog 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Update-ListView-using-ajax-tp25310457p25326096.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to