You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org> on 2005/02/11 19:56:12 UTC
[jira] Created: (BEEHIVE-283) onPopupDone in configurePopup tag not calling JS function
onPopupDone in configurePopup tag not calling JS function
---------------------------------------------------------
Key: BEEHIVE-283
URL: http://issues.apache.org/jira/browse/BEEHIVE-283
Project: Beehive
Type: Bug
Components: NetUI
Environment: Firefox 1.0 / Tomcat 5.0.25
Reporter: Jeremiah Johnson
Assigned to: Rich Feit
I dont think that my JavaScript is getting called at all. Below is what I currently have in my page source:
<netui:anchor action="beginNewProduct" popup="true">
Add New Product
<netui:configurePopup height="200" onPopupDone="reloadPage width="200"/>
</netui:anchor>
<snip>
</netui:form></p>
<netui:scriptBlock>
function reloadPage() {
window.location.href = "http://localhost:8080/";
}
</netui:scriptBlock>
</netui:body>
- jeremiah
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (BEEHIVE-283) onPopupDone in configurePopup tag not calling JS function
Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-283?page=all ]
Jeremiah Johnson closed BEEHIVE-283:
------------------------------------
I verified this in SVN 165665. Thanks, Rich.
> onPopupDone in configurePopup tag not calling JS function
> ---------------------------------------------------------
>
> Key: BEEHIVE-283
> URL: http://issues.apache.org/jira/browse/BEEHIVE-283
> Project: Beehive
> Type: Bug
> Components: NetUI
> Environment: Firefox 1.0 / Tomcat 5.0.25
> Reporter: Jeremiah Johnson
> Assignee: Jeremiah Johnson
> Priority: Minor
> Fix For: V1Beta
>
> I don't think that my JavaScript is getting called at all. Below is what I currently have in my page source:
> <netui:anchor action="beginNewProduct" popup="true">
> Add New Product
> <netui:configurePopup height="200" onPopupDone="reloadPage" width="200"/>
> </netui:anchor>
> ... <snip> ...
> </netui:form></p>
> <netui:scriptBlock>
> function reloadPage() {
> window.location.href = "http://localhost:8080/";
> }
> </netui:scriptBlock>
> </netui:body>
> - jeremiah
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Assigned: (BEEHIVE-283) onPopupDone in configurePopup tag not calling JS function
Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-283?page=history ]
Rich Feit reassigned BEEHIVE-283:
---------------------------------
Assign To: Jeremiah Johnson (was: Rich Feit)
> onPopupDone in configurePopup tag not calling JS function
> ---------------------------------------------------------
>
> Key: BEEHIVE-283
> URL: http://issues.apache.org/jira/browse/BEEHIVE-283
> Project: Beehive
> Type: Bug
> Components: NetUI
> Environment: Firefox 1.0 / Tomcat 5.0.25
> Reporter: Jeremiah Johnson
> Assignee: Jeremiah Johnson
> Priority: Minor
> Fix For: V1Beta
>
> I don't think that my JavaScript is getting called at all. Below is what I currently have in my page source:
> <netui:anchor action="beginNewProduct" popup="true">
> Add New Product
> <netui:configurePopup height="200" onPopupDone="reloadPage" width="200"/>
> </netui:anchor>
> ... <snip> ...
> </netui:form></p>
> <netui:scriptBlock>
> function reloadPage() {
> window.location.href = "http://localhost:8080/";
> }
> </netui:scriptBlock>
> </netui:body>
> - jeremiah
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (BEEHIVE-283) onPopupDone in configurePopup tag not calling JS function
Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-283?page=history ]
Jeremiah Johnson updated BEEHIVE-283:
-------------------------------------
Description:
I don't think that my JavaScript is getting called at all. Below is what I currently have in my page source:
<netui:anchor action="beginNewProduct" popup="true">
Add New Product
<netui:configurePopup height="200" onPopupDone="reloadPage" width="200"/>
</netui:anchor>
... <snip> ...
</netui:form></p>
<netui:scriptBlock>
function reloadPage() {
window.location.href = "http://localhost:8080/";
}
</netui:scriptBlock>
</netui:body>
- jeremiah
was:
I dont think that my JavaScript is getting called at all. Below is what I currently have in my page source:
<netui:anchor action="beginNewProduct" popup="true">
Add New Product
<netui:configurePopup height="200" onPopupDone="reloadPage width="200"/>
</netui:anchor>
<snip>
</netui:form></p>
<netui:scriptBlock>
function reloadPage() {
window.location.href = "http://localhost:8080/";
}
</netui:scriptBlock>
</netui:body>
- jeremiah
Priority: Minor (was: Major)
I dropped the priority to minor because I have a work-around: use the placement attribute in the ScriptBlock to ensure that the JS function to be called is at the end of the framework script:
<netui:scriptBlock placement="after">
function reloadPage() {
window.location.reload( true );
}
</netui:scriptBlock>
In fact, perhaps this is the intended behavior; is this still a bug?
- jeremiah
> onPopupDone in configurePopup tag not calling JS function
> ---------------------------------------------------------
>
> Key: BEEHIVE-283
> URL: http://issues.apache.org/jira/browse/BEEHIVE-283
> Project: Beehive
> Type: Bug
> Components: NetUI
> Environment: Firefox 1.0 / Tomcat 5.0.25
> Reporter: Jeremiah Johnson
> Assignee: Rich Feit
> Priority: Minor
>
> I don't think that my JavaScript is getting called at all. Below is what I currently have in my page source:
> <netui:anchor action="beginNewProduct" popup="true">
> Add New Product
> <netui:configurePopup height="200" onPopupDone="reloadPage" width="200"/>
> </netui:anchor>
> ... <snip> ...
> </netui:form></p>
> <netui:scriptBlock>
> function reloadPage() {
> window.location.href = "http://localhost:8080/";
> }
> </netui:scriptBlock>
> </netui:body>
> - jeremiah
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Resolved: (BEEHIVE-283) onPopupDone in configurePopup tag not calling JS function
Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-283?page=history ]
Rich Feit resolved BEEHIVE-283:
-------------------------------
Resolution: Fixed
Fix Version: V1Beta
Fixed with revision 153441. Glad you caught it.
> onPopupDone in configurePopup tag not calling JS function
> ---------------------------------------------------------
>
> Key: BEEHIVE-283
> URL: http://issues.apache.org/jira/browse/BEEHIVE-283
> Project: Beehive
> Type: Bug
> Components: NetUI
> Environment: Firefox 1.0 / Tomcat 5.0.25
> Reporter: Jeremiah Johnson
> Assignee: Rich Feit
> Priority: Minor
> Fix For: V1Beta
>
> I don't think that my JavaScript is getting called at all. Below is what I currently have in my page source:
> <netui:anchor action="beginNewProduct" popup="true">
> Add New Product
> <netui:configurePopup height="200" onPopupDone="reloadPage" width="200"/>
> </netui:anchor>
> ... <snip> ...
> </netui:form></p>
> <netui:scriptBlock>
> function reloadPage() {
> window.location.href = "http://localhost:8080/";
> }
> </netui:scriptBlock>
> </netui:body>
> - jeremiah
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira