hummm... Sorry Igor, I will work on it, tell me, how can I can download the whole source code?
On 3/28/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you are not up to date all the way. > > > -Igor > > > On 3/28/06, Ali Zaid <[EMAIL PROTECTED]> wrote: > > <input type="image" > > > id="fullContactPanel_fullContactListView_2_fullContactPanel_fullContactForm_submitAjaxSubmitButton" > > name="imageField" > src="../../../../../../images/accept.png" > > onclick="var > wicketAjaxCallMade=wicketSubmitFormById('fullContactPanel_fullContactListView_2_fullContactPanel_fullContactForm', > > > '/Yakhdhoor?wicket:interface=:2:fullContactPanel:fullContactListView:2:fullContactPanel:fullContactForm:submitAjaxSubmitButton:-1:IUnversionedBehaviorListener&wicket:behaviorId=0' > > );; return true;; return false;"> > > > > On 3/28/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > i only changed the ajax submit button class. what does your onclick > handler > > > look like? > > > > > > > > > -Igor > > > > > > > > > On 3/28/06, Ali Zaid < [EMAIL PROTECTED]> wrote: > > > > ok, I only changed the class, what other files where changed? > > > > > > > > On 3/28/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > > no i added something else, what does the generated onclick handler > look > > > > > like? > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > > On 3/28/06, Ali Zaid < [EMAIL PROTECTED] > wrote: > > > > > > > > > > > Igor; > > > > > > > > > > if you mean this: > > > > > > > > > > protected void onComponentTag(ComponentTag tag) > > > > > { > > > > > checkComponentTag(tag, "input"); > > > > > > > > > > final String type = > > > tag.getAttributes().getString("type"); > > > > > if (!"button".equals(type) && > > > > > !"image".equals(type)&&!"submit".equals(type)) > > > > > { > > > > > > > > > > findMarkupStream().throwMarkupException( > > > > > "Component > " + > > > > > getId() + " must be applied to a tag with 'type'" > > > > > > > > + > > > > > " attribute matching 'submit', 'button' or 'image', not '" + > > > > > type + "'"); > > > > > } > > > > > > > > > > super.onComponentTag(tag); > > > > > } > > > > > > > > > > > > > > > I did test it, and it still submit in a normal way (not ajax), is > > > > > there any other class/file that was updated with this one? is there > > > > > anything that I should include in the markup? > > > > > > > > > > mine looks like this > > > > > > > > > > <input type="image" name="imageField" > > > > > src="../../../../../../images/accept.png" > > > > > wicket:id="submitAjaxSubmitButton"/> > > > > > > > > > > Regards, > > > > > Ali > > > > > > > > > > > > > > > On 3/28/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: > > > > > > you wrote that email w/out testing eh :) > > > > > > > > > > > > update and try again > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > > > > > > On 3/28/06, Ali Zaid < [EMAIL PROTECTED] > wrote: > > > > > > > > > > > > > Igor; > > > > > > > > > > > > I did give it a try, and it works as I said, it submit the form in > a > > > > > > normal way not though Ajax, so page do refresh. > > > > > > > > > > > > Regards, Ali > > > > > > > > > > > > On 3/28/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > > > > i tweaked it and it now should work with button/image/submit > > > > > > > > > > > > > > give it a try. > > > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 3/28/06, Ali Zaid < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > Igor; > > > > > > > > > > > > > > My mistake, I just checked it again, and I made a fast judgment, > > > > > > > Sorry, it seems image doesn't work with Ajax :(, it submit the > form > > > in > > > > > > > a normal way, unless you have found work around. > > > > > > > > > > > > > > I'm really sorry for this mistake. I will recheck again and > update > > > > > > > you. again, Really sorry. > > > > > > > > > > > > > > Regards, Ali > > > > > > > > > > > > > > On 3/28/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: > > > > > > > > done. > > > > > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 3/28/06, Ali Zaid < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > Hay Guys; > > > > > > > > > > > > > > > > Wonderful work! > > > > > > > > > > > > > > > > I wanted to have the AjaxSubmitButton to be as an image, and > then > > > I > > > > > > > > found out that AjaxSubmitButton check for the attibute type > and > > > throw > > > > > > > > and exception if it's not a button, I modifed it and checked > it > > > with > > > > > > > > an image, and it works :), can you please have > AjaxSubmitButton > > > accept > > > > > > > > images too in the final release :), if this is not in the > plan, I > > > can > > > > > > > > submit a request. > > > > > > > > > > > > > > > > Thanks a million! > > > > > > > > > > > > > > > > -- > > > > > > > > Regards, Ali > > > > > > > > ----- > > > > > > > > Fight back spam! Download the Blue Frog. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking > scripting > > > > > > > language > > > > > > > > that extends applications into web and mobile media. Attend > the > > > live > > > > > > > webcast > > > > > > > > and join the prime developer group breaking into this new > coding > > > > > > > territory! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > > > > > > > > _______________________________________________ > > > > > > > > Wicket-user mailing list > > > > > > > > Wicket-user@lists.sourceforge.net > > > > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Regards, Ali > > > > > > > ----- > > > > > > > Fight back spam! Download the Blue Frog. > > > > > > > > > > > > > > > > > > > > > > http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking > scripting > > > > > > language > > > > > > > that extends applications into web and mobile media. Attend the > live > > > > > > webcast > > > > > > > and join the prime developer group breaking into this new coding > > > > > > territory! > > > > > > > > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > > > > > > _______________________________________________ > > > > > > > Wicket-user mailing list > > > > > > > Wicket-user@lists.sourceforge.net > > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Regards, Ali > > > > > > ----- > > > > > > Fight back spam! Download the Blue Frog. > > > > > > > > > > > > > > > http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > > > > language > > > > > > that extends applications into web and mobile media. Attend the > live > > > > > webcast > > > > > > and join the prime developer group breaking into this new coding > > > > > territory! > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > > > > > _______________________________________________ > > > > > > Wicket-user mailing list > > > > > > Wicket-user@lists.sourceforge.net > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Regards, Ali > > > > > ----- > > > > > Fight back spam! Download the Blue Frog. > > > > > > > > > http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > > language > > > > > that extends applications into web and mobile media. Attend the live > > > webcast > > > > > and join the prime developer group breaking into this new coding > > > territory! > > > > > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > > > > _______________________________________________ > > > > > Wicket-user mailing list > > > > > Wicket-user@lists.sourceforge.net > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > -- > > > > Regards, Ali > > > > ----- > > > > Fight back spam! Download the Blue Frog. > > > > > > > > http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > > language > > > > that extends applications into web and mobile media. Attend the live > > > webcast > > > > and join the prime developer group breaking into this new coding > > > territory! > > > > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > > > _______________________________________________ > > > > Wicket-user mailing list > > > > Wicket-user@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > -- > > Regards, Ali > > ----- > > Fight back spam! Download the Blue Frog. > > > http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding > territory! > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > -- Regards, Ali ----- Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user