Wasn't aware you were trying to maintain the button feel. If using an action
link you would need to build your own buttons using css. I don't believe an
action link submits the form like the submit button does, there for if you
have no form inputs, a form wouldn't be neccessary. However if you wish to
use submit buttons, perhaps using the following would work. I have never
tried it in the grid, so not entirely sure it will solve your prob. 

    
    @OnEvent(value = EventConstants.SELECTED, component = "modify")
    Object modifyJobPosting(JobPosting jobPosting) { 

         modifyJobPosting.setJobPosting(jobPosting);

         return modifyJobPosting;
    }


 ModifyJobPosting.class

    Class<?> onActivate(JobPosting jobPosting) {
        if(jobPosting!= null) {
            this.jobPosting= jobPosting;
        } else {
            return Index.class;
        }
        return null;
    }

    Object onPassivate() {
        Object value = null;
        if (jobPosting!= null) {
            value = jobPosting.getId();
        }
        return value;
    } 

    public void setJobPosting(JobPosting jobPosting) {
        this.jobPosting= jobPosting;
    }  

hope this helps.   

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-t-grid-t-submit-row-context-in-Tapestry-tp4642799p4643564.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to