Dear Martin, I got back to your InlineFrame suggestion. I worked a bit on wicket the last days and found the posting on the DocumentInlineFrame by Ernesto Reinaldo Barreiro. I changed it for my purpose: http://pastebin.ca/2131961
Works great! Is there any reason why the Wicket InlineFrame class cannot refer to external pages? Thanks again Martin! Walter On 24/03/12 13:29, Walter Rugora wrote: > Thanks Martin, > > I gave it a go and it works great with static web-pages. Is there a way > that the external stylesheets are considered? > On another note I tried to use 'include' on dynamic pages as well. Works > for some but not for all of them. But I'm unsure what the reason with > this is. E.g. the following link creates heaps of trouble. > String url= > "http://xyzdomain:8080/myService/faces/formViewer.jsp?password=mxZeSdo8Vi4i3Oj316t9ywJZc9U=&userid=buyer&taskid=12.1:A_3" > Works fine when directly invoking with a browser, but not in Wicket: > add(new Include("include", url); > In fact the remote server complains about the missing user id. If I swap > the password-value pair with the user-value pair the remote server > complains about a missing password. > So, I'm wondering if the 'include' command actually cuts off everything > after the first key-value pair before sending the request?! > > Thanks, > Walter > > On 23/03/12 21:52, Martin Grigorov wrote: >> Check the examples at http://www.wicket-library.com/wicket-examples/compref/ >> There you can see them in action and there is a description what they do. >> >> On Fri, Mar 23, 2012 at 1:40 PM, Walter Rugora <[email protected]> wrote: >>> Thanks a lot Martin! Guess it is exactly what I need. Will try it later. >>> Would be great to have a reference about the practical usage of all >>> those wonderful wicket aspects. Hard to derive it from the class >>> description. >>> >>> Thanks again, >>> Walter >>> >>> On 23/03/12 21:08, Martin Grigorov wrote: >>>> Hi, >>>> >>>> Sorry for confusing you :-) >>>> Indeed org.apache.wicket.markup.html.link.InlineFrame is meant to load >>>> Wicket pages. >>>> But org.apache.wicket.markup.html.include.Include can load from external >>>> site. >>>> >>>> On Fri, Mar 23, 2012 at 12:57 PM, Walter Rugora <[email protected]> wrote: >>>>> Dear Martin, >>>>> >>>>> thanks a lot for your response. >>>>> >>>>> I understand how to refer to wicket related pages, but how would I do >>>>> this for an external web-page? I reckon this is a super basic question >>>>> ... here is a newbie on the other line ;) >>>>> >>>>> Thanks for your help, >>>>> Stephan >>>>> >>>>> On 23/03/12 19:00, Martin Grigorov wrote: >>>>>> Hi, >>>>>> >>>>>> The best way is to use iframe - see InlineFrame component. >>>>>> You can also try with Include component, but it is more appropriate >>>>>> for including fragments of html (i.e. without <html> / <body> >>>>>> elements) >>>>>> >>>>>> On Fri, Mar 23, 2012 at 8:31 AM, Walter Rugora <[email protected]> wrote: >>>>>>> Hi there, >>>>>>> >>>>>>> I was wondering if I can avoid HTML frames. In my wicket page I'd like >>>>>>> to have a section in which external web-page content is displayed. >>>>>>> >>>>>>> If that is possible, can someone please refer to an example? >>>>>>> >>>>>>> Thanks a lot!! >>>>>>> Walter >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> To unsubscribe, e-mail: [email protected] >>>>>>> For additional commands, e-mail: [email protected] >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
