hi,
i want to display an xml string like with a ResourceLink
but i want this xml string to be uploaded from the database when i click on
the link.
before wicket 6.9.1 i used the DocumentInlineFrame from Ernesto Reinaldo
Barreiro and it works fine in a popup with a button ...
but with 6.9.1, i cant
What's the problem you are facing?
On Tue, Feb 18, 2014 at 12:30 PM, BenHoit benoit.lanoise...@orange.comwrote:
hi,
i want to display an xml string like with a ResourceLink
but i want this xml string to be uploaded from the database when i click on
the link.
before wicket 6.9.1 i used the
in wicket 1.4, i used an IndicatingAjaxLink and in onClick method, i asked my
database, get a String, transform it in a byte[] and used
DocumentInlineFrame with an XmlResource class extended DynamicWebResource
import org.apache.wicket.markup.html.DynamicWebResource;
public class MyXmlResource
Hi,
Try this
https://github.com/reiern70/antilia-bits/tree/master/content-iframe
On Tue, Feb 18, 2014 at 1:04 PM, BenHoit benoit.lanoise...@orange.comwrote:
in wicket 1.4, i used an IndicatingAjaxLink and in onClick method, i asked
my
database, get a String, transform it in a byte[]
i have tried it but i don't know how to replace the new
PackageResourceStream(HomePage.class, ScalaOverview.pdf)
i haven't a resourceStream but a string (or a byte[])
--
View this message in context:
On Tue 18.02.2014 04:15, BenHoit wrote:
i have tried it but i don't know how to replace the new
PackageResourceStream(HomePage.class, ScalaOverview.pdf)
i haven't a resourceStream but a string (or a byte[])
Try this:
private final IResource resource;
/**
* Constructor.
*
* @param id ID
so strange ...
i put log in getString method (and in onResourceRequested of the
DocumentInlineFrame).
they are never called and my panel is filled with random xml.
i also log the database request and the response (before calling new
OdyReqTargetPanel) : they are correct
public class
Do you want me to create an example and upload it to the repository? What
shout be the content? Any XML file/content?
On Tue, Feb 18, 2014 at 1:58 PM, BenHoit benoit.lanoise...@orange.comwrote:
so strange ...
i put log in getString method (and in onResourceRequested of the
in fact not never called but sometimes called !!
my button is in a DataView (there is one button per line). i also have a
PagingNavigator
if i change the page in the paging navigator, getString and
onResourceRequested are sometimes called on the first click. but never
after.
--
View this message
That smell to client caching the resourse: try to add some random noise to
the URL
On Tue, Feb 18, 2014 at 2:06 PM, BenHoit benoit.lanoise...@orange.comwrote:
in fact not never called but sometimes called !!
my button is in a DataView (there is one button per line). i also have a
On Tue 18.02.2014 05:06, BenHoit wrote:
in fact not never called but sometimes called !! my button
is in a DataView (there is one button per line). i also
have a PagingNavigator if i change the page in the paging
navigator, getString and onResourceRequested are sometimes
called on the first
i think you are right because when i clean my browser cache between each
click, it works every time !
but, sorry, i don't know how to Append some random noise to the URL (src
attribute) in onComponentTag(ComponentTag tag)
--
View this message in context:
On Tue 18.02.2014 05:33, BenHoit wrote:
i think you are right because when i clean my browser cache
between each click, it works every time !
but, sorry, i don't know how to Append some random noise to
the URL (src attribute) in onComponentTag(ComponentTag tag)
See
13 matches
Mail list logo