Reply To: tel scheme (telephone)

Splash Forums Rewrite Users tel scheme (telephone) Reply To: tel scheme (telephone)

#23759

Is it possible that #{listItem.mobile} is null or empty in your case? I just tested whether URI can parse tel URLs and and seems to work fine. I only doesn’t work if I try to parse tel: which is NOT valid and throws exactly the same exception like you got.

Perhaps you could do something like this:


<h:outputLink value="tel:#{listItem.mobile}" rendered="#{ not empty listItem.mobile }">
  #{listItem.mobile}
</h:outputLink>