Hi !!
Ok for closing this topic.
I created a custom panel.
and the PanelAgent.html like this.
//In web Page class
private PanelAgent panelInfosAgent = new
PanelAgent(panelInfosAgent,new ModelAgent(Agent.emptyAgent())){
Hi,
Need your help ...
in MyPage .java {
//bla bla ...
private class FormulaireRechercheAgent extends FormAgent{
public FormulaireRechercheAgent(String id) {
super(id,new
You're adding the label after the submit only
@Override
public void onSubmit(AjaxRequestTarget target, Form? form)
{
formulaireRechercheAgent.add(labelAgentMailpro);
}
Sven
On 11/13/2013 11:23 AM, Selom wrote:
Hi,
Need
You'll have to add the label beforehand, either keep it invisible before
submit or add a placeholder instead.
Sven
On 11/13/2013 11:48 AM, Selom wrote:
Hello,
Thanks you for yours reply.
Of course, I want to show my label if only if the form
formulaireRechercheAgent is submitted
Hello,
Thanks you for yours reply.
Of course, I want to show my label if only if the form
formulaireRechercheAgent is submitted successfully.
I believe the form is not called yet , since I can not reach the html page.
Sincerly yours.
--
View this message in context:
You are right,
adding add(labelAgentMailpro) beforesolved the problem.
Thank you very much.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Another-same-probleme-with-wicket-enclosure-tag-tp4662371p4662378.html
Sent from the Users forum mailing list
Now I replace the label by a form like this
private FormulaireAgent formulaireAgent = new
FormulaireAgent(formulaireAgent, new Agent()){
@Override
protected void onConfigure(){
if (agentBySesame==null){