You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jer Kah <je...@gmail.com> on 2005/07/05 17:40:31 UTC

Re: DirectLink to popUp window

Is there a way to use this technique or a similar one that allows you
to specify window 'features' ( like width, height, etc)?


On 1/31/05, Paul Ferraro <pm...@columbia.edu> wrote:
> Use a normal DirectLink, but specifiy
> org.apache.tapestry.contrib.link.PopupLinkRenderer as the renderer.
> 
> Paul
> 
> Jordan Redner wrote:
> 
> >Has anyone implemented a way to DirectLink to a popup Window?
> >
> >contrib:popupLink doesn't seem to allow service parameters.
> >
> >Thanks in advance,
> >
> >
> >Jordan
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: DirectLink to popUp window

Posted by Andreas Andreou <an...@di.uoa.gr>.
Try

<set-property name="features" expression=" 'width=700px,
height=500px, resizable=yes, center=yes' " />



Jer Kah wrote:

>OK, I am using 3.0.3 now ( I was using 3.0.0).  I am still getting an
>error, only this time an OGNL parse exception.
>
>This is what I have:
>
>.page
> <bean name="popup" class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
>       <set-property name="features" expression="width=700px,
>height=500px, resizable=yes, center=yes" />
>   </bean>
>
>.html
><span  jwcid="@DirectLink" renderer="ognl:beans.popup"
>listener="ognl:listeners.viewSteps" parameters="ognl:currentStep.ID"
>  
>
>>view</span>
>>    
>>
>
>
>and here is the error:
>
>
>org.apache.tapestry.ApplicationRuntimeException
>Unable to parse expression 'width=700px, height=500px, resizable=yes,
>center=yes'.
>
>ognl.ExpressionSyntaxException
>Malformed OGNL expression: width=700px, height=500px, resizable=yes, center=yes
>
>ognl.ParseException
>Encountered "px" at line 1, column 10. Was expecting one of: <EOF> ","
>... "=" ... "?" ... "||" ... "or" ... "&&" ... "and" ... "|" ... "bor"
>... "^" ... "xor" ... "&" ... "band" ... "==" ... "eq" ... "!=" ...
>"neq" ... "<" ... "lt" ... ">" ... "gt" ... "<=" ... "lte" ... ">="
>... "gte" ... "in" ... "not" ... "<<" ... "shl" ... ">>" ... "shr" ...
>">>>" ... "ushr" ... "+" ... "-" ... "*" ... "/" ... "%" ...
>"instanceof" ... "." ... "(" ... "[" ... <DYNAMIC_SUBSCRIPT> ...
>
>On 7/6/05, Jer Kah <je...@gmail.com> wrote:
>  
>
>>OK, I am using 3.0.3 now ( I was using 3.0.0).  I am still getting an
>>error, only this time an OGNL parse exception.
>>
>>This is what I have:
>>
>>.page
>> <bean name="popup" class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
>>        <set-property name="features" expression="width=700px,
>>height=500px, resizable=yes, center=yes" />
>>    </bean>
>>
>>.html
>><span  jwcid="@DirectLink" renderer="ognl:beans.popup"
>>listener="ognl:listeners.viewSteps" parameters="ognl:currentStep.ID"
>>    
>>
>>>view</span>
>>>      
>>>
>>and here is the error:
>>
>>
>>org.apache.tapestry.ApplicationRuntimeException
>>Unable to parse expression 'width=700px, height=500px, resizable=yes,
>>center=yes'.
>>
>>ognl.ExpressionSyntaxException
>>Malformed OGNL expression: width=700px, height=500px, resizable=yes, center=yes
>>
>>ognl.ParseException
>>Encountered "px" at line 1, column 10. Was expecting one of: <EOF> ","
>>... "=" ... "?" ... "||" ... "or" ... "&&" ... "and" ... "|" ... "bor"
>>... "^" ... "xor" ... "&" ... "band" ... "==" ... "eq" ... "!=" ...
>>"neq" ... "<" ... "lt" ... ">" ... "gt" ... "<=" ... "lte" ... ">="
>>... "gte" ... "in" ... "not" ... "<<" ... "shl" ... ">>" ... "shr" ...
>>">>>" ... "ushr" ... "+" ... "-" ... "*" ... "/" ... "%" ...
>>"instanceof" ... "." ... "(" ... "[" ... <DYNAMIC_SUBSCRIPT> ...
>>
>>
>>
>>
>>
>>
>>On 7/5/05, Nic Schlueter <sc...@gmail.com> wrote:
>>    
>>
>>>The javadoc says that
>>>org.apache.tapestry.contrib.link.PopupLinkRenderer has been available
>>>since 3.0.1.  FormConditional was added in 3.0.
>>>
>>>Nicholas
>>>
>>>On 7/5/05, Jer Kah <je...@gmail.com> wrote:
>>>      
>>>
>>>>Yeah, it's included.  I use the FormConditional all over the place.  I
>>>>opened up the contrib jar and PopupLinkRenderer isn't there.  The only
>>>>class in the link directory is AreaLinkRenderer.class.
>>>>
>>>>
>>>>
>>>>On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
>>>>        
>>>>
>>>>>That should work for both 3.0 and 4.0.  Are you sure you've included the
>>>>>tapestry-contrib jar file in your WEB-INF/lib directory?
>>>>>
>>>>>Paul
>>>>>
>>>>>Jer Kah wrote:
>>>>>
>>>>>          
>>>>>
>>>>>>Is this for Tapestry 4.0?  I'm getting an error (below).  If it is for
>>>>>>4.0, is there a 3.0 solution?
>>>>>>
>>>>>>org.apache.tapestry.ApplicationRuntimeException
>>>>>>Unable to instantiate bean 'popup' (for component MyPage) as class
>>>>>>org.apache.tapestry.contrib.link.PopupLinkRenderer: Could not load
>>>>>>class org.apache.tapestry.contrib.link.PopupLinkRenderer from
>>>>>>ContextLoader@6301159:
>>>>>>org.apache.tapestry.contrib.link.PopupLinkRenderer
>>>>>>location: context:/WEB-INF/MyPage.page, line 17, column 83
>>>>>>
>>>>>>org.apache.tapestry.ApplicationRuntimeException
>>>>>>Could not load class
>>>>>>org.apache.tapestry.contrib.link.PopupLinkRenderer from
>>>>>>ContextLoader@6301159:
>>>>>>org.apache.tapestry.contrib.link.PopupLinkRenderer
>>>>>>
>>>>>>java.lang.ClassNotFoundException
>>>>>>org.apache.tapestry.contrib.link.PopupLinkRenderer
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>Yes - look look at PopupLinkRenderer.setFeatures(...).
>>>>>>>e.g.
>>>>>>>
>>>>>>><a jwcid="@DirectLink" listener="..." renderer="ognl:beans.popup"
>>>>>>>href="#">...</a>
>>>>>>>
>>>>>>>where the popup bean is defined as:
>>>>>>>
>>>>>>><bean name="popup"
>>>>>>>class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
>>>>>>>   <set-property name="features" expression="height=100,width=100"/>
>>>>>>></bean>
>>>>>>>
>>>>>>>
>>>>>>>Paul
>>>>>>>
>>>>>>>Jer Kah wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>>>Is there a way to use this technique or a similar one that allows you
>>>>>>>>to specify window 'features' ( like width, height, etc)?
>>>>>>>>
>>>>>>>>
>>>>>>>>On 1/31/05, Paul Ferraro <pm...@columbia.edu> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>>>Use a normal DirectLink, but specifiy
>>>>>>>>>org.apache.tapestry.contrib.link.PopupLinkRenderer as the renderer.
>>>>>>>>>
>>>>>>>>>Paul
>>>>>>>>>
>>>>>>>>>Jordan Redner wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>>>>>>Has anyone implemented a way to DirectLink to a popup Window?
>>>>>>>>>>
>>>>>>>>>>contrib:popupLink doesn't seem to allow service parameters.
>>>>>>>>>>
>>>>>>>>>>Thanks in advance,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>Jordan
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>---------------------------------------------------------------------
>>>>>>>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>>>>>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                    
>>>>>>>>>>
>>>>>>>>>---------------------------------------------------------------------
>>>>>>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>>>>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>>>>---------------------------------------------------------------------
>>>>>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>>>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>---------------------------------------------------------------------
>>>>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>---------------------------------------------------------------------
>>>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>>
>>>>
>>>>        
>>>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: DirectLink to popUp window

Posted by Jer Kah <je...@gmail.com>.
That was it!  Good call

On 7/6/05, Nick Westgate <ni...@jellyfish.co.nz> wrote:
> I haven't been following this thread, but check the docs.
> The feature param looks like a string, so give it one.
> Use ' ... ' inside the expression for an OGNL string:
> 
>        <set-property name="features" expression="'width=700px,
> height=500px, resizable=yes, center=yes'" />
> 
> Note the extra ' characters.
> 
> Cheers,
> Nick.
> 
> 
> ----- Original Message -----
> From: "Jer Kah" <je...@gmail.com>
> To: "Tapestry users" <ta...@jakarta.apache.org>
> Sent: Wednesday, 6 July 2005 8:54 p.m.
> Subject: Re: DirectLink to popUp window
> 
> 
> OK, I am using 3.0.3 now ( I was using 3.0.0).  I am still getting an
> error, only this time an OGNL parse exception.
> 
> This is what I have:
> 
> .page
>  <bean name="popup" class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
>        <set-property name="features" expression="width=700px,
> height=500px, resizable=yes, center=yes" />
>    </bean>
> 
> .html
> <span  jwcid="@DirectLink" renderer="ognl:beans.popup"
> listener="ognl:listeners.viewSteps" parameters="ognl:currentStep.ID"
> >view</span>
> 
> 
> and here is the error:
> 
> 
> org.apache.tapestry.ApplicationRuntimeException
> Unable to parse expression 'width=700px, height=500px, resizable=yes,
> center=yes'.
> 
> ognl.ExpressionSyntaxException
> Malformed OGNL expression: width=700px, height=500px, resizable=yes, center=yes
> 
> ognl.ParseException
> Encountered "px" at line 1, column 10. Was expecting one of: <EOF> ","
> ... "=" ... "?" ... "||" ... "or" ... "&&" ... "and" ... "|" ... "bor"
> ... "^" ... "xor" ... "&" ... "band" ... "==" ... "eq" ... "!=" ...
> "neq" ... "<" ... "lt" ... ">" ... "gt" ... "<=" ... "lte" ... ">="
> ... "gte" ... "in" ... "not" ... "<<" ... "shl" ... ">>" ... "shr" ...
> ">>>" ... "ushr" ... "+" ... "-" ... "*" ... "/" ... "%" ...
> "instanceof" ... "." ... "(" ... "[" ... <DYNAMIC_SUBSCRIPT> ...
> 
> On 7/6/05, Jer Kah <je...@gmail.com> wrote:
> > OK, I am using 3.0.3 now ( I was using 3.0.0).  I am still getting an
> > error, only this time an OGNL parse exception.
> >
> > This is what I have:
> >
> > .page
> >  <bean name="popup" class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
> >         <set-property name="features" expression="width=700px,
> > height=500px, resizable=yes, center=yes" />
> >     </bean>
> >
> > .html
> > <span  jwcid="@DirectLink" renderer="ognl:beans.popup"
> > listener="ognl:listeners.viewSteps" parameters="ognl:currentStep.ID"
> > >view</span>
> >
> >
> > and here is the error:
> >
> >
> > org.apache.tapestry.ApplicationRuntimeException
> > Unable to parse expression 'width=700px, height=500px, resizable=yes,
> > center=yes'.
> >
> > ognl.ExpressionSyntaxException
> > Malformed OGNL expression: width=700px, height=500px, resizable=yes, center=yes
> >
> > ognl.ParseException
> > Encountered "px" at line 1, column 10. Was expecting one of: <EOF> ","
> > ... "=" ... "?" ... "||" ... "or" ... "&&" ... "and" ... "|" ... "bor"
> > ... "^" ... "xor" ... "&" ... "band" ... "==" ... "eq" ... "!=" ...
> > "neq" ... "<" ... "lt" ... ">" ... "gt" ... "<=" ... "lte" ... ">="
> > ... "gte" ... "in" ... "not" ... "<<" ... "shl" ... ">>" ... "shr" ...
> > ">>>" ... "ushr" ... "+" ... "-" ... "*" ... "/" ... "%" ...
> > "instanceof" ... "." ... "(" ... "[" ... <DYNAMIC_SUBSCRIPT> ...
> >
> >
> >
> >
> >
> >
> > On 7/5/05, Nic Schlueter <sc...@gmail.com> wrote:
> > > The javadoc says that
> > > org.apache.tapestry.contrib.link.PopupLinkRenderer has been available
> > > since 3.0.1.  FormConditional was added in 3.0.
> > >
> > > Nicholas
> > >
> > > On 7/5/05, Jer Kah <je...@gmail.com> wrote:
> > > > Yeah, it's included.  I use the FormConditional all over the place.  I
> > > > opened up the contrib jar and PopupLinkRenderer isn't there.  The only
> > > > class in the link directory is AreaLinkRenderer.class.
> > > >
> > > >
> > > >
> > > > On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > > > > That should work for both 3.0 and 4.0.  Are you sure you've included the
> > > > > tapestry-contrib jar file in your WEB-INF/lib directory?
> > > > >
> > > > > Paul
> > > > >
> > > > > Jer Kah wrote:
> > > > >
> > > > > >Is this for Tapestry 4.0?  I'm getting an error (below).  If it is for
> > > > > >4.0, is there a 3.0 solution?
> > > > > >
> > > > > >org.apache.tapestry.ApplicationRuntimeException
> > > > > >Unable to instantiate bean 'popup' (for component MyPage) as class
> > > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer: Could not load
> > > > > >class org.apache.tapestry.contrib.link.PopupLinkRenderer from
> > > > > >ContextLoader@6301159:
> > > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > > > > >location: context:/WEB-INF/MyPage.page, line 17, column 83
> > > > > >
> > > > > >org.apache.tapestry.ApplicationRuntimeException
> > > > > >Could not load class
> > > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer from
> > > > > >ContextLoader@6301159:
> > > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > > > > >
> > > > > >java.lang.ClassNotFoundException
> > > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > > > > >
> > > > > >
> > > > > >>Yes - look look at PopupLinkRenderer.setFeatures(...).
> > > > > >>e.g.
> > > > > >>
> > > > > >><a jwcid="@DirectLink" listener="..." renderer="ognl:beans.popup"
> > > > > >>href="#">...</a>
> > > > > >>
> > > > > >>where the popup bean is defined as:
> > > > > >>
> > > > > >><bean name="popup"
> > > > > >>class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
> > > > > >>    <set-property name="features" expression="height=100,width=100"/>
> > > > > >></bean>
> > > > > >>
> > > > > >>
> > > > > >>Paul
> > > > > >>
> > > > > >>Jer Kah wrote:
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >>>Is there a way to use this technique or a similar one that allows you
> > > > > >>>to specify window 'features' ( like width, height, etc)?
> > > > > >>>
> > > > > >>>
> > > > > >>>On 1/31/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>>>Use a normal DirectLink, but specifiy
> > > > > >>>>org.apache.tapestry.contrib.link.PopupLinkRenderer as the renderer.
> > > > > >>>>
> > > > > >>>>Paul
> > > > > >>>>
> > > > > >>>>Jordan Redner wrote:
> > > > > >>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>>>>Has anyone implemented a way to DirectLink to a popup Window?
> > > > > >>>>>
> > > > > >>>>>contrib:popupLink doesn't seem to allow service parameters.
> > > > > >>>>>
> > > > > >>>>>Thanks in advance,
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>Jordan
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>---------------------------------------------------------------------
> > > > > >>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > > >>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>---------------------------------------------------------------------
> > > > > >>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > > >>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > > >>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>>---------------------------------------------------------------------
> > > > > >>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > > >>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>---------------------------------------------------------------------
> > > > > >>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > > >>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >
> > > > > >---------------------------------------------------------------------
> > > > > >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > > >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: DirectLink to popUp window

Posted by Nick Westgate <ni...@jellyfish.co.nz>.
I haven't been following this thread, but check the docs.
The feature param looks like a string, so give it one.
Use ' ... ' inside the expression for an OGNL string:

       <set-property name="features" expression="'width=700px,
height=500px, resizable=yes, center=yes'" />

Note the extra ' characters.

Cheers,
Nick.


----- Original Message ----- 
From: "Jer Kah" <je...@gmail.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Wednesday, 6 July 2005 8:54 p.m.
Subject: Re: DirectLink to popUp window


OK, I am using 3.0.3 now ( I was using 3.0.0).  I am still getting an
error, only this time an OGNL parse exception.

This is what I have:

.page
 <bean name="popup" class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
       <set-property name="features" expression="width=700px,
height=500px, resizable=yes, center=yes" />
   </bean>

.html
<span  jwcid="@DirectLink" renderer="ognl:beans.popup"
listener="ognl:listeners.viewSteps" parameters="ognl:currentStep.ID"
>view</span>


and here is the error:


org.apache.tapestry.ApplicationRuntimeException
Unable to parse expression 'width=700px, height=500px, resizable=yes,
center=yes'.

ognl.ExpressionSyntaxException
Malformed OGNL expression: width=700px, height=500px, resizable=yes, center=yes

ognl.ParseException
Encountered "px" at line 1, column 10. Was expecting one of: <EOF> ","
... "=" ... "?" ... "||" ... "or" ... "&&" ... "and" ... "|" ... "bor"
... "^" ... "xor" ... "&" ... "band" ... "==" ... "eq" ... "!=" ...
"neq" ... "<" ... "lt" ... ">" ... "gt" ... "<=" ... "lte" ... ">="
... "gte" ... "in" ... "not" ... "<<" ... "shl" ... ">>" ... "shr" ...
">>>" ... "ushr" ... "+" ... "-" ... "*" ... "/" ... "%" ...
"instanceof" ... "." ... "(" ... "[" ... <DYNAMIC_SUBSCRIPT> ...

On 7/6/05, Jer Kah <je...@gmail.com> wrote:
> OK, I am using 3.0.3 now ( I was using 3.0.0).  I am still getting an
> error, only this time an OGNL parse exception.
> 
> This is what I have:
> 
> .page
>  <bean name="popup" class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
>         <set-property name="features" expression="width=700px,
> height=500px, resizable=yes, center=yes" />
>     </bean>
> 
> .html
> <span  jwcid="@DirectLink" renderer="ognl:beans.popup"
> listener="ognl:listeners.viewSteps" parameters="ognl:currentStep.ID"
> >view</span>
> 
> 
> and here is the error:
> 
> 
> org.apache.tapestry.ApplicationRuntimeException
> Unable to parse expression 'width=700px, height=500px, resizable=yes,
> center=yes'.
> 
> ognl.ExpressionSyntaxException
> Malformed OGNL expression: width=700px, height=500px, resizable=yes, center=yes
> 
> ognl.ParseException
> Encountered "px" at line 1, column 10. Was expecting one of: <EOF> ","
> ... "=" ... "?" ... "||" ... "or" ... "&&" ... "and" ... "|" ... "bor"
> ... "^" ... "xor" ... "&" ... "band" ... "==" ... "eq" ... "!=" ...
> "neq" ... "<" ... "lt" ... ">" ... "gt" ... "<=" ... "lte" ... ">="
> ... "gte" ... "in" ... "not" ... "<<" ... "shl" ... ">>" ... "shr" ...
> ">>>" ... "ushr" ... "+" ... "-" ... "*" ... "/" ... "%" ...
> "instanceof" ... "." ... "(" ... "[" ... <DYNAMIC_SUBSCRIPT> ...
> 
> 
> 
> 
> 
> 
> On 7/5/05, Nic Schlueter <sc...@gmail.com> wrote:
> > The javadoc says that
> > org.apache.tapestry.contrib.link.PopupLinkRenderer has been available
> > since 3.0.1.  FormConditional was added in 3.0.
> >
> > Nicholas
> >
> > On 7/5/05, Jer Kah <je...@gmail.com> wrote:
> > > Yeah, it's included.  I use the FormConditional all over the place.  I
> > > opened up the contrib jar and PopupLinkRenderer isn't there.  The only
> > > class in the link directory is AreaLinkRenderer.class.
> > >
> > >
> > >
> > > On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > > > That should work for both 3.0 and 4.0.  Are you sure you've included the
> > > > tapestry-contrib jar file in your WEB-INF/lib directory?
> > > >
> > > > Paul
> > > >
> > > > Jer Kah wrote:
> > > >
> > > > >Is this for Tapestry 4.0?  I'm getting an error (below).  If it is for
> > > > >4.0, is there a 3.0 solution?
> > > > >
> > > > >org.apache.tapestry.ApplicationRuntimeException
> > > > >Unable to instantiate bean 'popup' (for component MyPage) as class
> > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer: Could not load
> > > > >class org.apache.tapestry.contrib.link.PopupLinkRenderer from
> > > > >ContextLoader@6301159:
> > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > > > >location: context:/WEB-INF/MyPage.page, line 17, column 83
> > > > >
> > > > >org.apache.tapestry.ApplicationRuntimeException
> > > > >Could not load class
> > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer from
> > > > >ContextLoader@6301159:
> > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > > > >
> > > > >java.lang.ClassNotFoundException
> > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > > > >
> > > > >
> > > > >>Yes - look look at PopupLinkRenderer.setFeatures(...).
> > > > >>e.g.
> > > > >>
> > > > >><a jwcid="@DirectLink" listener="..." renderer="ognl:beans.popup"
> > > > >>href="#">...</a>
> > > > >>
> > > > >>where the popup bean is defined as:
> > > > >>
> > > > >><bean name="popup"
> > > > >>class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
> > > > >>    <set-property name="features" expression="height=100,width=100"/>
> > > > >></bean>
> > > > >>
> > > > >>
> > > > >>Paul
> > > > >>
> > > > >>Jer Kah wrote:
> > > > >>
> > > > >>
> > > > >>
> > > > >>>Is there a way to use this technique or a similar one that allows you
> > > > >>>to specify window 'features' ( like width, height, etc)?
> > > > >>>
> > > > >>>
> > > > >>>On 1/31/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>>Use a normal DirectLink, but specifiy
> > > > >>>>org.apache.tapestry.contrib.link.PopupLinkRenderer as the renderer.
> > > > >>>>
> > > > >>>>Paul
> > > > >>>>
> > > > >>>>Jordan Redner wrote:
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>>Has anyone implemented a way to DirectLink to a popup Window?
> > > > >>>>>
> > > > >>>>>contrib:popupLink doesn't seem to allow service parameters.
> > > > >>>>>
> > > > >>>>>Thanks in advance,
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>Jordan
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>---------------------------------------------------------------------
> > > > >>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > >>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>---------------------------------------------------------------------
> > > > >>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > >>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>---------------------------------------------------------------------
> > > > >>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > >>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>---------------------------------------------------------------------
> > > > >>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > >>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > > >---------------------------------------------------------------------
> > > > >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: DirectLink to popUp window

Posted by Jer Kah <je...@gmail.com>.
OK, I am using 3.0.3 now ( I was using 3.0.0).  I am still getting an
error, only this time an OGNL parse exception.

This is what I have:

.page
 <bean name="popup" class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
       <set-property name="features" expression="width=700px,
height=500px, resizable=yes, center=yes" />
   </bean>

.html
<span  jwcid="@DirectLink" renderer="ognl:beans.popup"
listener="ognl:listeners.viewSteps" parameters="ognl:currentStep.ID"
>view</span>


and here is the error:


org.apache.tapestry.ApplicationRuntimeException
Unable to parse expression 'width=700px, height=500px, resizable=yes,
center=yes'.

ognl.ExpressionSyntaxException
Malformed OGNL expression: width=700px, height=500px, resizable=yes, center=yes

ognl.ParseException
Encountered "px" at line 1, column 10. Was expecting one of: <EOF> ","
... "=" ... "?" ... "||" ... "or" ... "&&" ... "and" ... "|" ... "bor"
... "^" ... "xor" ... "&" ... "band" ... "==" ... "eq" ... "!=" ...
"neq" ... "<" ... "lt" ... ">" ... "gt" ... "<=" ... "lte" ... ">="
... "gte" ... "in" ... "not" ... "<<" ... "shl" ... ">>" ... "shr" ...
">>>" ... "ushr" ... "+" ... "-" ... "*" ... "/" ... "%" ...
"instanceof" ... "." ... "(" ... "[" ... <DYNAMIC_SUBSCRIPT> ...

On 7/6/05, Jer Kah <je...@gmail.com> wrote:
> OK, I am using 3.0.3 now ( I was using 3.0.0).  I am still getting an
> error, only this time an OGNL parse exception.
> 
> This is what I have:
> 
> .page
>  <bean name="popup" class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
>         <set-property name="features" expression="width=700px,
> height=500px, resizable=yes, center=yes" />
>     </bean>
> 
> .html
> <span  jwcid="@DirectLink" renderer="ognl:beans.popup"
> listener="ognl:listeners.viewSteps" parameters="ognl:currentStep.ID"
> >view</span>
> 
> 
> and here is the error:
> 
> 
> org.apache.tapestry.ApplicationRuntimeException
> Unable to parse expression 'width=700px, height=500px, resizable=yes,
> center=yes'.
> 
> ognl.ExpressionSyntaxException
> Malformed OGNL expression: width=700px, height=500px, resizable=yes, center=yes
> 
> ognl.ParseException
> Encountered "px" at line 1, column 10. Was expecting one of: <EOF> ","
> ... "=" ... "?" ... "||" ... "or" ... "&&" ... "and" ... "|" ... "bor"
> ... "^" ... "xor" ... "&" ... "band" ... "==" ... "eq" ... "!=" ...
> "neq" ... "<" ... "lt" ... ">" ... "gt" ... "<=" ... "lte" ... ">="
> ... "gte" ... "in" ... "not" ... "<<" ... "shl" ... ">>" ... "shr" ...
> ">>>" ... "ushr" ... "+" ... "-" ... "*" ... "/" ... "%" ...
> "instanceof" ... "." ... "(" ... "[" ... <DYNAMIC_SUBSCRIPT> ...
> 
> 
> 
> 
> 
> 
> On 7/5/05, Nic Schlueter <sc...@gmail.com> wrote:
> > The javadoc says that
> > org.apache.tapestry.contrib.link.PopupLinkRenderer has been available
> > since 3.0.1.  FormConditional was added in 3.0.
> >
> > Nicholas
> >
> > On 7/5/05, Jer Kah <je...@gmail.com> wrote:
> > > Yeah, it's included.  I use the FormConditional all over the place.  I
> > > opened up the contrib jar and PopupLinkRenderer isn't there.  The only
> > > class in the link directory is AreaLinkRenderer.class.
> > >
> > >
> > >
> > > On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > > > That should work for both 3.0 and 4.0.  Are you sure you've included the
> > > > tapestry-contrib jar file in your WEB-INF/lib directory?
> > > >
> > > > Paul
> > > >
> > > > Jer Kah wrote:
> > > >
> > > > >Is this for Tapestry 4.0?  I'm getting an error (below).  If it is for
> > > > >4.0, is there a 3.0 solution?
> > > > >
> > > > >org.apache.tapestry.ApplicationRuntimeException
> > > > >Unable to instantiate bean 'popup' (for component MyPage) as class
> > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer: Could not load
> > > > >class org.apache.tapestry.contrib.link.PopupLinkRenderer from
> > > > >ContextLoader@6301159:
> > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > > > >location: context:/WEB-INF/MyPage.page, line 17, column 83
> > > > >
> > > > >org.apache.tapestry.ApplicationRuntimeException
> > > > >Could not load class
> > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer from
> > > > >ContextLoader@6301159:
> > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > > > >
> > > > >java.lang.ClassNotFoundException
> > > > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > > > >
> > > > >
> > > > >>Yes - look look at PopupLinkRenderer.setFeatures(...).
> > > > >>e.g.
> > > > >>
> > > > >><a jwcid="@DirectLink" listener="..." renderer="ognl:beans.popup"
> > > > >>href="#">...</a>
> > > > >>
> > > > >>where the popup bean is defined as:
> > > > >>
> > > > >><bean name="popup"
> > > > >>class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
> > > > >>    <set-property name="features" expression="height=100,width=100"/>
> > > > >></bean>
> > > > >>
> > > > >>
> > > > >>Paul
> > > > >>
> > > > >>Jer Kah wrote:
> > > > >>
> > > > >>
> > > > >>
> > > > >>>Is there a way to use this technique or a similar one that allows you
> > > > >>>to specify window 'features' ( like width, height, etc)?
> > > > >>>
> > > > >>>
> > > > >>>On 1/31/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>>Use a normal DirectLink, but specifiy
> > > > >>>>org.apache.tapestry.contrib.link.PopupLinkRenderer as the renderer.
> > > > >>>>
> > > > >>>>Paul
> > > > >>>>
> > > > >>>>Jordan Redner wrote:
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>>Has anyone implemented a way to DirectLink to a popup Window?
> > > > >>>>>
> > > > >>>>>contrib:popupLink doesn't seem to allow service parameters.
> > > > >>>>>
> > > > >>>>>Thanks in advance,
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>Jordan
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>---------------------------------------------------------------------
> > > > >>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > >>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>---------------------------------------------------------------------
> > > > >>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > >>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>>---------------------------------------------------------------------
> > > > >>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > >>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>---------------------------------------------------------------------
> > > > >>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > >>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > > >---------------------------------------------------------------------
> > > > >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: DirectLink to popUp window

Posted by Nic Schlueter <sc...@gmail.com>.
The javadoc says that
org.apache.tapestry.contrib.link.PopupLinkRenderer has been available
since 3.0.1.  FormConditional was added in 3.0.

Nicholas

On 7/5/05, Jer Kah <je...@gmail.com> wrote:
> Yeah, it's included.  I use the FormConditional all over the place.  I
> opened up the contrib jar and PopupLinkRenderer isn't there.  The only
> class in the link directory is AreaLinkRenderer.class.
> 
> 
> 
> On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > That should work for both 3.0 and 4.0.  Are you sure you've included the
> > tapestry-contrib jar file in your WEB-INF/lib directory?
> >
> > Paul
> >
> > Jer Kah wrote:
> >
> > >Is this for Tapestry 4.0?  I'm getting an error (below).  If it is for
> > >4.0, is there a 3.0 solution?
> > >
> > >org.apache.tapestry.ApplicationRuntimeException
> > >Unable to instantiate bean 'popup' (for component MyPage) as class
> > >org.apache.tapestry.contrib.link.PopupLinkRenderer: Could not load
> > >class org.apache.tapestry.contrib.link.PopupLinkRenderer from
> > >ContextLoader@6301159:
> > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > >location: context:/WEB-INF/MyPage.page, line 17, column 83
> > >
> > >org.apache.tapestry.ApplicationRuntimeException
> > >Could not load class
> > >org.apache.tapestry.contrib.link.PopupLinkRenderer from
> > >ContextLoader@6301159:
> > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > >
> > >java.lang.ClassNotFoundException
> > >org.apache.tapestry.contrib.link.PopupLinkRenderer
> > >
> > >
> > >
> > >
> > >
> > >
> > >On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > >
> > >
> > >>Yes - look look at PopupLinkRenderer.setFeatures(...).
> > >>e.g.
> > >>
> > >><a jwcid="@DirectLink" listener="..." renderer="ognl:beans.popup"
> > >>href="#">...</a>
> > >>
> > >>where the popup bean is defined as:
> > >>
> > >><bean name="popup"
> > >>class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
> > >>    <set-property name="features" expression="height=100,width=100"/>
> > >></bean>
> > >>
> > >>
> > >>Paul
> > >>
> > >>Jer Kah wrote:
> > >>
> > >>
> > >>
> > >>>Is there a way to use this technique or a similar one that allows you
> > >>>to specify window 'features' ( like width, height, etc)?
> > >>>
> > >>>
> > >>>On 1/31/05, Paul Ferraro <pm...@columbia.edu> wrote:
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>Use a normal DirectLink, but specifiy
> > >>>>org.apache.tapestry.contrib.link.PopupLinkRenderer as the renderer.
> > >>>>
> > >>>>Paul
> > >>>>
> > >>>>Jordan Redner wrote:
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>>Has anyone implemented a way to DirectLink to a popup Window?
> > >>>>>
> > >>>>>contrib:popupLink doesn't seem to allow service parameters.
> > >>>>>
> > >>>>>Thanks in advance,
> > >>>>>
> > >>>>>
> > >>>>>Jordan
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>---------------------------------------------------------------------
> > >>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > >>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>---------------------------------------------------------------------
> > >>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > >>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>---------------------------------------------------------------------
> > >>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > >>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > >>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >>
> > >>
> > >>
> > >>
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: DirectLink to popUp window

Posted by Jer Kah <je...@gmail.com>.
Yeah, it's included.  I use the FormConditional all over the place.  I
opened up the contrib jar and PopupLinkRenderer isn't there.  The only
class in the link directory is AreaLinkRenderer.class.



On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> That should work for both 3.0 and 4.0.  Are you sure you've included the
> tapestry-contrib jar file in your WEB-INF/lib directory?
> 
> Paul
> 
> Jer Kah wrote:
> 
> >Is this for Tapestry 4.0?  I'm getting an error (below).  If it is for
> >4.0, is there a 3.0 solution?
> >
> >org.apache.tapestry.ApplicationRuntimeException
> >Unable to instantiate bean 'popup' (for component MyPage) as class
> >org.apache.tapestry.contrib.link.PopupLinkRenderer: Could not load
> >class org.apache.tapestry.contrib.link.PopupLinkRenderer from
> >ContextLoader@6301159:
> >org.apache.tapestry.contrib.link.PopupLinkRenderer
> >location: context:/WEB-INF/MyPage.page, line 17, column 83
> >
> >org.apache.tapestry.ApplicationRuntimeException
> >Could not load class
> >org.apache.tapestry.contrib.link.PopupLinkRenderer from
> >ContextLoader@6301159:
> >org.apache.tapestry.contrib.link.PopupLinkRenderer
> >
> >java.lang.ClassNotFoundException
> >org.apache.tapestry.contrib.link.PopupLinkRenderer
> >
> >
> >
> >
> >
> >
> >On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> >
> >
> >>Yes - look look at PopupLinkRenderer.setFeatures(...).
> >>e.g.
> >>
> >><a jwcid="@DirectLink" listener="..." renderer="ognl:beans.popup"
> >>href="#">...</a>
> >>
> >>where the popup bean is defined as:
> >>
> >><bean name="popup"
> >>class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
> >>    <set-property name="features" expression="height=100,width=100"/>
> >></bean>
> >>
> >>
> >>Paul
> >>
> >>Jer Kah wrote:
> >>
> >>
> >>
> >>>Is there a way to use this technique or a similar one that allows you
> >>>to specify window 'features' ( like width, height, etc)?
> >>>
> >>>
> >>>On 1/31/05, Paul Ferraro <pm...@columbia.edu> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Use a normal DirectLink, but specifiy
> >>>>org.apache.tapestry.contrib.link.PopupLinkRenderer as the renderer.
> >>>>
> >>>>Paul
> >>>>
> >>>>Jordan Redner wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Has anyone implemented a way to DirectLink to a popup Window?
> >>>>>
> >>>>>contrib:popupLink doesn't seem to allow service parameters.
> >>>>>
> >>>>>Thanks in advance,
> >>>>>
> >>>>>
> >>>>>Jordan
> >>>>>
> >>>>>
> >>>>>
> >>>>>---------------------------------------------------------------------
> >>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: DirectLink to popUp window

Posted by Paul Ferraro <pm...@columbia.edu>.
That should work for both 3.0 and 4.0.  Are you sure you've included the 
tapestry-contrib jar file in your WEB-INF/lib directory?

Paul

Jer Kah wrote:

>Is this for Tapestry 4.0?  I'm getting an error (below).  If it is for
>4.0, is there a 3.0 solution?
>
>org.apache.tapestry.ApplicationRuntimeException 
>Unable to instantiate bean 'popup' (for component MyPage) as class
>org.apache.tapestry.contrib.link.PopupLinkRenderer: Could not load
>class org.apache.tapestry.contrib.link.PopupLinkRenderer from
>ContextLoader@6301159:
>org.apache.tapestry.contrib.link.PopupLinkRenderer
>location: context:/WEB-INF/MyPage.page, line 17, column 83 
>   
>org.apache.tapestry.ApplicationRuntimeException 
>Could not load class
>org.apache.tapestry.contrib.link.PopupLinkRenderer from
>ContextLoader@6301159:
>org.apache.tapestry.contrib.link.PopupLinkRenderer
>   
>java.lang.ClassNotFoundException 
>org.apache.tapestry.contrib.link.PopupLinkRenderer 
>
>
>
>
>
>
>On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
>  
>
>>Yes - look look at PopupLinkRenderer.setFeatures(...).
>>e.g.
>>
>><a jwcid="@DirectLink" listener="..." renderer="ognl:beans.popup"
>>href="#">...</a>
>>
>>where the popup bean is defined as:
>>
>><bean name="popup"
>>class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
>>    <set-property name="features" expression="height=100,width=100"/>
>></bean>
>>
>>
>>Paul
>>
>>Jer Kah wrote:
>>
>>    
>>
>>>Is there a way to use this technique or a similar one that allows you
>>>to specify window 'features' ( like width, height, etc)?
>>>
>>>
>>>On 1/31/05, Paul Ferraro <pm...@columbia.edu> wrote:
>>>
>>>
>>>      
>>>
>>>>Use a normal DirectLink, but specifiy
>>>>org.apache.tapestry.contrib.link.PopupLinkRenderer as the renderer.
>>>>
>>>>Paul
>>>>
>>>>Jordan Redner wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>Has anyone implemented a way to DirectLink to a popup Window?
>>>>>
>>>>>contrib:popupLink doesn't seem to allow service parameters.
>>>>>
>>>>>Thanks in advance,
>>>>>
>>>>>
>>>>>Jordan
>>>>>
>>>>>
>>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: DirectLink to popUp window

Posted by Jer Kah <je...@gmail.com>.
Is this for Tapestry 4.0?  I'm getting an error (below).  If it is for
4.0, is there a 3.0 solution?

org.apache.tapestry.ApplicationRuntimeException 
Unable to instantiate bean 'popup' (for component MyPage) as class
org.apache.tapestry.contrib.link.PopupLinkRenderer: Could not load
class org.apache.tapestry.contrib.link.PopupLinkRenderer from
ContextLoader@6301159:
org.apache.tapestry.contrib.link.PopupLinkRenderer
location: context:/WEB-INF/MyPage.page, line 17, column 83 
   
org.apache.tapestry.ApplicationRuntimeException 
Could not load class
org.apache.tapestry.contrib.link.PopupLinkRenderer from
ContextLoader@6301159:
org.apache.tapestry.contrib.link.PopupLinkRenderer
   
java.lang.ClassNotFoundException 
org.apache.tapestry.contrib.link.PopupLinkRenderer 






On 7/5/05, Paul Ferraro <pm...@columbia.edu> wrote:
> Yes - look look at PopupLinkRenderer.setFeatures(...).
> e.g.
> 
> <a jwcid="@DirectLink" listener="..." renderer="ognl:beans.popup"
> href="#">...</a>
> 
> where the popup bean is defined as:
> 
> <bean name="popup"
> class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
>     <set-property name="features" expression="height=100,width=100"/>
> </bean>
> 
> 
> Paul
> 
> Jer Kah wrote:
> 
> >Is there a way to use this technique or a similar one that allows you
> >to specify window 'features' ( like width, height, etc)?
> >
> >
> >On 1/31/05, Paul Ferraro <pm...@columbia.edu> wrote:
> >
> >
> >>Use a normal DirectLink, but specifiy
> >>org.apache.tapestry.contrib.link.PopupLinkRenderer as the renderer.
> >>
> >>Paul
> >>
> >>Jordan Redner wrote:
> >>
> >>
> >>
> >>>Has anyone implemented a way to DirectLink to a popup Window?
> >>>
> >>>contrib:popupLink doesn't seem to allow service parameters.
> >>>
> >>>Thanks in advance,
> >>>
> >>>
> >>>Jordan
> >>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: DirectLink to popUp window

Posted by Paul Ferraro <pm...@columbia.edu>.
Yes - look look at PopupLinkRenderer.setFeatures(...).
e.g.

<a jwcid="@DirectLink" listener="..." renderer="ognl:beans.popup" 
href="#">...</a>

where the popup bean is defined as:

<bean name="popup" 
class="org.apache.tapestry.contrib.link.PopupLinkRenderer">
    <set-property name="features" expression="height=100,width=100"/>
</bean>


Paul

Jer Kah wrote:

>Is there a way to use this technique or a similar one that allows you
>to specify window 'features' ( like width, height, etc)?
>
>
>On 1/31/05, Paul Ferraro <pm...@columbia.edu> wrote:
>  
>
>>Use a normal DirectLink, but specifiy
>>org.apache.tapestry.contrib.link.PopupLinkRenderer as the renderer.
>>
>>Paul
>>
>>Jordan Redner wrote:
>>
>>    
>>
>>>Has anyone implemented a way to DirectLink to a popup Window?
>>>
>>>contrib:popupLink doesn't seem to allow service parameters.
>>>
>>>Thanks in advance,
>>>
>>>
>>>Jordan
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org