I've no idea. ....I don't currently have a mac and couldn't think of a
generally good use for one off the top of my head other than testing
safari support.

I'd love to be able to test things on Safari, but can't really afford
to get one. Maybe you can find more users who want safari support and
send me one? ;)

On 2/12/07, Anna Vo <[EMAIL PROTECTED]> wrote:
I have some DirectLinks using updateComponents and also some links that
use @EventListener that work great on Win FF 1.5+, Win IE6+, Mac FF1.5+,
but not Safari 1.3+ or 2. Is anyone having the same issue? Is this a
known bug or is the Safari browser simply not supported?





Example code using @EventListener (in case something is setup funky):



<a jwcid="[EMAIL PROTECTED]" href="javascript:void(0);">View Hibernate
Session Entities</a>

<div id="theSessionData"><text jwcid="[EMAIL PROTECTED]"
value="prop:theSessionData"
mode="ognl:@[EMAIL PROTECTED]" /></div>



      @EventListener(targets="sessionData", events="onclick")

      public void sessionDataClicked(IRequestCycle cycle)

      {

            setShowSessionData(true);


cycle.getResponseBuilder().updateComponent("theSessionData");

      }



Note: The above works with -Dorg.apache.tapestry.disable-caching=true.
If I set to false I get NPE's in console for all browsers except Safari,
which does nothing whether true or false.



Example code using @DirectLink with updateComponents:

<a jwcid="@DirectLink" listener="ognl:listeners.addToCartClicked"
parameters="ognl:{kit.id}" name="addToCart"
updateComponents="ognl:{'cartArea', 'cartArea2', 'cartLinks'>Link</a>



The above refreshes the entire page in Safari. Any input would be great.
Thanks!





Anna




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to