beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryl Olander (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Resolved: (BEEHIVE-160) Netui:area tag can set submitForm="true" but does not function as Netui:anchor tag does
Date Sun, 06 Feb 2005 04:35:26 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-160?page=history ]
     
Daryl Olander resolved BEEHIVE-160:
-----------------------------------

     Assign To: Julie Zhuo  (was: Daryl Olander)
    Resolution: Invalid

This actually does work as designed.  The problem is that you must put the <netui:area>
inside of the form.  Once that is done it works fine.  I've added but 248 as an enhancement
request that would allow you to hvae the <netui:anchor> and <netui:area> tags
outside of the form you want to post.

I added coreWeb/bugs/j160 as verification that this works.

> Netui:area tag can set submitForm="true" but does not function as Netui:anchor tag does
> ---------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-160
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-160
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Julie Zhuo
>     Assignee: Julie Zhuo

>
> netui:area tag extends netui:anchorBase tag which allows it to set the submitForm attribute
to true to submit the form using the form action. But once trying this functionality, it does
not do the job as expected. Not so sure if this feature is intended for the area tag though.
The following are the part of the JSP and its generated html. Notice, the netui:area tag when
have submitForm set it generates a <a/> tag rather a <area/> tag.
> ******** Part of the JSP file *******
>     <netui:body>
>         <netui:scriptContainer scopeId="scope1">
>                 Area JS Output Test!<br/>
>                 <netui:image src="./../resources/beehive/version1/images/planets.gif"
width="145" height="126" alt="Planets" usemap="#planetmap"></netui:image>
>                 <map id="planetmap" name="planetmap">
>                 <netui:area tagId="a1" shape="rect" coords="0,0,82,126" alt="Back"
action="back" />
>                 <netui:area tagId="a2" shape="rect" coords="82,0,126,126" alt="Submit"
formSubmit="true">Submit</netui:area>
>                 </map>
>         </netui:scriptContainer><br/>
>        <p id="javaOut"></p>
>     </netui:body> 
> *********** Part of the html output *******
>        <div netui:scopeId="scope1" >
>                 Area JS Output Test!<br/>
>                 <img src="/JavaScriptWeb/outputTest/./../resources/beehive/version1/images/planets.gif"
width="145" height="126" usemap="#planetmap" alt="Planets">
>                 <map id="planetmap" name="planetmap">
>                 <area id="scope1.a1" href="/JavaScriptWeb/outputTest/back.do" shape="rect"
alt="Back" coords="0,0,82,126">
>                 <a id="a2" name="a2" shape="rect" alt="Submit" coords="82,0,126,126">
>                 </map>
>         </div>

-- 
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


Mime
View raw message