Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8433515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:24:25+00:00 2026-06-10T06:24:25+00:00

I would like to add a functionality that shows a pdf on a certain

  • 0

I would like to add a functionality that shows a pdf on a certain page. I have the pdf as a File in my code. So I cannot get it from my webserver.

I also have the pagenumber.
I’ve seen that the adobe plugin accepts #page=1 but I don’t know how to use this in a web based application.

I also found some tutorials wich display it in an Iframe. But these use :

      org.apache.wicket.markup.html.DynamicWebResource

And this doesn’t exist anymore.

I found it’s replaced by

      org.apache.wicket.request.resource.ByteArrayResource

Are there any tutorials/tips on how to do this (Wicket 1.5 or higher)?.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:24:27+00:00Added an answer on June 10, 2026 at 6:24 am

    When you modify the data from you’re object tag pass a pagenumber. This passes the page to the adobe plugin and automatically sets the page. (I have only tested this in chrome 21 and IE9)

        <object wicket:id="myFile" data="" border="1" width="100%" height="600px"></object>
    
        WebMarkupContainer wmc = new WebMarkupContainer("myFile");
        wmc.add(new AttributeModifier("data", (String) urlFor(rr, null)+"#page="+ pageNmbr));
        add(wmc);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to add to class D some common functionality that composed of
I would like to add functionality to a ruleset that fires a distinct rule
I would like to add cpuid functionality to my C# app. I found this
I would like to add excel spreadsheet functionality to the WPF toolkit datagrid, can
I have own project and i would like add for this class same as
I have a ListView and each item have a TextView. I would like add
I'm trying to add some functionality from a plugin I have made into a
I need to have functionality that would essentially emulate user creating a port forwrding
I would like to add SAVE/OPEN functionality to a little Excel program I wrote.
I would like to add a GestureDetector to all views (view groups) of an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.