Thank you this works...
Sorry i am stupid in java advance class usage,
but what abaout strange behaviour
@InjectPage
private Sign sign;
sign.setReturnPage("Failid");
sign.setSeisund("FAILID");
return linkSource.createPageRenderLink(Sign.class);
And if i use so then Sign.class is some as priavte Sign sign.
WHY ?
And why i cant use just
return linkSource.createPageRenderLink(sign);
[javac]
G:\digileping\arendus5_1_0_5\digileping\src\ee\softpro\pages\Failid.java:486:
cannot find symbol
[javac] symbol : method createPageRenderLink(ee.softpro.pages.Sign)
[javac] location: interface
org.apache.tapestry5.services.PageRenderLinkSource
[javac] return linkSource.createPageRenderLink(sign);
i got error.
Argo
2011/1/11 Josh Canfield <[email protected]>
> There isn't much information in your request so I'm not going to write
> a book guessing every possible thing you might be talking about.
>
> If you know the parameters that you want to pass when you are
> rendering the page that opens the popup then you can use something
> like:
> @Inject
> PageRenderLinkSource linkSource;
>
> public String getPopupLink() {
> return linkSource.createPageRenderLinkWithContext(pagename, param1,
> param2); // to create the link
> }
>
> <script>
> window.open('${popuplink}');
> </script>
>
> I haven't compiled/run this code so please forgive typos etc.
>
> Josh
>
> On Tue, Jan 11, 2011 at 3:58 AM, Argo Vilberg <[email protected]> wrote:
> > hi,
> >
> > How to add parameters into Tapetstry page java object if i open page with
> > javascript pop-up windows ?
> >
> >
> > Argo
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>