Hi

There seems be some following around the implicit mappings (hence the mail
sequence), and giving it some thought might be useful. Maybe having them
around is a way of easing the transition into Clay for somebody less
experienced, sort of halfway Clay :).

Personally I could live without them.

Hermod

-----Opprinnelig melding-----
Fra: Gary VanMatre [mailto:[EMAIL PROTECTED] 
Sendt: 17. oktober 2006 17:10
Til: [email protected]
Emne: RE: Clay: outputLink - href unused, gets cleared.

>From: Torsten Krah <[EMAIL PROTECTED]> 
>
> I am used form, input text ones, submit ones and labels. Works like 
> expected - only the anchor one exhibits this behaviour - so maybe my 
> setup/configuration is messed up or its a bug. 
> Maybe someone reading this and got time and clay with him ;) can confirm 
> or deny this ;-). 
> 


The implicit mapping of the anchored link "a" is to the outputLink component
versus the commandLink. 

I do think you have found an issue.  Try adding a "value" attribute to hold
the href value.  The default mapping doesn't seem to have the association.

<a href="#" value="http://shale.apache.org";  target="_self" alt="Shale web
site">Back</a>

If this works for you, please create a JIRA issue
(https://issues.apache.org/struts/secure/Dashboard.jspa).

There are a couple other implicit mappings missing.  I was thinking about
removing the implicit mappings and requiring the jsfid for binding to a JSF
component.

The implicit mapping is a under used feature that doesn't have great
coverage.  We should build it up or take it away.  I'm favoring taking it
away after the next release.  Any thoughts?

Gary  

Reply via email to