Re: PagingNavigator with additionnal pageParameters

2012-07-20 Thread chimaira
Hi , thanks for replay,

 I tried it, but the overriden methods return a usual links. with no
pageparameters attribut.

@Override
protected AbstractLink newPagingNavigationLink(String id,
IPageable pageable, int pageNumber) {

return super.newPagingNavigationLink(id, pageable, pageNumber);
}

the newPagingNavigationLink(id, pageable, pageNumber); return an extended
object from the Link class. and there is no PageParameters attribute there.

and how can I replace the newPagingNavigationLink() with BookMarkableLink()
and keeping the pageable and pageNumber parameters? 


Thanks again. 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-with-additionnal-pageParameters-tp4650631p4650648.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: PagingNavigator with additionnal pageParameters

2012-07-20 Thread chimaira

Any idea ? 





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-with-additionnal-pageParameters-tp4650631p4650645.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



PagingNavigator with additionnal pageParameters

2012-07-19 Thread chimaira
Hi all, 

I would like to add a pagingNavigator , with a custom additional parameters
,  then the generated links will contain these parameters.


Is it possible ? and how to do that. 
If not , how to deal with that. 

I m using wicket 1.4.16 , and I can't upgrade right now. 
Thank you , 

A.M.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-with-additionnal-pageParameters-tp4650631.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: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread chimaira

I got it,

Thanks for your help  

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-Simple-attribute-modifier-confirm-javascript-popup-never-calld-form-not-submited-tp4322492p4323328.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: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread chimaira
Hi martin, 
oops I thought the AjaxCallDecorator was a markup component,  sorry

So how can I implement it in my AjaxLink ? By simply adding it in my
constructor? 


Thanks again 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-Simple-attribute-modifier-confirm-javascript-popup-never-calld-form-not-submited-tp4322492p4323255.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: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread chimaira
Thanks  Igor, But , how can I assign the markup Id ? There is no constructor
with a super(id) method ! 

Thanks again

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-Simple-attribute-modifier-confirm-javascript-popup-never-calld-form-not-submited-tp4322492p4323167.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



AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-23 Thread chimaira
Hello , sorry for my english ! 


I m facing a probleme with AjaxSubmitLink on a form compoenent 

I want to add a simple attribute modifier with a on click and a confirm 
javascript popup, to get to user confirmation befor submiting.

That works fine with a simple wicket button , but I want to use
AjaxSubmitLink that way I can overrid the OnError methode and refresh my
form feedback, so I create I class AjaxConfirmButton extends AjaxSubmitLink.
and in the constructor I add the behaviour (add( new
SimpleAttributeModifier('onclick', "return confirm(...)").

the probleme is the on click javascript is never calld and the form is never
submited.

is there a way to fix this issue? 
 hanks a lot 


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-Simple-attribute-modifier-confirm-javascript-popup-never-calld-form-not-submited-tp4322492p4322492.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: Control focus on input after a form feedback

2011-12-26 Thread chimaira
hI Sven Meier, Thanks for the trick ,  but that causes other issues.

firts: I use wicket version 1.4.16 and for some raison I can t upgrade to
1.5, and the methode renderHead(IHeaderResponse) is missing. I got only this
one renderHead(HtmlHeaderContainer container) . Note the given argument on
the seconde one (HtmlHeaderContainer  and not   (IHeaderResponse). 

Seconde: my form has more than one input field. how to target to wrong
field. Can I do that by passing variables in  PageParameters ?  because if
feedback is invoked the onSubmit form methode will not be called, then I
can't passe variable in page parameters.

Any idea? 

Thanks in advance
MA



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Control-focus-on-input-after-a-form-feedback-tp4228658p4234482.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



Control focus on input after a form feedback

2011-12-23 Thread chimaira
Hi All, 
I using wicket for my war application.
I use wickets validator and feedback to control form inputs and constraints.
so usefull . easy and amazing.

But:
I wish to set a focus on a wrong input field (or change color to red for ex) 
after getting feedback error from wickets 'feedback'. but when this last one
(feedback) is invoked, I can't do anything. I have to focus manually (with
my pointer ) on the wrng field. 

My question, how to control focus after feedback . or how to perfomr actions
afeter getting feedback.

Thanks a lot . 

MA

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Control-focus-on-input-after-a-form-feedback-tp4228658p4228658.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