[jira] [Commented] (TAP5-2245) select component: selected option is not listed in the model.

2014-11-04 Thread Massimo Lusetti (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-2245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14195964#comment-14195964
 ] 

Massimo Lusetti commented on TAP5-2245:
---

I've had a similar case in a recent app using beta-22 and it seems it's working 
right.

Does anyone confirm this still valid issue?

 select component: selected option is not listed in the model.
 -

 Key: TAP5-2245
 URL: https://issues.apache.org/jira/browse/TAP5-2245
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.4
Reporter: Sven Homburg
  Labels: regression
 Attachments: ScreenDump.pdf


 @Component
 private Zone previewZone;
 @Component(parameters = {value=previewMonth, model=[1,3,6], 
 zone=previewZone})
 private Select previewSelect;
 @OnEvent(component = previewSelect, value = EventConstants.VALUE_CHANGED)
 void onValueChangedFromPreviewSelect(long result)
 {
   if (selectedDate == null)
   selectedDate = LocalDate.now();
   selectedDate = selectedDate.plusMonths((int) (result - 1));
   ajaxResponseRenderer.addRender(previewZone, previewZone);
 }
 After selecting a value in select component the following error message
 occoures:
 Selected option is not listed in the model.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (TAP5-2245) select component: selected option is not listed in the model.

2014-11-04 Thread Massimo Lusetti (JIRA)

 [ 
https://issues.apache.org/jira/browse/TAP5-2245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Massimo Lusetti reassigned TAP5-2245:
-

Assignee: Massimo Lusetti

 select component: selected option is not listed in the model.
 -

 Key: TAP5-2245
 URL: https://issues.apache.org/jira/browse/TAP5-2245
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.4
Reporter: Sven Homburg
Assignee: Massimo Lusetti
  Labels: regression
 Attachments: ScreenDump.pdf


 @Component
 private Zone previewZone;
 @Component(parameters = {value=previewMonth, model=[1,3,6], 
 zone=previewZone})
 private Select previewSelect;
 @OnEvent(component = previewSelect, value = EventConstants.VALUE_CHANGED)
 void onValueChangedFromPreviewSelect(long result)
 {
   if (selectedDate == null)
   selectedDate = LocalDate.now();
   selectedDate = selectedDate.plusMonths((int) (result - 1));
   ajaxResponseRenderer.addRender(previewZone, previewZone);
 }
 After selecting a value in select component the following error message
 occoures:
 Selected option is not listed in the model.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (TAP5-2412) Expose Exception - String conversion from ExceptionReporterImpl

2014-11-04 Thread quurks (JIRA)
quurks created TAP5-2412:


 Summary: Expose Exception - String conversion from 
ExceptionReporterImpl
 Key: TAP5-2412
 URL: https://issues.apache.org/jira/browse/TAP5-2412
 Project: Tapestry 5
  Issue Type: Improvement
  Components: tapestry-core
Affects Versions: 5.4
Reporter: quurks


It would be nice to have some way to convert an exception in a String 
representation (not just a Stacktrace) for i.e. email warnings. This is already 
done in ExceptionReporterImpl, but in private methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)