Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-19 Thread itayh
. Any Idea? >> >> > > -- > Erik van Oosten > http://www.day-to-day-stuff.blogspot.com/ > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-17 Thread Erik van Oosten
Please check your setup then. I understand you are using sitemesh. Maybe this interferes. Erik. itayh wrote: In this case the url will contain the parameters. But since I mount it without the parameters what I get is empty page. I am not sure why I am getting the empty page when I concat th

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-16 Thread itayh
>> Itay >> >> >> > > > -- > Erik van Oosten > http://www.day-to-day-stuff.blogspot.com/ > > > ------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional co

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-16 Thread Erik van Oosten
I don't understand. Reading the javadoc InlineFrame should set the src attribute. If that is not the case, try setting the src attribute with something like: myFrame.add(new AttributeModifier("src", new Model(urlFor(MyFrame.class, pageParameters; Regards, Erik. itayh wrote: Hi Eri

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-16 Thread itayh
so for the url mounting: >> mount(new HybridUrlCodingStrategy(/iframe/MyFrame, MyFrame.class)); >> >> In all cases the params inside the constructor of MyFrame class has no >> values in them (size = 0) >> >> Thanks, >> Itay >> >> > > > -- > Erik van Oosten > htt

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-15 Thread Erik van Oosten
That combination is wrong. If you use the IndexedHybridUrlCodingStrategy the first parameter is called "0". Secondly the AttributeModifier probably overwrites the generated src attribute. This should work (not tested): PageParameters params = new PageParameters(); params.put("0", myUrl);

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-15 Thread itayh
) ... >>> >>> The param is runtime value and I can not know it when creating my app. >>> >>> > > > -- > Erik van Oosten > http://www.day-to-day-stuff.blogspot.com/ > > > -

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-15 Thread Erik van Oosten
Itayh, What you do seems alright. Please show us complete code fragments. Both the part where you create the InlineFrame component, and the constructor of the MyFrame class. Regards, Erik. itayh schreef: Any Idea? itayh wrote: Thx for the quick response. I cahnged the url mount in

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-15 Thread itayh
; >>> The thing is that in MyFrame class the PageParameters are empty. >>> I am not sure how to use >>> HybridUrlCodingStrategy.PAGE_PARAMETERS_META_DATA_KEY and where, or >>> maybe I >>>

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-09-26 Thread itayh
MyFrame.class)); >> >> The thing is that in MyFrame class the PageParameters are empty. >> I am not sure how to use >> HybridUrlCodingStrategy.PAGE_PARAMETERS_META_DATA_KEY and where, or maybe >> I >> don't need to set src directly and there is anoth

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-09-25 Thread Erik van Oosten
You should use one of the other HybridUrlCoding strategies. E.g. the IndexedHybridUrlCodingStrategy. If you need an MixedParamHybridUrlCodingStrategy, I can mail it to the list. Regards, Erik. itayh wrote: Hi, I am using HybridUrlCodingStrategy for my url's (I need that the mount point wi

Empty PageParametyers when using HybridUrlCodingStrategy

2008-09-25 Thread itayh
Anyone? Thanks -- View this message in context: http://www.nabble.com/Empty-PageParametyers-when-using-HybridUrlCodingStrategy-tp19666330p19666330.html Sent from the Wicket - User mailing list archive at Nabble.com. - To un