[jira] [Created] (TRINIDAD-2099) SelectOneRadio required attribute doesn't work if value is empty

2011-05-06 Thread Markus Reichert (JIRA)
SelectOneRadio required attribute doesn't work if value is empty 
-

 Key: TRINIDAD-2099
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2099
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Components
Affects Versions: 1.2.13-core 
 Environment: JBoss 4.2.3, JSF-Facelets 1.1.15, jsf 1.2
Reporter: Markus Reichert


If you mark a selectOneRadio as required and initial value is null 
(unselectedLabel should not be used)  there will be no required validation 
exception if none of the radio buttons is choosen by the user.

Example code:

tr:selectOneRadio required=true 
value=#{controller.valueWhichIsInitialNull}
 f:selectItems value=bean.listOfSelectionItems/
/tr:selectOneRadio

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] Created: (TRINIDAD-2065) render javascript focus() instead of plain href-anker in links of tr:messages box.

2011-03-17 Thread Markus Reichert (JIRA)
render javascript focus() instead of plain href-anker in links of tr:messages 
box.
--

 Key: TRINIDAD-2065
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2065
 Project: MyFaces Trinidad
  Issue Type: Wish
  Components: Components
Affects Versions: 1.2.14-core 
 Environment: Browser with enabled javascript
Reporter: Markus Reichert


The tr:messages-Tag-Renderer MessageBoxRenderer._renderMessageAnchor(...)  
renders an anker like that: 

a href=#_msgAnc_ComponentId class=OraLinkLabelOfComponent/a

The Anker isn't very handy for the user because when the link above is clicked 
the only thing happens is that the browser scrolls to the label of the 
input-field affected.

In cases of enabled javascript on the browser it would there a better solution 
instead which focuses the affected input-field directly:
a href=javascript:document.getElementById('ComponentId').focus(); 
class=OraLinkLabelOfComponent/a

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] Commented: (TRINIDAD-1490) tr:inputDate's chooseId attribute is not prepended with j_id_ when used in tr:forEach

2011-03-08 Thread Markus Reichert (JIRA)

[ 
https://issues.apache.org/jira/browse/TRINIDAD-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13003897#comment-13003897
 ] 

Markus Reichert commented on TRINIDAD-1490:
---

Same problem exists when using tr:inputDate's chooseId attribute in combination 
with tr:chooseDate in tr:table:

input type=text ... onfocus=_dff(this,'table_name:picker') .../   
(missing row index)

id of chooseDate table: id=table_name:0:picker (with row index)

 tr:inputDate's chooseId attribute is not prepended with j_id_ when used in 
 tr:forEach
 -

 Key: TRINIDAD-1490
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1490
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Components
 Environment: Tomcat 6.0, Trinidad 1.2.11, JDK 1.6.0_07, Windows XP 
 SP2 and Ubuntu 8.04
Reporter: Jasper de Vries

 tr:inputDate's chooseId attribute is *not* prepeded with j_id_ when used in 
 tr:forEach.
 The tr:chooseDate's id attribute *is* prepeded with j_id_ when used in 
 tr:forEach.
 I've seen this behavior on other id-referring attributes as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira