You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Phillip Rhodes <rh...@yahoo.com> on 2001/12/18 16:36:39 UTC

Why is there a Form.vm and Insert.vm?

In the example application, there is a Form.vm used for editing and an 
Insert.vm used for inserting.

The key difference between the two forms is the absence of hidden field of 
rfdid from Insert.vm.
By including a rfdid in the form, we would get an error when 
inserting.  Would this be really hard to fix?

Here is the error:

[Tue Dec 18 09:29:21 EST 2001] -- ERROR --
	Exception:  java.lang.reflect.InvocationTargetException
	Stack Trace follows:
	java.lang.reflect.InvocationTargetException: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:507)
	at java.math.BigDecimal.<init>(BigDecimal.java:129)
	at org.apache.turbine.om.NumberKey.<init>(NumberKey.java:80)
	at 
org.apache.turbine.util.parser.BaseValueParser.getNumberKey(BaseValueParser.java:1163)
	at 
org.apache.turbine.util.parser.BaseValueParser.setProperty(BaseValueParser.java:1358)



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: advice sought on content delivery

Posted by Daniel Rall <dl...@finemaltcoding.com>.
"Nick Pomfret" <ni...@pixelpark.com> writes:

> I've written a content management system using tdk2.1 for use in a fairly
> small portal.  I am now looking at the pros and cons of various methods of
> content delivery.  I'd appreciate peoples opinions and experiences on using:
> Velocity (which we've already used in the CMS), JSP and JetSpeed or are
> there any other alternatives?  My concerns in no particular order are:
>
> 1.	speed of delivery
> 2.	performance
> 3.	ease of implementation (small learning curves are good as my time is
> limited)

http://jakarta.apache.org/velocity/ymtd/ymtd.html

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


advice sought on content delivery

Posted by Nick Pomfret <ni...@pixelpark.com>.
I've written a content management system using tdk2.1 for use in a fairly
small portal.  I am now looking at the pros and cons of various methods of
content delivery.  I'd appreciate peoples opinions and experiences on using:
Velocity (which we've already used in the CMS), JSP and JetSpeed or are
there any other alternatives?  My concerns in no particular order are:

1.	speed of delivery
2.	performance
3.	ease of implementation (small learning curves are good as my time is
limited)

Nick


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Why is there a Form.vm and Insert.vm?

Posted by Jason van Zyl <jv...@zenplex.com>.
On 12/18/01 10:36 AM, "Phillip Rhodes" <rh...@yahoo.com> wrote:

> In the example application, there is a Form.vm used for editing and an
> Insert.vm used for inserting.
> 
> The key difference between the two forms is the absence of hidden field of
> rfdid from Insert.vm.
> By including a rfdid in the form, we would get an error when
> inserting.  Would this be really hard to fix?

If you give me a patch, I'll apply it.
 
> Here is the error:
> 
> [Tue Dec 18 09:29:21 EST 2001] -- ERROR --
> Exception:  java.lang.reflect.InvocationTargetException
> Stack Trace follows:
> java.lang.reflect.InvocationTargetException:
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
> at java.lang.String.charAt(String.java:507)
> at java.math.BigDecimal.<init>(BigDecimal.java:129)
> at org.apache.turbine.om.NumberKey.<init>(NumberKey.java:80)
> at 
> org.apache.turbine.util.parser.BaseValueParser.getNumberKey(BaseValueParser.ja
> va:1163)
> at 
> org.apache.turbine.util.parser.BaseValueParser.setProperty(BaseValueParser.jav
> a:1358)
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>