did you do rss.setOutputMarkupId(true)

It doesn't show in your example code.

Martijn


On 5/27/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
Everything works as i wanted it but for proper ajax update

I have attached the RSSPanel.java and RSSPanel.html

This is how it is used:

 RSSPanel rss = new RSSPanel("rssPanel",new URL("
http://www.javalobby.org/forumRSS/17.xml";));
 rss.setAutoUpdate (true);
 add(rss);


This is the AJAX Debug:

  INFO: received ajax response. 7199 characters, envelope following...
 INFO:
 INFO: <?xml version="1.0"
encoding="UTF-8"?><ajax-response><component
id="rssPanel_rssContainer_rssListing" ><![CDATA[<li
wicket:id="rssListing"
id="rssPanel_rssContainer_rssListing_0">
                <a
href="http://www.javalobby.org/java/forums/t72975.html";
wicket:id="rssItem" onmouseover="var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:0:rssItem::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });">Secure FTP Factory 5.7 - Java
FTP/SFTP/FTPS/SCP library</a><br>
                <hr align="left" width="100" style="border-top-width:
thin;border-top-style: solid; border-top-color: #CCCCCC;" />
                <div wicket:id="rssDescription" style="visibility: hidden;"
id="rssPanel_rssContainer_rssListing_0_rssDescription"></div>
            </li><li wicket:id="rssListing"
id="rssPanel_rssContainer_rssListing_1">
                <a
href="http://www.javalobby.org/java/forums/t72972.html";
wicket:id="rssItem" onmouseover="var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:1:rssItem::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });">PgsLookAndFeel 1.0</a><br>
                <hr align="left" width="100" style="border-top-width:
thin;border-top-style: solid; border-top-color: #CCCCCC;" />
                <div wicket:id="rssDescription" style="visibility: hidden;"
id="rssPanel_rssContainer_rssListing_1_rssDescription"></div>
            </li><li wicket:id="rssListing"
id="rssPanel_rssContainer_rssListing_2">
                <a
href="http://www.javalobby.org/java/forums/t72969.html "
wicket:id="rssItem" onmouseover="var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:2:rssItem::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });">Java News Ticker Applet released</a><br>
                <hr align="left" width="100" style="border-top-width:
thin;border-top-style: solid; border-top-color: #CCCCCC;" />
                <div wicket:id="rssDescription" style="visibility: hidden;"
id="rssPanel_rssContainer_rssListing_2_rssDescription"></div>
            </li><li wicket:id="rssListing"
id="rssPanel_rssContainer_rssListing_3">
                <a
href="http://www.javalobby.org/java/forums/t72936.html "
wicket:id="rssItem" onmouseover="var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:3:rssItem::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });">BuildDesk 1.0 - IDE for build engineer -
is released!</a><br>
                <hr align="left" width="100" style="border-top-width:
thin;border-top-style: solid; border-top-color: #CCCCCC;" />
                <div wicket:id="rssDescription" style="visibility: hidden;"
id="rssPanel_rssContainer_rssListing_3_rssDescription"></div>
            </li><li wicket:id="rssListing"
id="rssPanel_rssContainer_rssListing_4">
                <a
href="http://www.javalobby.org/java/forums/t72873.html";
wicket:id="rssItem" onmouseover="var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:4:rssItem::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });">DbWrench Database Design  v1.3.3</a><br>
                <hr align="left" width="100" style="border-top-width:
thin;border-top-style: solid; border-top-color: #CCCCCC;" />
                <div wicket:id="rssDescription" style="visibility: hidden;"
id="rssPanel_rssContainer_rssListing_4_rssDescription"></div>
            </li><li wicket:id="rssListing"
id="rssPanel_rssContainer_rssListing_5">
                <a
href="http://www.javalobby.org/java/forums/t72871.html "
wicket:id="rssItem" onmouseover="var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:5:rssItem::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });">Pulse Continuous Integration Server
1.0.4</a><br>
                <hr align="left" width="100" style="border-top-width:
thin;border-top-style: solid; border-top-color: #CCCCCC;" />
                <div wicket:id="rssDescription" style="visibility: hidden;"
id="rssPanel_rssContainer_rssListing_5_rssDescription"></div>
            </li><li wicket:id="rssListing"
id="rssPanel_rssContainer_rssListing_6">
                <a
href="http://www.javalobby.org/java/forums/t72867.html "
wicket:id="rssItem" onmouseover="var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:6:rssItem::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });">JvPrinter</a><br>
                <hr align="left" width="100" style="border-top-width:
thin;border-top-style: solid; border-top-color: #CCCCCC;" />
                <div wicket:id="rssDescription" style="visibility: hidden;"
id="rssPanel_rssContainer_rssListing_6_rssDescription"></div>
            </li><li wicket:id="rssListing"
id="rssPanel_rssContainer_rssListing_7">
                <a
href="http://www.javalobby.org/java/forums/t72810.html "
wicket:id="rssItem" onmouseover="var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:7:rssItem::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });">NATIVE JPeg, ~30% faster</a><br>
                <hr align="left" width="100" style="border-top-width:
thin;border-top-style: solid; border-top-color: #CCCCCC;" />
                <div wicket:id="rssDescription" style="visibility: hidden;"
id="rssPanel_rssContainer_rssListing_7_rssDescription"></div>
            </li><li wicket:id="rssListing"
id="rssPanel_rssContainer_rssListing_8">
                <a
href="http://www.javalobby.org/java/forums/t72734.html "
wicket:id="rssItem" onmouseover="var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:8:rssItem::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });">Wicket 1.2 final</a><br>
                <hr align="left" width="100" style="border-top-width:
thin;border-top-style: solid; border-top-color: #CCCCCC;" />
                <div wicket:id="rssDescription" style="visibility: hidden;"
id="rssPanel_rssContainer_rssListing_8_rssDescription"></div>
            </li><li wicket:id="rssListing"
id="rssPanel_rssContainer_rssListing_9">
                <a
href="http://www.javalobby.org/java/forums/t72731.html "
wicket:id="rssItem" onmouseover="var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:9:rssItem::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });">Thin Upload Applet (Enterprise
Edition)</a><br>
                <hr align="left" width="100" style="border-top-width:
thin;border-top-style: solid; border-top-color: #CCCCCC;" />
                <div wicket:id="rssDescription" style="visibility: hidden;"
id="rssPanel_rssContainer_rssListing_9_rssDescription"></div>

</li>]]></component><evaluate><![CDATA[setTimeout(function()
{ var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:-1:IUnversionedBehaviorListener&wicket:behaviorId=0',
function() { }, function() { }); },
10000);]]></evaluate></ajax-response>

ERROR: Component with id
[[rssPanel_rssContainer_rssListing]] a was not found while
trying to perform markup update. Make sure you called
component.setOutputMarkupId(true) on the component whose markup you are
trying to update.
ERROR: error while processing response: TypeError: element has no
properties.element has no properties
 INFO: invoking failure handler...

I called setOutputMarkup everywhere and yet no progress

Any help?






--
Download Wicket 1.2 now! Write Ajax applications without touching JavaScript!
-- http://wicketframework.org


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to