[Tobago] Image resizing

2013-11-14 Thread Abushammala, Hani (EXTERN: BERIS)
Hi,

I need help to resolve a layout problem.

In our application we display a bar chart within the sheet, but the used image 
for the chart could not be dynamically resized after migration from Tobago 
1.0.39 to 2.0.0 alpha 1. We tried many ways to display an image or panel 
with dynamic width within the sheet, but it doesn't work, because the width 
variable could not be called from bean.


Example:
tc:sheet id=sheet var=item
value=#{bean.items}
columns=60px;60px;200px
tc:column label=MIN
id=min sortable=true align=center
tc:out value=#{item.minValue} id=t_min /
/tc:column
tc:column label=MAX
id=max sortable=true align=center
tc:out value=#{item.maxValue} id=t_max /
/tc:column
tc:column id=barChart sortable=false align=left
tc:image value=#{item.gauge.resourcePath}
width=#{item.gauge.width}
height=16 /
/tc:column
/tc:sheet

Here the image will be resized automatically to 200px.

Any ideas?



The application details:
tobago-core-2.0.0-alpha-1.jar
myfaces-impl-2.1.12.jar
myfaces-api-2.1.12.jar
Browser: Firefox 22.0

Regards,
Hani



Regards,
Hani




Re: [TomEE/MyFaces 2.1.13] SocketTimeoutException thrown by ResourceHandlerImpl handleResourceRequest

2013-11-14 Thread Howard W. Smith, Jr.
Correct. Not a MyFaces or Tomcat/TomEE issue, but hiding the exception...
sounds good to me. :)



On Tue, Nov 12, 2013 at 10:45 PM, Leonardo Uribe lu4...@gmail.com wrote:

 Hi

 Thanks to provide the link of the discussion in tomcat list. The exception
 was added in the log on:

 https://issues.apache.org/jira/browse/MYFACES-3736

 I have checked it and there is no evidence of an error from MyFaces side.

 Maybe we can do something to hide the exception, printing it only if
 Level.FINE is set.

 regards,

 Leonardo Uribe



 2013/11/11 Howard W. Smith, Jr. smithh032...@gmail.com

  FYI,
 
  On Sun, Nov 10, 2013 at 8:29 AM, Howard W. Smith, Jr. 
  smithh032...@gmail.com wrote:
 
   more on this topic...
 
 
  Discussed on the tomcat list:
 
  Avoiding/Handling SocketTimeoutException(s) when web application serving
  resources to mobile clients[1]
 
 
  [1]
 
 
 http://tomcat.10.x6.nabble.com/Avoiding-Handling-SocketTimeoutException-s-when-web-application-serving-resources-to-mobile-clients-td5007700.html