[ http://issues.apache.org/jira/browse/BEEHIVE-970?page=all ]
     
Carlin Rogers resolved BEEHIVE-970:
-----------------------------------

    Resolution: Fixed
     Assign To: Alejandro Ramirez  (was: Daryl Olander)

Committed with revision 328664. 

I didn't find much on the net about the IE issue with button tags other than a 
couple entries in some IE msdn blogs...

http://blogs.msdn.com/dmassy/archive/2004/06/16/157263.aspx#162226
http://blogs.msdn.com/ie/archive/2005/04/22/410963.aspx#413515

I went ahead and made this change to NetUI to give the users the option to 
create <button> elements using <netui:button>. I've included Javadoc about the 
boundary case that using the actionOverride with the HTML <button> element will 
cause problems in IE.

The implementation requires the user to explicitly set the new netui:button 
attribute, renderAsButton, to true to get an HTML <button> control.

> Need "netui:button" to render BOTH text and images simultaneously
> -----------------------------------------------------------------
>
>          Key: BEEHIVE-970
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-970
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Jack Rudnick
>     Assignee: Alejandro Ramirez
>     Priority: Critical
>      Fix For: 1.1
>  Attachments: j970-patch.txt
>
> We were using "netui:button" , and these buttons but contain both text and 
> image.  Using <netui:imageButton does not sound like it would be useful, as 
> the whole button would need to then be an image, creating an i18n nightmare.  
> We need a button that can take an image, while also can take a variable 
> representing an i18ned string value.  Basically, we are looking for the 
> equivalent of:
>  
> <button ><img src="./someimage.gif">delete button</button>
>  
> The above will generate a button with an image in the button on the left and 
> (internationalized) text that is passed to the button on the right.  Right 
> now, since we can't use "netui:button" we have a workaround that uses an html 
> <button that hits javascript.  The javascript gets the correct URI to go via 
> NETUI and passes it through for us.  We would hope that there is another way 
> to do this where we can use Netui, being that if can't use "netui:button" we 
> loose things like "popup=true" and other great netui stuff. 

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

Reply via email to