Re: Call me page wicket from iframe in page.jsp

2013-05-17 Thread Alis
Hello!

The problem is that we no longer need two separate applications, but the
application contain wicket in the other.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716p4658901.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Call me page wicket from iframe in page.jsp

2013-05-17 Thread Alis
 Hello!

The problem is that we no longer need two separate applications, but the
application contain wicket in the other.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716p4658902.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Wicket in other application

2013-05-16 Thread Alis
Hello! Currently, I have two applications: one wicket and one in struts jsp.

Both need to interact. I keep the same HttpServletRequest and HttpSession in
both apliacaiones.

The solution I thought is to unify the wicket application in another
application.

How do I?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-in-other-application-tp4658859.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Wicket in other application

2013-05-16 Thread Alis
Yes, i want to merge them into a single application with only one code base.

I'm bringing in other wicket application.


I began by:

web.xml

?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC quot;-//Sun Microsystems, Inc.//DTD Web
Application 2.3//ENquot;
quot;http://java.sun.com/dtd/web-app_2_3.dtdquot;

web-app id=WebApp_1087847902953

filter id=Filter_1
filter-nameFilterAll/filter-name
   
filter-classcom.consisint.acsele.management.filter.URLFilter/filter-class
init-param id=inicio_100
param-nameinicio/param-name
param-valueindex-alt.jsp/param-value
/init-param
/filter
filter id=Filter_10001
filter-nameUserInfoSetFilter/filter-name
   
filter-classcom.consisint.acsele.management.filter.UserInfoSetFilter/filter-class
/filter
filter id=Filter_10002
filter-nameUserInfoSetFilterFrontEnd/filter-name
   
filter-classcom.consisint.frontend.config.UserInfoSetFilter/filter-class
init-param
param-namefilterName/param-name

param-valueWicketApplication/param-value
/init-param
/filter
   * filter id=Filter_10003*
filter-nameWicketApplication/filter-name

  * 
filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class*
init-param
param-nameapplicationClassName/param-name
   
param-valuecom.consisint.frontend.modules.main.Application/param-value
/init-param
  *  /filter*


filter-mapping id=FilterMapping_10001
filter-nameFilterAll/filter-name
url-pattern*.jsp/url-pattern
/filter-mapping
filter-mapping id=FilterMapping_10002
filter-nameFilterAll/filter-name
url-pattern/servlet//url-pattern
/filter-mapping
filter-mapping id=FilterMapping_10003
filter-nameFilterAll/filter-name
url-pattern//url-pattern
/filter-mapping
filter-mapping id=FilterMapping_1115322486156
filter-nameFilterAll/filter-name
servlet-nameServletGenericFormulaTool/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486157
filter-nameFilterAll/filter-name
servlet-nameaction/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486158
filter-nameFilterAll/filter-name
servlet-nameServletFundTool/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486159
filter-nameFilterAll/filter-name
servlet-nameServletProductTool/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486160
filter-nameFilterAll/filter-name
servlet-nameServletEntryTool/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486161
filter-nameFilterAll/filter-name
servlet-nameStartOperation/servlet-name
/filter-mapping
  filter-mapping id=FilterMapping_1115322486158mob
 filter-nameFilterAll/filter-name
 servlet-nameMobileServices/servlet-name
  /filter-mapping
filter-mapping id=FilterMapping_1115322486162
filter-nameFilterAll/filter-name
servlet-nameAppCoordinator/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486163
filter-nameFilterAll/filter-name
servlet-nameServletUAA/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486164
filter-nameFilterAll/filter-name
servlet-nameServletCashierStand/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486165
filter-nameFilterAll/filter-name
servlet-nameServletFormulaTool/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486166
filter-nameFilterAll/filter-name
servlet-nameServletClaimTool/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486168
filter-nameFilterAll/filter-name
servlet-nameWorkflowController/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486169
filter-nameFilterAll/filter-name
servlet-nameServletReport/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486170
filter-nameFilterAll/filter-name
servlet-nameServletPolicy/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486171
filter-nameFilterAll/filter-name
servlet-nameServletWorkflowTool/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486172
filter-nameFilterAll/filter-name
servlet-nameServletTemplateTool/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486173
filter-nameFilterAll/filter-name
servlet-nameServletClaim/servlet-name
/filter-mapping
filter-mapping id=FilterMapping_1115322486174
filter-nameFilterAll/filter-name
servlet-nameServletTemplate/servlet-name
/filter-mapping

Re: Call me page wicket from iframe in page.jsp

2013-05-16 Thread Alis
Thank you! How do I keep the same session even if aplicaiones different?


To be placed in each web.xml, help me



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716p4658869.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Call me page wicket from iframe in page.jsp

2013-05-14 Thread Alis
Thank you!

 Now, my problem is that there are two sessions (one in wicket application
and another in jsp). How achievement maintain the values ​​existing in the
request from wicket to return to interact in the page jsp.

Example: 

page in wicket (Page.java) 

WebRequestCycle cycle = (WebRequestCycle) RequestCycle.get();
HttpServletRequest request =
cycle.getWebRequest().getHttpServletRequest();
HttpServletResponse response =
cycle.getWebResponse().getHttpServletResponse();
HttpSession session = request.getSession();


How return a page in jsp.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716p4658792.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Call me page wicket from iframe in page.jsp

2013-05-10 Thread Alis
Hello! Help me , how call me a page in wicket from iframe of page .jsp.

Example:

*page.jsp*

 




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716.html
Sent from the Users forum mailing list archive at Nabble.com.

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



error in heritance

2010-11-23 Thread Alis

 Hello!i´m doing a call to the son class, and and show the error:

WicketMessage: Base markup of inherited markup not found. Component class:
com.consisint.frontend.pages.ThirdByRolPolicy Enable debug messages for
org.apache.wicket.util.resource.Resource to get a list of all filenames
tried.

Root cause:

org.apache.wicket.markup.MarkupNotFoundException: Base markup of inherited
markup not found. Component class:
com.consisint.frontend.pages.ThirdByRolPolicy Enable debug messages for
org.apache.wicket.util.resource.Resource to get a list of all filenames
tried.
at
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:98)
at
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)
at
org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(DefaultMarkupLoader.java:55)


 The classes is:

  public  class  ThirdByRolMain extends Panel {
protected WebMarkupContainer wmc;
protected Form formThird;
protected   Object object;
protected  DataViewThirdModel dataView;   // data table
protected  SortableThirdProvider thirdProvider;   // data model
protected  ListString partAdds = new ArrayListString();
protected  Label numberRowLabel;
protected  FeedbackPanel feedback;
public ThirdByRolMain(final String id,final Object object,final String
idClass, final Role role,final boolean isClient,final Policy pol){


super(id);
 System.out.println(id padree=  + id);
wmc = new WebMarkupContainer( wmc ) {
@Override
public boolean isTransparentResolver()
{
return true;
}};

add(wmc);
   // formThird= new Form(form);

this.object=object;
WebMarkupContainer containerDetailSearch = new
WebMarkupContainer(detailSearch);
containerDetailSearch.setOutputMarkupId(true);
add(containerDetailSearch);
}

?xml version=1.0 encoding=UTF-8?
html xmlns:wicket=http://www.w3.org/1999/XSL/Transform;
head
/head
body
wicket:panel
div wicket:id=wmcwicket:child /wicket:child/div
div wicket:id=detailSearch/div
/wicket:panel
/body
/html




public class ThirdByRolPolicy extends ThirdByRolMain{

private ConfirmationAnswer  isSure;
private ModalDialog dataBasicModalDialog,modalDialogSecurity;
private boolean isEmpty=true;
private ValueMap properties = new ValueMap();
private String idThirdOld=;

public ThirdByRolPolicy(final String id,final Object object,final String
idClass, final Role role,final boolean isClient,final Policy pol){

super(id, object,idClass,role, isClient, pol);
Form formThird = new Form(thirdForm);
wmc.add(formThird);

}

}


?xml version=1.0 encoding=UTF-8?
html xmlns:wicket=http://www.w3.org/1999/XSL/Transform;
wicket:extend
form wicket:id=thirdForm/form
 /wicket:extend
/html



 Help me please, thank you!

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055355.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: error in heritance

2010-11-23 Thread Alis

  Hello Alex, i´m using inheritance. See the cod. html of  class extend
Panel:


 ?xml version=1.0 encoding=UTF-8?
html xmlns:wicket=http://www.w3.org/1999/XSL/Transform;
head
/head
body
wicket:panel
div wicket:id=wmcwicket:child AQUI VA EL
CHILD/wicket:child/div
div wicket:id=detailSearch/div
/wicket:panel
/body
/html



-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055406.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: error in heritance

2010-11-23 Thread Alis

  
  Alex, the class Base extend Panel (ThirdByRolMain) and the class Sub
extend Base (ThirdByRolPolicy). The two class is in package
com.consisint.frontend.pages.

 And the html in C:\programs\FrontEnd\FrontEnd\WebContent\views .

 Help me please, error:

WicketMessage: Base markup of inherited markup not found. Component class:
com.consisint.frontend.pages.ThirdByRolPolicy Enable debug messages for
org.apache.wicket.util.resource.Resource to get a list of all filenames
tried.

Root cause:

org.apache.wicket.markup.MarkupNotFoundException: Base markup of inherited
markup not found. Component class:
com.consisint.frontend.pages.ThirdByRolPolicy Enable debug messages for
org.apache.wicket.util.resource.Resource to get a list of all filenames
tried.
at
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:98)
at
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)
?


 Thank you Alex!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055467.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: error in heritance

2010-11-23 Thread Alis

  I´m use wicket 1.4.6!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055471.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: error in heritance

2010-11-23 Thread Alis

   I done  the class to change the location: 

  public class ConfigHtmlPath extends ResourceStreamLocator {

/**
 * Constructor class
 */
public ConfigHtmlPath() {
}

/**
 * Find the html resource in the dir especified
 * @param clazz class to localize
 * @param path path where the class is
 * @return  the new resource stream
 */
public IResourceStream locate(Class? clazz, String path)
{
String location;
String extension = path.substring(path.lastIndexOf('.') + 1);
String simpleFileName = Strings.lastPathComponent(clazz.getName(),
'.');
location = /views/ + simpleFileName + . + extension;
URL url;
try
{
// try to load the resource from the web context
url =
WebApplication.get().getServletContext().getResource(location);
if (url != null)
{
return new UrlResourceStream(url);
}
}
catch (MalformedURLException e)
{
throw new WicketRuntimeException(e);
}
// resource not found; fall back on class loading
return super.locate(clazz, path);
}
}


 Thank you by reply! :) 
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055527.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: error in heritance

2010-11-23 Thread Alis

  James, please help me.  Thank you!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055573.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: ModalWindow - Question

2010-07-07 Thread Alis

Hello Martin, i´m use dialog(name ModalWindow).close(target)...thank you!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ModalWindow-Question-tp2279695p2280890.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



ModalWindow - Question

2010-07-06 Thread Alis


Hello! i´m done a ModalWindow the question, where it's show two button: yes
/ no. When the user do click the button,  i done a close the ModalWindow and
have a error.

Help me!


  AjaxButton yesB= new AjaxButton(YesButton){
public void onSubmit(AjaxRequestTarget target, Form form){
confirm.setAnswer(true);
AjaxRequestTarget art = AjaxRequestTarget.get();
if (art != null) {
dialog.close(target);
   }
   
};


};

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ModalWindow-Question-tp2279695p2279695.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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