Re: button values
DJ Gredler djgredler at gmail.com writes: I used the label attribute to supply i.e. label=ognl:messages.getMessage Can I use messages: anywhere,and drop ognl, is that better? We use Tapestry 4.0 I think. regards, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: button values
yes it is much better (faster) , and you can use it on each binding (formal and informal parameters). Cheers, Ron John Coleman wrote: DJ Gredler djgredler at gmail.com writes: I used the label attribute to supply i.e. label=ognl:messages.getMessage Can I use messages: anywhere,and drop ognl, is that better? We use Tapestry 4.0 I think. regards, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: button values
I'm not sure why that wouldn't work, but if you're just using an @Insert, you can use a shortcut: span key=hello/ -- Peter Beshai - Using Tapestry 4.1.1 Pure Mathematics Student University of Waterloo From: John Coleman [EMAIL PROTECTED] Reply-To: Tapestry users users@tapestry.apache.org To: users@tapestry.apache.org Subject: Re: button values Date: Wed, 22 Nov 2006 14:01:15 + (UTC) any ideas why this would not work and I have to use ognl:messages. instead? TIA John span jwcid=@Insert value=message:hello - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Voyez vos amis en faisant un appel vidèo dans Windows Live Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=fr-ca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
button values
I want to internationalise my button values, I found using ognl works nicely, but the static rendering of the template is spoilt. Is there a way to keep value static and let Tapetry render the value from the proeprties file dynamically? TIA John input type=submit class=buttonExtraWide value=ognl:messages.getMessage ('display-summary-button') jwcid=downloadSummaryToCSV tabindex=15/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: button values
value=message:display-summary-button is a little better (shorter, no OGNL overhead), but still not what you're looking for... Maybe you could try to specify the binding in both the page spec and the page template, make the page spec the dynamic one, make the page template the static one, and hope that the binding in the page spec overrides the binding in the page template at runtime? :-) On 11/21/06, John Coleman [EMAIL PROTECTED] wrote: I want to internationalise my button values, I found using ognl works nicely, but the static rendering of the template is spoilt. Is there a way to keep value static and let Tapetry render the value from the proeprties file dynamically? TIA John input type=submit class=buttonExtraWide value=ognl: messages.getMessage ('display-summary-button') jwcid=downloadSummaryToCSV tabindex=15/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Button values dont print
guys, i am using tap3. has anybody else noticed this, but everytime i print a page which has a button on it, the buttons value does not print. the button is a tap component with the value set as label=message:text any ideas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Button values dont print
What's the generated html? Perhaps its a css issue ? Peter Dawn wrote: guys, i am using tap3. has anybody else noticed this, but everytime i print a page which has a button on it, the buttons value does not print. the button is a tap component with the value set as label=message:text any ideas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Button values dont print
the html is input type=button class=buttonSpecial and in my css I have, .buttonSpecial { font: #FF; and the rest } any ideas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Button values dont print
sorry i meant color: #FF; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Button values dont print
so, it's not a tapestry issue, is it? Peter Dawn wrote: the html is input type=button class=buttonSpecial and in my css I have, .buttonSpecial { font: #FF; and the rest } any ideas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Button values dont print
dunno. i have done the right thing in tapestry, in the css and its still not working. if nobody else has this issue, then it must be my implementation, though i cant understand how difficult it could be. thanks anyways. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Button values dont print
I don't know if this will work, but you can try adding another stylesheet just for printing that will override the button's style. link href=/css/print.css media=print rel=stylesheet type=text/css / Then set the color or other attributes for buttonSpecial to be something different. It could be something as simple as the printer thinking it should ignore white. -Steve andyhot wrote: so, it's not a tapestry issue, is it? Peter Dawn wrote: the html is input type=button class=buttonSpecial and in my css I have, .buttonSpecial { font: #FF; and the rest } any ideas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Button values dont print
You are missing a value= attribute for some reason. Are you sure that the label=message:something works for Tap3? I thought that was a hivemind only kind of feature in t4 (not sure what it looks like in T5 exactly yet) On 9/28/06, Steve Shucker [EMAIL PROTECTED] wrote: I don't know if this will work, but you can try adding another stylesheet just for printing that will override the button's style. link href=/css/print.css media=print rel=stylesheet type=text/css / Then set the color or other attributes for buttonSpecial to be something different. It could be something as simple as the printer thinking it should ignore white. -Steve andyhot wrote: so, it's not a tapestry issue, is it? Peter Dawn wrote: the html is input type=button class=buttonSpecial and in my css I have, .buttonSpecial { font: #FF; and the rest } any ideas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: Button values dont print
guys, the label bit works for tap3, i have used it in many places. and my HTML looks like this, input type=button name=$Button value=Print border=0 onClick=doPrint() class=specialBtn/ but inspite of having the value bit, it doesnt print. i mean i can visually see it, but when i print it it doesnt work. will try and spend some more time on it over the weekend. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Button values dont print
AhSounds like a browser issue then ? ;) On 9/29/06, Peter Dawn [EMAIL PROTECTED] wrote: guys, the label bit works for tap3, i have used it in many places. and my HTML looks like this, input type=button name=$Button value=Print border=0 onClick=doPrint() class=specialBtn/ but inspite of having the value bit, it doesnt print. i mean i can visually see it, but when i print it it doesnt work. will try and spend some more time on it over the weekend. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com