Re: Alternate template format?

2012-12-20 Thread Kalle Korhonen
Hey Howard, where are you with the WRO4J integration? I see it being
referenced from buildSrc/build.gradle but what does it mean for T5.4? Our
crazy designer coming from bleeding edge RoR world refuses to use anything
but latest SASS3 (ie .scss). So no problem I thought, I just integrated
WRO4J as a separate filter since for now, we only allow him to touch the
static pages but he's already eying the T5 templates so would be cool to
have on-the-fly SASS support in T5.4 just by dropping in a library. Btw,
his take on Less was that yeah, that's like SASS1. Apparently eons ago,
practically stone age.

Kalle


On Wed, Jul 27, 2011 at 7:42 PM, Howard Lewis Ship  wrote:

> I really want to support SASS or equivalent.  In fact, I want to look
> into an integration with this:
>
> http://code.google.com/p/wro4j/wiki/Features
>
>
> On Wed, Jul 27, 2011 at 4:36 PM, Josh Canfield 
> wrote:
> >> I wonder if there's any interest in an alternate, non-XML template
> >> format
> >
> > Not for generating (X)HTML.
> >
> > What about but something like LessCSS (http://lesscss.org/)?
> >
> >
> > On Wed, Jul 27, 2011 at 11:14 AM, Howard Lewis Ship 
> wrote:
> >> I wonder if there's any interest in an alternate, non-XML template
> >> format ... something like YAML, HAML or Scalate?  It would be super
> >> easy to implement.  Obviously, for 5.4 or later.
> >>
> >> Might be fun to take a few pages and component templates and create
> >> mockups of an alternate format.
> >>
> >> --
> >> Howard M. Lewis Ship
> >>
> >> Creator of Apache Tapestry
> >>
> >> The source for Tapestry training, mentoring and support. Contact me to
> >> learn how I can get you up and productive in Tapestry fast!
> >>
> >> (971) 678-5210
> >> http://howardlewisship.com
> >>
> >> -
> >> To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
> >> For additional commands, e-mail: dev-h...@tapestry.apache.org
> >>
> >>
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: dev-h...@tapestry.apache.org
> >
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: dev-h...@tapestry.apache.org
>
>


Build failed in Jenkins: tapestry-trunk-freestyle #979

2012-12-20 Thread Apache Jenkins Server
See 

Changes:

[hlship] Improve JavaDoc readability

--
[...truncated 20221 lines...]
MultipleDTD: 
org.apache.tapestry5.integration.app2.pages.MultipleDTD
  NoDTD: 
org.apache.tapestry5.integration.app2.pages.NoDTD
PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
  PropertyDisplayBlocks: 
org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
 PropertyEditBlocks: 
org.apache.tapestry5.corelib.pages.PropertyEditBlocks
ResultPageForActionLink: 
org.apache.tapestry5.integration.app2.pages.ResultPageForActionLink
  ServiceStatus: 
org.apache.tapestry5.corelib.pages.ServiceStatus
 TestPageForASO: 
org.apache.tapestry5.integration.app2.pages.TestPageForASO
  TestPageForActionLink: 
org.apache.tapestry5.integration.app2.pages.TestPageForActionLink
TestPageForActionLinkWithStream: 
org.apache.tapestry5.integration.app2.pages.TestPageForActionLinkWithStream
   TestPageForAsset: 
org.apache.tapestry5.integration.app2.pages.TestPageForAsset
TestPageForForm: 
org.apache.tapestry5.integration.app2.pages.TestPageForForm
TestPageForHead: 
org.apache.tapestry5.integration.app2.pages.TestPageForHead
   TestPageForHttpError: 
org.apache.tapestry5.integration.app2.pages.TestPageForHttpError
 TestPageForHttpHeaders: 
org.apache.tapestry5.integration.app2.pages.TestPageForHttpHeaders
  TestPageForIf: 
org.apache.tapestry5.integration.app2.pages.TestPageForIf
  TestPageForLocale: 
org.apache.tapestry5.integration.app2.pages.TestPageForLocale
TestPageForLoop: 
org.apache.tapestry5.integration.app2.pages.TestPageForLoop
 TestPageForRedirectURL: 
org.apache.tapestry5.integration.app2.pages.TestPageForRedirectURL
 TestPageForServletOutputStream: 
org.apache.tapestry5.integration.app2.pages.TestPageForServletOutputStream
  TestPageForSubmit: 
org.apache.tapestry5.integration.app2.pages.TestPageForSubmit
   TestPageForTemplateInContext: 
org.apache.tapestry5.integration.app2.pages.TestPageForTemplateInContext
  TestPageForUnless: 
org.apache.tapestry5.integration.app2.pages.TestPageForUnless
  t5internal/BasicComponent: 
org.apache.tapestry5.internal.t5internal.pages.BasicComponent

[INFO] ComponentClassResolver Available components (66):
   ActionLink: org.apache.tapestry5.corelib.components.ActionLink
   AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
 AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
   Alerts: org.apache.tapestry5.corelib.components.Alerts
  Any: org.apache.tapestry5.corelib.components.Any
  AnyTest: org.apache.tapestry5.corelib.components.AnyTest
  BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
 BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
   BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
   BeanEditorTest: 
org.apache.tapestry5.corelib.components.BeanEditorTest
 Checkbox: org.apache.tapestry5.corelib.components.Checkbox
Checklist: org.apache.tapestry5.corelib.components.Checklist
DateField: org.apache.tapestry5.corelib.components.DateField
 Delegate: org.apache.tapestry5.corelib.components.Delegate
  Doctype: org.apache.tapestry5.corelib.components.Doctype
  Dynamic: org.apache.tapestry5.corelib.components.Dynamic
Error: org.apache.tapestry5.corelib.components.Error
   Errors: org.apache.tapestry5.corelib.components.Errors
EventLink: org.apache.tapestry5.corelib.components.EventLink
 ExceptionDisplay: 
org.apache.tapestry5.corelib.components.ExceptionDisplay
 Form: org.apache.tapestry5.corelib.components.Form
 FormFragment: org.apache.tapestry5.corelib.components.FormFragment
 FormInjector: org.apache.tapestry5.corelib.components.FormInjector
 FormTest: org.apache.tapestry5.corelib.components.FormTest
 Grid: org.apache.tapestry5.corelib.components.Grid
 GridCell: org.apache.tapestry5.corelib.components.GridCell
  GridColumns: org.apache.tapestry5.corelib.components.GridColumns
GridPager: org.apache.tapestry5.corelib.components.GridPager
 GridRows: org.apache.tapestry5.corelib.components.GridRows
   Hidden: org.apache.tapestry5.corelib.components.Hidden
   HiddenTest: org.apache.tapestry5.corelib.components.HiddenTest
   If: org.apache.tapestry5.corelib.components.If

Submitting a value from a Form

2012-12-20 Thread mateen

I have a form that contains a invisible textfield. I set the value of the
textfield, and when i submited the form the value of the textfield should be
submited with it. Here is my code. The ${transactionQuote.XXX} contains the
value of the object. If you scroll down, you can see a form and in that form
i set the value to the textfield using
t:value="${transactionQuote.pickupQuoteID}". Now when i submit the form i
want the value in the textfield to be submitted with it. But the value seems
to be written but not read ? What am i doing wrong ? 





${message:date-sent}
${transactionQuote.dateOfTransaction}



${message:recipient}
${transactionQuote.recipientName}



${message:amount}
${transactionQuote.transactionAmount}



${message:unique-id}
${transactionQuote.transactionId}



${message:sender}
${transactionQuote.senderName}



${message:location}
${transactionQuote.senderCountry}





  
  
 

   Confirm recipient's identity by reviewing ID 

Phone Number 


Confirm Code 
 







--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Submitting-a-value-from-a-Form-tp5718882.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org



Re: Submitting a value from a Form

2012-12-20 Thread mateen
I get this error when submiiting the form

Failure writing parameter 'value' of component
remittance/Teller:dispensecashforquoteid: Property 'transactionQuote'
(within property expression 'transactionQuote.pickupQuoteID', of
com.coinfling.web.pages.remittance.Teller@2dfc48fc) is null.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Submitting-a-value-from-a-Form-tp5718882p5718890.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org



Re: Submitting a value from a Form

2012-12-20 Thread mateen


 Confirm recipient's identity by reviewing ID 

 Confirm Code 
 




I have done this, the value is in the textfield, when i press the submit
form it say, 
Failure writing parameter 'value' of component
remittance/Teller:dispensecashforquoteid: Expression
'transactionQuote.pickupQuoteID.id' for class
com.coinfling.web.pages.remittance.Teller is read-only.

What should i do ? 

Kind Regards



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Submitting-a-value-from-a-Form-tp5718882p571.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org



Re: Submitting a value from a Form

2012-12-20 Thread Thiago H de Paula Figueiredo
On Thu, 20 Dec 2012 14:36:15 -0200, Lance Java   
wrote:



Never use ${...} in attributes.


More precisely, never use ${} in attributes that are component parameters.  
For example, a context="transactionQuote.pickupQuoteID">.. is perfectly fine, because  
'class' is not a parameter. On the other hand, for 'context', which is a  
parameter, using ${} is 100% of the times wrong or useless.



Use  t:value="transactionQuote.pickupQuoteID" instead and tapestry will
create two way property binding which it can then get() and set().


Yep! :)

--
Thiago H. de Paula Figueiredo

-
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org



Re: Submitting a value from a Form

2012-12-20 Thread Lance Java
By the way... the tapestry-dev list is for developers of tapestry. Messages
such as this should be posted on the tapestry-users list.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Submitting-a-value-from-a-Form-tp5718882p5718887.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org



Re: Submitting a value from a Form

2012-12-20 Thread Lance Java
Never use ${...} in attributes.

Use  t:value="transactionQuote.pickupQuoteID" instead and tapestry will
create two way property binding which it can then get() and set().



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Submitting-a-value-from-a-Form-tp5718882p5718886.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org



Difference between tapestry “Element” and “Component”

2012-12-20 Thread Athneria, Mahendra
Hi,

Can someone explain me the difference between Tapestry “Element” and 
“Component”?

I got this from the tapestry 
site(http://tapestry.apache.org/component-templates.html)

“There are a certain number of Tapestry elements, listed below, that act as 
template directives; beyond that, any element in the Tapestry namespace will be 
a Tapestry component.”

Regards,
Mahendra



Re: Idea for 5.4: ControlGroup mixin

2012-12-20 Thread Massimo Lusetti
On Wed, Dec 19, 2012 at 5:09 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

I agree that Bootstrap should be a separate module, not included in
> tapestry-core automatically, but included in projects generated by the
> Maven archetype.



It isn't a bit "late" to suggest a separate bootsrap module?

BTW this is going slightly OT ...

-- 
Massimo