Re: [Wicket-user] Having problems with ModalWindow and AjaxSubmitButton

2007-07-23 Thread carbonbasednerd

That was the issue.  Which is odd - really wasn't anything to validate.  To
test I had overridden the validate method on the form and did nothing with
it and now it works.

thanks for the help.


Matej Knopp-2 wrote:
> 
> Are you sure the form validates right?
> 
> -Matej
> 
> On 7/23/07, carbonbasednerd <[EMAIL PROTECTED]> wrote:
>>
>> In my parent page I create a ModalWindow which has ajaxsubmitbuttons and
>> works just fine.  Within that modal window I have a link which will take
>> the
>> user to another page within the same ModalWindow.  That also has
>> AjaxSubmitButtons but they do not appear to be called.  The onclick in
>> the
>> source is showing the link to be:
>>
>>  onclick="var wcall=wicketSubmitFormById('blendedBuyForm',
>> '/?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true',
>> null, function() { }, function() { });;; return false;"
>>
>> that -1 next to cancel doesn't look right.  Did I miss something when
>> setting this up?
>>
>> This is the ajax debug:
>>
>> NFO:
>> INFO: Initiating Ajax POST request on
>> /?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true&random=0.5978146078408596
>> INFO: Invoking pre-call handler(s)...
>> INFO: Received ajax response (69 characters)
>> INFO:
>> 
>> INFO: Response parsed. Now invoking steps...
>> INFO: Response processed successfully.
>> INFO: Invoking post-call handler(s)...
>> --
>> View this message in context:
>> http://www.nabble.com/Having-problems-with-ModalWindow-and-AjaxSubmitButton-tf4131281.html#a11749014
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Having-problems-with-ModalWindow-and-AjaxSubmitButton-tf4131281.html#a11750892
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Having problems with ModalWindow and AjaxSubmitButton

2007-07-23 Thread carbonbasednerd

In my parent page I create a ModalWindow which has ajaxsubmitbuttons and
works just fine.  Within that modal window I have a link which will take the
user to another page within the same ModalWindow.  That also has
AjaxSubmitButtons but they do not appear to be called.  The onclick in the
source is showing the link to be:

 onclick="var wcall=wicketSubmitFormById('blendedBuyForm',
'/?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true',
null, function() { }, function() { });;; return false;"

that -1 next to cancel doesn't look right.  Did I miss something when
setting this up?

This is the ajax debug:

NFO:
INFO: Initiating Ajax POST request on
/?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true&random=0.5978146078408596
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (69 characters)
INFO:

INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
-- 
View this message in context: 
http://www.nabble.com/Having-problems-with-ModalWindow-and-AjaxSubmitButton-tf4131281.html#a11749014
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] getting an NS_ERROR_NOT_AVAILABLE in ff 2.0.0.4

2007-06-19 Thread carbonbasednerd

Thanks for the info.

Would you  happen to know where that fix is?  We are running
on 1.2.6 and I need to patch this in our app. and at this point, using 1.3.0
is not an option.


Al Maw wrote:
> 
> carbonbasednerd wrote:
>> I saw there was another message posted about this being a problem with ff
>> 1.0.6 and the wikki states that ff 1.5* has only been verified working
>> with
>> ajax.  That being said, I'm using ff 2.0.04 and I am occasionally getting
>> this error:
>> 
>> Error: [Exception... "Component returned failure code: 0x80040111
>> (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]"  nsresult:
>> "0x80040111
>> (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame ::
>> http://qa-major2:10001/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js
>> :: anonymous :: line 626"  data: no]
>> Source File:
>> http://qa-major2:10001/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js
>> Line: 626
>> 
>> the component this is happening on is a home grown nested paging table.  
>> When the page loads the first time there is no problem.  When we use our
>> paging controls(which extend the AjaxPagingNavigator) is when we will
>> occasionally see this happening. And once this error happens, the links
>> to
>> expand the row (not surprisingly) return wicketAjaxGet is not defined.
>> Any ideas where I should look to figure this out?
>> 
>> * may be nothing but it seems like this issue only happens on pages that
>> also use the datepicker.
>> 
>> thanks in advance for the help.
> 
> Think this bug is "fixed" in trunk (1.3.0-SNAPSHOT). It happens when you 
> try to get the status of an AJAX response that has failed. The reason 
> for failure is another matter.
> 
> The AjaxEditableLabel component is currently suffering from this when 
> you push the escape key in Firefox (see WICKET-520). I'm having a hard 
> time figuring out why it doesn't work.
> 
> Al
> 
> -- 
> Alastair Maw
> Wicket-biased blog at http://herebebeasties.com
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/getting-an-NS_ERROR_NOT_AVAILABLE-in-ff-2.0.0.4-tf3942387.html#a11196640
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] getting an NS_ERROR_NOT_AVAILABLE in ff 2.0.0.4

2007-06-18 Thread carbonbasednerd

I saw there was another message posted about this being a problem with ff
1.0.6 and the wikki states that ff 1.5* has only been verified working with
ajax.  That being said, I'm using ff 2.0.04 and I am occasionally getting
this error:

Error: [Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]"  nsresult: "0x80040111
(NS_ERROR_NOT_AVAILABLE)"  location: "JS frame ::
http://qa-major2:10001/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js
:: anonymous :: line 626"  data: no]
Source File:
http://qa-major2:10001/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js
Line: 626

the component this is happening on is a home grown nested paging table.  
When the page loads the first time there is no problem.  When we use our
paging controls(which extend the AjaxPagingNavigator) is when we will
occasionally see this happening. And once this error happens, the links to
expand the row (not surprisingly) return wicketAjaxGet is not defined.
Any ideas where I should look to figure this out?

* may be nothing but it seems like this issue only happens on pages that
also use the datepicker.

thanks in advance for the help.
-- 
View this message in context: 
http://www.nabble.com/getting-an-NS_ERROR_NOT_AVAILABLE-in-ff-2.0.0.4-tf3942387.html#a11182629
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DataView and Ajax

2006-12-08 Thread carbonbasednerd

That did it.  Thanks for the help.


igor.vaynberg wrote:
> 
> well in that case just do
> 
> new AjaxPagingNavigator() { onajaxevent(target) {
> target.add(dataviewparent);
> }}
> 
> -igor
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/DataView-and-Ajax-tf2771602.html#a7759052
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DataView and Ajax

2006-12-07 Thread carbonbasednerd

tried that and I still get the same error message.


igor.vaynberg wrote:
> 
> yes, ie doesnt let you use outerhtml on table elements, simply replace the
> ...
> 
> -igor
> 
> 
> On 12/7/06, carbonbasednerd <[EMAIL PROTECTED]> wrote:
>>
>>
>> I put the data view into a markupcontainerso the html looks like this:
>>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> I get an Unknown runtime error.  I dug around and found that this might
>> be
>> because of IE and some troubles with  tags?  didn't find a solution
>> to
>> this though.
> 

-- 
View this message in context: 
http://www.nabble.com/DataView-and-Ajax-tf2771602.html#a7746194
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DataView and Ajax

2006-12-07 Thread carbonbasednerd

I put the data view into a markupcontainerso the html looks like this:














I get an Unknown runtime error.  I dug around and found that this might be
because of IE and some troubles with  tags?  didn't find a solution to
this though.


try putting the dataview into a markupcontainer

-igor


On 12/6/06, carbonbasednerd <[EMAIL PROTECTED]> wrote:
>
>
> Hi, I searched the forums and found one question about AjaxPagingNavigator
> not working with DataView - but there was no response to it.
>
> Is the DataView unable to work with AjaxPagingNavigator or do I need to do
> something else to get it to work?

-- 
View this message in context: 
http://www.nabble.com/DataView-and-Ajax-tf2771602.html#a7745724
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] DataView and Ajax

2006-12-06 Thread carbonbasednerd

Hi, I searched the forums and found one question about AjaxPagingNavigator
not working with DataView - but there was no response to it.

Is the DataView unable to work with AjaxPagingNavigator or do I need to do
something else to get it to work?

(here's a sample of what I am doing)

DataView campaignDV = new CampaignDataView("campaignDV", cdp);
campaignDV.setOutputMarkupId(true);
campaignDV.setItemsPerPage(10);
AjaxPagingNavigator pn = new AjaxPagingNavigator("navigator", campaignDV);


thanks for the help.
-- 
View this message in context: 
http://www.nabble.com/DataView-and-Ajax-tf2771602.html#a7730816
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user