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

  • Home
  • SEARCH
  • 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 6110709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:32:47+00:00 2026-05-23T14:32:47+00:00

I am sure I am overlooking something very basic here, but I just don’t

  • 0

I am sure I am overlooking something very basic here, but I just don’t get how to create an ExternalLink inside a WebMarkupContainer from the model of the WebMarkupContainer.

    container = new WebMarkupContainer("view");
    container.setOutputMarkupId(true);
    container.setDefaultModel(new CompoundPropertyModel<Article>(new Article()));
    container.add(new Label("title"));
    container.add(new MultiLineLabel("article"));       
    container.add(new ExternalLink("originalUrl",???)));

I’d appreciate hints how to create this url. I am sure there must be a way to obtain a reference to the model of the container, I just don’t get it 🙁 Why doesn’t it just work the same way as Label?

  • 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-05-23T14:32:48+00:00Added an answer on May 23, 2026 at 2:32 pm

    Can’t check it right now but if you’re using a CompoundPropertyModel on your container, container.add(new ExternalLink("originalUrl"))); should work. If not, try using container.add(new ExternalLink("originalUrl", model.bind("originalUrl")));.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm sure I'm overlooking something very simple, but I've tried multiple times and still
I'm hitting a wall with this error. I'm sure I'm overlooking something basic, just
I'm pretty sure I'm overlooking something totally obvious, but I want to view the
Homepage About page: /about.html CSS: /saucy.css I'm sure I'm overlooking something obvious, but I
Just want to make sure I'm not overlooking something obvious... It seems like it
I feel sort of lost and overlooking something, but i am not sure how
All, I'm sure I'm overlooking something, but I've been staring at this code for
Still 'diving in' to Python, and want to make sure I'm not overlooking something.
Not sure what exactly is going on here, but seems like in .NET 1.1
I'm perhaps overlooking something, but I'm attempting to wrestle protocol buffers into an easy

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.