Questions tagged [gosu]

Gosu is an imperative statically-typed object-oriented programming language for the Java Virtual Machine (JVM) that is designed to be expressive, easy-to-read, and reasonably fast. The language is rooted in concepts from Java, C#, and ECMAScript, but borrows some constructs from Ruby and dynamic languages.

Gosu:

  • is object oriented
  • is statically typed
  • is imperative
  • is 100% compatible with Java
  • features type inference
  • supports closures
  • provides simplified generics
  • is provided via the Apache License v2.0

One of the features that stands apart from other JVM languages it its "open type system". For example, there is an XSD Type Loader that will inspect XSD (XML Schema) files on the classpath and generate types for the Gosu compiler without an additional code-generation step.

For more information, go to http://gosu-lang.github.io/

117 questions
2
votes
1 answer

How to modify guidewire stylesheet

Is there s way to modify the stylesheet of Guidewire UI? We are using Billing Center 7 and want to add a small css class for IE11 compatibility. But we need to know which css file to modify.
Hirak
  • 3,601
  • 1
  • 22
  • 33
2
votes
1 answer

Can I add more than one field to a single attribute

I was wondering if it's possible to add 2 different attributes to a single attribute. For example I have two attributes: private var modelYear:int as ModelYear private var manufacturedCd:String as ManufacturerCd I would like to put both of these…
iceMan33
  • 359
  • 2
  • 16
2
votes
1 answer

Parse XML with an outdated XSD

I'm integrating on a Large Enterprise Platform and the vendor likes to update their XML format frequently, although they have promised that changes will continue to be backwards-compatible. I have an XSD that works...now...but I'd like to deploy…
gws
  • 459
  • 1
  • 7
  • 16
2
votes
1 answer

With Gosu 0.9-14, do I need to download it, or will my IntelliJ plugin automatically pull the update?

If I recall correctly, the IJ plugin uses Maven to figure things out about Gosu. Do I need to do anything manually, or will the IJ plugin just automagically update the Maven dependencies and get the latest version of Gosu for me? If so, is there an…
Peter
  • 2,551
  • 1
  • 14
  • 20
1
vote
2 answers

How to avoid generating duplicate sequence number?

I need help with an issue I am facing in generating sequence numbers. I am generating sequence number during payment approval rule. However, every time I complete a payment, I get a validation/warning message from check wizard 3rd step. If I try to…
Vasanth
  • 35
  • 5
1
vote
2 answers

Guidewire - Adding numeric validation for Phone Number text field in PCF

I am looking to add validation to a Guidewire PCF field that checks to ensure that only numeric values are used in a Phone Number text field.
Mattr42
  • 93
  • 9
1
vote
2 answers

Usage of implementsInterface element on entities in guidewire

I would like to know why do we use implementsInterface element in entities. I know one example where they use it to make it as assignable entity. But I could not understand what other purpose and how/why it is being used in entities. Example:…
Vasanth
  • 35
  • 5
1
vote
3 answers

significance of setting nullok=

What is the difference between setting nullok=false or true for the typekey field?
Sss
  • 11
  • 1
1
vote
1 answer

What is effective entity in guidewire and how we can create it?

What is effective entity in guide wire and how we can create it. Please explain.
Ashish kumar
  • 21
  • 1
  • 4
1
vote
1 answer

Can you use java script in guidewire?

Instead of using a Link in guidewire I want to use a button to kick off a URL using POST.. example:
iceMan33
  • 359
  • 2
  • 16
1
vote
2 answers

eti default value on entity

Is it possible to change the default value or a field in an eti without messing up the production database? There is a drop down that defaults to other that I would like to default to another value in the dropdown. I don't want to mess up the…
iceMan33
  • 359
  • 2
  • 16
1
vote
1 answer

Adding column in product deisgner table

How would you go about adding a column to a Product Designer table. For example if you go into PersonalAutoLine under Policy Lines and click on coverages you will get a table with "Name, Code, Category" etc. Is there a way to add a column on that…
iceMan33
  • 359
  • 2
  • 16
1
vote
1 answer

PCF page issue with capitalization

I am trying to make a field on a PCF page capitalized. It's a field that is stored in the entity. I am trying to do: contact.FirstName.toUpperCase() But since it's an editable field I can't use toUpperCase. Is there a way to format a text input…
iceMan33
  • 359
  • 2
  • 16
1
vote
1 answer

Clickable Email Address in Guidewire

Is there a way to make an email address clickable that opens default email client. I am testing this on my local and it works fine. But when I promote code to server it does not work. java.awt.Desktop.getDesktop().mail(new java.net.URI("mailTo:"+…
iceMan33
  • 359
  • 2
  • 16
1
vote
1 answer

Cannot modify a bean of type User that is in a readonly bundle

I've added a new field to user.etx called LastLoggedIn_Ext. But getting an error when trying to write to it: Cannot modify a bean of type User that is in a readonly bundle My code: user.Ext_LastLoggedIn = Date.Now Is there a way to bypass read…
iceMan33
  • 359
  • 2
  • 16