hi all

i am looking at the REST example and got several thing that i need all
of your time to help me out

i got this

@Results({
    @Result(name="success", type="redirectAction", params =
{"actionName" , "orders"})
})
public class OrdersController implements ModelDriven<Object>, Validateable{



i still dont get how can this controller can produce the link like

http://localhost:8080/TestWeb/orders/3
http://localhost:8080/TestWeb/orders/3/edit
http://localhost:8080/TestWeb/orders/6/deleteConfirm


is thie @Result means for params = {"actionName" , "orders"})

will make the /orders/number/action

so the view for /3/edit will need orders-edit.jsp

the /6/delete will need orders-delete.jsp

any idea all



-- 
-- 
Frans Thamura
Meruvian
One Stop Java and Enterprise OSS Provider
Technopreneurship, Training, Internship, Outsourcing and Corporate
Competency Center

Mobile: +62 855 7888 699
Blog & Profile: http://frans.thamura.info

Training JENI, Medallion (Alfresco, Liferay dan Compiere).. buruan...
URL: http://www.meruvian.com

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

Reply via email to