extends the window class, its a simple overideable component class

2008/7/18 Petros Petrou <[EMAIL PROTECTED]>:

>
> The demo source code uses this code in the WindowPage.tml
>
>    function showWindow2()
>    {
>        ${window2.componentResources.id}.setTitle("This is Window 2")
>        ${window2.componentResources.id}.setHTMLContent("... here come some
> senseless content ...")
>        ${window2.componentResources.id}.showCenter()
>    }
>
>
> Is there anyway we can do the above, but within the WindowPage.java ?
> I want to force a modal pop up window components to appear when an
> ActionLink is clicked by adding some code in my method
>
>    @OnEvent(value = "action", component = "openWindowActionLink")
>    Object onActionFromOpenWindowActionLink(){}
>
>
> Is this possible ?
>
> Petros
>
>
>
> Martijn Brinkers (List)-2 wrote:
> >
> > Demo code can be found here:
> >
> >
> http://87.193.218.134:8080/t5components/maven-repository/org/apache/tapestry/t5c-demo/0.5.13/
> >
> > Martijn
> >
> > On Tue, 2008-06-24 at 02:48 -0700, Petros Petrou wrote:
> >> I am trying to use the Window component as demonstrated here
> >> http://87.193.218.134:8080/t5c-demo/windowpage but I can't get it to
> >> work.
> >> Does anyone have a code example I could use ? Is it possible to download
> >> the
> >> source code for the demo ?
> >>
> >> Furthermore, I added this dependency to my pom.xml and it fails to
> >> download.
> >> Can I manually download it from anywhere ?
> >>
> >> <dependency>
> >>       <groupId>org.apache.tapestry</groupId>
> >>       <artifactId>t5c-demo</artifactId>
> >>       <version>0.5.13</version>
> >> </dependency>
> >>
> >> Petros
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/t5components---Window-tp18087605p18530717.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
with regards
Sven Homburg
http://tapestry5-components.googlecode.com
http://chenillekit.googlecode.com

Reply via email to