That does not override the CSS file used by wicket-bootstrap. It just renders
an additional CSS reference in the head section. So it might happen that either
my custom or the original Style Sheet will be used depending on which one will
be rendered first.
Marvin Richter
-Original
Hi All,
Wicket uses mostly ResourceReferences to render and manage the URLs for
CSS and JavaScript files to be included in the output.
When we use libraries like JQuery UI, Bootstrap etc, it is often a
requirement to allow the user to provide his own customized resource
references.
Hi Jesse,
On Mon, Mar 24, 2014 at 11:11 AM, Jesse Long j...@unknown.za.net wrote:
Hi All,
Wicket uses mostly ResourceReferences to render and manage the URLs for
CSS and JavaScript files to be included in the output.
When we use libraries like JQuery UI, Bootstrap etc, it is often a
Hi Guys,
I experienced the same problem in 6.0 and above that has been solved in
6.0-SNAPSHOT.
My second problem is how to reach the uploaded image from another page than
it has been uploaded.
(I upload a pic into my content editor, save it and would like to display my
article at another page.
Hi,
You can use a JavaScript solution like
http://handsontable.com/index.htmlto show spreadsheet like tables.
I am not sure whether it supports multiple sheets.
I guess there are more such JS solutions out there.
Martin Grigorov
Wicket Training and Consulting
On Mon, Mar 24, 2014 at 2:56 PM,
Hello,
iam getting an byte array from the backend and I want to send this to the
browser with an outputstream. So the browser notice that he gets an excel sheet
and shows this. It should be the same if you open pdfs with the browser while
downloading this data.
Mit freundlichen Grüßen
then all you need is to set few response headers:
Content-Disposition: Inline
Content-type: (see http://stackoverflow.com/a/2938188/497381)
See org.apache.wicket.markup.html.link.DownloadLink#onClick for an example
how to do this
Martin Grigorov
Wicket Training and Consulting
On Mon, Mar 24,
The DownloadLink open the save as dialog but I want to show the data in a
browser embedded excel. Are there other Wicket-Components to implement this?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Yes, DownloadLink uses ContentDisposition.ATTACHMENT. You need #INLINE.
That's why I said to use it as an example.
Martin Grigorov
Wicket Training and Consulting
On Mon, Mar 24, 2014 at 3:39 PM, christoph.ma...@t-systems.com wrote:
The DownloadLink open the save as dialog but I want to show
If the browser doesn't know how to display an excel file inline, it
will still open a download window.
This has nothing to do really with Wicket - if you want the browser to
display an actual Excel .xls file, you need a browser plugin that can
do it.
What you can do, for example, is parse the
How can I change the ContentDisposition while using an DownloadLink?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.: +49 (0) 351 / 8152 - 188
fax:+49 (0)
You can't at the moment.
Martin Grigorov
Wicket Training and Consulting
On Mon, Mar 24, 2014 at 4:19 PM, christoph.ma...@t-systems.com wrote:
How can I change the ContentDisposition while using an DownloadLink?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems
Sorry for so much questions but it’s the first webapp I have to develop. How
can I change the ContentDisposition to show the data embedded in the browser?
Which Link or button should I use.
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems
There is no Link impl in Wicket distro that does all you need.
DownloadLink is the closest but it uses ContentDisposition#ATTACHMENT to
make a real download experience.
I think it is OK to add a way to change the content disposition for the
next version.
Until then you will have to use your own
Hi,
I like the idea too... Even, I am not sure to have understood the use-case
about the Session scope here, but I trust you :)
I've got one question...
Imagine you are supplying 2 libraries, plugin1 and plugin2 for instance
The libraries definitions would be
IPlugin1LibrarySettings extends
Is it possible to override the onclick-method of DownloadLink and change the
ContentDisposition to INLINE?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.:
Hi,
we use a ResourceLink with a ResourceReference wrapping an
AbstractResource, that generates an Excel via POI in a WriteCallback
implementation. The AbstractResource implementation can
#setContentType() and #setContentDisposition() on the attributes object
passed into #newResourceResponse().
I wrote a simple test program to understand how jQuery.noConflict() works
with Wicket 6. The program uses 2 different jQuery libraries (jQuery 1.11.0
by Wicket 6 and jQuery 1.4.4 by someone else), and can be explained in its
*.html file:
!DOCTYPE html
html xmlns:wicket=http://wicket.apache.org;
18 matches
Mail list logo