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
0
votes
3 answers

Guidewire PolicyCenter The object you are trying to update was changed by another user. Please try your change again

I'm having this weard mistake "The object you are trying to update was changed by another user. Please try your change again." I would like to know what is the reason of this without context. There are no logs about it, no exception stacktrace, no…
0
votes
2 answers

Is there a way to perform a make table query in Guidewire?

I was wondering if there was a way to perform a make table query in Guidewire so that we can perform faster subsequent queries on it. Our main goal is to improve performance on record retrieval, at the current state we're doing (kinda) as…
Pldx
  • 87
  • 1
  • 3
  • 6
0
votes
1 answer

How to write and in one Compare in GOSU

I have a query below and need to combine the 2nd and 3rd .compare condition with 'AND' operator var query = ii.join(InvoiceItem#PolicyPeriod) .compare(PolicyPeriod#Plan, Relop.NotEquals, xyzPlan) .compareIn(PolicyPeriod#ProdType,…
Sam
  • 11
  • 1
0
votes
1 answer

Enable sort not working on PCF column on UI

Trying to sort a column in a Row Iterator. It looks like I am able to sort all columns that are coming from the entities directly but not the columns that are returning data from a function. This is the function I am using: function…
iceMan33
  • 359
  • 2
  • 16
0
votes
1 answer

How to change the entity validation warning in Guidewire ClaimCenter 10

When ClaimCenter validates Forms and the entities, it displays the Entityname within the Warnmessage. Is there a way to change the behaviour that the Entity Name is not shown to the user?
Kevin Busch
  • 191
  • 1
  • 4
  • 17
0
votes
3 answers

Gosu (Guidewire)

If we need to consider two states of claim (e.g - Draft & Closed state) for temporary claim, then how can we use these state using Query? I tried with - var claims = Query.startswith("ClaimNumber", "TMP", false) .compareIn(Claim#State,…
0
votes
2 answers

Unable to see confirmation message via LocationUtil RequestScopedInfoMessage

am New to Guidewire: Currently not getting warning message on toggling checkbox; is it some restriction or am I missing some setting/property?; which is prerequisite for this confirmation message before pressing ok or blocking this…
static void main
  • 728
  • 2
  • 9
  • 34
0
votes
1 answer

Finding All Invocations of Function That a Another Function May Cause

I've a got a query class that is being invoked all over a large project, and one of our functions is being particularly slow. I need to identify all instances of that query being invoked by a particular function (operation) so that we can assess…
FredMan
  • 861
  • 7
  • 19
0
votes
1 answer

Script returning limited amount of records as compare to Query

I tried to convert an SQL query into Gosu Script ( Guidewire). My script is working only for limited number of records This is the SQL query select PolicyNumber,* from pc_policyperiod where ID in ( Select ownerID from pc_PRActiveWorkflow where…
0
votes
2 answers

How to change the local port number in Policy center v10?

I have been tried couple of configuration files but not able to change?
Py-Coder
  • 2,024
  • 1
  • 22
  • 28
0
votes
2 answers

How to hardcode the entity varchar value?

The requirement is to store the hardcoded value for varchar which is in an entity file(.eti). I tried adding to the default option but it is not reflecting.
0
votes
1 answer

How to setup Gosu CodeNarc

I have codenarc set up in my local windows machine with the following configuration. JDK 1.6 and Ant 1.7.1 integrated with claim center 7 version and also codenarc report has been successfully generated. Now the question is there any way to add the…
Anji
  • 63
  • 2
  • 8
0
votes
1 answer

Gosu Queries to join two tables

How to join below two tables using gosu .. This is from Contact Manager (GW Training App) 1 ABContact 2 BankAccount Below SQL can be used to find all account hold by one particluar contact select b.accountnumber from ABContact a, BankAccount b…
shrikanth
  • 179
  • 3
  • 10
0
votes
0 answers

(GuideWire 9 ClaimCenter) Unable to return a single AssignmentSearchType

I have a Range Input that's taking in an array of AssignmentSearchTypes for the valueRange. My task is to conditionally limit the search types based on the user's role. In particular, we want to only allow certain roles to assign jobs directly to…
0
votes
1 answer

Made UI table/PCF exportable to PDF

Is it possible to make a PCF/Table from the UI exportable to a PDF? I thought I saw it before some where in Guidewire but I can't seem to find it anymore.
iceMan33
  • 359
  • 2
  • 16