/** * Creates a new ComponentAddress using the given Page Name and ID Path relative on the provided * Namespace. * * @param namespace * the namespace of the page that contains the component * @param pageName * the name of the page that contains the component * @param idPath * the ID Path of the component */ public ComponentAddress(INamespace namespace, String pageName, String idPath) { this(namespace.constructQualifiedName(pageName), idPath); }
/** * Creates a new ComponentAddress using the given Page Name and ID Path relative on the provided * Namespace. * * @param namespace * the namespace of the page that contains the component * @param pageName * the name of the page that contains the component * @param idPath * the ID Path of the component */ public ComponentAddress(INamespace namespace, String pageName, String idPath) { this(namespace.constructQualifiedName(pageName), idPath); }
public ILink getLink(IRequestCycle cycle) { String parameter = null; INamespace namespace = getTargetNamespace(); String targetPage = getTargetPage(); if (namespace == null) parameter = targetPage; else parameter = namespace.constructQualifiedName(targetPage); return getPageService().getLink(false, parameter); }
public ILink getLink(IRequestCycle cycle) { String parameter = null; INamespace namespace = getTargetNamespace(); String targetPage = getTargetPage(); if (namespace == null) parameter = targetPage; else parameter = namespace.constructQualifiedName(targetPage); return getPageService().getLink(false, parameter); }
/** * Gets the listener for the link component. * * @since 1.0.5 */ public void trigger(IRequestCycle cycle) { String name = getNamespace().constructQualifiedName("Inspector"); Inspector inspector = (Inspector) cycle.getPage(name); inspector.inspect(getPage().getPageName(), cycle); }
public ILink getLink(IRequestCycle cycle) { Object[] serviceParameters = DirectLink.constructServiceParameters(getParameters()); INamespace namespace = getTargetNamespace(); String targetPage = (namespace==null) ? getTargetPage() : namespace.constructQualifiedName(getTargetPage()); ExternalServiceParameter esp = new ExternalServiceParameter(targetPage, serviceParameters); return getExternalService().getLink(false, esp); }
public ILink getLink(IRequestCycle cycle) { Object[] serviceParameters = DirectLink.constructServiceParameters(getParameters()); INamespace namespace = getTargetNamespace(); String targetPage = (namespace==null) ? getTargetPage() : namespace.constructQualifiedName(getTargetPage()); ExternalServiceParameter esp = new ExternalServiceParameter(targetPage, serviceParameters); return getExternalService().getLink(false, esp); }
throw new ApplicationRuntimeException(PageloadMessages.classNotPage(pageClass), location, null); String pageName = namespace.constructQualifiedName(name);
throw new ApplicationRuntimeException(PageloadMessages.classNotPage(pageClass), location, null); String pageName = namespace.constructQualifiedName(name);