[ 
https://issues.apache.org/jira/browse/TOMAHAWK-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531520
 ] 

Björn Voß commented on TOMAHAWK-602:
------------------------------------

this will also solve a problem with the anchor tag if you use the a base-header 
in your jsp.

for example, if I use a base tag like this
<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
        <head>
        <base href="http://myserver/myapp/";>
       </head>
        <body>
                <f:view locale="#{customer.locale}">
                        <h:form id="scheduleForm">
                        
                                        <t:schedule 
value="#{dayplanMB.scheduleModel}" id="schedule1" 
binding="#{dayplanMB.schedule}"
                                                rendered="true" 
visibleEndHour="18" visibleStartHour="8"
                                                workingEndHour="17" 
workingStartHour="9" readonly="false"
                                                tooltip="true" 
theme="outlookxp"                                                
                                                
mouseListener="#{dayplanMB.scheduleClicked}" submitOnClick="true" 
action="#{dayplanMB.scheduleAction}"/>
                        </h:form>
                </f:view>
        </body>
</html>

the jsp is addressed to http://myserver/myapp/scheduler.jsf

all links of unselected items will link to "http://myserver/myapp/#"; and this 
HTTP-GET is performed after a form submit of the jsf side. as consequence of 
this this user saw the main side of the app :-(

I hope you see the problem and I would kindly ask to change the type and/or 
priority of this issue 

regards Björn


> try to replace the anchor tag of an unselected entry to a div tag
> -----------------------------------------------------------------
>
>                 Key: TOMAHAWK-602
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-602
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Schedule
>    Affects Versions: 1.1.4-SNAPSHOT
>            Reporter: Jurgen Lust
>            Assignee: Jurgen Lust
>            Priority: Minor
>
> Currently an unselected entry is rendered with a anchor tag. It would be 
> better if this was a div tag, with a javascript onclick event handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to