Johan Compagner wrote:

then we get partial scripting inside java/page.

Didn't know that was a bad thing...

Why would we have that. What would you call with performAction?

We can already do this:

PropertyResolver.getValue("expression", this.getPage());

I'd like to just be able to type:

this.getValue("expression");

or

this.getPage().getValue("expression");


...or, something like that.

Did you look at the NSKeyValueCoding docs?

/Anders


On 5/8/06, *Anders Peterson* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    I assume you mean PropertyResolver.getValue(String expression, Object
    object);

    That's not the kind of context I meant. I was thinking there could be an
    additional context parameter - maybe RequestCycle. Don't know if that is
    possible or necessary. It was just an idea.

    I would specifically like to have the performAction method in Page, but
    why not put it in Component.

    /Anders

    Johan Compagner wrote:
     > You also have this now.
     > Just call PropertyResolver.getValue(contextObject, propertyString)
     >
     > where should that performAction method be located?
     >
     > On 5/8/06, * Anders Peterson* < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
     > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
     >
     >     A different web application framework that I've worked with
    has "ognl"
     >     available everywhere. It's extremely convenient and powerful!
     >
> http://developer.apple.com/documentation/WebObjects/Reference/API5.2.4/com/webobjects/foundation/NSKeyValueCoding.html
    
<http://developer.apple.com/documentation/WebObjects/Reference/API5.2.4/com/webobjects/foundation/NSKeyValueCoding.html>
     >
     >     Seems to me it wouldn't be difficult to add...
     >
     >     /Anders
     >
     >     Anders Peterson wrote:
     >      > I'm looking for the equivalent of Ognl.setValue(...) and
    guessing I
     >      > should use wicket.util.lang.PropertyResolver.setvalue(...);
     >      >
     >      > The wicket.util.object package (referred to in the wiki
    migrate
     >      > instructions) does not exist.
     >      >
     >      > Would it be possible to add a method performActionNamed(String
     >      > expression) to wicket.Component? That's what I'm aiming for...
     >      >
     >      > /Anders
     >
     >
     >     --
     >     http://ojalgo.org/
     >
     >     Mathematics, Linear Algebra and Optimisation with Java
     >
     >
     >     -------------------------------------------------------
     >     Using Tomcat but need to do more? Need to support web services,
     >     security?
     >     Get stuff done quickly with pre-integrated technology to make
    your
     >     job easier
     >     Download IBM WebSphere Application Server v.1.0.1 based on Apache
     >     Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>>
     >     _______________________________________________
     >     Wicket-user mailing list
     >     [email protected]
    <mailto:[email protected]>
     >     <mailto:[email protected]
    <mailto:[email protected]>>
     >     https://lists.sourceforge.net/lists/listinfo/wicket-user
     >
     >


    --
    http://ojalgo.org/ <http://ojalgo.org/>

    Mathematics, Linear Algebra and Optimisation with Java


    -------------------------------------------------------
    Using Tomcat but need to do more? Need to support web services,
    security?
    Get stuff done quickly with pre-integrated technology to make your
    job easier
    Download IBM WebSphere Application Server v.1.0.1 based on Apache
    Geronimo
    http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
    _______________________________________________
    Wicket-user mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/wicket-user




--
http://ojalgo.org/

Mathematics, Linear Algebra and Optimisation with Java


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to