Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Andy, Regarding the ID in the script... who initiates that? Is it suppose to be a parameter in my java module? I am wondering where If at all I need to specify... or if there is a general way for tracking ID. I guess my usage of ID is just for my Customhead component... although I have not u

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
I thought by including it in the JWC file it would be taken care of. Best regards Ken in nashua CustomHead.script -- http://jakarta.apache.org/tapestry/dtd/Script_4_0.dtd";>

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Well... heck... thats what I am looking for. I didn't know it had to be included in the template. Thanks for pointing that out. I will give that a shot. Best regards Ken in nashua CustomHead.script -- http://jakarta.apache.org/tapestry/dtd/Script_4_0.dtd";>

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Still no rendering... on markup of this script. ? Any ideas... Best regards Ken in nashua CustomHead.script -- http://jakarta.apache.org/tapestry/dtd/Script_4_0.dtd";>

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Thanks Friend... completer was extra text taken from the autocompleter example... extraneous... I can put it in... should I... I am still trying to interpret this new framework for scripting. Below is what I have so far... any thoughts? Best regards Ken in nashua CustomHead.script --

JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Folks, I am trying to operate some JavaScript within a component T-4.1.2 It is not coming out in the rendering of the markup. Is there any magic to this...? Some flag that needs to be set? My component is rendering fine. Code follows: thanks Best regards Ken in nashua Customhead.script ht

Re: how to tile/stretch a header image in css

2007-09-04 Thread Ken nashua
Ok, so how does one instrument the usage of css3 thanks _ Get a FREE small business Web site and more from Microsoft® Office Live! http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/ -

Re: how to tile/stretch a header image in css

2007-08-31 Thread Ken nashua
Thanks Juan... Aside from creating the image oversized with image editor and scaling from there... I am left with JSON and Ajax. Here are my nodes... html, body { height: 100%; margin: 0; padding: 0; } div#header { height: 94px; margin: 5;

Re: how to tile/stretch a header image in css

2007-08-31 Thread Ken nashua
Juan... also your css styles of width/height have no effect when i remove the immediate ones from the IMG tag. _ Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! http://club.live.com/home.aspx?icid=CLU

Re: how to tile/stretch a header image in css

2007-08-31 Thread Ken nashua
Here is my latest code... if anyone can get it to stretch I would be greatful. You can paste it in this website to render it... http://www.w3schools.com/css/tryit.asp?filename=trycss_dim_min-width_percent div#header { height: 94px; width: 95%; margin:0 auto 0 aut

Re: how to tile/stretch a header image in css

2007-08-31 Thread Ken nashua
Ok, I respect your attempt... but your using the tag. The solution I am seeking does not use because the background is already specified and made visible by the CSS. I am trying to find out HOW to stretch this thing only in CSS using id=""/> Any other takers? Unless you can get that to ope

Re: how to tile/stretch a header image in css

2007-08-31 Thread Ken nashua
I wrapped the div with one called headerLayout... still not stretched. div#header { height:94px; width:80%; margin:0 auto 0 auto; background: #fff url( logocss.gif ) top left no-repeat; } div#headerLayout { width: 100%; height: 100%; }

Re: how to tile/stretch a header image in css

2007-08-31 Thread Ken nashua
Evan thanks for the follow up... but things are not working. I am not sure I understood. Well I guess I did not understand how you semantically wanted things wrapped? then wrap that div with another div called headerContainer{}, use that to control layout positioning of your inner header div

Re: how to tile/stretch a header image in css

2007-08-31 Thread Ken nashua
would use having div styles. if tyou want some examples of how to do straight div layout using only css, no html cept for a and div (maybe some img) http://oakenfold.ath.cx:8080/main/app?service=page/CorpHome ~evan - Original Message ----- From: "Ken nashua" <[EMAIL PROTECT

dojo widget question - where is StretchPane.js ?

2007-08-28 Thread Ken nashua
Folks, There is planey of support since October 2006 of a widget named Stretchpane which optimizes or emulates a variation of css overflow:visible and basically automates it for parent container widgets/elements. I checked out the latest dojo from http://svn.dojotoolkit.org/dojo/trunk But St

Tapestry Gallery Widget

2007-08-20 Thread Ken nashua
Folks, Is there a GalleryWidget anywhere implemented in tapestry? Specifically I am looking for auto-paging features just like contrib:table This widget would layout links or images of for example auto parts or cars for sale while hosting a control bar for auto-paging. Thanks in advance. B

Re: T-4.1.2 css overrides broken

2007-08-16 Thread Ken nashua
This error persists... If anyone can elaborate on the impact to CSS and workaround that would be terrific. I am currently running 4.1.3-SNAPSHOT 2.7.1-SNAPSHOT -Dorg.apache.tapestry.disable-caching=true

Re: tapestry + ognl bootstrap issue - app broken

2007-08-16 Thread Ken nashua
After cleaning out my repo, and performing rebuild(s) several times... this error has subsided. Never mind... Best regards Ken in nashua _ Now you can see trouble…before he arrives http://newlivehotmail.com/?ocid=TXT_TAGHM_migrat

tapestry + ognl bootstrap issue - app broken

2007-08-16 Thread Ken nashua
Same stack trace occurs on 4.1.3-SNAPSHOT 2.7.1-SNAPSHOT My Home.html only renders a stack trace.. Any ideas? Best regards Ken in nashua ---> STACK TRACE FOLLOWS: HTTP ERROR: 500 ognl.OgnlContext.getLocalReferences()Ljava/util/Map; RequestURI=/app Caused by:

Re: T-4.1.2 css overrides broken

2007-08-16 Thread Ken nashua
What I meant by "header override failed to work" ... The original layout.css image appears in Mozilla. IE nothing appears. So my header override is as if it does not exist. Could there be a reserved work collision with header? I did try headermain but that did nothing. I also cleared mozill

tapestry + ognl bootstrap issue - app broken

2007-08-16 Thread Ken nashua
I changed my poms to 4.1.3-SNAPSHOT 2.7.1-20070723.185910-9 My Home.html only renders a stack trace.. Any ideas? Best regards Ken in nashua ---> STACK TRACE FOLLOWS: HTTP ERROR: 500 ognl.OgnlContext.getLocalReferences()Ljava/util/Map; RequestURI=/app Caused b

T-4.1.2 css overrides broken

2007-08-16 Thread Ken nashua
Folks, Something changed with regard to CSS. I was overriding fine in T-4.0. Now it is broken. Here is whats in my layout.css div#header { color: black; clear: both; padding: 0; height: 15%; width: 100%; background: #fff url( images/trails-header

disabling ognl expression cache

2007-08-14 Thread Ken nashua
Folks, Tapestry compiles expressions with OGNL before using them (and caches the compiled expressions). Is there a way to turn off this caching? Best regards Ken in nashua _ Tease your brain--play Clink! Win cool prizes! http:/

Re: JSON help... image scaling onRender

2007-08-14 Thread Ken nashua
Ooops... let me take that back... That was extraneous text being clipped... not the image. OK, so the actual image does scale down. I reduced my height to somethign reasonable for header and went with WIDTH=100%. I think this should get me what I want for the short run. Thanks for taking th

Re: JSON help... image scaling onRender

2007-08-14 Thread Ken nashua
Thanks Jesse, Wanted to let you know that the scaling down fails. I went with... div#header { color: black; clear: both; padding: 0; height: 15%; width: 100%; background: #fff url( images/trails-header94.jpg ) top left no-repeat; } And the image

Re: JSON help... image scaling onRender

2007-08-14 Thread Ken nashua
Thanks Jesse, Well I was hoping to find an end to end JSON example... just snippets around... no one really has shown substantial usage of that. For my solution though... Currently this is what we got in css (the main reason why I wanted to go with JSON)... div#header { color: blac

Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua
An exception has occurred. You may continue by restarting the session. [ +/- ] Exception: Missing classpath resource '/js/dojo/dojo.js'. org.apache.hivemind.ApplicationRuntimeException Missing classpath resource '/js/dojo/dojo.js'. location: Annotation @org.apache.tapestry.annotations.Asset(val

Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua
I cannot even use tapestry-4.1.1 and ognl-2.6.9 [INFO] Started Jetty Server 2007-08-13 17:58:23,090 [btpool0-2] WARN tapestry.services.Asset - Classpath resource '/dojo/ tapestry/namespace.js' does not exist. 2007-08-13 17:58:23,105 [btpool0-2] WARN tapestry.services.Asset - Classpath resou

Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua
Any ideas what I can do? Why can't I use 4.1 ? Does dojo work on that rev? Best regards Ken in nashua C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap estry\services\ExpressionEvaluator.java:[18,20] package ognl.enhance does not exist C:\Prototyp

Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua
Do I dare build T-4.1.2 against ognl-2.6.7 ? It seems like my only logical solution. Best regards Ken in nashua _ More photos, more messages, more storage—get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?

Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua
Ok, t-4.1.2 and ognl-2.7 works better.. for dojo But I still cannot get past the ognl bug 111. Thats why I backed down to t-4.1 ognl-2.6.7 (which worked my ognl code fine) [ http://jira.opensymphony.com/browse/OGNL-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#ac

T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua
Does t-4.1.2 depend on ognl-2.7 I am anchored to ognl-2.6.7 due to an ognl-2.7 bug that wipes out my whole app. t-4.1.2 is built against ognl... which one though? What do I provide for dojo source? Thank You _ Learn.Laugh.Share

T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua
Folks, I am receiving bootstrap problems with my webapp using T-4.1 4.1 2.6.7 2.0.6 All I am trying to do is operate dojo with T-4.1 as it comes bundled with T-4.1 right? I receive this stack dump... 0:8080 [INFO] Started Jetty Server 2007-08-

JSON help... image scaling onRender

2007-08-13 Thread Ken nashua
Folks, I want to operate JSON during Basically I have a Border.html that operates a custom which renders a header image. But my header images are not scaling to the exact size of the box. So I would like to operate JSON during ONLOAD in order to ask the server what the actual size of

Re: Tapestry-4.1.2 Documentation Clarification ... please

2007-07-30 Thread Ken nashua
To summarize... using a contrib component parameter may not be that straight forward. I had to open up the usage by specifying a binding. Then the property... Best regards Ken in nashua _ Need a brain boost? Recharge with a sti

Re: Tapestry-4.1.2 Documentation Clarification ... please

2007-07-30 Thread Ken nashua
Ok, it seems I needed one of these... in an auxillary page that operated one of my intermediary persistence oriented templates. Best regards Ken in nashua _ Need a brain boost? Recharge with a stimulating game. Play now!  http

Re: Tapestry-4.1.2 Documentation Clarification ... please

2007-07-30 Thread Ken nashua
I did get the column parameter to operater correctly. Index could not be that different could it? Still shaking my head... Best regards Ken in nashua _ http://im.live.com/messenger/im/home/?source=hmtextlinkjuly07 --

Re: Tapestry-4.1.2 Documentation Clarification ... please

2007-07-30 Thread Ken nashua
Maybe this will help https://issues.apache.org/jira/secure/ManageAttachments.jspa?id=12374984 How much science could there be to operating a parameter ? Best regards Ken in nashua _ http://im.live.com/messenger/im/home/?source

Tapestry-4.1.2 Documentation Clarification ... please

2007-07-30 Thread Ken nashua
Hi Folks, I am trying to operate the index parameter as documented in the contrib:table docs. Can someone help clarify this for me? Here is the documentary... INDEX: If provided, the parameter is updated with the index of the loop on each iteration. Can someone elaborate on what the defin

0gnl-2.7.1-SNAPSHOT bug... please help

2007-07-23 Thread Ken nashua
Folks, My java code is fine... this template keeps failing. It seems OGNL cannot negotiate/articulate propertyDescriptor for my contrib:table column.

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
s/static/tapestry/core.js"> dojo.require("tapestry.namespace"); tapestry.requestEncoding='UTF-8'; Best WEB Application on the planet! href="/styles/tapestryskin/theme.css" /> > Original Message Follo

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 14:07:23 -0400 Hey... whats the quickest way to Burma by Bicycle? Best regards Ken in nashua

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
Hey... whats the quickest way to Burma by Bicycle? Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 2

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
uot;tapestry\", \"") .append(_tapestryPath.buildURL()).append("\");\n"); str.append("\n"); ??? Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.or

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
h":"/dojo/","parseWidgets":false,"locale":"en"} </tt><tt> Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: R

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
Ok, I mader some ground... I made my CustomHead.JAVA look/act like ScriptIncludes.JAVA but had to replace this... for this... @Asset("/js/dojo/dojo.js") public abstract IAsset getDefaultDojoSource(); @Asset("/dojo/") public ab

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
So it seems I have to tell my Customhaed.JAVA to act like ScriptIncludes.JAVA But that produces the following error below org.apache.hivemind.ApplicationRuntimeException There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=en ] from the page pool. location: conte

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
So it seems I have to tell my Customhaed.JAVA to act like ScriptIncludes.JAVA Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestr

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
ation to include the js correctly. Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 10:08:57

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
name.substring(0, slashx + 1)); } String url = cycle.getAbsoluteURL(sb.toString()); writer.beginEmpty("base"); writer.attribute("href", url); writer.printRaw(""); writer.println(); } Best regards Ken in nashua Original Message Fo

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
Thanks Jesse... I need to use my CustomHead so ScriptIncludes is not possible. I went with your former suggestion and still not getting the includes to happen. Could you elaborate on the file path specs? Not sure how to do that. Here are my details. thanks I added this to my CustomHead.JAVA

dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-19 Thread Ken nashua
I am unable to operate DOJO within my custom head component. Best WEB Application on the planet! href="/styles/tapestryskin/theme.css" />

RE: css overrides (ie6, ie7,firefox) ?

2007-07-17 Thread Ken nashua
Well it seems dojo stretchpane is the widget I am looking for. Since I am at tap-4.0 for now I will try that. Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: RE: cs

is json supported in tapestry-4.0 ?

2007-07-17 Thread Ken nashua
Best regards Ken in nashua _ http://newlivehotmail.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: css overrides (ie6, ie7,firefox) ?

2007-07-17 Thread Ken nashua
ok, i am integrating dojo now... tap-4.0 I will let you know how I make out. Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: RE: css overrides (ie6, ie7,firefox) ? D

RE: css overrides (ie6, ie7,firefox) ?

2007-07-17 Thread Ken nashua
Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: RE: css overrides (ie6, ie7,firefox) ? Date: Mon, 16 Jul 2007 16:08:09 -0400 Thanks kiuma . The problem is not the sessionid... b

RE: css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Ken nashua
ached my widget. Any ideas? Best regards Ken in nashua Original Message Follows---- From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: RE: css overrides (ie6, ie7,firefox) ? Date: Mon, 16 Jul 2007 14:57:20 -0400 Well it seems apparen

RE: css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Ken nashua
function calibrateGeometry(...) { var widgetId = getElementById(...) var boxId = widgetId.getParent(...) set width/height of widget to box ? } Best regards Ken in nashua Original Message Follows---- From: "Ken nashua" <[EMAIL PROTECTED]>

RE: css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Ken nashua
em;"> } div#main { padding: 15 auto; } div#splash { </pre><tt> background: #fff url( </tt><tt>/BlobService.svc?class=org.trails.demo.AdminLayout&contentType=image/jpeg&fileName=splash.jpg&id=1&pro

RE: css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Ken nashua
Whats even worse is that the jsessionid appears on intermittent kinds of links. hee hee Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: RE: css overrides (ie6, ie7

RE: css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Ken nashua
I took the jsessionid issue out of the equation and the resize/stretch problem persists. Across ALL browsers. I have spent much time trying different css attributes to flush it out. Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL P

RE: css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Ken nashua
ssionStrippedURL = builtURL.substring(0, builtURL.indexOf(";")); writer.attribute("href", sessionStrippedURL); writer.println(); Problem remains ... not solved. Why can't css elements resize properly? Thanks for trying... Is there some tacos or

css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Ken nashua
I tried these on Shell doctype="" renderContentType="false" still no solution. Do I need to supplement a script to resize this dynamically/manually? Can someone offer a snippet? Best regards Ken in nashua Original Message Follows---- From: "Ken nashua"

Re: [T4] Login.html as the Login and Failed page for Acegi

2007-07-03 Thread Ken nashua
Here is a sample working login... Best I can provide at this point. public abstract class LoginPage extends BasePage { private static final Log LOG = LogFactory.getLog(LoginPage.class); public abstract String getUsername(); public abstract String getPassword();

Re: how to reference property value ? quiz question please.

2007-07-03 Thread Ken nashua
Yes, I tried all of these and also applied @Persist to try on other properties too. ognl:session.title ognl:page.title ognl:page.components.title ognl:headComponent.title I am stuck... ? _ http://imagine-windowslive.com/hotmail/?l

how to tile/stretch a header image in css

2007-07-03 Thread Ken nashua
Sorry folks if this does not belong in this group but I think it might. I have the following: div#header { color: black; clear: both; padding: 0; height: 94px; margin: 5px 5px 5px 5px; background: #fff url( images/header.jpg ) top left no-repeat;

how to reference property value ? quiz question please.

2007-07-03 Thread Ken nashua
Thanks... I just have a little question... I declared an id to a widget and trying to reference a property of that widget further below in html. Here is the code.. title="ognl:page.components.headComponent.title" stylesheet="ognl:assets.stylesheet">

dom featured image widget

2007-06-29 Thread Ken nashua
Actually a link could be another thing I might want to overlay ontop of the main image. Thanks for any ideas or psuedo code. Thanks Best regards Ken in nashua _ Get a preview of Live Earth, the hottest event this summer - only on

dom featured image widget

2007-06-29 Thread Ken nashua
Folks, I am looking for a kind of widget... that derives from Image... but offers configurable overlays for dom objects... A plain old image does not cut it. I want something that will support imaginable entities ontop. Text with configurable color foreground/brakground Sub image smaller th

RE: is ognl usable inside *.css files ?

2007-06-28 Thread Ken nashua
Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: RE: is ognl usable inside *.css files ? Date: Thu, 28 Jun 2007 12:55:58 -0400 Also, is it possible for someone to offe

RE: is ognl usable inside *.css files ?

2007-06-28 Thread Ken nashua
Also, is it possible for someone to offer a snippet as how to actually implement the instrumentation of the CSS logic? is this specified in a template? Or do I have to write it out to the writer? Thanks for any assistance. Best regards Ken in nashua ___

RE: is ognl usable inside *.css files ?

2007-06-28 Thread Ken nashua
Folks, I am trying to get a handle on the right way to extend Shell component. I would like to use OGNL based on Evan Rawson's best practice. Currently I am receiving this... org.apache.hivemind.ApplicationRuntimeException component: [EMAIL PROTECTED] location: context:/WEB-INF/Home.page, li

RE: is ognl usable inside *.css files ?

2007-06-26 Thread Ken nashua
Which annotations should I leverage? Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: users@tapestry.apache.org CC: [EMAIL PROTECTED] Subject: is ognl usable inside *.css files ? Date: Tue, 26 Jun 2007 10:19:45 -0400

is ognl usable inside *.css files ?

2007-06-26 Thread Ken nashua
Folks, Want to impact my css-framework by entity based intrinsic's. Ex. I have an app wide pojo that is stored inside MySQL that characterizes a background.gif (yes it is a blob but thats irrelevent) In any event, my blob gets put into an ASO and is sitting there at bootstrap accessible via

how to get column index of contrib:table during iteration

2007-06-11 Thread Ken nashua
Folks, I am using contrib table... and need to operate off of the current column index. Is there a way to get this? jwcid="[EMAIL PROTECTED]" value="ognl:object[linkProperty]"/>

Re: OGNL expertise please... complicated question

2007-05-11 Thread Ken nashua
Correction... We massage/alter the ejb3/hibernate annotations with a bootstrap interceptor and rig up our >property descriptors. We interrogate/supplement the ejb3/hibernate annotations with more capable property descriptors. _

Re: OGNL expertise please... complicated question

2007-05-11 Thread Ken nashua
The user interface works and the back end works... The only thing that fails is that once the association is saved... it does not stick to the owner. This is due in part to the way trails saves it's models under the hood. To solve this I need to operate special rigging that sets/saves the as

Re: OGNL expertise please... complicated question

2007-05-11 Thread Ken nashua
Thanks Kiuma ... I will post but it may complicate since knowledge of the trails framework is essential. I am at the door of completing this and just trying to get past the OGNL. Incomplete and currently messy (not cleaned up) Here is the sources... Editors.page model model[

Re: OGNL expertise please... complicated question

2007-05-11 Thread Ken nashua
Ok, here is a more actual runtime model... Organization-<>---Director a hard OneToOne Each is named in OGNL space as organization and director Furthermore, each actual object has getter/setter Organization.getDirector() Director.getOrganization() This is what I am receiving so

Re: OGNL expertise please... complicated question

2007-05-11 Thread Ken nashua
FYI, Yes this has to do with completing the development of a tapestry widget. The OGNL docs are trim... and no forum for OGNL. I thought this might be the bastian for OGNL folk. _ More photos, more messages, more storage—get 2GB w

Re: OGNL expertise please... complicated question

2007-05-11 Thread Ken nashua
private Owner owner; private void executeOgnlExpression(String ognlExpression, Object newAssociation) { HashMap context = new HashMap(); context.put("member", newAssociation); Ognl.setValue("owner.association" + "(#member)", context, owner) Will this do it? I am receiving invalidogn

OGNL expertise please... complicated question

2007-05-11 Thread Ken nashua
Hi, I have a situation on my hands where I am trying to complete the round-trip leg of rigging up two objects in a bidirectional association. Here is the UML... Owner-<>--Association This is a mutual OneToOne setup. There are getter/setter on each side. Having created an Owner, I su

Re: JAVAFORGE status

2007-05-02 Thread Ken nashua
Thanks Jesse (had a dog named jesse once... no offense ... good dog too) :) ... could you validate my usage? I folded in the dependency and built. I cannot seem to get to my target page though on submit. Code follows below. All I did was change my listener to return an ILink and left the r

JAVAFORGE status please

2007-05-02 Thread Ken nashua
I decided to look at javaforge because of the post-redirect-get solution with @Persist("flash") A small snippet was offered for the solution but I bargained for dragging in alot more. Help is appreciated abouot it's usability. owhat is the status of this project? Is it usable? owhy d

LifeCycle annotation 4.0.1

2007-04-23 Thread Ken nashua
Can someone elaborate on this construct? It is poorly documented. Lifecycle.NONE Lifecycle.REQUEST Lifecycle.RENDER Lifecycle.PAGE Was this designed because the designer decided to invent sub life cycles to REQUEST? Here is a typical usage... @Bean(lifecycle = Lifecycle.REQUEST) public

which component is this?

2007-04-05 Thread Ken nashua
Ok, solved it... it is just a hybrid in the jwc file... that piggybacks off of Select. Best regards Ken in nashua _ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/defa

which component is this?

2007-04-05 Thread Ken nashua
Folks, I am unable to find out which component this is. In tapestry docs is states Select as opposed to select. Case sensitive. The hangman example uses select. If I change mine to Select I receive unknown component id. Best regards Ken in nashua ___

Re: Tapestry Wizard Component

2007-03-14 Thread Ken nashua
Andrea, Additionally... to make this thing commercial grade... It would be nice to have a 100% width header bar at the top of the wizard with the contigious linear layout of all states connected to each other by arrows --> across the top whereby the current state is highlighted in bright gree

Re: Tapestry Wizard Component

2007-03-14 Thread Ken nashua
Dude, I attached the java files for a struts prototype. Not to confuse you but to give you a fresh idea of the composition of the interfaces. I am extremely picky about clean understandable functional concise interfaces that model the natural world. But this is a fun task. And if you nail i

Tapestry Wizard Component

2007-03-14 Thread Ken nashua
Folks, Does there exist a Wizard component anywhere. I am hoping tapestry can accomodate a better widget model for this kind of component. Struts turned out to be disorderly and sprawled. The wizard I would like is a wizard that can operate it's states off of a database so that in the event

Re: overloading src attribute of @Image component

2007-02-14 Thread Ken nashua
Still blue in the face... This is the markup that comes from @Asset("") which works... but this does not present a solution. This is the markup from manual api calls to create an asset this fails always Best regards Ken in nashua

Re: overloading src attribute of @Image component

2007-02-14 Thread Ken nashua
Alright that was good and worked. thanks Andy... @InjectObject("service:tapestry.asset.ClasspathAssetFactory") public abstract AssetFactory getClasspathAssetFactory(); AssetFactory fact = getClasspathAssetFactory(); IAsset asset = fact.createAbsoluteAsset(map.get(co

Re: overloading src attribute of @Image component

2007-02-14 Thread Ken nashua
Still blue in the face... None of this works for 4.0... IAsset asset = new ContextAsset( getWebRequest().getContextPath(), new ContextResource(getServletContext(), file), getLocation(), cycle); asset = new ExternalAsset(

Re: overloading src attribute of @Image component

2007-02-14 Thread Ken nashua
Still blue in the face... Any takers ? Resource resource = new WebContextResource(getWebContext(), map.get(contentType).toString()); resource = new ContextResource(getServletContext(), map.get(contentType).toString()); if ( map.containsKey(contentType)) { Asse

Re: overloading src attribute of @Image component

2007-02-14 Thread Ken nashua
What is it about @Asset("/asset/icdoc.gif") that seems to succeed versus my last code does not? Best regards Ken in nashua _ Don’t miss your chance to WIN 10 hours of private jet travel from Microsoft Office Live http://clk.atdmt.

Re: overloading src attribute of @Image component

2007-02-14 Thread Ken nashua
Well nothing seems to work for 4.0. It looks like the contextPath is never acquired and it also complains about missing contextresource. Resource resource = new WebContextResource(getWebContext(), map.get(contentType).toString()); //resource = new ContextResource(getServletContext

Re: overloading src attribute of @Image component

2007-02-14 Thread Ken nashua
This seems to workout nicely... @Asset("/asset/icdoc.gif") public abstract IAsset getWordDocAsset(); writer.attribute("src", getWordDocAsset().buildURL()); Best regards Ken in nashua _ Check out all that glitters with the MS

Re: overloading src attribute of @Image component

2007-02-14 Thread Ken nashua
Well my last solution has no real parsing teeth. How do i guess by content type which asset method to call. What I would prefer to do is get a handle to the assetfactory... (can someone provide a legit example?) And then acquire/create the asset by referencing my HashMap that tracks gif file

overloading src attribute of @Image component

2007-02-14 Thread Ken nashua
Pioneers/teammates... Can someone direct me as to proper code here. All I want to do is instrument/override the src attribute of the @Image component. INPUTS - psuedo @Override protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle) { map.put("application/m

rewind cycle question...

2007-02-02 Thread Ken nashua
Hi Folks, According to this docs... (see ques below...) Events will trigger in the following order: initialize() pageBeginRender() ("rewind") rewind of the form / setting of properties Deferred listeners (for Submit components) Form's listener pageEndRender() ("rewind") page

<    1   2   3   >