@AllowedMethod
	@Transactional(TransactionType.WRITE)
	public String update()
	{
		log.debug("---------------- update()");
		saveOrUpdate();
		// TODO: i18n: Externalize.
		// TODO: Enhance: Print link to updated shop.
		addActionMessage("Shop <strong>" + escape(shop.getName()) + "</strong> updated successfully.");
		return RESULT_REDIRECT_VIEW;
	}
@AllowedMethod
	@Transactional(TransactionType.WRITE)
	public String update()
	{
		log.debug("---------------- update()");
		saveOrUpdate();
	
	
		addActionMessage("Shop <strong>" + escape(shop.getName()) + "</strong> updated successfully.");
		return RESULT_REDIRECT_VIEW;
	}
@allowedmethod @transactional(transactiontype.write) public string update() { log.debug("---------------- update()"); saveorupdate(); addactionmessage("shop <strong>" + escape(shop.getname()) + "</strong> updated successfully."); return result_redirect_view; }